{"version":3,"file":"scaleflow.js","names":["define","_exports","_jsonApi","_service","_environment","_moment","_class","_descriptor","_descriptor2","_descriptor3","_initializerDefineProperty","e","i","r","l","Object","defineProperty","enumerable","configurable","writable","value","initializer","call","_defineProperty","t","Symbol","toPrimitive","TypeError","String","Number","_toPrimitive","_toPropertyKey","_applyDecoratedDescriptor","n","a","keys","forEach","slice","reverse","reduce","default","HOST","API_ENDPOINT","constructor","args","super","this","headers","session","isAuthenticated","Authorization","data","authenticated","details","accessToken","tenant_id","logout","shouldBackgroundReloadAll","shouldReloadRecord","shouldReloadAll","shouldBackgroundReloadRecord","refreshSession","refreshing","authenticator","Error","authenticate","refresh","err","console","debug","isExpired","expiry","isSameOrBefore","_fetchRequest","options","response","status","refreshToken","freshOptions","refreshError","error","message","handleResponse","payload","requestData","then","ajax","url","method","catch","router","transitionTo","prototype","service","_application","FavoriteAdapter","addToFavorite","host","res","fetch","body","JSON","stringify","json","removeFromFavorite","list","initiative_id","resJson","item","type","store","pushPayload","restoreVersion","version_id","relationships","initiative","id","InitiativeAdapter","findAllInitiativesDataset","Accept","findInitiativesForRoadmapDataset","roadmap","undefined","initiative_ids","initiatives","content","map","join","PersonAdapter","claimUser","urlForQueryRecord","query","originalUrl","arguments","me","_emberResolver","_emberLoadInitializers","_install","_ember","_awsAmplify","window","global","sentryConfig","sentry","enabled","init","integrations","replayIntegration","minReplayDuration","maxReplayDuration","captureConsoleIntegration","levels","httpContextIntegration","failedRequestStatusCodes","extraErrorDataIntegration","sendDefaultPii","beforeSend","event","tags","environment","awsmobile","aws_project_region","aws","region","Auth","identityPoolId","cognito","userPoolId","userPoolWebClientId","clientId","mandatorySignIn","Storage","storage","Amplify","configure","App","modulePrefix","podModulePrefix","_base","_nameSort","BaseAuthenticator","tenants","_tenant_ids","usable_tenant_ids","filter","tenant","toLowerCase","includes","sort","b","length","_rsvp","_BaseAuthenticator","_dec","CognitoAuthenticator","username","password","extractUserSessionDetails","cognitoUserSession","localStorage","getItem","find","getAccessToken","jwtToken","token","idToken_payload","getIdToken","idToken","unix","exp","toDate","email","userAttributes","all_tenants","restoreAndLoad","_data","reject","restore","_amazonCognitoIdentityJs","OAuth2Atuhenticator","domain","code","getTokensFromCode","URLSearchParams","grant_type","redirect_uri","location","origin","client_id","endpoint","access_token","refresh_token","id_token","createCognitoUserSession","session_object","permissions","extractUserPermissionScopes","scope","CognitoUserSession","IdToken","CognitoIdToken","RefreshToken","CognitoRefreshToken","AccessToken","CognitoAccessToken","fetchRefreshedTokens","getSessionObjectFromRefreshToken","congitoUserSession","forceRefresh","shouldRefresh","now","tokenExp","scopes","split","CognitoClient","CognitoIdentityProvider","UserPasswordAuthFlow","authenticateUser","params","ClientId","AuthFlow","AuthParameters","USERNAME","PASSWORD","initiateAuth","ChallengeName","AuthenticationResult","getRefreshedTokens","REFRESH_TOKEN","_component","extend","_component2","_object","_tracking","_agent","_templateFactory","__COLOCATED_TEMPLATE__","createTemplateFactory","block","moduleName","isStrictMode","AgentsFormComponent","owner","payloadStructure","agent","config","entries","key","startsWith","convertPayloadStructureToKeyValue","acc","submitForm","changeset","preventDefault","validate","isValid","get","set","save","onSave","isEdit","handleQueryChange","target","cancelForm","rollback","onCancel","setPayloadKey","index","object","setCustomValueForKeyOnPayload","vaue","setPayloadKeyValue","_changeset","__","option","selectedOptions","optionType","getAttribute","_index","addPayloadRow","deleteRow","splice","Array","tracked","action","getOwnPropertyDescriptor","setComponentTemplate","_animatedBeacon","_animatedContainer","_animatedEach","_animatedIf","_animatedOrphans","_animatedValue","_area","AreasFormComponent","area","handleBlur","ArtifactsTableCellCreatedByComponent","loadPerson","createdBy","person","peekRecord","isLoading","findRecord","_s3VDRClient","Sentry","_descriptor4","ArtifactsTableCellSyncToKbComponent","saveToKnowledgeBase","s3Key","organisation","artifact","name","isSyncing","s3VdrClient","uploadFileToBucket","contentType","captureException","log","_templateOnly","AtomsFormsClickableInputComponent","toggleEditMode","disabled","isEditMode","saveForm","hasErrors","afterSave","handleInputChange","field","_asyncArrowRuntime","ContainerComponent","buildTask","context","generator","validateAndSaveForm","cancelAll","restartable","maxConcurrency","isPristine","submittedOnce","nothingChanged","setError","afterSubmit","attribute","addError","saveSettings","_tippy","AtomsFormsDropdownComponent","createTippy","element","tigger","querySelector","dropdown","tippyInstance","placement","arrow","trigger","interactive","offset","handleSelect","hide","onSelect","findValueFromOptions","label","lastOption","InputComponent","validateProperty","property","onBlur","handleInput","_debug","AtomsFormsRangeDotsIndexComponent","propagateInputChange","val","readOnly","onInputChange","isNaN","AtomsFormsRangePillsIndexComponent","AtomsFormsSelectComponent","handleChange","TextareaComponent","AtomsFormsToggleIndexComponent","toggleChecked","onChange","checked","AtomsLabelComponent","color","getColor","showZero","tooltipString","num_of_weeks","toFixed","intl","labelString","fontSize","AvatarComponent","meColor","abbreviation","meName","propsExist","BackOfANapkinBonPreviewComponent","bonValue","investmentsValue","investments","calculations","returnsValue","returns","roleName","role_id","teamName","team_id","multiply","BackOfANapkinConfidenceDropdownComponent","confidenceOptions","investmentConfidenceOptions","returnConfidenceOptions","handleConfidenceSelect","onCreate","BackOfANapkinInvestmentTemplateDropdownComponent","setTippyInstance","ComponentName","tippy","BackOfANapkinInvestmentsComponent","calculation","replaceAll","showTotal","confidence_value","addInvestment","push","confidence_label","bon_investment_confidences","notes","updateBonInvestments","deleteInvestmentAtIndex","onValueEmit","checkForIncompleteTemplates","onSlideoverToggle","togglePpwSlideover","toggleInvestmentConfidenceSlideover","handleAddFirstInvestment","editMode","resetUnsavedChanges","resetBon","handleAddCalculation","BackOfANapkinMetricsComponent","openMetricWizard","metricWizardIsVisible","closeMetricWizard","unlinkMetric","metric","targets","_target","destroyRecord","BackOfANapkinReturnsTemplateDropdownComponent","documentBody","document","dummyTemplates","onClickOutside","instance","setConfirmedTippy","confirmedTippy","_emberLifeline","BackOfANapkinReturnsComponent","addReturn","bon_return_confidences","updateBonReturns","deleteReturnAtIndex","runTask","toggleUpsellValueSlideover","toggleReturnConfidenceSlideover","toggleFteSlideover","toggleClvSlideover","toggleCustomerValuesSlideover","handleAddFirstReturn","BackOfANapkinSlideoversBonComponent","BackOfANapkinSlideoversClvComponent","BackOfANapkinSlideoversCustomerValuesComponent","BackOfANapkinSlideoversHorizonComponent","BackOfANapkinSlideoversInvestmentConfidenceComponent","lowConfidence","mediumConfidence","highConfidence","BackOfANapkinSlideoversPpwComponent","BackOfANapkinSlideoversReturnConfidenceComponent","BackOfANapkinTemplatesConfidenceMultiplierComponent","confidence","confidenceValue","handleConfidenceChange","onConfidenceChange","externalOptions","isArray","extraOptions","confidenceOptionsLabels","confidenceLabel","finalValue","confidenceValueinEuros","_isNullOrUndefined","BackOfANapkinTemplatesCostFteComponent","ppw","horizon","valueBeforeConfidence","calculateValue","ftes","price_person_week","onRender","updateValue","isDisabled","BackOfANapkinTemplatesCustomComponent","handleValueChange","handleDescriptionChange","description","confidence_multiplier","BackOfANapkinTemplatesCustomerValueInputModalComponent","onSubmit","handleFormSave","customer_value","handleModalDismiss","handleFormDismiss","setCustomerValue","BackOfANapkinTemplatesCustomerValuesDropdownComponent","customerValues","customer_values_options","labelKey","handleCustomerValueSelect","customerValueFormIsVisible","closeForm","customerValueLabel","propogateCustomValue","customer_value_object","BackOfANapkinTemplatesInvestmentComponent","weeks","people","BackOfANapkinTemplatesNewCustomersV2Component","clv_in_horizon","bon_clv","new_customers","bon_clv_label","BackOfANapkinTemplatesNewCustomersComponent","upgradeSnippet","deriveCustomerValueLabelKey","customer_values_map","customer_values","BackOfANapkinTemplatesNotesComponent","handleNotesChange","modules","toolbar","header","_descriptor5","BackOfANapkinTemplatesPersonWeeksRoleIndexComponent","role","team","setRole","teams","teamsThatPeopleOfThisRoleAreIn","runAutoTeamUpdate","setTeam","unsetRole","unsetTeam","toggleTeamForm","teamFormIsVisible","toggleRoleForm","roleFormIsVisible","onTeamAdded","onRoleAdded","BackOfANapkinTemplatesUpsellComponent","customers","upsell_value","BusinessTabsIndexComponent","tabs","num","route","isVisibleToBetaUsers","betaToggle","showMetrics","isActive","tab","currentRouteName","indexOf","CapacityInitiativesTableIndexComponent","groupInitiatives","person_weeks_excluding_uncertainty_for","field_id","pw","bon","person_weeks","person_weeks_uncertainty_for","record_type","capacity_type","id_field","groupedInitiatives","unassigned","Set","add","c","CapacityRoadmapQuerySelectorComponent","isSelected","isAll","toggleDropdown","showDropdown","setRoadmap","setId","handleRoadmapSelect","propagateRoadmapSelect","ChartsBarChartROIComponent","source","clickHandler","seriesId","initiativeSlideover","open","onLinkMetricClick","CapacityChartComponent","loadInitiatives","loadScenario","scenario","reportingWeeks","from","to","Math","ceil","duration","diff","asWeeks","weekNumber","format","series","reporting_weeks","totalCapacity","fte","initiativeCapacity","round","initiative_capacity","barSeries","barWidth","itemStyle","percentage","raw_percentage","x","y","x2","y2","colorStops","borderRadius","shadowColor","shadowBlur","show","position","distance","formatter","initiativePercentage","labelText","rich","overCapacity","fontWeight","fontFamily","padding","backgroundColor","flowCapacity","encode","week","totalWorkload","startInRange","startingWeek","endInRange","endingWeek","isSameOrAfter","capacityPerWeek","total_workload","total_capacity","silent","symbol","lineStyle","width","currentWeekNumber","startingWeekLower","startingWeekUpper","_echarts_theme","echarts","_charts","_components","_features","_renderers","use","PieChart","TitleComponent","TooltipComponent","GridComponent","DatasetComponent","TransformComponent","LabelLayout","UniversalTransition","CanvasRenderer","LegendComponent","defaultSource","ChartsPieChartComponent","height","titleOptions","title","subtitle","text","subtext","tooltipOptions","tooltip","renderChart","myChart","showLegend","legend","left","top","dataset","setOption","updateChart","_","BarChart","toolbox","orient","feature","mark","magicType","saveAsImage","xAxis","yAxis","axisLabel","seriesLayoutBy","datasetIndex","yAxisIndex","_echartsStat","ScatterChart","registerTransform","transform","regression","ScatterWithLineComponent","axisPointer","dataView","min","max","splitNumber","weekNumberFormatter","splitLine","symbolSize","fontStyle","labelLayout","dx","smooth","exampleDataset","toString","dimensions","LineChart","ToolboxComponent","ChartsStackedLineChartComponent","grid","blur","borderWidth","boundaryGap","stack","ChartsStatCardsComponent","difference","calculatedDifference","previousValue","floor","change","defaultDifference","changeIsPositive","ChatBotMessageComponent","animateIn","setTimeout","classList","remove","setMarkdownElement","copyMessageToClipboard","textContent","innerText","navigator","clipboard","writeText","showMessageCopiedAnimation","messageIsCopied","saveAsArtifact","conversation_id","chatv2","activeConversation","conversation","artifact_title","trim","createRecord","artifactIsCreated","ChatErrorMessage","_conversation","_descriptor6","_descriptor7","ChatComponent","messages","sortedMessages","recentChatsIsVisible","toggleRecentChatsIsVisible","toggleVisibility","toggleChatWindow","toggleFullScreen","isFullScreen","isVisible","chatWindowIsOpen","activeConversationRecord","messagesAreEmpty","emitGapAnalysisRequest","sendQuery","emitSynchronizeDocumentsRequest","emitResearchProjectRequest","handleAgentInitiate","handleConversationInitiateWithAgent","sendMessage","scrollToBottom","userIsScrolledUp","scheduleTask","scrollTop","scrollHeight","setUserScrolledUp","activeConversations","currentInitiative","sortedConversations","archived","archivedConversations","activateConversation","restoreConversation","handleRenameConversation","deleteConversation","archiveConversation","agents","peekAll","stopConversation","ChatInputComponent","setText","propagateQuery","handleEnterPress","keyCode","shiftKey","propagateStopConversationRequest","onStopConversationRequest","ChatRoadmapRendererComponent","roadmap_id","ChatUserMessageComponent","ChatWindowComponent","handleNewChat","initiateConversation","_contentEditable","_customer","CustomersFormComponent","customer","_longPressEvent","DashboardBoxComponent","getQueryParams","deleteBookmark","bookmark","editBookmark","initiateBookmarkBox","attachLongPressEventListener","addEventListener","appendTo","closeMenu","goToUrl","_department","DepartmentsFormComponent","department","DropdownsIdeasComponent","ideas","textFilter","ideasList","filtered","allowAllStatuses","allowedStatus","toUpperCase","handleIdeaClick","handleSearch","onShown","focus","handleClearSelection","DropdownsInitiativesComponent","initiativesList","handleInitiativeClick","_numberSort","_tippyDropdown","DropdownsMultiSelectComponent","DropdownComponent","values","searchable","groupedOptions","selectedList","othersList","sortKey","selected","others","handleCheckboxToggle","_item","focusSearch","search","willDestroy","DropdownsRoadmapComponent","roadmaps","handleClick","roadmapsList","handleAddRoadmap","onAddRoadmapClick","DropdownsRolesIndexComponent","roles","DropdownsScenarioIndexComponent","scenarios","DropdownsSearchableComponent","onSearch","handleTextChange","debounceTask","DropdownsSingleSelectComponent","displayOptions","hideSearch","DropdownsTeamsComponent","initiative_teams","active","handleTeamClick","teamsList","handleAddTeam","onAddTeamClick","_dropdownActivate","DropdownsThemesComponent","themes","deleteObject","showDelete","themesList","loadThemes","themesService","getThemes","destroy","_isObject","DropdownsUsersComponent","valueIds","userList","users","assigneesList","assignees","personsList","handleUserClick","handleUserSelect","isMultiselect","Boolean","multiselect","handleAddPerson","onAddPersonClick","DropdownsWeeksComponent","currentWeek","is_current_week","onWeekSelect","weeksList","loadWeeks","DropdownsWorkstreamsComponent","handleWorkstreamClick","workstreamsList","workstreams","loadWorkstreams","_eaListElement","EmailInviteModalComponent","handleDismissModal","emailInvite","toggleInviteModal","validateEmails","emailText","emails","hasError","some","emailRegex","test","handleSend","promises","record","Promise","all","showConfirmation","handleAlertClose","_rowWrapper","_emberTableSimpleCheckbox","_testWaiters","_flatpickr","EmberFlatpickr","onInsert","setupFlatpickr","onWillDestroy","flatpickrRef","date","wrap","_setFlatpickrOptions","fastboot","getOwner","lookup","onReady","onOpen","onClose","rest","fromEntries","entry","locale","waitForPromise","import","defaultDate","_setDisabled","altInput","nextSibling","onAltFormatUpdated","altFormat","onAltInputClassUpdated","altInputClass","className","onDateUpdated","setDate","onDisabledUpdated","onLocaleUpdated","onMaxDateUpdated","maxDate","onMinDateUpdated","minDate","GoalsDeleteModalIndexComponent","dismissModal","closeModal","delete_confirmation_text","confirmTextIsValid","confirmDelete","focusInput","setConfirmationText","GoalsGoalSelectorComponent","goal","handleGoalSelect","propagateGoalSelect","goals","_goal","GoalsGoalSummaryPanelComponent","editGoal","GoalsListItemComponent","toggleCollapse","isExpanded","matchesFilter","callback","matchChecker","GoalsListItemTitleComponent","_objAppend","GoalsTableIndexComponent","columns","valuePath","class","component","test_id","rows","objectAppend","edit","model","delete","onClick","handleDeleteGoal","unselectGoal","selectedGoal","toggleDeleteModal","flag","showDeleteModal","deleteGoal","handleDismissDeleteModal","GoalsTableInitiativesSelectorComponent","handleInitiativesChange","toggleGoalForm","initiativeFormIsVisible","onGoalAdded","GoalsTableOwnerSelectorComponent","togglePersonForm","personFormIsVisible","onPersonAdded","GoalsTableStatusSelectorComponent","handleStatusChange","_emberChangeset","_descriptor8","_descriptor9","_descriptor0","_descriptor1","GoalsWizardCreateComponent","setActiveStep","activeStep","activePeopleInOrganisation","p","activeGoalsInOrganisation","g","isNew","goals_without_parents","parent","metrics","handleOwnerSelect","clearOwner","handleStatusSelect","onDescriptionChange","closeGoalWizard","closeWizard","goalChangeset","deleteRecord","targetChangesets","rollbackChanges","handleGoalsSelect","selectedGoals","unlinkParentGoal","handleMetricSelect","selectedMetrics","targetChangesetFactory","findIndex","_metric","saveGoal","mapChangesetToAttributes","changes","goalValidator","newValue","oldValue","validator","targetValidator","resetForm","goalSearch","metricSearch","initializeForm","Changeset","changeset_object","parentGoal","_descriptor10","_descriptor11","_descriptor12","GoalsWizardEditComponent","goToListPage","existingTarget","targetChangeset","deleteDeselectedTargets","old_targets_by_metric_id","current_metrics","old_metrics","isInvalid","confirmDeleteGoal","errors","detail","parse","errorMessage","goalValidations","targetValidations","targetModel","create","GoalsWizardGoalsCheckboxItemComponent","disableDescendantsOfGoalId","_group","GroupsFormComponent","group","IdeasCommentBoxComponent","comment","isMyComment","setCommentTextDelta","saveComment","idea","author","finally","IdeasIdeaSelectorComponent","handleIdeaSelect","propagateIdeaSelect","_idea","_quill2ImageUploader","_imageFormat","_markdownFormat","_quillImageResize","_quill","_registerIfNotRegistered","_uuid","register","IdeasIdeaSummaryPanelComponent","initializeNewComment","currentUser","_currentUser","created_at","Date","toISOString","setTab","deleteIdea","replaceWith","imageUploadHandler","file","Credentials","currentSession","rej","v4","put","async","signedUrl","imageUploader","upload","s3Link","imageResize","markdown","setComment","text_delta","clearDeadline","deadline","showDeleteConfirmationModal","hideAll","deleteConfirmationModalIsVisible","handleDeleteConfirmation","closeDeleConfirmationModal","IdeasTableCellAreaComponent","handleAreasChange","areas","toggleAreaForm","selectedIdea","areaFormIsVisible","onAreaAdded","areasList","sortedAreas","toSorted","firstArea","IdeasTableCellCustomersComponent","handleCustomersChange","toggleCustomerForm","customerFormIsVisible","onCustomerAdded","customersList","sortedCustomers","firstCustomer","IdeasTableCellDeadlineComponent","onDatePickerReady","datePickerInstance","openDatePicker","handleDateChange","IdeasTableCellDepartmentComponent","handleDepartmentsChange","departments","toggleDepartmentForm","departmentFormIsVisible","onDepartmentAdded","departmentsList","sortedDepartments","firstDepartment","IdeasTableCellGroupComponent","handleGroupChange","groupRecord","toggleGroupForm","groupFormIsVisible","onGroupAdded","groupsList","IdeasTableCellInitiativesComponent","toggleInitiativeForm","onInitiativeAdded","pushObject","sortedInitiatives","firstInitiative","IdeasTableCellSourceComponent","handleSourceChange","handleClearSource","IdeasTableCellStatusComponent","IdeasTableCellSubmittedByComponent","IdeasTableCellThemesComponent","handleThemesChange","toggleThemeForm","themeFormIsVisible","onThemeAdded","theme","sortedThemes","firstTheme","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","description_template","ops","attributes","bold","insert","IdeasWizardComponent","themeIds","selectedThemes","departmentIds","selectedDepartments","areaIds","selectedAreas","customerIds","selectedCustomers","selectedThemeIds","hasMoreThanOneTheme","selectedDepartmentIds","hasMoreThanOneDepartment","selectedAreaIds","hasMoreThanOneArea","statusOptions","ideaStatusOptions","clearStatusSelect","delta","queryParams","refresher","currentRoute","ideaChangeset","saveAndClose","isStep1Invalid","titleEmpty","descriptionEmpty","ideaValidator","ideaValidations","d","selectedCustomerIds","hasMoreThanOneCustomer","prepopulateFields","formIsInitialized","setInvestmentValue","effort","startDeleteProcess","handleAddDepartmentToIdea","handleAddCustomerToIdea","handleAddAreaToIdea","themeFormisVisible","handleAddThemeToIdea","InitiativeCard","uncertainties","waiting","updatedAt","tickets","_initiative","fields","defaultFields","loadInitiativeIfAsync","reload","openSlideover","InitiativesDocumentVersionsSlideoverComponent","isOpen","closeSlideover","revertToCurrentVersion","restoreToCurrentVersion","handleVersionItemClick","version","onVersionItemClick","InitiativesDocumentVersionsSlideoverVersionItemComponent","selectedVersion","_dec2","InitiativesFormsGeneralDetailsComponent","initiativeValidations","handleSourceSelect","sourceOptions","betaService","setDelta","initiativeGoalsIds","isDestroying","isDestroyed","isPromise","hasMoreThanOneGoal","clearSelect","goalsList","firstGoal","InitiativesFormsPlanningAndPeopleComponent","tippyOffset","first_day_of_week","orgService","formattedDate","day","startOf","secondDate","clone","starting_week","pm","productManager","setTeams","teamIds","handleDurationChange","handleStartDateChange","InitiativesInitiativeSelectorComponent","handleInitiativeSelect","propagateInitiativeSelect","InitiativesInitiativeSummaryPanelComponent","deleteInitiative","copyInitiativeLink","notifications","toggleShowNotification","showActivityTabAndOpenUpdateWizard","openWizard","closeDeleteConfirmationModal","handleChatToggle","populateChatWindow","InitiativesListFilterSlideoverComponent","columnOptions","onColumnSelect","_metric2","InitiativesMetricWizardComponent","isNewMetric","metricChangeset","metricValidator","saveMetrics","target_value","end_date","clearSelectedMetrics","initiativeMetrics","showMetricForm","hideMetricForm","onFormCancel","_fromNow","InitiativesPopoverIndexComponent","slideoverIsOpen","daysAgo","setActiveTab","activeTab","setInitiativeStatus","link","showWorkstreams","impact_widths","investment","bon_investment","impact","bon_value","investment_portion","impact_portion","handleEscPress","updateWizardIsOpen","close","_initiativeUpdate","InitiativesPopoverInitiativeUpdateIndexComponent","STATUS_KEYS","setProgressStatus","setProgressComments","setReportedHealth","reported_health","cancel","deactivateCreatingNew","deleteItem","_textDeltaIsEmpty","InitiativesPopoverListItemIndexComponent","toggleCheckbox","completed","confetti","play","showInvalidAnimation","saveItem","isSaving","handleTextDeltaChange","cancelItem","keyboard","bindings","keyBindings","that","submit","shortKey","handler","escape","remarks","_dateSort","_generatePositionFromTime","InitiativesPopoverProgressIndexComponent","count","unarchivedUncertaintiesDetailed","unarchivedWfasDetailed","wfas","initiativeUpdates","allItemsSortedByDate","allItems","items","setActiveTabToAll","createNewUncertainty","uncertainty","creatingNew","createNewWaiting","wfa","createNewUpdate","update","updated_by","InitiativesPopoverProgressNewComponent","setIsOpen","InitiativesProgressCardIndexComponent","openInitiativePanel","InitiativesProgressFilterSlideoverIndexComponent","healthOptions","propagateHealthFilterSelect","onHealthFilterSelect","propagateStatusFilterSelect","onStatusFilterSelect","propagateSortFilterSelect","onSortFilterSelect","propagateRoadmapFilterSelect","onRoadmapFilterSelect","sortOptions","InitiativesProgressPanelFeedItemIndexComponent","fromNow","deleteUpdate","enableEditor","editorEnabled","deactivate","saveUpdateAndDisableEditor","handleReportedHealthChange","InitiativesProgressPanelIndexComponent","progressPanelIsOpen","closeProgressPanel","sortedUpdates","orderedUpdates","InitiativesProgressPanelProgressFormIndexComponent","progress","submitUpdate","cancelProgressUpdate","InitiativesStatusPillIndexComponent","InitiativesTableDurationSelectorComponent","setDuration","InitiativesTableGoalSelectorComponent","handleGoalsChange","selectedInitiative","goalFormIsVisible","sortedGoals","InitiativesTableHeaderFilterDropdownComponent","onGroupingSelect","groupingKey","tableSelector","onSortSelect","onSort","onHideColumn","_emberConcurrency","_emberInflector","_dec3","_descriptor18","_descriptor19","_descriptor20","objectExtract","sortInitiatives","none_label","identifier_key","group_label_key","object_modifier","groupingSortKey","hasMany","groupedList","NONE","getValueByPath","obj","path","o","relatedCollection","singularKey","baseKey","pluralKey","pluralize","getPluralizedRelationship","addedToGroup","relatedItem","idPathRest","labelPathRest","Infinity","ref","sortedGroupList","InitiativesTableComponent","scrollTableToTop","processOngoing","timeout","filters","statuses","defaultStatus","include","sources","product_managers","productManagers","fetchInitiatives","perform","externallyControlledSearch","startingDateSort","sortSettings","sortOrder","tableSort","groupedSort","grouping","handleGrouping","sourceLabel","statusLabel","bon_returns","person_weeks_only_uncertainty","a_starting_date","b_starting_date","aDate","bDate","aParsed","bParsed","isAfter","statusMap","tableOrder","sortStatus","groupKey","order","pushToUrlParams","emitTableInteractionEvent","tableId","tracker","trackInitiativesTableInteractionEvent","showColumn","column","dropdownService","columnsList","calculateInvestmentInPersonWeeks","onFilterSelect","setFilters","disabledColumns","setSearch","hideColumn","allColumns","_column","anyDropdownFeatureIsAvailable","showGrouping","showSorting","dropdownDataKey","showVisibilityToggle","InitiativesTablePmSelectorComponent","InitiativesTableProgressPillIndexComponent","InitiativesTableRoadmapSelectorComponent","handleRoadmapClick","toggleRoadmapForm","roadmapFormIsVisible","onRoadmapAdded","sortedRoadmaps","firstRoadmap","InitiativesTableSourceSelectorComponent","sourceOptionsLastIndex","InitiativesTableStatusSelectorComponent","InitiativesTableTeamEffortComponent","teamEffort","team_pw","person_weeks_for_team","InitiativesTableTeamSelectorComponent","team_ids","updateExistingBonWithProvidedTeams","createNewBonWithProvidedTeams","team_map","InitiativesTableThemeSelectorComponent","handleThemeChange","InitiativesTableTitleComponent","saveTitle","InitiativesUpdateWizardGeneralRemarksComponent","step","setHealthScore","healthScore","showEditor","editorIsVisible","hideEditor","setHealthStatus","health","healthStatus","setRemarks","isDirty","next","handleCancel","latestUpdate","ON_TRACK","InitiativesUpdateWizardImpedimentsComponent","createWfa","isShowingForm","back","showNewButton","InitiativesUpdateWizardComponent","InitiativesUpdateWizardLinkMetricsComponent","closePopovers","saveMeasurements","measurements","measurement","orderedMetrics","setMeasurementAtIndex","parseInt","cached","InitiativesUpdateWizardUncertaintiesComponent","createUncertainty","_swapArrayItem","ListAssigneeBadgeComponent","showMultipleAvatars","_assignees","currentUserIndex","displayAvatar","assigneeLength","at","assigneeIds","multipleAssigneesLabel","firstAssignee","_colorClasses","ListInitiativesBadgeComponent","onInitiativeSelect","initiativeColorClass","getColorFromInitiativeTitle","_activeItemCache","ListListItemComponent","isChecked","visibleBadges","editorActive","isInteractive","itemActive","_activeComment","routeIsApproach","showTeamsBadge","showCheckin","showDelayBadge","showInitiativesBadge","showWorkstreamsBadge","showWeeksBadge","showPlanning","editorActiveService","activeItem","activeEditorId","uniqueId","isTruthy","activeComment","initiativeTags","checkForInitiativeTags","parentType","modelName","openComments","newComment","showComments","itemType","new_and_empty_items","comments","parentItem","new_comment","getActiveUser","activateComment","setActiveEditor","setActiveItem","onActivate","onDelete","closeComments","clearActiveEditor","handleTeamSelect","current_week","belongsToInitiative","workstream","handleWorkstreamSelect","handleAssigneesSelect","handleWeekSelect","arr","clearTeam","clearWeek","clearWorkstream","clearInitiative","toggleCompletedStatus","moveFocusUpByOneItem","moveFocusDownByOneItem","ActiveItemCache","ListListComponent","groupBy","groupedItems","itemsWithoutPosition","itemsWithPosition","concat","groupItemsBy","emptyList","groupItemsByAssignee","groupItemsByWorkstream","meta","names","assignee","localeCompare","onFastExit","addNewItem","belongsTo","determinePosition","activate","scrollIntoView","removeEmptyItems","item_to_keep","currentState","stateName","getRandomNumberBetween","random","msNow","getTime","increment","positionArray","relevant_group","base_index","mapBy","currentUserHasNoItems","editParentTitle","ListTeamsBadgeComponent","onTeamSelect","ListWeeksBadgeComponent","ListWorkstreamsBadgeComponent","onWorkstreamSelect","_template","_marked","MarkdownRendererComponent","setupMarked","renderMarkdown","renderer","marked","Renderer","heading","level","paragraph","href","ordered","tag","listitem","blockquote","quote","table","tablerow","tablecell","flags","setOptions","breaks","gfm","pedantic","sanitize","smartypants","html","renderedContent","htmlSafe","ModalComponent","toggleModal","MoleculesApproachPlanListItemComponent","icon","menuFunction","initiativeId","weekDate","year","index_position","adjustedWeek","_quillMagicUrl","_clipboard","_customIcons","_hr","icons","h3Icon","hr","hrIcon","bounds","editorId","container","magicUrl","onEditorLoadingChange","editorLoading","toggleShowEditor","debouncedSave","debounce","func","clearTimeout","timer","handleClickOutside","closeMultiEditor","startNotesUpdateInterval","clearNotesInterval","clearInterval","notesInterval","showMultiEditor","showMore","toggleShowMore","setInterval","setEditorId","archiveItemComponent","restoreItem","currentURL","parent_id","badges","toggleCompleted","MoleculesArchiveMenuComponent","showUncertainties","teamStorage","currentTeam","show_uncertainties","showWfas","show_wfa","handleKeyup","initiateTippies","hoverTippy","self","onShow","onHide","tippyHover","questionArchive","llArchive","tfoArchive","wfaArchive","uncertaintiesArchive","archiveAll","questions","lls","tfos","archiveModalComponent","commentSwitcherComponent","moreCommentsNumber","commentReadMore","openAndActivate","openList","commentComponent","insertNew","_customQuillMention","_initiativePill","_dec4","_dec5","S3_BASE_HREF","MoleculesEditorComponent","mention","allowedChars","mentionDenotationChars","searchTerm","renderList","mentionChar","userService","getUsers","matches","regex","RegExp","result","match","positioningStrategy","renderLoading","initiativeBlotConfig","initiativesService","getInitiatives","abbv","showDenotationChar","singleLineMode","_singleLineMode","withSignedUrls","hasImage","images","image","imageLink","decodeURIComponent","expires","expiryDate","withoutBaseLink","withoutSignedCreds","fileKey","singleLineModeEnabled","editor","quillService","isEnabled","setSelection","oldRange","setAttribute","USER","saveItemWhenDirty","handleTags","mentions","_initiatives","op","extracts","substring","denotationChar","changedAttributes","resolve","handleSelectionChange","newRange","restoreSingleLineMode","hasFocus","propagation","revalidateImages","routeModel","routeModelName","events","moveUp","onUp","_logIntent","moveDown","onDown","fastExit","emptyTab","onEmptyTab","onTab","keyBindingEvents","disableSingleLineMode","dropdownIsOpen","up","range","quill","getLength","down","backspace","empty","saveAndExit","singleLineExit","disableSingleLineExit","EmptyTab","_toolbar","toolbarOptions","matchVisual","syntax","MoleculesFavoriteIconComponent","isFavorite","favorite","menuActionsComponent","clickFunction","menuClick","MultiselectPillsComponent","handlePillClick","NavbarCollapseComponent","collapseMenu","onMobileMenuItemClick","loadTeams","findAll","NavbarLinkComponent","NavbarComponent","menuIsOpen","openMenu","toggleNavbar","menu","toggleMenu","closeMobNavbar","bookmarkItems","favoriteTeams","favoriteInitiatives","activeTeams","OrganisationSettingsGlobalBonValuesComponent","showPpwSlideover","showClvSlideover","showInvestmentConfidenceSlideover","showReturnConfidenceSlideover","toggleHorizonSlideover","showHorizonSlideover","returnsLowConfidence","returnsMediumConfidence","returnsHighConfidence","OrganismsAccountMenuComponent","profile","menuTippy","accountSettings","isCurrentOrganisation","organisation_id","organisationsList","organisationList","handleInviteClick","expandOrganisations","expanded","handleOrgSwitch","clearAllQueryParams","switchOrganisation","OrganismsApproachPlanListComponent","toggleWeek","weekOpen","openWeek","weekHasNotes","_dragula","_dragula2","OrganismsApproachPlanningComponent","momentDate","isoWeekday","sortedWeeks","createWeek","lastWeekPosition","weeksArray","onDrop","el","containerChildren","children","weekId","onDrag","onDraggableContainerRender","draggableWeeks","containers","getElementById","revertOnSpill","direction","moves","handle","on","parsed","onDateChange","datepickerInstance","toggleDatepicker","toggle","handleSortSelect","OrganismsArchiveListComponent","hasArchives","commentListComponent","showFullList","allCommentsOpen","_showFullList","OrganismsInitiativeListItemDropdownComponent","is_open","itemSelected","OrganismsListItemDropdownComponent","isWorkstream","isPlanning","isOther","isTeamTFO","itemWeek","isLinkedItem","showInnerDropdown","closeInnerDropdown","createComment","onNewComment","archiveQuestion","copyLink","baseUrl","urlParams","append","deactivateItem","animation","navigateToWorkstreamArchives","parentId","showArchive","base_path","deleteParent","RadioOptionsComponent","selectOption","handleOptionSelect","PageHeadersFilterActionsComponent","filterActionSelector","_lodash","PageHeadersFiltersLayerComponent","activeFilters","extractActiveFiltersFromURL","extraFiltersLength","showMoreButton","showLessButton","isJson","isJsonArray","hiddenFilters","parsedValues","filterObjects","formatParsedValues","capitalize","personIdentifier","teamIdentifier","themeIdentifier","statusIdentifier","statusObject","sourceIdentifier","sourceObject","roadmapIdentifier","str","handleFilterDelete","PageHeadersPrimaryActionsComponent","primaryActionSelector","PageHeadersSidepanelActionComponent","selector","_appStructure","PageHeadersTabsComponent","routeParts","pageKey","appStructure","iterator","showTabs","extractRouteName","_person","PeopleFormIndexComponent","setPersonStatus","roleIds","setRoles","PeopleMultiAvatarPreviewIndexComponent","promise","firstPerson","restPeople","PeopleTableIndexComponent","convertPersonItemToRow","groupedPeople","getGroupedPeopleByKey","sortByRole","sortByTeam","isSortable","PeopleTableTableCellRolesSelectIndexComponent","firstRole","hasMoreThanOneRole","restRoles","saveRolesToPerson","loadRoles","PeopleTableTableCellTeamsSelectIndexComponent","hasMoreThanOneTeam","restTeams","saveTeamsToPerson","PlanningDatePickerComponent","allowAllDates","QuickAddsAreaComponent","onItemSaved","QuickAddsCustomerComponent","QuickAddsDepartmentComponent","QuickAddsGoalComponent","QuickAddsGroupComponent","QuickAddsInitiativeComponent","deriveDefaultStatusFromFiltersInURL","summary","onStatusSelect","statusFilters","parsedStatusFilters","pop","QuickAddsPersonComponent","createAbbreviation","padEnd","_create","_nextQuarterDates","_roadmap","QuickAddsRoadmapComponent","start","start_date","end","getNextQuarterDates","deriveScenarioToAttach","roadmap_title","_scenario","copyExistingScenarioToNewScenario","_role","QuickAddsRoleComponent","_team","QuickAddsTeamComponent","_getRandomNumberBetween","_theme","QuickAddsThemeComponent","themeColorOptions","_quillEditor","_buttonOrSelect","_button","_select","ResourcesTabsIndexComponent","balanceProfile","_capitalize","RoadmapFilterSlideoverIndexComponent","excludeSelectedRowOption","row","excludeSelectedColumnOption","propagateRowUpdate","onRowSelect","propagateColumnUpdate","_StrategyCalculation","_labelExtract","RoadmapFormIndexComponent","quarter_start_date","quarter_end_date","selectedScenario","generateRows","generateSelectedRows","roadmapInitiatives","selectedInitiatives","themeOptions","pmOptions","userOptions","teamOptions","teamsService","groupingOptions","groupingLabel","expected_investment","expected_return","expected_value","setSelectedRows","selectedRows","extractAndSetSelectedInitiatives","setSelectedInitiatives","getInitiativeRecordsFromIds","ids","selectedInitiativeIds","updateSelectedInitiatives","existing_ids","unique_ids","removeInitiative","_id","setScenario","setStartDate","setEndDate","saveRoadmap","roadmapService","getGroupedInitiativesByKey","convertInitiativeToRowItem","selectedInitiativesMap","recommended","isInitiativeRecommended","person_weeks_excluding_uncertainty","priority","localizedBonValue","handleInitiativeToggle","addInitiativeToRoadmap","removeInitiativeFromRoadmap","scenarioPWLimits","person_weeks_including_uncertainty","lower_limit","upper_limit","cloneDeep","selectedInitiativesIds","selectedChildren","newRow","onSelectedInitiativesUpdate","selectionMatchFunction","rowValue","recommended_initiatives","initiativesAreUnchanged","changeset_initiative_ids","selected_initiative_ids","every","changesetIsInvalidOrUntouched","sameInitiatives","filtered_out_ids","deleteRoadmap","handleScenarioAssign","RoadmapListDeleteModalIndexComponent","RoadmapListTableIndexComponent","cellClass","unselectRoadmap","selectedRoadmap","handleDeleteRoadmap","roadmapList","lanes","timeline","RoadmapRoadmapVisualisationColumnIndexComponent","bucketConfiguration","boxes","overplanned","planned_capacity","uncertain_capacity","available_capacity","reccomended_initiatives_count","initiativeOptions","combinedBoxList","finalList","box","initiativesInSource","unselectedInitiativesFilteredBySource","propagateInitiative","RoadmapRoadmapVisualisationEmptyBoxIndexComponent","fillType","RoadmapRoadmapVisualisationIndexComponent","visionInitiatives","customerRequestInitiatives","operationsInitiatives","generateRangeBoxes","calculateInitiativesLimit","interval_value","calculateInterval","upper_advised_limit","calculateAdvisedRange","initiatives_counter","must_fill_boxes","fill","should_fill_boxes","divisions","visionBucketConfig","calculatePwCapacity","customerRequestBucketConfig","operationsBucketConfig","RoadmapRoadmapVisualisationInitiativeBoxIndexComponent","RoadmapRoiIndexComponent","customerInitiatives","filter_on_field","maintenanceInitiatives","otherInitiatives","notClassified","other","field_index","filtered_records","instrumentRoutePerformance","RoadmapStrategyHeaderIndexComponent","copyLinkToClipboard","createElement","appendChild","select","setSelectionRange","removeChild","updateTitle","RoadmapTableIndexComponent","isReorderable","RoadmapTableTableCellToggleInitiativeIndexComponent","_labelExtract2","sortUnspecifiedColumnToLast","RoadmapViewIndexComponent","columnFilter","rowFilter","unspecified","_columns","filtersWithHasManyRelationships","columnObj","columnLabelKeys","sortStatusWithUnspecifiedToLast","sortSourceWithUnspecifiedToLast","visible","hiddenColumns","totalColumnsLength","labelFormatter","axis","k","v","sourceMap","groupObjectsByRowColumn","rowLabelKey","_rows","sortedRows","objKey","rowLabelKeys","hiddenRows","dynamicGridWidth","columnsLength","handleRowCheckboxSelect","updateRowFilters","handleColumnCheckboxSelect","updateColumnFilters","_groupBy","RoiInitiativesTableIndexComponent","noneLabel","grouped","orderedKeys","openPopover","_validators","RolesCreateRoleIndexComponent","validatePresence","presence","handleCreateRoleDismiss","handlePeopleSelect","deleteRole","RolesMultiAvatarPreviewIndexComponent","RolesTableComponent","convertRoleItemToRow","breakout","RolesTableTableCellUserSelectComponent","restCount","ScenariosTableIndexComponent","deleteScenario","view","SlideOverComponent","closeSlideOver","stopPropagation","addEventListeners","onSlideoverUpdate","slideoverCloseContentClass","slideoverOpenContentClass","slideoverCloseContainerClass","slideoverOpenContainerClass","removeEventListemer","_investmentScenario","vision","distribution","main_field","sum","calculateWeeks","useStaticNumberOfWeeks","pwCapacity","pw_initiatives","calculateCostFromPersonWeeks","costs","calculateCost","cost","limit_type","limit","capacity","calculateInvestmentSizes","lowerLimit","upperLimit","interval","lower_range","upper_range","pw_flow","percentage_flow","pw_unavailable","percentage_unavailable","pw_total","pw_vision","pw_number","distribution_vision","pw_customer","distribution_customer","pw_operations","distribution_operations","total_distribution","unavailable_portion","percent_unavailable","unavailable_time","total_unavailable","total","TOTAL_WORKING_DAYS","StrategyCardComponent","allocation","bucket_percent","bucket","percent","bucket_effort","bucket_value","unavailable_percent","unavailable","unavailable_effort","unavailable_value","end_of_period","toLocaleDateString","month","start_of_period","start_of_period_yyyy_mm_dd","end_of_period_yyyy_mm_dd","budget","find_segment_details","replace","clonedObj","cloneNode","style","display","StrategyStrategyFormIndexComponent","fillDerivedOpsFlexValues","goToViewPage","goToPreviousPage","ops_flex","sumOfUnavailableTime","handleUnavailableInput","history","go","StrategyStrategySheetIndexComponent","to_euro","_sweetAlert","TableV2DynamicCellIndexComponent","columnValue","TailwindComponentsDropdownIndexComponent","emitDropdownState","closeDropdown","TeamsActiveTeamsTableCellUserSelectIndexComponent","loadPeople","TeamsActiveTeamsTableIndexComponent","convertTeamItemToRow","TeamsArchivedTeamsTableIndexComponent","restoreTeam","TeamsMultiAvatarPreviewComponent","sortedTeams","firstTeam","ThemesTableIndexComponent","onThemeDelete","TimePickerComponent","timeSelections","hour","minute","time","padStart","_timezone","TimeZonePickerComponent","timezones","TimelineInitiativesTableDatePickerIndexComponent","TimelineInitiativesTableIndexComponent","startingDateDDMMMYYY","_tippyHeadless","_tippySingleton","UsefulLinkComponent","focusElement","isUrl","onEnter","registerElement","editableInputElementContainer","handleInputPaste","pastedData","clipboardData","getData","handleUnlink","enableField","disableField","handleEdit","resetDisabled","resetTooltip","rollbackAttributes","handleUpdate","onTooltipHide","onUntrigger","onBeforeUpdate","onTooltipCreate","handleTitleChange","handleUrlChange","WizardSearchComponent","_delay","delay","propagateTextChange","intermediateValue","setIntermediateValue","conditional","boolean","dashboards","strategy","backlog","operations","settings","dashboard","roi","hidden","financials","overview","radar","concept","archive","inactive","account","pages","accessNestedKey","elementKeys","elementKey","page","pageRecord","pageRecordFor","parentKey","pageObject","labelFor","routeFor","iconFor","childrenFor","indexOfIcon","hasChildren","iconDefinedButNoChildren","nestedKey","registerTheme","textStyle","subtextStyle","line","bar","barBorderWidth","barBorderColor","pie","borderColor","scatter","boxplot","parallel","sankey","funnel","gauge","candlestick","color0","borderColor0","graph","areaColor","emphasis","geo","categoryAxis","axisLine","axisTick","splitArea","areaStyle","valueAxis","logAxis","timeAxis","iconStyle","crossStyle","controlStyle","checkpointStyle","visualMap","dataZoom","dataBackgroundColor","fillerColor","handleColor","handleSize","markPoint","_controller","randomMessage","goBack","HOMEPAGE","as","current_roadmap_id","roadmapChanged","pageIsArtifactViewMode","setIdeaStatus","goToIdea","handleIdeaDescriptionSave","handleIdeaDescriptionCancel","_table","_descriptor21","_descriptor22","processIsOngoing","submitter","sortedIdeas","isAMatchCallback","visibleColumnsCount","sortType","toggleSelection","selectedIdeas","ideaId","toggleGroupSelection","groupIsSelected","ideaStatuses","submitters","groups","ideasWithConstraintsApplied","generateIdeasTextDelta","sourceValue","italic","submitterName","createdDate","deadlineValue","revenueExisting","revenue_existing","revenuePotential","revenue_potential","createInitiativeFromSelectedIdeas","creatingInitiative","ideaRecords","summaryDelta","populateIdeasList","fetchIdeas","resetFormAndRedirect","onThemeSelect","onSourceSelect","onPmSelect","param","showAiFeatures","initiative_doc","external","openPopOver","goToInitiative","artifacts","deleteArtifact","createArtifact","created_by","BON_INIT","calculateBonValue","formattedBon","formatBon","handleSubmit","bodySelector","behavior","customTemplateValidator","investmentTemplateValidator","newCustomerTemplateValidator","upsellTemplateValidator","costFteTemplateValidator","bonHasIncompleteTemplates","formsHaveError","handleSave","curr","toggleBonSlideover","showBonSlideover","showUpsellValueSlideover","showFteSlideover","handleSettingsSlideoverOpen","noSummaryOrDescription","handleProjectDescriptionSave","handleProjectDescriptionCancel","_quillCursors","_initiativeTemplate","adapterFor","placeholder","handlers","customHrHandler","cursors","disabledEditorInstance","versions","handleSlideoverOpen","notificationTimeout","showNotification","hideTippy","onTextChange","getContents","onEditorChange","getSelection","insertEmbed","saveDoc","currentUserService","createVersion","cancelEdit","latestVersion","loadVersionsList","initiativeDocVersionAdapter","originalTextDelta","initiateEditor","editorInstance","addMatcher","populateEditorWithSelectedVersion","showLoadTemplateButton","loadTemplate","initiative_doc_template","_backOfANapkin","handleDownloadRequest","fileName","downloader","downloadFileWithProgress","downloading","downloadedBlob","blob","fileUrl","URL","createObjectURL","download","file_name","click","formattedFileName","tenantId","activeTenantId","sourceURL","handleBonNotesSave","handleBonNotesCancel","setBonDelta","RoadmapTableInitiativeWorkstreamsWorkstreamArchiveController","catchAllItems","addWorkstream","workstream_form","showCreateModal","handleWorkstreamEdit","isEditingWorkstream","archiveAllCheckedItems","goToWorkstreamArchives","onArchiveTippyCreate","archiveTippyInstance","showCustomerValuesSlideover","newCustomerV2TemplateValidator","setBelongsToRelationships","openUncertainties","closedUncertainties","addNewUncertainty","newButton","openWfas","closedWfas","addNewWfa","BacklogInitiativesInitiativeWeeksController","showThemeModal","theme_form","show_theme_modal","hideThemeModal","isCancelledNewItem","themeEditMode","addTheme","deleteTheme","editTheme","handleThemeColorSelect","_bookmark","bookmarks","showBookmarkModal","showModal","bookmark_form","hideModal","addBookmark","organisationService","addGoal","cancelOldForm","onGoalSubmit","deleteMetric","setGoalStatus","deleteTarget","targetForGoal","statusClass","latestMeasurement","measured_at_utc","target_date","goToGoal","handleDescriptionSave","toggleDescriptionIsEditable","handleDescriptionCancel","descriptionIsEditable","toggleGoalWizard","goalWizardIsOpen","breadcrumbs","unshift","goToShowPage","setGoalOnInitiative","initiativesLinked","goal_form","goalEditMode","show_goal_modal","trueFalseOptions","onInitiativesLinkedSelect","saveMetric","adapter","createNewUser","newUser","createUser","unclaimedPersons","is_claimed","modalIsOpen","loadDataset","datasetFetcher","fetchInitiativesDataset","fetchData","llCountCurrentPeriod","llCountPreviousPeriod","lessonsLearned","current","previous","llTrendDataset","releasesAndTimeToValueDataset","releases","generateMonthArray","timeToValue","today","currentYear","getFullYear","currentMonth","getMonth","monthArray","setGrouping","notificationMessage","CloseDialog","CloseAfterSubmit","handleCreateTeamDismiss","transitionToCreateTeam","bookmarkValidations","isDeleted","usefulLinks","breadcrumbsArr","breadcrumbService","tagFilter","mentionFilter","toggleAllComments","list_name","editor_id","removeTag","removeMention","handlePageUpdate","scrollToItem","addUsefulLink","teamValidations","showExtraOptions","goToTeams","archiveTeam","convertTo24HourFormat","meridiem","minutes","handleTimezoneSelect","timezone","handleTimeSelect","autoArchiveTime","handleMeridiemSelect","setMembers","removeMember","member","m","togglePreferences","classes","investmentScenario","_capacityDataProvider","setRoadmapOnInitiative","loadRoadmap","activeFields","setColumn","setRow","toggleFilterSlideover","handleFilterSelect","showFilterSlideover","initiativeIds","setHealthFilter","setStatusFilter","setSortFilter","sortByStatus","statusPriorityMap","statusPriority","sortByHealth","healthPriorityMap","healthPriority","activeFieldsMap","fieldOptions","activeFieldsKeys","onFieldSelect","_highchartsGantt","_customEvents","INITIAITVE_SLIDEOVER_SAVE","onInitiativeUpdate","_locale","persons","drawChart","getDateFromYYYYWW","yyyy_ww","weeks_to_add","getGroupingLabel","teams_sync","filteredInitiatives","dataObject","start_date_moment","end_date_moment","accKey","valueOf","status_color","statusBgColors","avatar_color_class","team_name","sortedDataObject","charAt","arrayDataObject","generatePointDataFromInitiative","updateInitiativePoint","newPoint","starting_date","ending_date","startDate","endDate","startDateString","endDateString","yearDifference","point","chartInstance","serie","currentMonthStartEnd","one_month","currentQuarterStartEnd","startOfQuarter","quarter","endOfQuarter","endOf","updateChartData","updateInitiative","ganttChart","chart","plotBackgroundColor","load","setExtremes","redraw","panning","plotOptions","gantt","pointWidth","zIndex","cursor","states","hover","eabled","pointPadding","enableMouseTracking","dragDrop","draggableX","liveRedraw","guideBox","lineColor","lineWidth","dragMinY","dragMaxY","dragPrecisionX","dragHandle","pathFormatter","dataLabels","useHTML","align","overflow","inside","allowOverlap","allowPointSelect","adaptToUpdatedData","pointPlacement","accessibility","scrollbar","rangeSelector","selectedTimeRange","allButtonsEnabled","buttons","currency","outside","shadow","followPointer","lang","xAxisDescriptionPlural","yAxisDescriptionSingular","startOfWeek","gridLineWidth","gridLineColor","currentDateIndicator","dashStyle","tickInterval","labels","show_grouping","staticScale","exporting","userAgent","vendor","querySelectorAll","transitionToCreateInitiative","removeEventListener","onGroupingVisibilityToggle","PlanningDashboardRoadmapProgressController","loadData","_draggablePoints","_exporting","unselect","drop","newPointId","setBreakout","isActiveBreakout","inject","peopleController","setName","_radar","_color_map","radarData","timelines","sections","color_map","markers","default_options","center","styles","default_styles","weight","customer_request_capacity","operations_capacity","vision_capacity","add_weeks_to_date","new_date","setTime","get_color_from_class","initiateRadar","radarInstance","Radar","generate","updateRadar","innerHTML","tocService","toggleTOC","setStatus","setThemes","setSources","setPms","flat","selectedRange","afterSetExtremes","updateRoadmapFilters","showIdeas","showGroups","deleteAgent","deleteArea","deleteCustomer","deleteDepartment","deleteGroup","_organisation","dayOptions","apply","showGoalModal","hideGoalModal","StrategyListCreateController","StrategyListStrategyEditController","dictionary","producthub","loading","expected","product","help","case","in","saved","no","calculate","approximately","unfavorite","favorites","edited","info","explanation","unfiled","optional","links","unlink","eligible","created","ago","drag","collapse","expand","more","less","prev","for","or","here","insights","reported","authenticating","sorting","visibility","filtering","new","tasks","none","skip","finish","yes","resources","activity","project","adjustments","upgrade","copy","personals","holidays","pto","sick_leave","flex","draft","ready","parked","discovery","planning","customer_request","flow","feedback","weekly","_goals","true","false","wizard","updates_on_track","updates_needs_review","updates_at_risk","updates_delayed","strategic","closed","low","medium","high","unknown","_scenarios","euros","period","engineering","clv","confirmed","templates","months","small","large","custom","hint","provider","long_list","short_list","incomplete","in_development","in_review","done","lists","_teams","members","am","planned","available","nav","euro","support","analytics","login","_dataAdapter","_emberCliDeprecationWorkflow","throwOnUnhandled","workflow","hhmmss","second","number","EUR","minimumFractionDigits","maximumFractionDigits","USD","_element","_helper","helper","allExists","_regexp","appVersion","hash","APP","versionOnly","hideSha","shaOnly","hideVersion","showExtended","versionExtendedRegExp","versionRegExp","shaRegExp","arrayObject","_camelize","compute","featureAccess","canAccessFeature","_cancelAll","_capitalize2","string","_changesetGet","_changesetSet","_classify","dateInYYYYMMDD","_dasherize","positional","durationString","_util","EnsureSafeComponentHelper","_eq","equal","_formatDateRange","_formatDate","_formatList","_formatMessage","_formatNumber","_formatRelativeTime","_formatRelative","_formatTime","_fromNow2","_gt","gt","num1","num2","_htmlSafe","_humanize","_hyphenate2","_hyphenate","ideaStatusBgColors","ideaStatusTextColors","_isAfter","_isArray","_isBefore","_isBetween","_isEmpty","_isEqual","isEqual","_isSameOrAfter","_isSameOrBefore","_isSame","stringifiedJSON","_localize2","suffix","prefix","_lowercase","_lt","lt","_lte","lte","_momentAdd","_momentCalendar","_momentDiff","_momentDuration","_momentFormat","_momentFromNow","_momentFrom","_momentSubtract","_momentToDate","_momentToNow","_momentTo","_notEq","notEqualHelper","_not","not","_now","option1","option2","_pageTitle","parent_key","hide_archive","_perform","_pluralize","_singularize","moment","dateString","statusTextColors","_t","_task","_textDeltaIsEmpty2","_titleize","decimal_points","castedValue","_trim","_truncate","_underscore","_unix","_utc","_w","_xor","xor","_initializerFactory","initialize","_deprecationSupport","application","registerOptionsForType","singleton","_emberSimpleAuth","setDefaultProps","_sentryPerformance","_model","attr","defaultValue","providerLabel","agentProviderOptions","inverse","AssigneeModel","AuthorModel","_dec6","_dec7","personWeekInvestments","_dec8","_dec9","commentables","relationship","setAgentOnConversation","polymorphic","get_target_by_metric_id","activeLabel","sortedChildren","hasMoreThanOneInitiative","_dec0","_dec1","_dec10","_dec11","_dec12","_dec13","themeCount","departmentCount","areaCount","customerCount","initiativeCount","iAmTheOwner","canEditIdea","canEdit","isAdmin","canEditStatus","orderedComments","formattedCreatedAt","abbreviatedTimeFromNow","diffInSeconds","asSeconds","asMinutes","asHours","asDays","asMonths","asYears","DELAYED","AT_RISK","NEEDS_REVIEW","updatedByPerson","humanReadableUpdatedAt","updated_at","_localize","_dec14","_dec15","_dec16","_dec17","_dec18","_dec19","_dec20","_dec21","_dec22","_dec23","_dec24","_dec25","_dec26","_dec27","_dec28","_dec29","_dec30","_dec31","_dec32","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","formattedBonInvestment","formattedBonReturns","formattedBonValue","localizedBonInvestment","localizedBonReturns","goalIds","person_week_investments","unarchivedUncertainties","unarchivedWfas","openTickets","tfo","closedTickets","totalTickets","unlistedOpenTickets","unlistedClosedTickets","unlistedTickets","closedTicketsScore","closedTicketsPercentage","expected_health","weeks_difference","score","durationLabel","startingDateObject","roadmapIds","orderedUncertainties","orderedWfas","progressLabel","attributesStringified","conversations","latestConversation","percentage_initiatives","copy_to_object","new_scenario","limit_lower_vision","limit_upper_vision","limit_lower_customer","limit_upper_customer","limit_lower_operations","limit_upper_operations","_teamBasedModel","formattedValue","formattedRecordedDate","MESSAGE_STATUS","COMPLETED","STREAMING","STOPPED","targetForInitiative","goal_id","linkedInitiatives","linkedGoals","decimals","trend","reporting_period","_owner","formattedTargetValue","_baseItem","TeamBasedModel","_emberModifier","_destroyable","cleanup","modify","registerDestructor","modifier","dispose","Intl","NumberFormat","notation","setupChart","registerOnClick","chartOptions","valueFormatter","currencyFormatter","triggerEvents","targetType","datasetToSeries","name_index","stack_index","bon_investment_index","bon_returns_index","bon_value_index","id_index","extraCssText","shadowStyle","axisValueLabel","statusColor","statusText","output","plannableUsage","plannablePercentage","flexibleCapacity","flexibleUsage","flexiblePercentage","seriesType","marker","seriesName","replaceMerge","animationDuration","animationEasing","right","bottom","containLabel","selectedMode","nameLocation","nameGap","nameTextStyle","weekToMark","_colors","allSettled","calculate_default_height","calculate_default_width","dom","rect","size","contentSize","workDetails","work_details","capacityDetails","capacity_details","totalWork","total_work","parseFloat","workload","_addWorkloadRow","flow_capacity","totalWorkPercentage","plannedInitiativesLabel","markLine","rotate","margin","barCategoryGap","_getInitiativeCapacityMarkers","coord","source_buckets_and_uncertainty","roles_cache","overlapFactor","calculateTimeOverlap","VISION","UNSPECIFIED","UNCERTAINTY","calculatedWorkload","existingInitiative","source_object","source_initiatives_vs_flow","role_capacity","number_of_people","displayName","roleWork","roleCapacity","operational_flex","initiativeStart","initiativeDurationWeeks","initiativeEnd","roadmapStart","roadmapEnd","overlapStart","overlapEnd","overlapRatio","notMerge","teams_cache","number_of_teams","team_ids_on_bon","unique_team_ids_on_bon","teamWork","teamCapacity","throttleActionId","rawScrollHandler","userIsAtBottom","abs","clientHeight","throttledScrollHandler","throttleTask","cancelTask","_didInsert","_didUpdate","SunburstChart","chartData","radius","_onClickOutside","keyDownHandler","OnEscapeModifier","clearFocus","onEscape","attachToElement","activeElement","OnInsertModifier","onUpdateModifier","ScrollToTopModifier","StrategyCardModifier","firstRoundItemStyle","lastRoundItemStyle","startAngle","alignTo","decal","initiative_percentage","flow_percentage","label_options","extractDataObject","DATA_MAP","color_key","_key","_value","_willDestroy","allowedOrigins","handleMessage","contentWindow","postMessage","_router","Router","locationType","rootURL","_route","unprotectedRoutes","ApplicationRoute","refreshModel","pageLoader","trackPage","versionChecker","app_should_update","setupSessionAndRefreshIfNeeded","setup","tokenIsExpired","beforeModel","transition","setLocale","betaToggleService","featureAccessService","socketService","routeToTransitionTo","ArtifactsArtifactRoute","artifact_id","ArtifactsArtifactViewRoute","modelFor","invalidate","BacklogIdeasRoute","BacklogIdeasIdeaRoute","idea_id","BacklogIdeasIdeaDescriptionRoute","BacklogIdeasIdeaEditRoute","BacklogIdeasListRoute","setupController","controller","resetController","isExiting","targetName","BacklogIdeasListCreateRoute","RoadmapTableCreateRoute","RoadmapTableIndexRoute","RoadmapTableInitiativeRoute","afterModel","trackInitiativeOpenedEvent","BacklogInitiativesInitiativeActivityImpedimentsRoute","BacklogInitiativesInitiativeActivityUncertaintiesRoute","BacklogInitiativesInitiativeActivityUpdatesRoute","BacklogInitiativesInitiativeArtifactsRoute","RoadmapTableInitiativeBackOfANapkinRoute","results","BacklogInitiativesInitiativeDescriptionRoute","RoadmapTableInitiativeDocumentRoute","RoadmapTableInitiativeIndexRoute","BacklogInitiativesInitiativeInvestmentsRoute","BacklogInitiativesInitiativeKnowledgeBaseRoute","VDR_CONFIG","user_pool_id","identity_pool_id","user_pool_client_id","BacklogInitiativesInitiativeKnowledgeBaseFileFileNameRoute","fileExists","BacklogInitiativesInitiativeKnowledgeBaseListRoute","BacklogInitiativesInitiativeNotesRoute","BacklogInitiativesInitiativeOverviewRoute","RoadmapTableInitiativePlanningIndexRoute","RoadmapTableInitiativePlanningWeeksRoute","RoadmapTableInitiativePlanningWorkstreamsRoute","RoadmapTableInitiativeWorkstreamsRoute","RoadmapTableInitiativeWorkstreamsWorkstreamRoute","subtract","after","two_weeks_ago","before","RoadmapTableInitiativeWorkstreamsWorkstreamArchiveRoute","archivedTfos","uniqueDates","groupByDate","orderedDates","orderDates","paramsFor","formatDates","momentFormat","calendar","sameDay","lastDay","lastWeek","sameElse","assign","array","rv","dateKey","unordered","BacklogInitiativesInitiativeReturnsRoute","BacklogInitiativesInitiativeSettingsRoute","RoadmapTableInitiativeSettingsGeneralDetailsRoute","RoadmapTableInitiativeSettingsIndexRoute","RoadmapTableInitiativeSettingsPlanningAndPeopleRoute","RoadmapTableInitiativeSettingsStrategyRoute","RoadmapTableInitiativeUncertaintiesRoute","RoadmapTableInitiativeWaitingForAnswersRoute","BacklogInitiativesInitiativeWeeksRoute","BacklogInitiativesInitiativeWorkstreamsRoute","SettingsThemesRoute","BookmarksRoute","BusinessRoute","abort","redirectToInnerPage","blockInnerToParentPage","off","BusinessFinancialsRoute","BusinessGoalsRoute","BusinessGoalsCreateRoute","BusinessGoalsGoalRoute","BusinessGoalsGoalDescriptionRoute","BusinessGoalsGoalIndexRoute","BusinessGoalsGoalInitiativesRoute","_params","BusinessGoalsGoalSubgoalsRoute","BusinessGoalsIndexRoute","BusinessGoalsListRoute","BusinessInvestmentProfilesRoute","BusinessInvestmentProfilesCreateRoute","BusinessInvestmentProfilesInvestmentProfileRoute","investment_scenario_id","BusinessInvestmentProfilesInvestmentProfileEditRoute","BusinessInvestmentProfilesInvestmentProfileViewRoute","BusinessInvestmentProfilesListRoute","BusinessMetricsCreateRoute","BusinessMetricsIndexRoute","BusinessMetricsListRoute","BusinessMetricsMetricRoute","metric_id","BusinessMetricsMetricEditRoute","BusinessThemesRoute","BusinessThemesCreateRoute","BusinessThemesIndexRoute","BusinessThemesThemeRoute","theme_id","BusinessThemesThemeEditRoute","CapacityRoute","CapacityIndexRoute","CapacityRolesRoute","CapacityTeamsRoute","CapacityWeeksRoute","AnalyticsROIRoute","AnalyticsTimeToValueRoute","IndexRoute","InsightsRoute","LoginRoute","prohibitAuthentication","loginURL","LogoutRoute","trackLogout","logoutURL","OperationsPeopleActiveRoute","OperationsPeopleCreateRoute","OperationsPeopleInactiveRoute","OperationsPeopleRoute","OperationsPeoplePersonRoute","person_id","OperationsPeoplePersonEditRoute","OperationsRolesRoute","OperationsRolesCreateRoute","OperationsRolesRoleRoute","OperationsRolesRoleEditRoute","TeamsCreateRoute","TeamsTeamRoute","teamIdStorage","setTeamId","TeamsTeamCheckInArchiveLessonsLearnedRoute","archivedLls","TeamsTeamCheckInArchiveQuestionsRoute","archivedQuestions","TeamsTeamCheckInArchiveToFigureOutsRoute","archivedTfo","TeamsTeamCheckInArchiveUncertaintiesRoute","TeamsTeamCheckInArchiveWaitingForAnswersRoute","TeamsTeamSettingsRoute","archive_time","hours","PlanningRoute","is_trial","PlanningDashboardRoute","loadRoadmapInitiatives","PlanningDashboardBalanceRoute","scenario_id","PlanningDashboardBalanceEditRoute","PlanningDashboardBalanceIndexRoute","PlanningDashboardBalanceViewRoute","PlanningDashboardCapacityRoute","PlanningDashboardCapacityRolesRoute","PlanningDashboardCapacityTeamsRoute","PlanningDashboardCapacityWeeksRoute","PlanningDashboardGridRoute","PlanningDashboardHealthRoute","PlanningDashboardIndexRoute","PlanningDashboardLanesRoute","PlanningDashboardOverviewRoute","PlanningDashboardOverviewGridRoute","PlanningDashboardOverviewIndexRoute","PlanningDashboardOverviewLanesRoute","PlanningDashboardOverviewTableRoute","PlanningDashboardOverviewTimelineRoute","relationshipPromises","resolved_promises","j","PlanningDashboardProgressRoute","PlanningDashboardRoiRoute","PlanningDashboardTimelineRoute","ProgressRoute","ResourcesRoute","ResourcesBalanceRoute","ResourcesPeopleRoute","ResourcesPeopleActiveRoute","ResourcesPeopleCreateRoute","ResourcesPeopleInactiveRoute","ResourcesPeoplePersonRoute","ResourcesPeoplePersonEditRoute","ResourcesRolesRoute","ResourcesRolesCreateRoute","ResourcesRolesRoleRoute","ResourcesRolesRoleEditRoute","ResourcesTeamsRoute","ResourcesTeamsActiveRoute","ResourcesTeamsArchivedRoute","ResourcesTeamsCreateRoute","RoadmapRadarRoute","existing_scenario","RoadmapStrategyCreateRoute","RoadmapStrategyIndexRoute","RoadmapStrategyRoadmapEditRoute","RoadmapStrategyRoadmapViewGridRoute","RoadmapStrategyRoadmapTimelineRoute","RoadmapTimelineRoute","AccountRoute","SettingsAgentsAgentRoute","agent_id","SettingsAgentsAgentEditRoute","SettingsAgentsIndexRoute","SettingsAgentsListRoute","SettingsAgentsListCreateRoute","SettingsAreasAreaRoute","area_id","SettingsAreasAreaEditRoute","SettingsAreasIndexRoute","SettingsAreasListRoute","SettingsAreasListCreateRoute","SettingsCustomersCustomerRoute","customer_id","SettingsCustomersCustomerEditRoute","SettingsCustomersIndexRoute","SettingsCustomersListRoute","SettingsCustomersListCreateRoute","SettingsDepartmentsDepartmentRoute","department_id","SettingsDepartmentsDepartmentEditRoute","SettingsDepartmentsIndexRoute","SettingsDepartmentsListRoute","SettingsDepartmentsListCreateRoute","SettingsFinancialsRoute","SettingsGroupsGroupRoute","group_id","SettingsGroupsGroupEditRoute","SettingsGroupsIndexRoute","SettingsGroupsListRoute","SettingsGroupsListCreateRoute","OrganisationRoute","SettingsTagsRoute","StrategyFinancialsRoute","StrategyGoalsRoute","StrategyIndexRoute","StrategyListCreateRoute","StrategyListIndexRoute","StrategyListStrategyEditRoute","StrategyInvestmentScenariosInvestmentScenarioEditRoute","StrategyInvestmentScenariosInvestmentScenarioViewRoute","Application","keyForAttribute","BaseItemSerializer","normalize","typeHash","serialize","ConversationSerializer","_string","_convertMarkdownToTextDelta","_customQuillTemplate","underscore","external_urls","approach","hasOwnProperty","initiativeIsNew","tenantIsEligibleForCustomTemplate","injectSummaryTextDelta","normalizeResponse","primaryModelClass","bon_text_delta","processMarkdownInTextDelta","normalizeFindAllResponse","normalizeQueryResponse","LlSerializer","MessageSerializer","PersonSerializer","QuestionSerializer","_createIsoStringFromDate","isISODateString","RoadmapSerializer","TargetSerializer","TeamSerializer","TfoSerializer","UncertaintySerializer","WfaSerializer","_motion","_ensureRegistered","orgId","retrievePermission","initiativeDocumentRoute","hideCapacity","newCustomersV2Snippet","showInitiativeAbbrvFieldInQuickAddFormForQPQ","sortedStatusOptions","permissionsObj","reportingPeriodOptions","trendOptions","symbolOptions","goalStatusOptions","durationOptions","textAlignment","payloadOptions","setupCalled","messageAdapter","routeDidChangeHandler","setConversationLoading","isComplete","complete","isInitiativePage","saveMessage","userMessage","_message","closeRecentChatsWindowIfMinimized","fillConversationDetails","lastBotMessage","_canvasConfetti","ConfettiService","myCanvas","resize","useWorker","myConfetti","particleCount","spread","_cookies","loggedOutUser","profileColor","setUser","setUserId","getUser","newPerson","queryRecord","formatFavorites","getRecord","personCreate","goToLogout","clear","setupBFCacheHandling","setupVisibilityHandling","setupNetworkHandling","JWTToken","socketURL","WSS_ENDPOINT","healthy","socket","readyState","WebSocket","OPEN","CONNECTING","unhealthy","connect","backOff","reconnectAttempts","pow","_connect","onopen","openHandler","onmessage","messageHandler","onclose","closeHandler","onerror","errorHandler","send","_queue","QUEUED","_send","CLOSING","CLOSED","SENT","FAILED","_messageQueue","flushQueue","failedMessages","shift","startHeartbeat","stopHeartbeat","pushMessage","handleTabHidden","handleTabVisible","reconnectAttemtps","persisted","heartbeatInterval","removeRecordFromData","removeId","removeType","removeItem","unloadRecord","dataJSON","handleMessageUpdate","storeItem","state","updateStoreBykey","normalizedItem","peekElseFetchItem","_type","belongsToRelationships","relationshipNames","hasManyRelationships","relationshipItem","parsedData","pendingNewMessage","fetchOptions","productManagersList","getUsersSync","submittersList","getInitiativesSync","roadmaps_sorted_by_start_date","sourcesList","statusesList","ideaStatusesList","durationsList","updatesList","item_id","containerArray","currentIndex","previousContainer","itemId","nextContainer","routeName","hasAccessToEverything","isAllowed","permissionsMap","setupWasCalled","checkIfUserIsPermittedToVisitRoute","userPermissions","permission","Map","localKey","sidebarIsOpen","isMobileView","matchMedia","hamburgerClasses","setItem","updateSidebarStatus","setInitiativeId","setInitiative","trackSlideoverOpenedEvent","applicationController","openProgressPanel","trackInitiativeUpdateEvent","fetched","convertToValueLabel","_intl","LastVisited","saveLastVisitedRoute","lastVisitedRoute","isLocalhost","greenLog","redLog","extra","orangeLog","purpleLog","fancyLog","setStatusFeatureViewed","setSourceFeatureViewed","showFeature","statusFeature","sourceFeature","setFeatureAsViewed","_enQpq","setTag","setTenant","organisationAvatar","acceptedLocales","roadmap_url","bon_price_person_week","bon_horizon","metadata","plan","inviting_is_disabled","inviting_enabled","defaultInvestmentConfidenceOptions","defaultReturnConfidenceOptions","confidenceObject","addTranslations","getInvestmentConfidenceLabel","getReturnConfidenceLabel","bucket_size_vision","bucket_size_customer_request","bucket_size_operations","PageLoaderUiService","topbar","not_set","isCurrentRoadmap","_routerService","ExtendedRouterService","_session","handleAuthentication","unloadAll","tokenIsHalfHourToExpiry","refreshInProgress","_store","_swal","menuLinks","_menuLinks","showTOC","_showTOC","activeLink","_activeLink","setMenuLinks","setActiveLink","bool","updateTableOfContents","wrapperId","cb","observer","disconnect","titles","IntersectionObserver","handleIntersection","rootMargin","threshold","toc","scroll","offsetTop","behaviour","observe","isIntersecting","_teamId","teamId","getTeams","getTeamsSync","_tracker","amplitude","_pluginSessionReplayBrowser","_posthogJs","track","propertyKey","descriptor","originalMethod","trackers","filteredFunction","doNotTrack","bind","warn","EVENTS","subdomain","previewTracker","createAmplitudeTracker","preview","mainTracker","posthogTracker","createPosthogTracker","posthog","api_key","api_host","person_profiles","PostHogTracker","createInstance","sessionReplayTracking","sessionReplayPlugin","storeType","sampleRate","Tracker","parts","hostname","setVersionName","loadUsers","fetchVersion","version_name","cache","setupTabFocusListener","checkIfAppShouldUpdate","latest_version","local_version","handleVisibilityChange","visibilityState","_adaptive","SessionStore","colors","require","plugin","defaultTheme","module","exports","presets","safelist","pattern","screens","sm","md","lg","xl","touch","raw","transparent","black","white","gray","red","orange","yellow","amber","green","blue","indigo","purple","pink","slate","zinc","neutral","stone","lime","emerald","teal","cyan","sky","violet","fuchsia","rose","primary","dark","spacing","px","spin","ping","pulse","bounce","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backgroundImage","backgroundOpacity","backgroundPosition","backgroundSize","auto","cover","contain","DEFAULT","brightness","borderOpacity","full","boxShadow","inner","contrast","pointer","wait","move","divideColor","divideOpacity","divideWidth","dropShadow","grayscale","hueRotate","invert","initial","flexGrow","flexShrink","sans","serif","mono","xxs","lineHeight","xs","base","thin","extralight","light","normal","semibold","extrabold","gap","gradientColorStops","gridAutoColumns","fr","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowStart","gridRowEnd","gridTemplateColumns","gridTemplateRows","screen","inset","negative","keyframes","opacity","animationTimingFunction","letterSpacing","tighter","tight","wide","wider","widest","snug","relaxed","loose","listStyleType","disc","decimal","maxHeight","maxWidth","breakpoints","prose","minHeight","minWidth","objectPosition","first","last","outline","placeholderColor","placeholderOpacity","ringColor","ringOffsetColor","ringOffsetWidth","ringOpacity","ringWidth","saturate","scale","sepia","skew","space","stroke","strokeWidth","textColor","textOpacity","transformOrigin","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","linear","out","translate","fit","variantOrder","plugins","addVariant","_transform","ArrayTransform","deserialize","serialized","deserialized","BooleanTransform","DateTransform","NumberTransform","Status","Open","Closed","StringTransform","_cache","_handleError","createPrediction","abortController","signal","reader","getReader","decoder","TextDecoder","buffer","aborted","read","finalItem","parseError","newlineIndex","decode","stream","parsedItem","releaseLock","_clientCognitoIdentity","_clientS","initializeVdrClient","S3VDRClient","loginKey","REGION","USER_POOL_ID","generateCredentials","cognitoClient","CognitoIdentityClient","getIdCommand","GetIdCommand","IdentityPoolId","IDENTITY_POOL_ID","Logins","identityId","IdentityId","getCredentialsCommand","GetCredentialsForIdentityCommand","credentials","accessKeyId","AccessKeyId","secretAccessKey","SecretKey","sessionToken","SessionToken","expiration","Expiration","initializeClient","s3Client","S3Client","ensureClientInitialized","command","HeadObjectCommand","Bucket","BUCKET","Key","$metadata","PutObjectCommand","Body","ContentType","headCommand","totalBytes","ContentLength","downloaded","chunkSize","chunks","downloadedBytes","getCommand","GetObjectCommand","Range","transformToByteArray","chunk","Blob","Uint8Array","initiativeColors","DRAFT","ACTIVE","READY","ARCHIVED","PARKED","NEW","numHash","charCodeAt","convertMarkdownToTextDelta","markdownText","lines","headerText","lineOps","processBoldInLine","boldPattern","lastIndex","exec","beforeText","hasMarkdownSyntax","textDelta","newOps","convertedDelta","opsWithAttributes","convertedOp","timestamp","utcOffset","INITIAITVE_SLIDEOVER_CLOSING_EVENT","_classCallCheck","Constructor","_defineProperties","props","_createClass","protoProps","staticProps","_extends","_getPrototypeOf","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","_assertThisInitialized","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","_isNativeReflectConstruct","Super","NewTarget","_possibleConstructorReturn","_get","receiver","_superPropBase","desc","_arrayLikeToArray","len","arr2","_createForOfIteratorHelper","allowArrayLike","it","minLen","_unsupportedIterableToArray","F","s","f","normalCompletion","didErr","return","Keys","attachDataValues","dataAttributes","MentionBlot","_Embed","subClass","superClass","_inherits","_super","node","_this","hoverHandler","mounted","getClickHandler","getHoverHandler","domNode","_this2","buildEvent","dispatchEvent","_this3","Event","bubbles","cancelable","setDataValues","blotName","tagName","Mention","itemIndex","mentionCharPos","cursorPos","suspendMouseEnter","existingSourceExecutionToken","renderItem","insertItem","minChars","maxChars","offsetLeft","isolateCharacter","fixMentionsToQuill","defaultMenuOrientation","linkTarget","onBeforeClose","listItemClass","mentionContainerClass","mentionListClass","spaceAfterInsert","selectKeys","mentionContainer","cssText","onmousemove","onContainerMouseMove","mentionList","root","onSelectionChange","addBinding","selectHandler","_step","_iterator","selectKey","escapeHandler","upHandler","downHandler","selectItem","abandoned","hideMentionList","prevItem","nextItem","setMentionContainerPosition","removeAttribute","scrollItemInView","childNodes","itemHeight","offsetHeight","itemPos","containerTop","containerBottom","hasLinkValue","itemTarget","getItemData","asyncData","programmaticInsert","insertAtPos","render","deleteText","insertText","highlightItem","button","stopImmediatePropagation","currentTarget","getElementsByClassName","showMentionList","loadingDiv","removeLoading","initialSelection","li","onmouseenter","onDisabledItemMouseEnter","onItemMouseEnter","onmouseup","onItemClick","onmousedown","onItemMouseDown","newIndex","decrement","topPos","containerPos","pageYOffset","innerHeight","leftPos","offsetWidth","pageXOffset","documentElement","clientWidth","setMentionContainerPosition_Fixed","setMentionContainerPosition_Normal","getBoundingClientRect","getBounds","containerHeight","containerRightIsNotVisible","containerWidth","overMentionCharPos","containerBottomIsNotVisible","_overMentionCharPos","_this4","mentionCharPosAbsolute","relativeToPos","rightPos","availableSpaceTop","availableSpaceBottom","fitsBottom","fitsTop","startPos","getText","_this5","textBeforeCursor","getTextBeforeCursor","_getMentionCharIndex","mentionCharIndex","lastIndexOf","isolateChar","hasValidMentionCharIndex","textAfter","hasValidChars","getAllowedCharsRegex","sourceRequestToken","oldDelta","onSomethingChange","selection","dateA","dateB","date1","date2","populateDomWithDropdown","dropdownIsActivated","InitiativePillBlot","colorClass","InitiativePill","toLocaleString","aString","bString","comparisonResult","nextQuarter","startOfNextQuarter","endOfNextQuarter","aNumber","bNumber","appending_object","_quillDelta","Clipboard","onPaste","defaultPrevented","retain","SILENT","convert","updateContents","Embed","Hr","BaseImageFormat","ImageFormatAttributesList","formats","hasAttribute","Delta","processed","isProcessingUser","shouldProcessUserInput","processUserMarkdownContent","processMarkdownContent","allText","contents","convertMarkdownToDelta","setContents","originalDelta","hasMarkdown","processedOps","parseMarkdownText","Quill","modulePath","imports","css_class","_d","$6bf0283bd73b3e87$export$e506a1d27d1eaa20","size_field","color_field","delimiter","show_capacity","number_of_slices","$8ce3d61709e7dafe$export$9dd6ff9ea0189349","font_size","border","highlight_color","capacity_icon","min_size","max_size","color_range","inner_circle_diameter","$fab42eb3dee39b5b$export$7460e682ce0f6da3","degrees","PI","$fab42eb3dee39b5b$export$354d673d2de74a14","TextEncoder","crypto","subtle","digest","$fab42eb3dee39b5b$export$1dc1e50544972cf2","nested_field","outer","$fab42eb3dee39b5b$export$f87898330e677cb5","week_string","getDay","getDate","$2f416dba7774550a$export$7608f99c51d98df2","$2f416dba7774550a$export$172a5934950afa00","sanitize_initiatives","valid","invalid","filter_unrenderable_initiatives","invalid_initiatives","date_options","weekday","convert_strings_to_dates","scale_start","scale_end","timescale","scalePow","exponent","clamp","bubble_scale","scaleLinear","bubble_domain","color_scale","scaleOrdinal","color_domain","svgOuter","viewbox","svg","layers","dots","outerRadius","innerRadius","weights","arc_generator","arc","padAngle","cur","rotation","$2f416dba7774550a$var$LabelTransformer","data_map","$2f416dba7774550a$var$InitiativeTransformer","generate_sections","generate_initiatives","generate_initiative_labels","generate_timelines","generate_axis","generate_markers","sanitize_initiative","section","timescales","selectAll","layer","highlighted","measure","draw","nodes","getBBox","each","bbox","draw_rect","background","cos","sin","show_weights","update_bbox","cy","pageY","pageX","circle_x","circle_width","rotation_offset","mid","endAngle","r_planning","section_ids","letter","part_index","part","part_size","calculateDistribution","abbr","isdst","utc","AbstractTracker","setGroup","exclude_list","groupId","eventName","properties","userId","identify","setPersonProperties","user_id","capture","$groups","validateFormat","allowBlank","validateLength","validateNumber","integer","metaName","rawConfig","runningTests"],"sources":["vendor/ember-cli/app-prefix.js","scaleflow/adapters/application.js","scaleflow/adapters/favorite.js","scaleflow/adapters/initiative-document-version.js","scaleflow/adapters/initiative.js","scaleflow/adapters/person.js","scaleflow/app.js","scaleflow/authenticators/BaseAuthenticator.js","scaleflow/authenticators/cognito.js","scaleflow/authenticators/oauth2-implicit-grant.js","scaleflow/authenticators/user-password-auth.js","scaleflow/components/-dynamic-element-alt.js","scaleflow/components/-dynamic-element.js","scaleflow/components/agents/form/index.js","scaleflow/components/animated-beacon.js","scaleflow/components/animated-container.js","scaleflow/components/animated-each.js","scaleflow/components/animated-if.js","scaleflow/components/animated-orphans.js","scaleflow/components/animated-value.js","scaleflow/components/areas/form.js","scaleflow/components/artifacts/table-cell/created-by/index.js","scaleflow/components/artifacts/table-cell/sync-to-kb/index.js","scaleflow/components/atoms/avatar.js","scaleflow/components/atoms/buttons/action-button.js","scaleflow/components/atoms/buttons/button.js","scaleflow/components/atoms/buttons/icon.js","scaleflow/components/atoms/buttons/save.js","scaleflow/components/atoms/buttons/secondary-button.js","scaleflow/components/atoms/divider.js","scaleflow/components/atoms/forms/clickable-input/index.js","scaleflow/components/atoms/forms/container.js","scaleflow/components/atoms/forms/dropdown.js","scaleflow/components/atoms/forms/input.js","scaleflow/components/atoms/forms/label.js","scaleflow/components/atoms/forms/range/dots/index.js","scaleflow/components/atoms/forms/range/pills/index.js","scaleflow/components/atoms/forms/select.js","scaleflow/components/atoms/forms/textarea.js","scaleflow/components/atoms/forms/toggle/index.js","scaleflow/components/atoms/icons/abbreviation.js","scaleflow/components/atoms/icons/account.js","scaleflow/components/atoms/icons/add-initiative.js","scaleflow/components/atoms/icons/alert.js","scaleflow/components/atoms/icons/alt-settings.js","scaleflow/components/atoms/icons/analytics.js","scaleflow/components/atoms/icons/archive-recover.js","scaleflow/components/atoms/icons/archive.js","scaleflow/components/atoms/icons/arrow-left.js","scaleflow/components/atoms/icons/back-of-a-napkin.js","scaleflow/components/atoms/icons/banana.js","scaleflow/components/atoms/icons/board.js","scaleflow/components/atoms/icons/bookmark.js","scaleflow/components/atoms/icons/business-plan.js","scaleflow/components/atoms/icons/calculator.js","scaleflow/components/atoms/icons/calendar.js","scaleflow/components/atoms/icons/check-in.js","scaleflow/components/atoms/icons/check.js","scaleflow/components/atoms/icons/checkbox-fill.js","scaleflow/components/atoms/icons/checklist.js","scaleflow/components/atoms/icons/chevron/down.js","scaleflow/components/atoms/icons/chevron/left.js","scaleflow/components/atoms/icons/chevron/right.js","scaleflow/components/atoms/icons/chevron/up.js","scaleflow/components/atoms/icons/clipboard.js","scaleflow/components/atoms/icons/clock.js","scaleflow/components/atoms/icons/close.js","scaleflow/components/atoms/icons/comment.js","scaleflow/components/atoms/icons/copy.js","scaleflow/components/atoms/icons/create.js","scaleflow/components/atoms/icons/danger.js","scaleflow/components/atoms/icons/dashboard.js","scaleflow/components/atoms/icons/delete.js","scaleflow/components/atoms/icons/document.js","scaleflow/components/atoms/icons/drag.js","scaleflow/components/atoms/icons/edit-arrow.js","scaleflow/components/atoms/icons/edit.js","scaleflow/components/atoms/icons/email.js","scaleflow/components/atoms/icons/euro.js","scaleflow/components/atoms/icons/expand.js","scaleflow/components/atoms/icons/external-link.js","scaleflow/components/atoms/icons/eye-on.js","scaleflow/components/atoms/icons/filter.js","scaleflow/components/atoms/icons/flag.js","scaleflow/components/atoms/icons/hamburger.js","scaleflow/components/atoms/icons/hashtag.js","scaleflow/components/atoms/icons/help.js","scaleflow/components/atoms/icons/highlight.js","scaleflow/components/atoms/icons/homepage.js","scaleflow/components/atoms/icons/info-outline.js","scaleflow/components/atoms/icons/initiatives.js","scaleflow/components/atoms/icons/item-menu.js","scaleflow/components/atoms/icons/link.js","scaleflow/components/atoms/icons/list.js","scaleflow/components/atoms/icons/lock.js","scaleflow/components/atoms/icons/logo-color.js","scaleflow/components/atoms/icons/logo-colored.js","scaleflow/components/atoms/icons/logo.js","scaleflow/components/atoms/icons/logout.js","scaleflow/components/atoms/icons/menu-divider.js","scaleflow/components/atoms/icons/minus-circle.js","scaleflow/components/atoms/icons/now-next-later.js","scaleflow/components/atoms/icons/organisation-initiatives.js","scaleflow/components/atoms/icons/organisation.js","scaleflow/components/atoms/icons/pin.js","scaleflow/components/atoms/icons/planning.js","scaleflow/components/atoms/icons/plus-circle.js","scaleflow/components/atoms/icons/plus.js","scaleflow/components/atoms/icons/profile.js","scaleflow/components/atoms/icons/progress.js","scaleflow/components/atoms/icons/question-mark.js","scaleflow/components/atoms/icons/radar-concept.js","scaleflow/components/atoms/icons/radar.js","scaleflow/components/atoms/icons/radio.js","scaleflow/components/atoms/icons/return.js","scaleflow/components/atoms/icons/roadmap.js","scaleflow/components/atoms/icons/save.js","scaleflow/components/atoms/icons/settings.js","scaleflow/components/atoms/icons/share.js","scaleflow/components/atoms/icons/sidebar-toggle.js","scaleflow/components/atoms/icons/sortby.js","scaleflow/components/atoms/icons/speakerphone.js","scaleflow/components/atoms/icons/star.js","scaleflow/components/atoms/icons/tag.js","scaleflow/components/atoms/icons/teams.js","scaleflow/components/atoms/icons/this-week.js","scaleflow/components/atoms/icons/timeline.js","scaleflow/components/atoms/icons/unfavorite.js","scaleflow/components/atoms/icons/unsync.js","scaleflow/components/atoms/icons/user.js","scaleflow/components/atoms/icons/views.js","scaleflow/components/atoms/icons/workstream.js","scaleflow/components/atoms/icons/workstreams.js","scaleflow/components/atoms/label.js","scaleflow/components/atoms/tooltip.js","scaleflow/components/avatar.js","scaleflow/components/back-of-a-napkin/add-calculation-button.js","scaleflow/components/back-of-a-napkin/bon-preview.js","scaleflow/components/back-of-a-napkin/confidence-dropdown.js","scaleflow/components/back-of-a-napkin/investment-template-dropdown.js","scaleflow/components/back-of-a-napkin/investments.js","scaleflow/components/back-of-a-napkin/metrics/index.js","scaleflow/components/back-of-a-napkin/returns-template-dropdown.js","scaleflow/components/back-of-a-napkin/returns.js","scaleflow/components/back-of-a-napkin/slideovers/bon.js","scaleflow/components/back-of-a-napkin/slideovers/clv.js","scaleflow/components/back-of-a-napkin/slideovers/customer-values/index.js","scaleflow/components/back-of-a-napkin/slideovers/fte.js","scaleflow/components/back-of-a-napkin/slideovers/horizon.js","scaleflow/components/back-of-a-napkin/slideovers/investment-confidence.js","scaleflow/components/back-of-a-napkin/slideovers/ppw.js","scaleflow/components/back-of-a-napkin/slideovers/return-confidence.js","scaleflow/components/back-of-a-napkin/slideovers/upsell-value.js","scaleflow/components/back-of-a-napkin/templates/confidence-multiplier.js","scaleflow/components/back-of-a-napkin/templates/cost-fte.js","scaleflow/components/back-of-a-napkin/templates/custom.js","scaleflow/components/back-of-a-napkin/templates/customer-value-input-modal/index.js","scaleflow/components/back-of-a-napkin/templates/customer-values-dropdown/index.js","scaleflow/components/back-of-a-napkin/templates/investment.js","scaleflow/components/back-of-a-napkin/templates/new-customers-v2/index.js","scaleflow/components/back-of-a-napkin/templates/new-customers.js","scaleflow/components/back-of-a-napkin/templates/notes/index.js","scaleflow/components/back-of-a-napkin/templates/person-weeks-role/index.js","scaleflow/components/back-of-a-napkin/templates/upsell.js","scaleflow/components/banner/index.js","scaleflow/components/business/tabs/index.js","scaleflow/components/capacity/initiatives-table/index.js","scaleflow/components/capacity/roadmap-query-selector.js","scaleflow/components/charts/bar-chart-roi.js","scaleflow/components/charts/capacity-chart.js","scaleflow/components/charts/pie-chart.js","scaleflow/components/charts/releases.js","scaleflow/components/charts/scatter-with-line.js","scaleflow/components/charts/stacked-line-chart.js","scaleflow/components/charts/stat-cards.js","scaleflow/components/chat/bot-message/index.js","scaleflow/components/chat/error-message/index.js","scaleflow/components/chat/header/index.js","scaleflow/components/chat/index.js","scaleflow/components/chat/input/index.js","scaleflow/components/chat/roadmap-renderer/index.js","scaleflow/components/chat/user-message/index.js","scaleflow/components/chat/window/index.js","scaleflow/components/checkbox.js","scaleflow/components/content-editable.js","scaleflow/components/customers/form.js","scaleflow/components/dashboard-box.js","scaleflow/components/departments/form.js","scaleflow/components/dropdowns/clear-selection-action-button.js","scaleflow/components/dropdowns/ideas.js","scaleflow/components/dropdowns/initiatives.js","scaleflow/components/dropdowns/multi-select.js","scaleflow/components/dropdowns/roadmap/index.js","scaleflow/components/dropdowns/roles/index.js","scaleflow/components/dropdowns/scenario/index.js","scaleflow/components/dropdowns/searchable.js","scaleflow/components/dropdowns/single-select.js","scaleflow/components/dropdowns/teams.js","scaleflow/components/dropdowns/themes.js","scaleflow/components/dropdowns/tippy-dropdown.js","scaleflow/components/dropdowns/users.js","scaleflow/components/dropdowns/weeks.js","scaleflow/components/dropdowns/workstreams.js","scaleflow/components/ea-list-element.js","scaleflow/components/email-invite-modal/index.js","scaleflow/components/ember-table-loading-more.js","scaleflow/components/ember-table-private/row-wrapper.js","scaleflow/components/ember-table-private/scroll-indicators.js","scaleflow/components/ember-table-simple-checkbox.js","scaleflow/components/ember-table.js","scaleflow/components/ember-tbody.js","scaleflow/components/ember-td.js","scaleflow/components/ember-tfoot.js","scaleflow/components/ember-th.js","scaleflow/components/ember-th/resize-handle.js","scaleflow/components/ember-th/sort-indicator.js","scaleflow/components/ember-thead.js","scaleflow/components/ember-tr.js","scaleflow/components/empty-component.js","scaleflow/components/filter-badge.js","scaleflow/components/flatpickr/index.js","scaleflow/components/form/field-errors/index.js","scaleflow/components/goals/delete-modal/index.js","scaleflow/components/goals/goal-selector/index.js","scaleflow/components/goals/goal/summary-panel/index.js","scaleflow/components/goals/list-item/index.js","scaleflow/components/goals/list-item/title/index.js","scaleflow/components/goals/list-item/wrapper/index.js","scaleflow/components/goals/table/index.js","scaleflow/components/goals/table/initiatives-selector/index.js","scaleflow/components/goals/table/owner-selector/index.js","scaleflow/components/goals/table/status-selector/index.js","scaleflow/components/goals/wizard/create/index.js","scaleflow/components/goals/wizard/edit/index.js","scaleflow/components/goals/wizard/goals-checkbox-item/index.js","scaleflow/components/groups/form/index.js","scaleflow/components/ideas/comment-box/index.js","scaleflow/components/ideas/idea-selector/index.js","scaleflow/components/ideas/idea/summary-panel/index.js","scaleflow/components/ideas/table-cell/area/index.js","scaleflow/components/ideas/table-cell/customers/index.js","scaleflow/components/ideas/table-cell/deadline/index.js","scaleflow/components/ideas/table-cell/department/index.js","scaleflow/components/ideas/table-cell/effort.js","scaleflow/components/ideas/table-cell/group/index.js","scaleflow/components/ideas/table-cell/initiatives/index.js","scaleflow/components/ideas/table-cell/investment.js","scaleflow/components/ideas/table-cell/product-area.js","scaleflow/components/ideas/table-cell/returns.js","scaleflow/components/ideas/table-cell/source/index.js","scaleflow/components/ideas/table-cell/status/index.js","scaleflow/components/ideas/table-cell/submitted-by/index.js","scaleflow/components/ideas/table-cell/themes/index.js","scaleflow/components/ideas/table-cell/title.js","scaleflow/components/ideas/wizard/index.js","scaleflow/components/initiatives/card.js","scaleflow/components/initiatives/document/versions-slideover.js","scaleflow/components/initiatives/document/versions-slideover/version-item.js","scaleflow/components/initiatives/forms/general-details.js","scaleflow/components/initiatives/forms/planning-and-people.js","scaleflow/components/initiatives/initiative-selector/index.js","scaleflow/components/initiatives/initiative/summary-panel/index.js","scaleflow/components/initiatives/list/filter-slideover.js","scaleflow/components/initiatives/metric-wizard/index.js","scaleflow/components/initiatives/page-exit-warning-modal.js","scaleflow/components/initiatives/popover/index.js","scaleflow/components/initiatives/popover/initiative-update/index.js","scaleflow/components/initiatives/popover/list-item/index.js","scaleflow/components/initiatives/popover/progress/index.js","scaleflow/components/initiatives/popover/progress/new/index.js","scaleflow/components/initiatives/progress-card/index.js","scaleflow/components/initiatives/progress-filter-slideover/index.js","scaleflow/components/initiatives/progress-panel/feed-item/index.js","scaleflow/components/initiatives/progress-panel/index.js","scaleflow/components/initiatives/progress-panel/progress-form/index.js","scaleflow/components/initiatives/status-pill/index.js","scaleflow/components/initiatives/table/duration-selector/index.js","scaleflow/components/initiatives/table/goal-selector/index.js","scaleflow/components/initiatives/table/header-filter-dropdown/index.js","scaleflow/components/initiatives/table/index.js","scaleflow/components/initiatives/table/pm-selector/index.js","scaleflow/components/initiatives/table/progress-pill/index.js","scaleflow/components/initiatives/table/roadmap-selector/index.js","scaleflow/components/initiatives/table/source-selector/index.js","scaleflow/components/initiatives/table/status-selector/index.js","scaleflow/components/initiatives/table/team-effort/index.js","scaleflow/components/initiatives/table/team-selector/index.js","scaleflow/components/initiatives/table/theme-selector/index.js","scaleflow/components/initiatives/table/title/index.js","scaleflow/components/initiatives/update-wizard/general-remarks/index.js","scaleflow/components/initiatives/update-wizard/impediments/index.js","scaleflow/components/initiatives/update-wizard/index.js","scaleflow/components/initiatives/update-wizard/link-metrics/index.js","scaleflow/components/initiatives/update-wizard/uncertainties/index.js","scaleflow/components/layouts/page-full.js","scaleflow/components/layouts/page-padded.js","scaleflow/components/list/assignee-badge.js","scaleflow/components/list/group-title.js","scaleflow/components/list/initiatives-badge.js","scaleflow/components/list/list-item.js","scaleflow/components/list/list.js","scaleflow/components/list/teams-badge.js","scaleflow/components/list/weeks-badge.js","scaleflow/components/list/workstreams-badge.js","scaleflow/components/loader.js","scaleflow/components/localized-value.js","scaleflow/components/markdown-renderer/index.js","scaleflow/components/modal.js","scaleflow/components/molecules/approach-create-week.js","scaleflow/components/molecules/approach-plan-header.js","scaleflow/components/molecules/approach-plan-list-item.js","scaleflow/components/molecules/archive-item.js","scaleflow/components/molecules/archive-menu.js","scaleflow/components/molecules/archive-modal.js","scaleflow/components/molecules/comment-loop.js","scaleflow/components/molecules/comment.js","scaleflow/components/molecules/dropdown.js","scaleflow/components/molecules/editor.js","scaleflow/components/molecules/favorite-icon.js","scaleflow/components/molecules/initiative-avatar.js","scaleflow/components/molecules/menu-actions.js","scaleflow/components/multiselect-pills.js","scaleflow/components/navbar/collapse.js","scaleflow/components/navbar/link.js","scaleflow/components/navbar/navbar.js","scaleflow/components/notification.js","scaleflow/components/organisation/settings/global-bon-values.js","scaleflow/components/organisms/account-menu.js","scaleflow/components/organisms/approach-plan-list.js","scaleflow/components/organisms/approach-planning.js","scaleflow/components/organisms/archive-list.js","scaleflow/components/organisms/comment-list.js","scaleflow/components/organisms/initiative-list-item-dropdown.js","scaleflow/components/organisms/list-item-dropdown.js","scaleflow/components/organisms/list-title-dropdown.js","scaleflow/components/organisms/radio-options.js","scaleflow/components/page-headers/filter-actions.js","scaleflow/components/page-headers/filters-layer.js","scaleflow/components/page-headers/page-title/index.js","scaleflow/components/page-headers/primary-actions.js","scaleflow/components/page-headers/sidepanel-action/index.js","scaleflow/components/page-headers/title-layer.js","scaleflow/components/people/form/index.js","scaleflow/components/people/multi-avatar-preview/index.js","scaleflow/components/people/table/index.js","scaleflow/components/people/table/table-cell/name.js","scaleflow/components/people/table/table-cell/roles-select/index.js","scaleflow/components/people/table/table-cell/teams-select/index.js","scaleflow/components/planning-date-picker.js","scaleflow/components/quick-adds/area/index.js","scaleflow/components/quick-adds/customer/index.js","scaleflow/components/quick-adds/department/index.js","scaleflow/components/quick-adds/goal/index.js","scaleflow/components/quick-adds/group/index.js","scaleflow/components/quick-adds/initiative/index.js","scaleflow/components/quick-adds/person/index.js","scaleflow/components/quick-adds/roadmap/index.js","scaleflow/components/quick-adds/role/index.js","scaleflow/components/quick-adds/team/index.js","scaleflow/components/quick-adds/theme/index.js","scaleflow/components/quill-editor.js","scaleflow/components/quill.js","scaleflow/components/quill/toolbar.js","scaleflow/components/quill/toolbar/button-or-select.js","scaleflow/components/quill/toolbar/button.js","scaleflow/components/quill/toolbar/group.js","scaleflow/components/quill/toolbar/select.js","scaleflow/components/radio/index.js","scaleflow/components/resources/tabs/index.js","scaleflow/components/roadmap/filter-group/dropdown/index.js","scaleflow/components/roadmap/filter-group/index.js","scaleflow/components/roadmap/filter-slideover/index.js","scaleflow/components/roadmap/financial-summary/index.js","scaleflow/components/roadmap/form/index.js","scaleflow/components/roadmap/list/delete-modal/index.js","scaleflow/components/roadmap/list/table/index.js","scaleflow/components/roadmap/roadmap-visualisation/column/index.js","scaleflow/components/roadmap/roadmap-visualisation/empty-box/index.js","scaleflow/components/roadmap/roadmap-visualisation/index.js","scaleflow/components/roadmap/roadmap-visualisation/initiative-box/index.js","scaleflow/components/roadmap/roi/index.js","scaleflow/components/roadmap/strategy-header/index.js","scaleflow/components/roadmap/strategy-header/info-tiles/index.js","scaleflow/components/roadmap/table/index.js","scaleflow/components/roadmap/table/table-cell/recommended/index.js","scaleflow/components/roadmap/table/table-cell/toggle-initiative/index.js","scaleflow/components/roadmap/view/index.js","scaleflow/components/roi/initiatives-table/index.js","scaleflow/components/roles/avatar/index.js","scaleflow/components/roles/create-role/index.js","scaleflow/components/roles/multi-avatar-preview/index.js","scaleflow/components/roles/table.js","scaleflow/components/roles/table/table-cell/label/index.js","scaleflow/components/roles/table/table-cell/user-select.js","scaleflow/components/scenarios/table/index.js","scaleflow/components/slide-over.js","scaleflow/components/strategy/StrategyCalculation.js","scaleflow/components/strategy/card/index.js","scaleflow/components/strategy/strategy-form/index.js","scaleflow/components/strategy/strategy-sheet/index.js","scaleflow/components/sweet-alert.js","scaleflow/components/table-list/page.js","scaleflow/components/table-list/td.js","scaleflow/components/table-list/th.js","scaleflow/components/table-list/tr.js","scaleflow/components/table-v2/dynamic-cell/index.js","scaleflow/components/table-v2/index.js","scaleflow/components/table-v2/sort-indicator/index.js","scaleflow/components/table/table-body.js","scaleflow/components/table/table-head.js","scaleflow/components/table/table-row.js","scaleflow/components/table/table.js","scaleflow/components/table/td.js","scaleflow/components/table/th.js","scaleflow/components/tailwind-components/dropdown/index.js","scaleflow/components/tailwind-components/dropdown/option/index.js","scaleflow/components/tailwind-icons/arrow-path/index.js","scaleflow/components/tailwind-icons/arrows-pointing-in/index.js","scaleflow/components/tailwind-icons/arrows-pointing-out/index.js","scaleflow/components/tailwind-icons/avatar/index.js","scaleflow/components/tailwind-icons/bars/index.js","scaleflow/components/tailwind-icons/calendar/index.js","scaleflow/components/tailwind-icons/card/index.js","scaleflow/components/tailwind-icons/chat-bubble/index.js","scaleflow/components/tailwind-icons/chevron-double-right/index.js","scaleflow/components/tailwind-icons/clipboard/index.js","scaleflow/components/tailwind-icons/comment/index.js","scaleflow/components/tailwind-icons/document-arrow-down/index.js","scaleflow/components/tailwind-icons/document-plus/index.js","scaleflow/components/tailwind-icons/exclamation-circle/index.js","scaleflow/components/tailwind-icons/eye-slash/index.js","scaleflow/components/tailwind-icons/fire/index.js","scaleflow/components/tailwind-icons/flag/index.js","scaleflow/components/tailwind-icons/goal/index.js","scaleflow/components/tailwind-icons/grouping/index.js","scaleflow/components/tailwind-icons/lock-fill/index.js","scaleflow/components/tailwind-icons/metric/index.js","scaleflow/components/tailwind-icons/paper-airplane/index.js","scaleflow/components/tailwind-icons/search/index.js","scaleflow/components/tailwind-icons/sort-down/index.js","scaleflow/components/tailwind-icons/sort-up/index.js","scaleflow/components/tailwind-icons/sparkles/index.js","scaleflow/components/tailwind-icons/stop.js","scaleflow/components/tailwind-icons/target/index.js","scaleflow/components/tailwind-icons/tickets/index.js","scaleflow/components/tailwind-icons/uncertainty/index.js","scaleflow/components/tailwind-icons/user-add/index.js","scaleflow/components/tailwind-icons/user-group/index.js","scaleflow/components/tailwind-icons/user/index.js","scaleflow/components/tailwind-icons/waiting/index.js","scaleflow/components/tailwind-icons/window/index.js","scaleflow/components/teams/active-teams/table-cell/favorite/index.js","scaleflow/components/teams/active-teams/table-cell/title/index.js","scaleflow/components/teams/active-teams/table-cell/user-select/index.js","scaleflow/components/teams/active-teams/table/index.js","scaleflow/components/teams/archived-teams/table/index.js","scaleflow/components/teams/multi-avatar-preview.js","scaleflow/components/themes/table-cell/title/index.js","scaleflow/components/themes/table/index.js","scaleflow/components/time-picker.js","scaleflow/components/time-zone-picker.js","scaleflow/components/timeline/initiatives-table/date-picker/index.js","scaleflow/components/timeline/initiatives-table/index.js","scaleflow/components/tippy-headless.js","scaleflow/components/tippy-singleton.js","scaleflow/components/tippy.js","scaleflow/components/toast.js","scaleflow/components/useful-link.js","scaleflow/components/vertical-collection.js","scaleflow/components/wizard/body/index.js","scaleflow/components/wizard/empty-state/index.js","scaleflow/components/wizard/index.js","scaleflow/components/wizard/menu/index.js","scaleflow/components/wizard/search/index.js","scaleflow/components/wizard/step/index.js","scaleflow/components/wizard/title/index.js","scaleflow/config/app-structure.js","scaleflow/config/echarts_theme.js","scaleflow/controllers/404.js","scaleflow/controllers/application.js","scaleflow/controllers/authenticate.js","scaleflow/controllers/backlog/ideas/idea.js","scaleflow/controllers/backlog/ideas/idea/description.js","scaleflow/controllers/backlog/ideas/list.js","scaleflow/controllers/backlog/initiatives/create.js","scaleflow/controllers/backlog/initiatives/index.js","scaleflow/controllers/backlog/initiatives/initiative.js","scaleflow/controllers/backlog/initiatives/initiative/artifacts.js","scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin.js","scaleflow/controllers/backlog/initiatives/initiative/description.js","scaleflow/controllers/backlog/initiatives/initiative/document.js","scaleflow/controllers/backlog/initiatives/initiative/investments.js","scaleflow/controllers/backlog/initiatives/initiative/knowledge-base/file/file-name.js","scaleflow/controllers/backlog/initiatives/initiative/knowledge-base/list.js","scaleflow/controllers/backlog/initiatives/initiative/notes.js","scaleflow/controllers/backlog/initiatives/initiative/planning/weeks.js","scaleflow/controllers/backlog/initiatives/initiative/planning/workstream/archive.js","scaleflow/controllers/backlog/initiatives/initiative/planning/workstreams.js","scaleflow/controllers/backlog/initiatives/initiative/returns.js","scaleflow/controllers/backlog/initiatives/initiative/settings.js","scaleflow/controllers/backlog/initiatives/initiative/settings/general-details.js","scaleflow/controllers/backlog/initiatives/initiative/settings/planning-and-people.js","scaleflow/controllers/backlog/initiatives/initiative/settings/strategy.js","scaleflow/controllers/backlog/initiatives/initiative/uncertainties.js","scaleflow/controllers/backlog/initiatives/initiative/waiting-for-answers.js","scaleflow/controllers/backlog/initiatives/initiative/weeks.js","scaleflow/controllers/backlog/initiatives/initiative/workstreams.js","scaleflow/controllers/backlog/themes.js","scaleflow/controllers/bookmarks.js","scaleflow/controllers/business/goals/create.js","scaleflow/controllers/business/goals/goal.js","scaleflow/controllers/business/goals/goal/description.js","scaleflow/controllers/business/goals/goal/edit.js","scaleflow/controllers/business/goals/goal/initiatives.js","scaleflow/controllers/business/goals/goal/subgoals.js","scaleflow/controllers/business/goals/list.js","scaleflow/controllers/business/metrics/create.js","scaleflow/controllers/business/metrics/list.js","scaleflow/controllers/business/metrics/metric/edit.js","scaleflow/controllers/business/themes.js","scaleflow/controllers/business/themes/create.js","scaleflow/controllers/business/themes/theme/edit.js","scaleflow/controllers/claim.js","scaleflow/controllers/dashboards/roi.js","scaleflow/controllers/dashboards/time-to-value.js","scaleflow/controllers/operations/people/active.js","scaleflow/controllers/operations/people/inactive.js","scaleflow/controllers/operations/roles.js","scaleflow/controllers/operations/teams/active.js","scaleflow/controllers/operations/teams/archived.js","scaleflow/controllers/operations/teams/create.js","scaleflow/controllers/operations/teams/index.js","scaleflow/controllers/operations/teams/team/check-in.js","scaleflow/controllers/operations/teams/team/settings.js","scaleflow/controllers/planning/dashboard.js","scaleflow/controllers/planning/dashboard/balance/edit.js","scaleflow/controllers/planning/dashboard/balance/view.js","scaleflow/controllers/planning/dashboard/capacity.js","scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider.js","scaleflow/controllers/planning/dashboard/capacity/roles.js","scaleflow/controllers/planning/dashboard/capacity/teams.js","scaleflow/controllers/planning/dashboard/capacity/weeks.js","scaleflow/controllers/planning/dashboard/grid.js","scaleflow/controllers/planning/dashboard/health.js","scaleflow/controllers/planning/dashboard/lanes.js","scaleflow/controllers/planning/dashboard/overview.js","scaleflow/controllers/planning/dashboard/overview/grid.js","scaleflow/controllers/planning/dashboard/overview/lanes.js","scaleflow/controllers/planning/dashboard/overview/table.js","scaleflow/controllers/planning/dashboard/overview/timeline.js","scaleflow/controllers/planning/dashboard/progress.js","scaleflow/controllers/planning/dashboard/roi.js","scaleflow/controllers/planning/dashboard/timeline.js","scaleflow/controllers/progress.js","scaleflow/controllers/resources/people.js","scaleflow/controllers/resources/people/active.js","scaleflow/controllers/resources/people/inactive.js","scaleflow/controllers/resources/roles.js","scaleflow/controllers/resources/teams.js","scaleflow/controllers/resources/teams/active.js","scaleflow/controllers/resources/teams/archived.js","scaleflow/controllers/resources/teams/create.js","scaleflow/controllers/roadmap/now-next-later.js","scaleflow/controllers/roadmap/radar.js","scaleflow/controllers/roadmap/strategy/create.js","scaleflow/controllers/roadmap/strategy/roadmap/edit.js","scaleflow/controllers/roadmap/strategy/roadmap/grid.js","scaleflow/controllers/roadmap/strategy/roadmap/lanes.js","scaleflow/controllers/roadmap/strategy/roadmap/timeline.js","scaleflow/controllers/roadmap/timeline.js","scaleflow/controllers/settings.js","scaleflow/controllers/settings/agents/agent/edit.js","scaleflow/controllers/settings/agents/base.js","scaleflow/controllers/settings/agents/list.js","scaleflow/controllers/settings/agents/list/create.js","scaleflow/controllers/settings/areas/area/edit.js","scaleflow/controllers/settings/areas/base.js","scaleflow/controllers/settings/areas/list.js","scaleflow/controllers/settings/areas/list/create.js","scaleflow/controllers/settings/customers/base.js","scaleflow/controllers/settings/customers/customer/edit.js","scaleflow/controllers/settings/customers/list.js","scaleflow/controllers/settings/customers/list/create.js","scaleflow/controllers/settings/departments/base.js","scaleflow/controllers/settings/departments/department/edit.js","scaleflow/controllers/settings/departments/list.js","scaleflow/controllers/settings/departments/list/create.js","scaleflow/controllers/settings/groups/base.js","scaleflow/controllers/settings/groups/group/edit.js","scaleflow/controllers/settings/groups/list.js","scaleflow/controllers/settings/groups/list/create.js","scaleflow/controllers/settings/organisation.js","scaleflow/controllers/settings/tags.js","scaleflow/controllers/strategy/goals.js","scaleflow/controllers/strategy/investment-scenarios/create.js","scaleflow/controllers/strategy/investment-scenarios/index.js","scaleflow/controllers/strategy/investment-scenarios/investment-scenario/edit.js","scaleflow/custom-translations/en-qpq.js","scaleflow/data-adapter.js","scaleflow/deprecation-workflow.js","scaleflow/formats.js","scaleflow/helpers/-base.js","scaleflow/helpers/-element.js","scaleflow/helpers/add.js","scaleflow/helpers/and.js","scaleflow/helpers/app-version.js","scaleflow/helpers/array-includes.js","scaleflow/helpers/camelize.js","scaleflow/helpers/can-access-feature.js","scaleflow/helpers/cancel-all.js","scaleflow/helpers/capitalize.js","scaleflow/helpers/changeset-get.js","scaleflow/helpers/changeset-set.js","scaleflow/helpers/changeset.js","scaleflow/helpers/classify.js","scaleflow/helpers/convert-date-format.js","scaleflow/helpers/dasherize.js","scaleflow/helpers/document-query-selector.js","scaleflow/helpers/doubly-sort.js","scaleflow/helpers/duration-label-converter.js","scaleflow/helpers/element.js","scaleflow/helpers/ensure-safe-component.js","scaleflow/helpers/eq.js","scaleflow/helpers/format-date-range.js","scaleflow/helpers/format-date.js","scaleflow/helpers/format-list.js","scaleflow/helpers/format-message.js","scaleflow/helpers/format-number.js","scaleflow/helpers/format-relative-time.js","scaleflow/helpers/format-relative.js","scaleflow/helpers/format-time.js","scaleflow/helpers/from-now.js","scaleflow/helpers/gt.js","scaleflow/helpers/gte.js","scaleflow/helpers/html-safe.js","scaleflow/helpers/humanize.js","scaleflow/helpers/hyphenate.js","scaleflow/helpers/idea-status-color-class.js","scaleflow/helpers/is-after.js","scaleflow/helpers/is-array.js","scaleflow/helpers/is-before.js","scaleflow/helpers/is-between.js","scaleflow/helpers/is-empty.js","scaleflow/helpers/is-equal.js","scaleflow/helpers/is-null-or-undefined.js","scaleflow/helpers/is-same-or-after.js","scaleflow/helpers/is-same-or-before.js","scaleflow/helpers/is-same.js","scaleflow/helpers/json-parse.js","scaleflow/helpers/label-extract.js","scaleflow/helpers/localize.js","scaleflow/helpers/lowercase.js","scaleflow/helpers/lt.js","scaleflow/helpers/lte.js","scaleflow/helpers/moment-add.js","scaleflow/helpers/moment-calendar.js","scaleflow/helpers/moment-diff.js","scaleflow/helpers/moment-duration.js","scaleflow/helpers/moment-format.js","scaleflow/helpers/moment-from-now.js","scaleflow/helpers/moment-from.js","scaleflow/helpers/moment-subtract.js","scaleflow/helpers/moment-to-date.js","scaleflow/helpers/moment-to-now.js","scaleflow/helpers/moment-to.js","scaleflow/helpers/moment.js","scaleflow/helpers/not-eq.js","scaleflow/helpers/not-in-archive.js","scaleflow/helpers/not.js","scaleflow/helpers/now.js","scaleflow/helpers/or.js","scaleflow/helpers/page-title.js","scaleflow/helpers/parent-tfos.js","scaleflow/helpers/perform.js","scaleflow/helpers/pluralize.js","scaleflow/helpers/progress-to-bg.js","scaleflow/helpers/singularize.js","scaleflow/helpers/starting-week-label-converter.js","scaleflow/helpers/status-color-class.js","scaleflow/helpers/substring.js","scaleflow/helpers/subtract.js","scaleflow/helpers/t.js","scaleflow/helpers/task.js","scaleflow/helpers/text-delta-is-empty.js","scaleflow/helpers/text-filtered.js","scaleflow/helpers/title-to-bg.js","scaleflow/helpers/titleize.js","scaleflow/helpers/to-fixed.js","scaleflow/helpers/to-percentage-string.js","scaleflow/helpers/trim.js","scaleflow/helpers/truncate.js","scaleflow/helpers/underscore.js","scaleflow/helpers/unix.js","scaleflow/helpers/uppercase.js","scaleflow/helpers/utc.js","scaleflow/helpers/w.js","scaleflow/helpers/xor.js","scaleflow/initializers/app-version.js","scaleflow/initializers/ember-data.js","scaleflow/initializers/ember-simple-auth.js","scaleflow/initializers/tippy.js","scaleflow/instance-initializers/sentry-performance.js","scaleflow/models/agent.js","scaleflow/models/area.js","scaleflow/models/artifact.js","scaleflow/models/assignee.js","scaleflow/models/author.js","scaleflow/models/base-item.js","scaleflow/models/bon.js","scaleflow/models/bookmark.js","scaleflow/models/comment.js","scaleflow/models/conversation.js","scaleflow/models/customer.js","scaleflow/models/department.js","scaleflow/models/favorite.js","scaleflow/models/goal.js","scaleflow/models/group.js","scaleflow/models/idea.js","scaleflow/models/initiative-document-version.js","scaleflow/models/initiative-update.js","scaleflow/models/initiative.js","scaleflow/models/investment-scenario.js","scaleflow/models/invitation.js","scaleflow/models/ll.js","scaleflow/models/measurement.js","scaleflow/models/message.js","scaleflow/models/metric.js","scaleflow/models/organisation.js","scaleflow/models/owner.js","scaleflow/models/person.js","scaleflow/models/question.js","scaleflow/models/roadmap.js","scaleflow/models/role.js","scaleflow/models/target.js","scaleflow/models/team-based-model.js","scaleflow/models/team.js","scaleflow/models/tfo.js","scaleflow/models/theme.js","scaleflow/models/uncertainty.js","scaleflow/models/week.js","scaleflow/models/wfa.js","scaleflow/models/workstream.js","scaleflow/modifiers/amplitude/initiatives-interaction.js","scaleflow/modifiers/autofocus.js","scaleflow/modifiers/bar-chart.js","scaleflow/modifiers/capacity-chart.js","scaleflow/modifiers/capacity/roles.js","scaleflow/modifiers/capacity/teams.js","scaleflow/modifiers/chat/scroll.js","scaleflow/modifiers/content-editable.js","scaleflow/modifiers/did-insert.js","scaleflow/modifiers/did-update.js","scaleflow/modifiers/hide-tippy-on-click.js","scaleflow/modifiers/initiative/ticket-stats.js","scaleflow/modifiers/on-click-outside.js","scaleflow/modifiers/on-escape.js","scaleflow/modifiers/render-modifiers/on-insert.js","scaleflow/modifiers/render-modifiers/on-update.js","scaleflow/modifiers/scroll-to-top.js","scaleflow/modifiers/strategy/card.js","scaleflow/modifiers/strategy/sunburst.js","scaleflow/modifiers/tippy.js","scaleflow/modifiers/will-destroy.js","scaleflow/modifiers/window-post-message.js","scaleflow/router.js","scaleflow/routes/application.js","scaleflow/routes/artifacts/artifact.js","scaleflow/routes/artifacts/artifact/view.js","scaleflow/routes/authenticate.js","scaleflow/routes/backlog/ideas.js","scaleflow/routes/backlog/ideas/idea.js","scaleflow/routes/backlog/ideas/idea/description.js","scaleflow/routes/backlog/ideas/idea/edit.js","scaleflow/routes/backlog/ideas/index.js","scaleflow/routes/backlog/ideas/list.js","scaleflow/routes/backlog/ideas/list/create.js","scaleflow/routes/backlog/index.js","scaleflow/routes/backlog/initiatives/create.js","scaleflow/routes/backlog/initiatives/index.js","scaleflow/routes/backlog/initiatives/initiative.js","scaleflow/routes/backlog/initiatives/initiative/activity/impediments.js","scaleflow/routes/backlog/initiatives/initiative/activity/uncertainties.js","scaleflow/routes/backlog/initiatives/initiative/activity/updates.js","scaleflow/routes/backlog/initiatives/initiative/artifacts.js","scaleflow/routes/backlog/initiatives/initiative/back-of-a-napkin.js","scaleflow/routes/backlog/initiatives/initiative/description.js","scaleflow/routes/backlog/initiatives/initiative/document.js","scaleflow/routes/backlog/initiatives/initiative/index.js","scaleflow/routes/backlog/initiatives/initiative/investments.js","scaleflow/routes/backlog/initiatives/initiative/knowledge-base.js","scaleflow/routes/backlog/initiatives/initiative/knowledge-base/file/file-name.js","scaleflow/routes/backlog/initiatives/initiative/knowledge-base/list.js","scaleflow/routes/backlog/initiatives/initiative/notes.js","scaleflow/routes/backlog/initiatives/initiative/overview.js","scaleflow/routes/backlog/initiatives/initiative/planning.js","scaleflow/routes/backlog/initiatives/initiative/planning/index.js","scaleflow/routes/backlog/initiatives/initiative/planning/weeks.js","scaleflow/routes/backlog/initiatives/initiative/planning/workstreams.js","scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/index.js","scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/workstream.js","scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/workstream/archive.js","scaleflow/routes/backlog/initiatives/initiative/returns.js","scaleflow/routes/backlog/initiatives/initiative/settings.js","scaleflow/routes/backlog/initiatives/initiative/settings/general-details.js","scaleflow/routes/backlog/initiatives/initiative/settings/index.js","scaleflow/routes/backlog/initiatives/initiative/settings/planning-and-people.js","scaleflow/routes/backlog/initiatives/initiative/settings/strategy.js","scaleflow/routes/backlog/initiatives/initiative/uncertainties.js","scaleflow/routes/backlog/initiatives/initiative/waiting-for-answers.js","scaleflow/routes/backlog/initiatives/initiative/weeks.js","scaleflow/routes/backlog/initiatives/initiative/workstreams.js","scaleflow/routes/backlog/themes.js","scaleflow/routes/bookmarks.js","scaleflow/routes/business.js","scaleflow/routes/business/financials.js","scaleflow/routes/business/goals.js","scaleflow/routes/business/goals/create.js","scaleflow/routes/business/goals/goal.js","scaleflow/routes/business/goals/goal/description.js","scaleflow/routes/business/goals/goal/edit.js","scaleflow/routes/business/goals/goal/index.js","scaleflow/routes/business/goals/goal/initiatives.js","scaleflow/routes/business/goals/goal/subgoals.js","scaleflow/routes/business/goals/index.js","scaleflow/routes/business/goals/list.js","scaleflow/routes/business/investment-profiles.js","scaleflow/routes/business/investment-profiles/create.js","scaleflow/routes/business/investment-profiles/investment-profile.js","scaleflow/routes/business/investment-profiles/investment-profile/edit.js","scaleflow/routes/business/investment-profiles/investment-profile/view.js","scaleflow/routes/business/investment-profiles/list.js","scaleflow/routes/business/metrics/create.js","scaleflow/routes/business/metrics/index.js","scaleflow/routes/business/metrics/list.js","scaleflow/routes/business/metrics/metric.js","scaleflow/routes/business/metrics/metric/edit.js","scaleflow/routes/business/themes.js","scaleflow/routes/business/themes/create.js","scaleflow/routes/business/themes/index.js","scaleflow/routes/business/themes/theme.js","scaleflow/routes/business/themes/theme/edit.js","scaleflow/routes/capacity.js","scaleflow/routes/capacity/index.js","scaleflow/routes/capacity/roles.js","scaleflow/routes/capacity/teams.js","scaleflow/routes/capacity/weeks.js","scaleflow/routes/claim.js","scaleflow/routes/dashboards/index.js","scaleflow/routes/dashboards/roi.js","scaleflow/routes/dashboards/time-to-value.js","scaleflow/routes/index.js","scaleflow/routes/insights.js","scaleflow/routes/login.js","scaleflow/routes/logout.js","scaleflow/routes/operations/index.js","scaleflow/routes/operations/people/active.js","scaleflow/routes/operations/people/create.js","scaleflow/routes/operations/people/inactive.js","scaleflow/routes/operations/people/index.js","scaleflow/routes/operations/people/person.js","scaleflow/routes/operations/people/person/edit.js","scaleflow/routes/operations/roles.js","scaleflow/routes/operations/roles/create.js","scaleflow/routes/operations/roles/role.js","scaleflow/routes/operations/roles/role/edit.js","scaleflow/routes/operations/teams/active.js","scaleflow/routes/operations/teams/archived.js","scaleflow/routes/operations/teams/create.js","scaleflow/routes/operations/teams/index.js","scaleflow/routes/operations/teams/team.js","scaleflow/routes/operations/teams/team/check-in.js","scaleflow/routes/operations/teams/team/check-in/archive/lessons-learned.js","scaleflow/routes/operations/teams/team/check-in/archive/questions.js","scaleflow/routes/operations/teams/team/check-in/archive/to-figure-outs.js","scaleflow/routes/operations/teams/team/check-in/archive/uncertainties.js","scaleflow/routes/operations/teams/team/check-in/archive/waiting-for-answers.js","scaleflow/routes/operations/teams/team/index.js","scaleflow/routes/operations/teams/team/settings.js","scaleflow/routes/planning.js","scaleflow/routes/planning/dashboard.js","scaleflow/routes/planning/dashboard/balance.js","scaleflow/routes/planning/dashboard/balance/edit.js","scaleflow/routes/planning/dashboard/balance/index.js","scaleflow/routes/planning/dashboard/balance/view.js","scaleflow/routes/planning/dashboard/capacity.js","scaleflow/routes/planning/dashboard/capacity/roles.js","scaleflow/routes/planning/dashboard/capacity/teams.js","scaleflow/routes/planning/dashboard/capacity/weeks.js","scaleflow/routes/planning/dashboard/grid.js","scaleflow/routes/planning/dashboard/health.js","scaleflow/routes/planning/dashboard/index.js","scaleflow/routes/planning/dashboard/lanes.js","scaleflow/routes/planning/dashboard/overview.js","scaleflow/routes/planning/dashboard/overview/grid.js","scaleflow/routes/planning/dashboard/overview/index.js","scaleflow/routes/planning/dashboard/overview/lanes.js","scaleflow/routes/planning/dashboard/overview/table.js","scaleflow/routes/planning/dashboard/overview/timeline.js","scaleflow/routes/planning/dashboard/progress.js","scaleflow/routes/planning/dashboard/roi.js","scaleflow/routes/planning/dashboard/timeline.js","scaleflow/routes/progress.js","scaleflow/routes/resources.js","scaleflow/routes/resources/balance.js","scaleflow/routes/resources/people.js","scaleflow/routes/resources/people/active.js","scaleflow/routes/resources/people/create.js","scaleflow/routes/resources/people/inactive.js","scaleflow/routes/resources/people/person.js","scaleflow/routes/resources/people/person/edit.js","scaleflow/routes/resources/roles.js","scaleflow/routes/resources/roles/create.js","scaleflow/routes/resources/roles/role.js","scaleflow/routes/resources/roles/role/edit.js","scaleflow/routes/resources/teams.js","scaleflow/routes/resources/teams/active.js","scaleflow/routes/resources/teams/archived.js","scaleflow/routes/resources/teams/create.js","scaleflow/routes/roadmap/index.js","scaleflow/routes/roadmap/now-next-later.js","scaleflow/routes/roadmap/radar.js","scaleflow/routes/roadmap/strategy/create.js","scaleflow/routes/roadmap/strategy/index.js","scaleflow/routes/roadmap/strategy/roadmap.js","scaleflow/routes/roadmap/strategy/roadmap/edit.js","scaleflow/routes/roadmap/strategy/roadmap/grid.js","scaleflow/routes/roadmap/strategy/roadmap/lanes.js","scaleflow/routes/roadmap/strategy/roadmap/timeline.js","scaleflow/routes/roadmap/timeline.js","scaleflow/routes/settings/account.js","scaleflow/routes/settings/agents/agent.js","scaleflow/routes/settings/agents/agent/edit.js","scaleflow/routes/settings/agents/index.js","scaleflow/routes/settings/agents/list.js","scaleflow/routes/settings/agents/list/create.js","scaleflow/routes/settings/areas/area.js","scaleflow/routes/settings/areas/area/edit.js","scaleflow/routes/settings/areas/index.js","scaleflow/routes/settings/areas/list.js","scaleflow/routes/settings/areas/list/create.js","scaleflow/routes/settings/customers/customer.js","scaleflow/routes/settings/customers/customer/edit.js","scaleflow/routes/settings/customers/index.js","scaleflow/routes/settings/customers/list.js","scaleflow/routes/settings/customers/list/create.js","scaleflow/routes/settings/departments/department.js","scaleflow/routes/settings/departments/department/edit.js","scaleflow/routes/settings/departments/index.js","scaleflow/routes/settings/departments/list.js","scaleflow/routes/settings/departments/list/create.js","scaleflow/routes/settings/financials.js","scaleflow/routes/settings/groups/group.js","scaleflow/routes/settings/groups/group/edit.js","scaleflow/routes/settings/groups/index.js","scaleflow/routes/settings/groups/list.js","scaleflow/routes/settings/groups/list/create.js","scaleflow/routes/settings/index.js","scaleflow/routes/settings/organisation.js","scaleflow/routes/settings/tags.js","scaleflow/routes/strategy/financials.js","scaleflow/routes/strategy/goals.js","scaleflow/routes/strategy/index.js","scaleflow/routes/strategy/investment-scenarios/create.js","scaleflow/routes/strategy/investment-scenarios/index.js","scaleflow/routes/strategy/investment-scenarios/investment-scenario.js","scaleflow/routes/strategy/investment-scenarios/investment-scenario/edit.js","scaleflow/routes/strategy/investment-scenarios/investment-scenario/index.js","scaleflow/routes/strategy/investment-scenarios/investment-scenario/view.js","scaleflow/serializers/application.js","scaleflow/serializers/base-item.js","scaleflow/serializers/conversation.js","scaleflow/serializers/initiative.js","scaleflow/serializers/ll.js","scaleflow/serializers/message.js","scaleflow/serializers/person.js","scaleflow/serializers/question.js","scaleflow/serializers/roadmap.js","scaleflow/serializers/target.js","scaleflow/serializers/team.js","scaleflow/serializers/tfo.js","scaleflow/serializers/uncertainty.js","scaleflow/serializers/wfa.js","scaleflow/services/-ea-motion.js","scaleflow/services/-ensure-registered.js","scaleflow/services/beta-toggle.js","scaleflow/services/chatv2.js","scaleflow/services/confetti.js","scaleflow/services/cookies.js","scaleflow/services/current-user.js","scaleflow/services/data-socket.js","scaleflow/services/dataset-fetcher.js","scaleflow/services/dropdown.js","scaleflow/services/editor-active.js","scaleflow/services/email-invite.js","scaleflow/services/favorite.js","scaleflow/services/feature-access.js","scaleflow/services/hamburger-menu.js","scaleflow/services/initiative-id-storage.js","scaleflow/services/initiative-slideover.js","scaleflow/services/initiatives.js","scaleflow/services/intl.js","scaleflow/services/last-visited.js","scaleflow/services/logger.js","scaleflow/services/moment.js","scaleflow/services/notifications.js","scaleflow/services/organisation.js","scaleflow/services/page-loader-ui.js","scaleflow/services/page-title.js","scaleflow/services/quill.js","scaleflow/services/roadmap.js","scaleflow/services/router.js","scaleflow/services/session.js","scaleflow/services/store.js","scaleflow/services/swal.js","scaleflow/services/table-of-contents.js","scaleflow/services/team-id-storage.js","scaleflow/services/teams.js","scaleflow/services/themes.js","scaleflow/services/tracker.js","scaleflow/services/users.js","scaleflow/services/version-checker.js","scaleflow/session-stores/application.js","scaleflow/styles/tailwind.config.js","scaleflow/templates/404.js","scaleflow/templates/application.js","scaleflow/templates/artifacts/artifact.js","scaleflow/templates/artifacts/artifact/view.js","scaleflow/templates/authenticate.js","scaleflow/templates/backlog/ideas.js","scaleflow/templates/backlog/ideas/idea.js","scaleflow/templates/backlog/ideas/idea/description.js","scaleflow/templates/backlog/ideas/idea/edit.js","scaleflow/templates/backlog/ideas/index.js","scaleflow/templates/backlog/ideas/list.js","scaleflow/templates/backlog/ideas/list/create.js","scaleflow/templates/backlog/initiatives/create.js","scaleflow/templates/backlog/initiatives/index.js","scaleflow/templates/backlog/initiatives/initiative.js","scaleflow/templates/backlog/initiatives/initiative/artifacts.js","scaleflow/templates/backlog/initiatives/initiative/back-of-a-napkin.js","scaleflow/templates/backlog/initiatives/initiative/description.js","scaleflow/templates/backlog/initiatives/initiative/document.js","scaleflow/templates/backlog/initiatives/initiative/investments.js","scaleflow/templates/backlog/initiatives/initiative/knowledge-base.js","scaleflow/templates/backlog/initiatives/initiative/knowledge-base/file/file-name.js","scaleflow/templates/backlog/initiatives/initiative/knowledge-base/list.js","scaleflow/templates/backlog/initiatives/initiative/notes.js","scaleflow/templates/backlog/initiatives/initiative/overview.js","scaleflow/templates/backlog/initiatives/initiative/planning.js","scaleflow/templates/backlog/initiatives/initiative/planning/index.js","scaleflow/templates/backlog/initiatives/initiative/planning/weeks.js","scaleflow/templates/backlog/initiatives/initiative/planning/workstreams.js","scaleflow/templates/backlog/initiatives/initiative/planning/workstreams/workstream/archive.js","scaleflow/templates/backlog/initiatives/initiative/returns.js","scaleflow/templates/backlog/initiatives/initiative/settings.js","scaleflow/templates/backlog/initiatives/initiative/settings/general-details.js","scaleflow/templates/backlog/initiatives/initiative/settings/planning-and-people.js","scaleflow/templates/backlog/initiatives/initiative/settings/strategy.js","scaleflow/templates/backlog/initiatives/initiative/uncertainties.js","scaleflow/templates/backlog/initiatives/initiative/waiting-for-answers.js","scaleflow/templates/backlog/initiatives/initiative/weeks.js","scaleflow/templates/backlog/initiatives/initiative/workstreams.js","scaleflow/templates/backlog/themes.js","scaleflow/templates/bookmarks.js","scaleflow/templates/business.js","scaleflow/templates/business/financials.js","scaleflow/templates/business/goals.js","scaleflow/templates/business/goals/create.js","scaleflow/templates/business/goals/goal.js","scaleflow/templates/business/goals/goal/description.js","scaleflow/templates/business/goals/goal/edit.js","scaleflow/templates/business/goals/goal/initiatives.js","scaleflow/templates/business/goals/goal/subgoals.js","scaleflow/templates/business/goals/list.js","scaleflow/templates/business/investment-profiles.js","scaleflow/templates/business/investment-profiles/create.js","scaleflow/templates/business/investment-profiles/investment-profile.js","scaleflow/templates/business/investment-profiles/investment-profile/edit.js","scaleflow/templates/business/investment-profiles/investment-profile/view.js","scaleflow/templates/business/investment-profiles/list.js","scaleflow/templates/business/metrics/create.js","scaleflow/templates/business/metrics/index.js","scaleflow/templates/business/metrics/list.js","scaleflow/templates/business/metrics/metric.js","scaleflow/templates/business/metrics/metric/edit.js","scaleflow/templates/business/themes.js","scaleflow/templates/business/themes/create.js","scaleflow/templates/business/themes/theme.js","scaleflow/templates/business/themes/theme/edit.js","scaleflow/templates/capacity.js","scaleflow/templates/capacity/index.js","scaleflow/templates/capacity/roles.js","scaleflow/templates/capacity/teams.js","scaleflow/templates/capacity/weeks.js","scaleflow/templates/claim.js","scaleflow/templates/dashboards.js","scaleflow/templates/dashboards/roi.js","scaleflow/templates/dashboards/time-to-value.js","scaleflow/templates/insights.js","scaleflow/templates/loading.js","scaleflow/templates/login.js","scaleflow/templates/logout.js","scaleflow/templates/operations/people.js","scaleflow/templates/operations/people/active.js","scaleflow/templates/operations/people/create.js","scaleflow/templates/operations/people/inactive.js","scaleflow/templates/operations/people/person.js","scaleflow/templates/operations/people/person/edit.js","scaleflow/templates/operations/roles.js","scaleflow/templates/operations/roles/create.js","scaleflow/templates/operations/roles/role.js","scaleflow/templates/operations/roles/role/edit.js","scaleflow/templates/operations/teams.js","scaleflow/templates/operations/teams/active.js","scaleflow/templates/operations/teams/archived.js","scaleflow/templates/operations/teams/create.js","scaleflow/templates/operations/teams/team.js","scaleflow/templates/operations/teams/team/check-in.js","scaleflow/templates/operations/teams/team/check-in/archive.js","scaleflow/templates/operations/teams/team/check-in/archive/lessons-learned.js","scaleflow/templates/operations/teams/team/check-in/archive/questions.js","scaleflow/templates/operations/teams/team/check-in/archive/to-figure-outs.js","scaleflow/templates/operations/teams/team/check-in/archive/uncertainties.js","scaleflow/templates/operations/teams/team/check-in/archive/waiting-for-answers.js","scaleflow/templates/operations/teams/team/settings.js","scaleflow/templates/planning.js","scaleflow/templates/planning/dashboard.js","scaleflow/templates/planning/dashboard/balance.js","scaleflow/templates/planning/dashboard/balance/edit.js","scaleflow/templates/planning/dashboard/balance/view.js","scaleflow/templates/planning/dashboard/capacity.js","scaleflow/templates/planning/dashboard/capacity/roles.js","scaleflow/templates/planning/dashboard/capacity/teams.js","scaleflow/templates/planning/dashboard/capacity/weeks.js","scaleflow/templates/planning/dashboard/grid.js","scaleflow/templates/planning/dashboard/health.js","scaleflow/templates/planning/dashboard/lanes.js","scaleflow/templates/planning/dashboard/overview.js","scaleflow/templates/planning/dashboard/overview/grid.js","scaleflow/templates/planning/dashboard/overview/lanes.js","scaleflow/templates/planning/dashboard/overview/table.js","scaleflow/templates/planning/dashboard/overview/timeline.js","scaleflow/templates/planning/dashboard/progress.js","scaleflow/templates/planning/dashboard/roi.js","scaleflow/templates/planning/dashboard/timeline.js","scaleflow/templates/progress.js","scaleflow/templates/resources.js","scaleflow/templates/resources/balance.js","scaleflow/templates/resources/people.js","scaleflow/templates/resources/people/active.js","scaleflow/templates/resources/people/create.js","scaleflow/templates/resources/people/inactive.js","scaleflow/templates/resources/people/person.js","scaleflow/templates/resources/people/person/edit.js","scaleflow/templates/resources/roles.js","scaleflow/templates/resources/roles/create.js","scaleflow/templates/resources/roles/role.js","scaleflow/templates/resources/roles/role/edit.js","scaleflow/templates/resources/teams.js","scaleflow/templates/resources/teams/active.js","scaleflow/templates/resources/teams/archived.js","scaleflow/templates/resources/teams/create.js","scaleflow/templates/roadmap.js","scaleflow/templates/roadmap/now-next-later.js","scaleflow/templates/roadmap/radar.js","scaleflow/templates/roadmap/strategy/create.js","scaleflow/templates/roadmap/strategy/index.js","scaleflow/templates/roadmap/strategy/roadmap.js","scaleflow/templates/roadmap/strategy/roadmap/edit.js","scaleflow/templates/roadmap/strategy/roadmap/grid.js","scaleflow/templates/roadmap/strategy/roadmap/lanes.js","scaleflow/templates/roadmap/strategy/roadmap/timeline.js","scaleflow/templates/roadmap/timeline.js","scaleflow/templates/settings.js","scaleflow/templates/settings/account.js","scaleflow/templates/settings/agents/agent.js","scaleflow/templates/settings/agents/agent/edit.js","scaleflow/templates/settings/agents/index.js","scaleflow/templates/settings/agents/list.js","scaleflow/templates/settings/agents/list/create.js","scaleflow/templates/settings/areas/area.js","scaleflow/templates/settings/areas/area/edit.js","scaleflow/templates/settings/areas/list.js","scaleflow/templates/settings/areas/list/create.js","scaleflow/templates/settings/customers/customer.js","scaleflow/templates/settings/customers/customer/edit.js","scaleflow/templates/settings/customers/index.js","scaleflow/templates/settings/customers/list.js","scaleflow/templates/settings/customers/list/create.js","scaleflow/templates/settings/departments/department.js","scaleflow/templates/settings/departments/department/edit.js","scaleflow/templates/settings/departments/list.js","scaleflow/templates/settings/departments/list/create.js","scaleflow/templates/settings/financials.js","scaleflow/templates/settings/groups/group.js","scaleflow/templates/settings/groups/group/edit.js","scaleflow/templates/settings/groups/index.js","scaleflow/templates/settings/groups/list.js","scaleflow/templates/settings/groups/list/create.js","scaleflow/templates/settings/organisation.js","scaleflow/templates/settings/tags.js","scaleflow/templates/strategy.js","scaleflow/templates/strategy/financials.js","scaleflow/templates/strategy/goals.js","scaleflow/templates/strategy/index.js","scaleflow/templates/strategy/investment-scenarios/create.js","scaleflow/templates/strategy/investment-scenarios/index.js","scaleflow/templates/strategy/investment-scenarios/index_new.js","scaleflow/templates/strategy/investment-scenarios/investment-scenario/edit.js","scaleflow/templates/strategy/investment-scenarios/investment-scenario/view.js","scaleflow/transforms/array.js","scaleflow/transforms/boolean.js","scaleflow/transforms/date.js","scaleflow/transforms/number.js","scaleflow/transforms/status.js","scaleflow/transforms/string.js","scaleflow/utils/active-item-cache.js","scaleflow/utils/ai-clients/n8n/n8n-client.js","scaleflow/utils/ai-clients/n8n/types.js","scaleflow/utils/aws-clients/s3VDRClient.js","scaleflow/utils/aws-clients/types.js","scaleflow/utils/background-color-generator.js","scaleflow/utils/capitalize.js","scaleflow/utils/colorClasses.js","scaleflow/utils/colors.js","scaleflow/utils/convert-markdown-to-text-delta.js","scaleflow/utils/create-iso-string-from-date.js","scaleflow/utils/custom-events.js","scaleflow/utils/custom-quill-mention.js","scaleflow/utils/dateSort.js","scaleflow/utils/dropdown-activate.js","scaleflow/utils/from-now.js","scaleflow/utils/generate-position-from-time.js","scaleflow/utils/get-random-number-between.js","scaleflow/utils/group-by.js","scaleflow/utils/hyphenate.js","scaleflow/utils/initiative-pill.js","scaleflow/utils/initiative-template.js","scaleflow/utils/is-object.js","scaleflow/utils/isNullOrUndefined.js","scaleflow/utils/localize.js","scaleflow/utils/nameSort.js","scaleflow/utils/next-quarter-dates.js","scaleflow/utils/numberSort.js","scaleflow/utils/obj-append.js","scaleflow/utils/quill-extenstions/clipboard.js","scaleflow/utils/quill-extenstions/custom-icons.js","scaleflow/utils/quill-extenstions/custom-quill-template.js","scaleflow/utils/quill-extenstions/hr.js","scaleflow/utils/quill-extenstions/image-format.js","scaleflow/utils/quill-extenstions/markdown-format.js","scaleflow/utils/quill-extenstions/registerIfNotRegistered.js","scaleflow/utils/radar/color_map.js","scaleflow/utils/radar/radar.js","scaleflow/utils/scrollable.js","scaleflow/utils/strategy.js","scaleflow/utils/swapArrayItem.js","scaleflow/utils/text-delta-is-empty.js","scaleflow/utils/timezone.js","scaleflow/utils/token-timestamp-expired.js","scaleflow/utils/tracker.js","scaleflow/utils/typescript-helpers/handle-error.js","scaleflow/validators/agent.js","scaleflow/validators/area.js","scaleflow/validators/bookmark.js","scaleflow/validators/conversation.js","scaleflow/validators/customer.js","scaleflow/validators/department.js","scaleflow/validators/goal.js","scaleflow/validators/group.js","scaleflow/validators/idea.js","scaleflow/validators/initiative.js","scaleflow/validators/metric.js","scaleflow/validators/organisation.js","scaleflow/validators/person.js","scaleflow/validators/roadmap.js","scaleflow/validators/role.js","scaleflow/validators/scenario.js","scaleflow/validators/target.js","scaleflow/validators/team.js","scaleflow/validators/theme.js","scaleflow/validators/workstream.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["'use strict';\n\n\n","define(\"scaleflow/adapters/application\", [\"exports\", \"@ember-data/adapter/json-api\", \"@ember/service\", \"scaleflow/config/environment\", \"moment\"], function (_exports, _jsonApi, _service, _environment, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.HOST = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/json-api\",0,\"@ember/service\",0,\"scaleflow/config/environment\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { tracked } from '@glimmer/tracking';\n const HOST = _exports.HOST = `${_environment.default.API_ENDPOINT}`;\n let Application = _exports.default = (_class = class Application extends _jsonApi.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"session\", _descriptor3, this);\n // @tracked refreshing = false;\n _defineProperty(this, \"host\", HOST);\n }\n get headers() {\n if (!this.session.isAuthenticated) {\n this.logout();\n return {};\n }\n return {\n Authorization: this.session.data?.authenticated?.details?.accessToken,\n tenant_id: this.session.data?.authenticated.details?.tenant_id,\n 'X-ProductHub-Organization-Id': this.session.data?.authenticated.details?.tenant_id\n };\n }\n shouldBackgroundReloadAll() {\n return true;\n }\n shouldReloadRecord() {\n return false;\n }\n shouldReloadAll() {\n return false;\n }\n shouldBackgroundReloadRecord() {\n return true;\n }\n async refreshSession() {\n if (this.refreshing) return;\n try {\n const authenticator = this.session?.data?.authenticated?.authenticator;\n if (!authenticator) throw new Error('Authenticator could not be determined');\n this.refreshing = true;\n await this.session.authenticate(authenticator, {\n refresh: true\n });\n this.refreshing = false;\n } catch (err) {\n console.debug(err);\n this.refreshing = false;\n this.logout();\n }\n }\n get isExpired() {\n const expiry = this.session?.data?.authenticated?.details?.expiry;\n const isExpired = (0, _moment.default)(expiry).isSameOrBefore((0, _moment.default)());\n return isExpired;\n }\n\n // Override _fetchRequest to handle both real 403s and CORS-blocked 403s\n async _fetchRequest(options) {\n try {\n const response = await super._fetchRequest(options);\n\n // If we get a 403 response (not blocked by CORS)\n if (response.status === 403) {\n console.debug('403 response detected, refreshing token and retrying');\n try {\n await this.session.refreshToken();\n console.debug('Token refreshed successfully, retrying request');\n\n // Retry with fresh token\n const freshOptions = {\n ...options,\n headers: {\n ...options.headers,\n ...this.headers\n }\n };\n return await super._fetchRequest(freshOptions);\n } catch (refreshError) {\n console.debug('Token refresh failed:', refreshError);\n this.logout();\n throw refreshError;\n }\n }\n return response;\n } catch (error) {\n // \"Failed to fetch\" is likely a CORS-blocked 403 (missing CORS headers on 403 response)\n if (error.message === 'Failed to fetch' && this.session.isAuthenticated) {\n console.debug('Network error detected (likely CORS-blocked 403), attempting token refresh and retry');\n try {\n await this.session.refreshToken();\n console.debug('Token refreshed successfully after network error, retrying request');\n\n // Retry with fresh token\n const freshOptions = {\n ...options,\n headers: {\n ...options.headers,\n ...this.headers\n }\n };\n return await super._fetchRequest(freshOptions);\n } catch (refreshError) {\n console.debug('Token refresh failed after network error:', refreshError);\n this.logout();\n throw error;\n }\n }\n throw error;\n }\n }\n handleResponse(status, headers, payload, requestData) {\n if (status === 403) {\n // Token might have expired unexpectedly, try to refresh and retry the request\n return this.session.refreshToken().then(() => {\n return this.ajax(requestData.url, requestData.method, requestData.options);\n }).catch(() => {\n this.logout();\n });\n }\n return super.handleResponse(status, headers, payload, requestData);\n }\n logout() {\n this.router.transitionTo('logout');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/adapters/favorite\", [\"exports\", \"scaleflow/adapters/application\"], function (_exports, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/adapters/application\"eaimeta@70e063a35619d71f\n class FavoriteAdapter extends _application.default {\n async addToFavorite(payload) {\n const url = `${this.host}/favorites`;\n const res = await fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n ...this.headers\n },\n body: JSON.stringify({\n data: payload\n })\n });\n return await res.json();\n }\n async removeFromFavorite(payload) {\n const url = `${this.host}/favorites`;\n await fetch(url, {\n method: 'DELETE',\n headers: {\n 'Content-Type': 'application/json',\n ...this.headers\n },\n body: JSON.stringify({\n data: payload\n })\n });\n return;\n }\n }\n _exports.default = FavoriteAdapter;\n});","define(\"scaleflow/adapters/initiative-document-version\", [\"exports\", \"scaleflow/adapters/application\", \"@ember/service\"], function (_exports, _application, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/adapters/application\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InitiativeDocumentVersionAdapter = _exports.default = (_class = class InitiativeDocumentVersionAdapter extends _application.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n async list({\n initiative_id\n }) {\n var url = `${this.host}/initiative-document-versions?filter%5Binitiative%5D=${initiative_id}`;\n let res = await fetch(url, {\n headers: {\n 'Content-Type': 'application/json',\n ...this.headers\n }\n });\n if (res.status === 200) {\n const resJson = await res.json();\n resJson.data.forEach(item => {\n if (item.type === 'INITIATIVE_DOC_VERSION') item.type = 'INITIATIVE-DOCUMENT-VERSION';\n });\n this.store.pushPayload(resJson);\n return true;\n } else {\n return false;\n }\n // return `${this.host}/people/${id}/claim`;\n }\n async restoreVersion({\n version_id,\n initiative_id\n }) {\n var url = `${this.host}/initiative-document-versions/${version_id}/restore`;\n let res = await fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n ...this.headers\n },\n body: JSON.stringify({\n data: {\n relationships: {\n initiative: {\n data: {\n type: 'initiative',\n id: initiative_id\n }\n }\n }\n }\n })\n });\n if (res.status >= 200 && res.status < 300) {\n return true;\n } else {\n return false;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/adapters/initiative\", [\"exports\", \"scaleflow/adapters/application\"], function (_exports, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/adapters/application\"eaimeta@70e063a35619d71f\n class InitiativeAdapter extends _application.default {\n async findAllInitiativesDataset() {\n var url = `${this.host}/initiatives`;\n let res = await fetch(url, {\n method: 'GET',\n headers: {\n Accept: 'application/x.dataset+json',\n ...this.headers\n }\n });\n if (res.status === 200) {\n const data = res.json();\n return data;\n } else {\n return false;\n }\n }\n async findInitiativesForRoadmapDataset(roadmap) {\n if (roadmap == undefined) return false;\n const initiatives = await roadmap.initiatives?.content;\n const initiative_ids = initiatives.map(i => i.id).join(',');\n var url = `${this.host}/initiatives?filter[ids]=${initiative_ids}`;\n let res = await fetch(url, {\n method: 'GET',\n headers: {\n Accept: 'application/x.dataset+json',\n ...this.headers\n }\n });\n if (res.status === 200) {\n const data = await res.json();\n return data;\n } else {\n return false;\n }\n }\n }\n _exports.default = InitiativeAdapter;\n});","define(\"scaleflow/adapters/person\", [\"exports\", \"scaleflow/adapters/application\"], function (_exports, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/adapters/application\"eaimeta@70e063a35619d71f\n // import JSONAPIAdapter from '@ember-data/adapter/json-api';\n class PersonAdapter extends _application.default {\n async claimUser(id) {\n var url = `${this.host}/people/${id}/claim`;\n let res = await fetch(url, {\n method: 'PATCH',\n headers: {\n 'Content-Type': 'application/json',\n ...this.headers\n }\n });\n if (res.status === 204) {\n return true;\n } else {\n return false;\n }\n }\n urlForQueryRecord(query) {\n let originalUrl = super.urlForQueryRecord(...arguments);\n if (query.me) {\n delete query.me;\n return `${originalUrl}/me`;\n }\n return originalUrl;\n }\n }\n _exports.default = PersonAdapter;\n});","define(\"scaleflow/app\", [\"exports\", \"@ember/application\", \"ember-resolver\", \"ember-load-initializers\", \"scaleflow/config/environment\", \"@warp-drive/ember/install\", \"@sentry/ember\", \"aws-amplify\"], function (_exports, _application, _emberResolver, _emberLoadInitializers, _environment, _install, _ember, _awsAmplify) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-resolver\",0,\"ember-load-initializers\",0,\"scaleflow/config/environment\",0,\"@embroider/macros\",0,\"@warp-drive/ember/install\",0,\"@sentry/ember\",0,\"aws-amplify\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n // window.global = window;\n window.global = window;\n // Only initialize Sentry if it's enabled in the config\n const sentryConfig = _environment.default['@sentry/ember']?.sentry;\n if (sentryConfig?.enabled !== false) {\n console.debug('Initializing Sentry...');\n _ember.default.init({\n // We load these configurations here, so that environment.js stays serializable.\n integrations: [_ember.default.replayIntegration({\n minReplayDuration: 1000,\n // 1 second\n maxReplayDuration: 5 * 60 * 1000 // 5 minutes\n }), _ember.default.captureConsoleIntegration({\n levels: ['error']\n }), _ember.default.httpContextIntegration({\n failedRequestStatusCodes: [[400, 499], [500, 599]]\n }), _ember.default.extraErrorDataIntegration()],\n sendDefaultPii: true,\n // We can enable this once the API deploy is stable.\n // It adds a 'baggage' header that leads to CORS rejection.\n //tracePropagationTargets: [\"localhost\", /^https:\\/\\/api\\.getproducthub\\.com/],\n beforeSend(event) {\n if (event.tags?.tenant_id == '2') {\n event.environment = 'development';\n }\n return event;\n }\n });\n }\n const awsmobile = {\n aws_project_region: _environment.default.aws.region,\n Auth: {\n identityPoolId: _environment.default.cognito.identityPoolId,\n //REQUIRED - Amazon Cognito Identity Pool ID\n region: _environment.default.aws.region,\n // REQUIRED - Amazon Cognito Region\n userPoolId: _environment.default.cognito.userPoolId,\n //OPTIONAL - Amazon Cognito User Pool ID\n userPoolWebClientId: _environment.default.cognito.clientId,\n //OPTIONAL - Amazon Cognito Web Client ID\n mandatorySignIn: false\n },\n Storage: _environment.default.storage\n };\n _awsAmplify.Amplify.configure(awsmobile);\n class App extends _application.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"modulePrefix\", _environment.default.modulePrefix);\n _defineProperty(this, \"podModulePrefix\", _environment.default.podModulePrefix);\n _defineProperty(this, \"Resolver\", _emberResolver.default);\n }\n }\n _exports.default = App;\n (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n});","define(\"scaleflow/authenticators/BaseAuthenticator\", [\"exports\", \"ember-simple-auth/authenticators/base\", \"scaleflow/utils/nameSort\"], function (_exports, _base, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/authenticators/base\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n class BaseAuthenticator extends _base.default {\n tenants(_tenant_ids = []) {\n const tenant_ids = _tenant_ids;\n const usable_tenant_ids = tenant_ids.filter(tenant => {\n if (tenant.toLowerCase().includes('eu-west-1_csogpmgav')) return false;\n if (tenant.toLowerCase().includes('__')) return false;\n return true;\n }).sort((a, b) => (0, _nameSort.default)(a, b));\n if (usable_tenant_ids.length === 0) console.debug('Could not find a useable tenant');\n return usable_tenant_ids;\n }\n }\n var _default = _exports.default = BaseAuthenticator;\n});","define(\"scaleflow/authenticators/cognito\", [\"exports\", \"@ember/service\", \"moment\", \"rsvp\", \"scaleflow/authenticators/BaseAuthenticator\"], function (_exports, _service, _moment, _rsvp, _BaseAuthenticator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"moment\",0,\"rsvp\",0,\"scaleflow/authenticators/BaseAuthenticator\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CognitoAuthenticator = (_dec = (0, _service.service)('current-user'), _class = class CognitoAuthenticator extends _BaseAuthenticator.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"cognito\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n }\n authenticate({\n username,\n password,\n refresh = false\n }) {\n if (refresh) {\n return this.refreshSession();\n }\n return this.cognito.authenticate({\n username,\n password\n }).then(data => {\n const details = this.extractUserSessionDetails(data);\n return {\n details\n };\n });\n }\n extractUserSessionDetails(data) {\n const tenants = this.tenants(data.cognitoUserSession?.accessToken.payload?.['cognito:groups']);\n let tenant_id = window.localStorage.getItem('tenant');\n if (tenant_id) ;else if (tenants.length === 1) tenant_id = tenants[0];else tenant_id = tenants.find(tenant => !tenant.toLowerCase().includes('eu-west-1_csogpmgav'));\n const accessToken = data.getAccessToken()?.jwtToken;\n const refreshToken = data.cognitoUserSession.refreshToken.token;\n const idToken_payload = data.getIdToken();\n const idToken = idToken_payload?.jwtToken;\n const expiry = _moment.default.unix(idToken_payload.payload.exp).toDate();\n const email = data.userAttributes.email;\n const all_tenants = data.cognitoUserSession?.accessToken.payload?.['cognito:groups'];\n const session_object = {\n tenants,\n accessToken,\n refreshToken,\n idToken,\n email,\n tenant_id,\n expiry,\n all_tenants\n };\n return session_object;\n }\n refreshSession() {\n console.debug('refreshing');\n return this.cognito.restoreAndLoad().then(_data => {\n const details = this.extractUserSessionDetails(_data);\n return {\n details\n };\n }).catch(err => {\n console.debug('Cognito authenticator restore error:', err);\n return _rsvp.default.reject(err);\n });\n }\n restore() {\n try {\n return this.refreshSession();\n } catch (err) {\n return _rsvp.default.reject(err);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"cognito\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = CognitoAuthenticator;\n});","define(\"scaleflow/authenticators/oauth2-implicit-grant\", [\"exports\", \"amazon-cognito-identity-js\", \"@ember/service\", \"rsvp\", \"scaleflow/config/environment\", \"moment\", \"scaleflow/authenticators/BaseAuthenticator\"], function (_exports, _amazonCognitoIdentityJs, _service, _rsvp, _environment, _moment, _BaseAuthenticator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"amazon-cognito-identity-js\",0,\"@ember/service\",0,\"rsvp\",0,\"scaleflow/config/environment\",0,\"moment\",0,\"scaleflow/authenticators/BaseAuthenticator\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OAuth2Atuhenticator = (_class = class OAuth2Atuhenticator extends _BaseAuthenticator.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _defineProperty(this, \"clientId\", _environment.default.cognito.clientId);\n _defineProperty(this, \"endpoint\", _environment.default.cognito.domain);\n }\n authenticate({\n code,\n refresh = false\n }) {\n if (refresh) return this.refreshSession(this.session.data.authenticated, true);\n return this.getTokensFromCode(code);\n }\n async getTokensFromCode(code) {\n try {\n const headers = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n };\n const body = new URLSearchParams({\n grant_type: 'authorization_code',\n code: code,\n redirect_uri: window.location.origin + '/authenticate',\n client_id: this.clientId\n });\n const response = await fetch(`${this.endpoint}/oauth2/token`, {\n method: 'POST',\n headers,\n body\n });\n if (response.status !== 200) throw new Error('Failed to authenticate');\n const data = await response.json();\n const {\n access_token,\n refresh_token,\n id_token\n } = data;\n const session = this.createCognitoUserSession(access_token, refresh_token, id_token);\n const session_object = this.extractUserSessionDetails(session);\n if (session_object.error) return _rsvp.default.reject();\n return {\n details: session_object\n };\n } catch (err) {\n console.debug('Oauth2 Authenticate error:', err);\n return _rsvp.default.reject();\n }\n }\n extractUserSessionDetails(session) {\n const tenants = this.tenants(session.accessToken?.payload?.['cognito:groups']);\n if (tenants.length === 0) return {\n error: true,\n message: 'User does not belong to any tenant. Please contact your administrator.'\n };\n let tenant_id = window.localStorage.getItem('tenant');\n if (tenant_id) ;else if (tenants.length !== 0) tenant_id = tenants[0];\n const accessToken = session.accessToken.jwtToken;\n const refreshToken = session.refreshToken.token;\n const idToken = session.idToken.jwtToken;\n const email = session.idToken.payload.email;\n const expiry = _moment.default.unix(session.idToken.payload.exp).toDate();\n const all_tenants = session.accessToken?.payload?.['cognito:groups'];\n const scopes = this.extractUserPermissionScopes(session.accessToken.payload.scope ?? '', tenant_id);\n const session_object = {\n tenants,\n accessToken,\n refreshToken,\n idToken,\n email,\n tenant_id,\n expiry,\n all_tenants,\n permissions: scopes\n };\n return session_object;\n }\n createCognitoUserSession(access_token, refresh_token, id_token) {\n const cognito_user_session = new _amazonCognitoIdentityJs.CognitoUserSession({\n IdToken: new _amazonCognitoIdentityJs.CognitoIdToken({\n IdToken: id_token\n }),\n RefreshToken: new _amazonCognitoIdentityJs.CognitoRefreshToken({\n RefreshToken: refresh_token\n }),\n AccessToken: new _amazonCognitoIdentityJs.CognitoAccessToken({\n AccessToken: access_token\n })\n });\n return cognito_user_session;\n }\n async fetchRefreshedTokens(refreshToken) {\n const headers = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n };\n const body = new URLSearchParams({\n grant_type: 'refresh_token',\n client_id: this.clientId,\n refresh_token: refreshToken\n });\n const response = await fetch(`${this.endpoint}/oauth2/token`, {\n method: 'POST',\n headers,\n body\n });\n const json = await response.json();\n const {\n access_token,\n refresh_token,\n id_token\n } = json;\n return {\n access_token,\n refresh_token,\n id_token\n };\n }\n async getSessionObjectFromRefreshToken(refreshToken) {\n if (!refreshToken) throw new Error('No refresh token provided');\n const {\n access_token,\n id_token\n } = await this.fetchRefreshedTokens(refreshToken);\n const congitoUserSession = this.createCognitoUserSession(access_token, refreshToken, id_token);\n const session_object = this.extractUserSessionDetails(congitoUserSession);\n return {\n details: session_object.error ? undefined : session_object\n };\n }\n async refreshSession(data, forceRefresh = false) {\n try {\n if (!data?.details) {\n console.error('Invalid session data provided for refresh');\n return _rsvp.default.reject(new Error('Invalid session data'));\n }\n let shouldRefresh = true;\n const {\n accessToken,\n refreshToken,\n idToken\n } = data.details;\n if (forceRefresh) return await this.getSessionObjectFromRefreshToken(refreshToken);\n if (!accessToken && !idToken && refreshToken) shouldRefresh = true;else if (accessToken && idToken && refreshToken) {\n const session = this.createCognitoUserSession(accessToken, refreshToken, idToken);\n const now = (0, _moment.default)();\n const tokenExp = _moment.default.unix(session?.accessToken?.payload?.exp);\n const isExpired = tokenExp.isSameOrBefore(now);\n if (isExpired) shouldRefresh = true;else {\n const session_object = this.extractUserSessionDetails(session);\n return {\n details: session_object.error ? undefined : session_object\n };\n }\n }\n if (shouldRefresh) {\n return await this.getSessionObjectFromRefreshToken(refreshToken);\n }\n } catch (err) {\n console.debug('Oauth2 restore err:', err);\n return _rsvp.default.reject();\n }\n }\n extractUserPermissionScopes(scopes, tenant_id) {\n const parts = scopes.split(' ');\n const tenant_related_scopes = parts.filter(scope => scope.includes(`${tenant_id}/`));\n return tenant_related_scopes;\n }\n async restore(data) {\n try {\n const session = await this.refreshSession(data);\n if (session === undefined) return _rsvp.default.reject();\n return session;\n } catch (err) {\n return _rsvp.default.reject(err);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = OAuth2Atuhenticator;\n});","define(\"scaleflow/authenticators/user-password-auth\", [\"exports\", \"@aws-sdk/client-cognito-identity-provider\", \"@ember/service\", \"scaleflow/config/environment\", \"amazon-cognito-identity-js\", \"rsvp\", \"moment\", \"scaleflow/authenticators/BaseAuthenticator\"], function (_exports, CognitoClient, _service, _environment, _amazonCognitoIdentityJs, _rsvp, _moment, _BaseAuthenticator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@aws-sdk/client-cognito-identity-provider\",0,\"@ember/service\",0,\"scaleflow/config/environment\",0,\"amazon-cognito-identity-js\",0,\"rsvp\",0,\"moment\",0,\"scaleflow/authenticators/BaseAuthenticator\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const cognito = new CognitoClient.CognitoIdentityProvider({\n region: 'eu-west-1'\n });\n let UserPasswordAuthFlow = (_class = class UserPasswordAuthFlow extends _BaseAuthenticator.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _defineProperty(this, \"clientId\", _environment.default.cognito.clientId);\n _defineProperty(this, \"endpoint\", _environment.default.cognito.domain);\n _defineProperty(this, \"poolId\", _environment.default.cognito.userPoolId);\n }\n authenticate(username, password) {\n return this.authenticateUser(username, password);\n }\n createCognitoUserSession(access_token, refresh_token, id_token) {\n const cognito_user_session = new _amazonCognitoIdentityJs.CognitoUserSession({\n IdToken: new _amazonCognitoIdentityJs.CognitoIdToken({\n IdToken: id_token\n }),\n RefreshToken: new _amazonCognitoIdentityJs.CognitoRefreshToken({\n RefreshToken: refresh_token\n }),\n AccessToken: new _amazonCognitoIdentityJs.CognitoAccessToken({\n AccessToken: access_token\n })\n });\n return cognito_user_session;\n }\n extractUserSessionDetails(session) {\n const tenants = this.tenants(session.accessToken?.payload?.['cognito:groups']);\n let tenant_id = window.localStorage.getItem('tenant');\n if (tenant_id) ;\n if (tenants.length === 1) tenant_id = tenants[0];else tenant_id = tenants.find(tenant => !tenant.toLowerCase().includes('eu-west-1_csogpmgav'));\n const accessToken = session.accessToken.jwtToken;\n const refreshToken = session.refreshToken.token;\n const idToken = session.idToken.jwtToken;\n const expiry = _moment.default.unix(session.idToken.payload.exp).toDate();\n const email = session.idToken.payload.email;\n const session_object = {\n tenants,\n accessToken,\n refreshToken,\n idToken,\n email,\n tenant_id,\n expiry\n };\n return session_object;\n }\n async authenticateUser(username, password) {\n try {\n const params = {\n // UserPoolId: prodCognitoUserPoolId,\n ClientId: this.clientId,\n AuthFlow: 'USER_PASSWORD_AUTH',\n AuthParameters: {\n USERNAME: username,\n PASSWORD: password\n }\n };\n const response = await cognito.initiateAuth(params);\n if (response.ChallengeName === 'NEW_PASSWORD_REQUIRED') {\n throw new Error('new password must be set');\n }\n const id_token = response.AuthenticationResult?.IdToken;\n const access_token = response.AuthenticationResult?.AccessToken;\n const refresh_token = response.AuthenticationResult?.RefreshToken;\n const session = this.createCognitoUserSession(access_token, refresh_token, id_token);\n const session_object = this.extractUserSessionDetails(session);\n return {\n details: session_object\n };\n } catch (err) {\n return _rsvp.default.reject(err);\n }\n }\n async getRefreshedTokens(refresh_token) {\n try {\n const params = {\n ClientId: this.clientId,\n AuthFlow: 'REFRESH_TOKEN_AUTH',\n AuthParameters: {\n REFRESH_TOKEN: refresh_token\n }\n };\n const response = await cognito.initiateAuth(params);\n const id_token = response.AuthenticationResult?.IdToken;\n const access_token = response.AuthenticationResult?.AccessToken;\n return {\n access_token,\n id_token\n };\n } catch (err) {\n console.debug('Authenticator USER PASSSWORD AUTH refresh err:', err);\n return _rsvp.default.reject(err);\n }\n }\n async restore(data) {\n try {\n let shouldRefresh = true;\n const {\n accessToken,\n refreshToken,\n idToken\n } = data.details;\n if (!accessToken && !idToken && refreshToken) shouldRefresh = true;else if (accessToken && idToken && refreshToken) {\n const session = this.createCognitoUserSession(accessToken, refreshToken, idToken);\n const now = (0, _moment.default)();\n const tokenExp = _moment.default.unix(session?.accessToken?.payload?.exp);\n const isExpired = tokenExp.isSameOrBefore(now);\n if (isExpired) shouldRefresh = true;else {\n const session_object = this.extractUserSessionDetails(session);\n return {\n details: session_object\n };\n }\n }\n if (shouldRefresh) {\n const {\n access_token,\n id_token\n } = await this.getRefreshedTokens(refreshToken);\n const congitoUserSession = this.createCognitoUserSession(access_token, data.details.refreshToken, id_token);\n const session_object = this.extractUserSessionDetails(congitoUserSession);\n return {\n details: session_object\n };\n }\n } catch (err) {\n console.debug('Authenticator USER PASSSWORD AUTH restore err:', err);\n return _rsvp.default.reject();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = UserPasswordAuthFlow;\n});","define(\"scaleflow/components/-dynamic-element-alt\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\"eaimeta@70e063a35619d71f\n // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n // has the special dependency rule for this addon removed:\n // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n var _default = _exports.default = _component.default.extend();\n});","define(\"scaleflow/components/-dynamic-element\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\"eaimeta@70e063a35619d71f\n // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n // has the special dependency rule for this addon removed:\n // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n var _default = _exports.default = _component.default.extend();\n});","define(\"scaleflow/components/agents/form/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/validators/agent\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _agent, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/agent\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @agent this.AgentValidations) as |changeset|}}\n \n <:title>\n

{{if\n this.isEdit\n (t \"dictionary.edit\")\n (t \"dictionary.add\")\n }}\n {{t \"agents.title\" num=1}}

\n \n <:body>\n
\n
\n
\n \n
\n \n
\n \n <:options>\n \n {{#each this.betaToggle.agentProviderOptions as |provider|}}\n {{provider.label}}\n \n {{/each}}\n \n \n
\n \n
\n Payload:\n {{#each this.payloadStructure as |row index|}}\n
\n \n \n \n \n {{#if (eq row.type \"custom\")}}\n \n {{else}}\n \n <:options>\n \n {{#each\n this.betaToggle.payloadOptions\n as |payloadOption|\n }}\n \n {{payloadOption.key}}\n \n {{/each}}\n \n \n {{/if}}\n
\n {{/each}}\n \n \n Add mapping\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"ldQ7HPN7\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"AgentValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"agent-form-modal\\\"],[24,0,\\\"!max-w-5xl max-h-[90vh] overflow-auto\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,8],[\\\"dictionary.edit\\\"],null],[28,[37,8],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"agents.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,8],[\\\"dictionary.name\\\"],null],\\\"AI Assistant\\\",[30,2,[\\\"name\\\"]],[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"provider\\\",[28,[37,8],[\\\"agents.provider\\\"],null],[30,2,[\\\"provider\\\"]],[30,2]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select a provider\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,0,[\\\"betaToggle\\\",\\\"agentProviderOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,3,[\\\"value\\\"]]],[15,\\\"disabled\\\",[30,3,[\\\"disabled\\\"]]],[15,\\\"selected\\\",[28,[37,20],[[30,2,[\\\"provider\\\"]],[30,3,[\\\"value\\\"]]],null]],[12],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"fieldset\\\"],[14,0,\\\"p-2 rounded\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"legend\\\"],[12],[1,\\\"Payload:\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,0,[\\\"payloadStructure\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,0,\\\"text-red-600 self-start\\\"],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"deleteRow\\\"]],[30,5],[30,2]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,11],[\\\"input\\\",[28,[37,3],[[30,0,[\\\"setPayloadKey\\\"]],[30,5]],null]],null]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@label\\\",\\\"@containerClass\\\"],[\\\"project_id\\\",[30,4,[\\\"key\\\"]],\\\"Key\\\",\\\"w-full\\\"]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,20],[[30,4,[\\\"type\\\"]],\\\"custom\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[4,[38,11],[\\\"input\\\",[28,[37,3],[[30,0,[\\\"setCustomValueForKeyOnPayload\\\"]],[30,5]],null]],null]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@label\\\",\\\"@containerClass\\\"],[\\\"ABC123\\\",[30,4,[\\\"value\\\"]],\\\"Value\\\",\\\"w-full\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,15],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@handleChange\\\",\\\"@containerClass\\\"],[\\\"payload_value\\\",\\\"Value\\\",[30,4,[\\\"value\\\"]],[28,[37,3],[[30,0,[\\\"setPayloadKeyValue\\\"]],[30,5],[27]],null],\\\"w-full\\\"]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select a value\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,0,[\\\"betaToggle\\\",\\\"payloadOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,6,[\\\"value\\\"]]],[15,\\\"data-type\\\",[30,6,[\\\"type\\\"]]],[15,\\\"selected\\\",[28,[37,20],[[30,6,[\\\"value\\\"]],[30,4,[\\\"value\\\"]]],null]],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"key\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[4,5]],null],[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"text-xs !py-1 !px-1.5 mt-4\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"addPayloadRow\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Add mapping\\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,26],[[4,[38,11],[\\\"input\\\",[28,[37,3],[[30,0,[\\\"handleQueryChange\\\"]],[30,2]],null]],null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"config.query\\\",\\\"Start query\\\",\\\"What can you tell me about this project\\\",[30,2,[\\\"config\\\",\\\"query\\\"]],[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"url\\\",[28,[37,8],[\\\"dictionary.url\\\"],null],\\\"https://api.example.com/agent\\\",[30,2,[\\\"url\\\"]],[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,1,\\\"save-agent\\\"],[24,\\\"test-id\\\",\\\"save-agent\\\"],[16,\\\"disabled\\\",[30,2,[\\\"isInvalid\\\"]]],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@agent\\\",\\\"changeset\\\",\\\"provider\\\",\\\"row\\\",\\\"index\\\",\\\"payloadOption\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\"atoms/forms/select\\\",\\\":options\\\",\\\"option\\\",\\\"each\\\",\\\"-track-array\\\",\\\"eq\\\",\\\"fieldset\\\",\\\"legend\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/delete\\\",\\\"atoms/buttons/action-button\\\",\\\"atoms/forms/textarea\\\",\\\":footer\\\"]]\",\n \"moduleName\": \"scaleflow/components/agents/form/index.hbs\",\n \"isStrictMode\": false\n });\n let AgentsFormComponent = _exports.default = (_class = class AgentsFormComponent extends _component2.default {\n constructor(owner, args) {\n super(owner, args);\n _defineProperty(this, \"AgentValidations\", _agent.default);\n _initializerDefineProperty(this, \"payloadStructure\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n this.payloadStructure = this.args.agent.config?.['payload'] ? Object.entries(this.args.agent.config['payload']).map(([key, value]) => ({\n key,\n value: String(value),\n type: String(value).startsWith('$') ? 'fixed' : 'custom'\n })) : [];\n }\n convertPayloadStructureToKeyValue(payloadStructure) {\n const obj = payloadStructure.reduce((acc, item) => {\n acc[item.key] = item.value;\n return acc;\n }, {});\n return obj;\n }\n async submitForm(changeset, event) {\n event.preventDefault();\n await changeset.validate();\n if (!changeset.isValid) return;\n\n // Apply changes to the model\n let payload = {};\n if (this.payloadStructure.length) {\n payload = this.convertPayloadStructureToKeyValue(this.payloadStructure);\n }\n const query = changeset.get('config')?.query;\n const config = {\n query,\n payload\n };\n changeset.set('config', config);\n await changeset.save();\n\n // Call the parent's onSave action\n if (this.args.onSave) {\n await this.args.onSave(this.args.agent);\n }\n }\n get isEdit() {\n return !!this.args.agent?.id;\n }\n handleQueryChange(changeset, e) {\n const config = changeset.get('config') ?? {};\n config.query = e.target.value;\n changeset.set('config', config);\n }\n cancelForm(changeset) {\n changeset.rollback();\n if (this.args.onCancel) {\n this.args.onCancel();\n }\n }\n setPayloadKey(index, e) {\n const key = e.target.value;\n const object = this.payloadStructure[index] ?? {\n key: '',\n value: '',\n type: 'custom'\n };\n object.key = key;\n this.payloadStructure[index] = object;\n }\n setCustomValueForKeyOnPayload(index, e) {\n const vaue = e.target.value;\n const object = this.payloadStructure[index] ?? {\n key: '',\n value: '',\n type: 'custom'\n };\n object.value = vaue;\n this.payloadStructure[index] = object;\n }\n setPayloadKeyValue(index, type = 'fixed', _changeset, __, e) {\n const option = e.target.selectedOptions[0];\n const optionType = option?.getAttribute('data-type') || type;\n const payload = this.payloadStructure.map((item, _index) => {\n if (_index === index) {\n return {\n ...item,\n value: e.target.value,\n type: optionType\n };\n }\n return item;\n });\n this.payloadStructure = payload;\n }\n addPayloadRow() {\n const payload = [...this.payloadStructure, {\n key: '',\n value: '',\n type: 'fixed'\n }];\n this.payloadStructure = payload;\n }\n deleteRow(index, changeset) {\n const payload = [...this.payloadStructure];\n payload.splice(index, 1);\n this.payloadStructure = new Array(...payload);\n const config = changeset.get('config');\n config.payload = this.convertPayloadStructureToKeyValue(this.payloadStructure);\n changeset.set('config', config);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"payloadStructure\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"submitForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleQueryChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleQueryChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPayloadKey\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPayloadKey\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setCustomValueForKeyOnPayload\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setCustomValueForKeyOnPayload\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPayloadKeyValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPayloadKeyValue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addPayloadRow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addPayloadRow\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteRow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteRow\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AgentsFormComponent);\n});","define(\"scaleflow/components/animated-beacon\", [\"exports\", \"ember-animated/components/animated-beacon\"], function (_exports, _animatedBeacon) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedBeacon.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-beacon\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/animated-container\", [\"exports\", \"ember-animated/components/animated-container\"], function (_exports, _animatedContainer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedContainer.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-container\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/animated-each\", [\"exports\", \"ember-animated/components/animated-each\"], function (_exports, _animatedEach) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedEach.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-each\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/animated-if\", [\"exports\", \"ember-animated/components/animated-if\"], function (_exports, _animatedIf) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedIf.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-if\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/animated-orphans\", [\"exports\", \"ember-animated/components/animated-orphans\"], function (_exports, _animatedOrphans) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedOrphans.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-orphans\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/animated-value\", [\"exports\", \"ember-animated/components/animated-value\"], function (_exports, _animatedValue) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedValue.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/animated-value\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/areas/form\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/validators/area\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _area, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/area\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @area this.AreaValidations) as |changeset|}}\n \n <:title>\n

{{if\n this.isEdit\n (t \"dictionary.edit\")\n (t \"dictionary.add\")\n }}\n {{t \"area.title\" num=1}}

\n \n <:body>\n
\n
\n
\n \n
\n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"biLFRvg+\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"AreaValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"area-form-modal\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,8],[\\\"dictionary.edit\\\"],null],[28,[37,8],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\"],[\\\"name\\\",[28,[37,8],[\\\"dictionary.name\\\"],null],\\\"Frontend\\\",[30,2,[\\\"name\\\"]],[30,2],[28,[37,3],[[30,0,[\\\"handleBlur\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,1,\\\"save-area\\\"],[24,\\\"test-id\\\",\\\"save-area\\\"],[16,\\\"disabled\\\",[28,[37,17],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@area\\\",\\\"changeset\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/areas/form.hbs\",\n \"isStrictMode\": false\n });\n let AreasFormComponent = _exports.default = (_class = class AreasFormComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"AreaValidations\", _area.default);\n _initializerDefineProperty(this, \"changeset\", _descriptor, this);\n }\n async submitForm(changeset, event) {\n event.preventDefault();\n const isValid = await changeset.validate();\n if (isValid) {\n // Apply changes to the model\n await changeset.save();\n\n // Call the parent's onSave action\n if (this.args.onSave) {\n await this.args.onSave(this.args.area);\n }\n }\n }\n handleBlur(changeset) {\n // This is for the Atoms::Forms::Input component\n changeset.validate();\n }\n get isEdit() {\n return !!this.args.area?.id;\n }\n cancelForm(changeset) {\n changeset.rollback();\n if (this.args.onCancel) {\n this.args.onCancel();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"submitForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AreasFormComponent);\n});","define(\"scaleflow/components/artifacts/table-cell/created-by/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.person}}\n
\n \n
\n {{else if this.isLoading}}\n
\n
\n
\n {{else}}\n {{/if}}\n \n */\n {\n \"id\": \"YTyGrKsP\",\n \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"loadPerson\\\"]]],null],[4,[38,2],[[30,0,[\\\"loadPerson\\\"]],[30,1]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"person\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"idea-submitted-by\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"person\\\",\\\"id\\\"]],true,\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"isLoading\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-6 h-6 rounded-full bg-gray-200 animate-pulse\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"]],[]]]],[]]],[13]],[\\\"@createdBy\\\"],[\\\"div\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"if\\\",\\\"avatar\\\"]]\",\n \"moduleName\": \"scaleflow/components/artifacts/table-cell/created-by/index.hbs\",\n \"isStrictMode\": false\n });\n let ArtifactsTableCellCreatedByComponent = _exports.default = (_class = class ArtifactsTableCellCreatedByComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"isLoading\", _descriptor2, this);\n _initializerDefineProperty(this, \"person\", _descriptor3, this);\n }\n async loadPerson() {\n if (!this.args?.createdBy?.id) {\n this.isLoading = false;\n return;\n }\n try {\n // First try to peek the record from the store\n let person = this.store.peekRecord('person', this.args.createdBy.id);\n if (person) {\n this.person = person;\n this.isLoading = false;\n } else {\n // If not in store, try to find it\n person = await this.store.findRecord('person', this.args.createdBy.id);\n this.person = person;\n this.isLoading = false;\n }\n } catch (error) {\n console.error('Error loading person:', error);\n this.isLoading = false;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"person\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadPerson\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadPerson\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ArtifactsTableCellCreatedByComponent);\n});","define(\"scaleflow/components/artifacts/table-cell/sync-to-kb/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/service\", \"scaleflow/utils/aws-clients/s3VDRClient\", \"@sentry/browser\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _service, _s3VDRClient, Sentry, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"scaleflow/utils/aws-clients/s3VDRClient\",0,\"@sentry/browser\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n Sync to Knowledge Base\n \n \n \n */\n {\n \"id\": \"6CNkk5Kz\",\n \"block\": \"[[[11,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"isSyncing\\\"]],\\\"animate-spin\\\"]]]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"saveToKnowledgeBase\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-5 h-5 text-primary-600\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Sync to Knowledge Base\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[],[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"tailwind-icons/arrow-path\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/artifacts/table-cell/sync-to-kb/index.hbs\",\n \"isStrictMode\": false\n });\n let ArtifactsTableCellSyncToKbComponent = _exports.default = (_class = class ArtifactsTableCellSyncToKbComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _initializerDefineProperty(this, \"session\", _descriptor3, this);\n _initializerDefineProperty(this, \"isSyncing\", _descriptor4, this);\n }\n async saveToKnowledgeBase() {\n const tenant_id = this.organisation.id;\n const initiative_id = this.args.initiative.id;\n // const fileBlob = new Blob([this.args.artifact.content], {\n // type: 'text/markdown',\n // });\n const artifactName = this.args.artifact.name.split('/').join('-'); // Replace slashes with dashes to avoid S3 key issues\n const s3Key = `${tenant_id}/${initiative_id}/Artifacts/${artifactName}.md`;\n this.isSyncing = true;\n try {\n await _s3VDRClient.s3VdrClient.uploadFileToBucket({\n body: this.args.artifact.content,\n key: s3Key,\n contentType: 'text/markdown'\n });\n } catch (err) {\n Sentry.captureException(err);\n console.log(err);\n } finally {\n this.isSyncing = false;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isSyncing\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"saveToKnowledgeBase\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveToKnowledgeBase\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ArtifactsTableCellSyncToKbComponent);\n});","define(\"scaleflow/components/atoms/avatar\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (and @id @name)}}\n \n \n {{@name}}\n {{#if @tooltip}}\n \n \n {{@name}}\n \n \n {{/if}}\n \n {{/if}}\n */\n {\n \"id\": \"+wr58Z/z\",\n \"block\": \"[[[41,[28,[37,1],[[30,1],[30,2]],null],[[[1,\\\" \\\"],[11,0],[16,0,[29,[[52,[28,[37,3],[[30,3],\\\"extra-small\\\"],null],\\\"h-5 w-5\\\"],\\\"\\\\n \\\",[52,[28,[37,3],[[30,3],\\\"small\\\"],null],\\\"h-6 w-6\\\"],\\\"\\\\n \\\",[52,[28,[37,3],[[30,3],\\\"medium\\\"],null],\\\"h-11 w-11\\\"],\\\"\\\\n \\\",[52,[28,[37,3],[[30,3],\\\"large\\\"],null],\\\"h-28 w-28\\\"],\\\"\\\\n \\\",[52,[28,[37,3],[[30,3],\\\"new-medium\\\"],null],\\\"h-10 w-10\\\"],\\\"\\\\n rounded-full bg-gray-200 overflow-hidden\\\"]]],[24,\\\"test-id\\\",\\\"team-link-avatar\\\"],[17,4],[12],[1,\\\"\\\\n \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[29,[\\\"https://api.dicebear.com/7.x/bottts/svg?seed=\\\",[30,1]]]],[14,0,\\\"w-full h-full bg-gray-200 rounded-full p-1\\\"],[15,\\\"alt\\\",[30,1]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[8,[39,6],null,[[\\\"@placement\\\"],[[29,[[30,6]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@id\\\",\\\"@name\\\",\\\"@size\\\",\\\"&attrs\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"if\\\",\\\"and\\\",\\\"div\\\",\\\"eq\\\",\\\"img\\\",\\\"span\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/avatar.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"avatar\"));\n});","define(\"scaleflow/components/atoms/buttons/action-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{yield}}\n */\n {\n \"id\": \"AbMvqsXc\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 disabled:bg-gray-100 disabled:text-gray-400 disabled:border-0\\\"],[17,1],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/buttons/action-button.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"action-button\"));\n});","define(\"scaleflow/components/atoms/buttons/button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"VP2AfjhT\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,\\\"data-testid\\\",[29,[\\\"btn-\\\",[30,1]]]],[16,0,[29,[[52,[28,[37,2],[[30,2],\\\"large\\\"],null],\\\"px-4 text-base\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,2],\\\"medium\\\"],null],\\\"px-3 font-medium text-xs\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"primary\\\"],null],\\\"text-primary-200 border-solid border-gray-700 bg-gray-700 hover:bg-gray-800\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"secondary\\\"],null],\\\"text-gray-700 border-solid border-gray-300 hover:bg-gray-900/[.04] hover:text-gray-800\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"tertiary\\\"],null],\\\"text-indigo-700 border-1 border-transparent border-solid hover:text-blue-800 focus:border-indigo-400 disabled:text-gray-400 \\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"danger\\\"],null],\\\"text-white border-red-600 bg-red-600 hover:bg-red-700\\\"],\\\"\\\\n py-2 px-2 rounded border transition\\\"]]],[17,3],[12],[1,\\\"\\\\n \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@type\\\",\\\"@size\\\",\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"if\\\",\\\"eq\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/buttons/button.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"button\"));\n});","define(\"scaleflow/components/atoms/buttons/icon\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"XjATfe/T\",\n \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"p-1 flex items-center justify-center text-xs text-gray-400 rounded-full hover:text-gray-600 hover:bg-gray-900/[.04] transition disabled:hover:bg-transparent\\\"],[24,4,\\\"button\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/buttons/icon.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"icon\"));\n});","define(\"scaleflow/components/atoms/buttons/save\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if @loader}}\n \n {{/if}}\n \n {{#if @task.last.isSuccessful}}\n {{#if @changeset.isPristine}}\n \n {{#if @savedText}}\n {{@savedText}}\n {{else}}\n {{t \"dictionary.saved\"}}\n {{/if}}\n {{else}}\n {{#if @saveText}}\n {{@saveText}}\n {{else}}\n {{t \"dictionary.save\"}}\n {{/if}}\n {{/if}}\n {{else}}\n {{#if @saveText}}\n {{@saveText}}\n {{else}}\n {{t \"dictionary.save\"}}\n {{/if}}\n {{/if}}\n \n \n */\n {\n \"id\": \"SaC0/4oR\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[\\\"relative\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"large\\\"],null],\\\"px-4 text-base\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"medium\\\"],null],\\\"px-3 font-medium text-xs\\\"],\\\"\\\\n rounded-md bg-indigo-700 px-2.5 py-1.5 text-sm font-medium text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 flex items-center disabled:bg-gray-100 disabled:text-gray-400 disabled:border-0\\\"]]],[17,2],[12],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"progress-bar\\\\n \\\",[52,[30,4,[\\\"isRunning\\\"]],\\\"animate\\\"],\\\"\\\\n absolute block bottom-0 top-0 left-0 h-full bg-primary-300/[.20]\\\"]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"last\\\",\\\"isSuccessful\\\"]],[[[41,[30,5,[\\\"isPristine\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-4 h-4 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\" \\\"],[1,[30,6]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.saved\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[41,[30,7],[[[1,\\\" \\\"],[1,[30,7]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]],[]]]],[]],[[[41,[30,7],[[[1,\\\" \\\"],[1,[30,7]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@size\\\",\\\"&attrs\\\",\\\"@loader\\\",\\\"@task\\\",\\\"@changeset\\\",\\\"@savedText\\\",\\\"@saveText\\\"],[\\\"button\\\",\\\"if\\\",\\\"eq\\\",\\\"div\\\",\\\"atoms/icons/check\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/buttons/save.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"save\"));\n});","define(\"scaleflow/components/atoms/buttons/secondary-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"ojgUmDMq\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"gap-x-2 flex items-center rounded-md border border-gray-300 bg-white py-1 px-3 text-gray-700 font-medium text-sm hover:bg-gray-50\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/buttons/secondary-button.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"secondary-button\"));\n});","define(\"scaleflow/components/atoms/divider\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n */\n {\n \"id\": \"HQzyJZhB\",\n \"block\": \"[[[11,\\\"hr\\\"],[24,\\\"test-id\\\",\\\"divider\\\"],[24,0,\\\"mt-5 mb-12 rounded\\\"],[17,1],[12],[13]],[\\\"&attrs\\\"],[\\\"hr\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/divider.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"divider\"));\n});","define(\"scaleflow/components/atoms/forms/clickable-input/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.isEditMode}}\n {{#let (changeset @model @validator) as |changeset|}}\n
\n
\n \n \n \n
\n {{/let}}\n {{else}}\n \n {{or (get @model @field) @placeholder}}\n \n {{/if}}\n */\n {\n \"id\": \"8kQBRHiW\",\n \"block\": \"[[[41,[30,0,[\\\"isEditMode\\\"]],[[[44,[[28,[37,2],[[30,1],[30,2]],null]],[[[1,\\\" \\\"],[11,0],[17,4],[12],[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,5],[\\\"submit\\\",[28,[37,6],[[30,0,[\\\"saveForm\\\"]],[30,3]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[29,[[30,5]]]],[14,0,\\\"sr-only\\\"],[12],[1,[30,6]],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,5]]]],[16,0,[29,[\\\"px-2 py-2 rounded-md focus:ring-inset focus:ring-2 ring-2 ring-inset\\\\n \\\",[52,[30,0,[\\\"hasErrors\\\"]],\\\"ring-red-600\\\",\\\"ring-primary-600\\\"],\\\"\\\\n \\\",[52,[30,7],[28,[37,9],[\\\"text-\\\",[30,7]],null],\\\"text-xs\\\"],\\\"\\\\n border-0 w-full whitespace-nowrap overflow-hidden text-ellipsis\\\"]]],[16,2,[28,[37,10],[[30,3],[30,5]],null]],[4,[38,11],null,null],[4,[38,12],[[28,[37,6],[[30,0,[\\\"saveForm\\\"]],[30,3]],null]],null],[4,[38,13],[[28,[37,6],[[30,0,[\\\"cancelForm\\\"]],[30,3],true],null]],null],[4,[38,5],[\\\"input\\\",[28,[37,6],[[30,0,[\\\"handleInputChange\\\"]],[30,3],[30,5]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]]]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[\\\"px-2 py-2\\\\n \\\",[52,[28,[37,10],[[30,1],[30,5]],null],\\\"\\\",\\\"text-gray-500 italic\\\"],\\\"\\\\n \\\",[52,[30,8],\\\"cursor-default\\\",\\\"hover:bg-gray-300\\\"],\\\"\\\\n rounded-md\\\\n \\\",[52,[30,7],[28,[37,9],[\\\"text-\\\",[30,7]],null],\\\"text-xs\\\"],\\\"\\\\n w-full overflow-hidden text-ellipsis text-left whitespace-nowrap h-9\\\"]]],[17,4],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[28,[37,10],[[30,1],[30,5]],null],[30,9]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@model\\\",\\\"@validator\\\",\\\"changeset\\\",\\\"&attrs\\\",\\\"@field\\\",\\\"@label\\\",\\\"@textSize\\\",\\\"@disabled\\\",\\\"@placeholder\\\"],[\\\"if\\\",\\\"let\\\",\\\"changeset\\\",\\\"div\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"label\\\",\\\"input\\\",\\\"concat\\\",\\\"get\\\",\\\"autofocus\\\",\\\"on-click-outside\\\",\\\"on-escape\\\",\\\"button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/clickable-input/index.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsClickableInputComponent = _exports.default = (_class = class AtomsFormsClickableInputComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isEditMode\", _descriptor, this);\n _initializerDefineProperty(this, \"hasErrors\", _descriptor2, this);\n }\n toggleEditMode() {\n if (this.args.disabled) this.isEditMode = false;else this.isEditMode = !this.isEditMode;\n }\n async saveForm(changeset, e) {\n e?.preventDefault?.();\n await changeset.validate();\n if (!changeset.get('isValid')) {\n this.hasErrors = true;\n return;\n } else {\n this.hasErrors = false;\n }\n changeset.save().then(() => {\n this.args?.afterSave?.();\n }).catch(err => {\n console.debug(err);\n changeset.rollback();\n });\n this.toggleEditMode();\n }\n cancelForm(changeset) {\n changeset.rollback();\n this.isEditMode = false;\n }\n handleInputChange(changeset, field, event) {\n changeset.set(field, event.target.value);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isEditMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"hasErrors\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInputChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInputChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsClickableInputComponent);\n});","define(\"scaleflow/components/atoms/forms/container\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _asyncArrowRuntime, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"ember-concurrency\",0,\"@ember/template-factory\",0,\"@ember/component\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @title}}\n \n {{@title}}\n \n {{/if}}\n \n \n \n {{yield}}\n \n {{#unless @hideSaveButton}}\n \n \n {{yield to=\"cancel\"}}\n \n \n \n \n {{/unless}}\n \n \n */\n {\n \"id\": \"PfrQK8Qe\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-lg md:text-xl font-medium text-gray-800\\\"],[15,1,[30,2]],[15,\\\"data-toc\\\",[30,2]],[12],[1,\\\"\\\\n \\\"],[1,[30,1]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[11,\\\"form\\\"],[24,0,\\\"flex flex-col space-y-3 mt-5 md:mt-6\\\"],[17,3],[4,[38,3],[\\\"submit\\\",[28,[37,4],[[30,0,[\\\"saveSettings\\\"]]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[18,8,null],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,4]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"flex items-center pt-5\\\\n \\\",[52,[30,5],\\\"buttons-container flex w-full bg-white py-3 sticky bottom-0 left-0\\\"],\\\"\\\\n \\\",[52,[30,6],\\\"justify-start\\\",\\\"justify-end\\\"]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[18,9,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[16,\\\"disabled\\\",[30,0,[\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@task\\\",\\\"@changeset\\\"],[\\\"medium\\\",false,[30,0,[\\\"saveSettings\\\"]],[30,7]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@title\\\",\\\"@data-toc\\\",\\\"&attrs\\\",\\\"@hideSaveButton\\\",\\\"@sticky\\\",\\\"@leftAligned\\\",\\\"@changeset\\\",\\\"&default\\\",\\\"&cancel\\\"],[\\\"if\\\",\\\"h2\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"yield\\\",\\\"unless\\\",\\\"div\\\",\\\"atoms/buttons/save\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/container.hbs\",\n \"isStrictMode\": false\n });\n let ContainerComponent = _exports.default = (_class = class ContainerComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"submittedOnce\", _descriptor, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (e) {\n e.preventDefault();\n if (this.args.changeset.get('isDirty')) {\n // yield timeout(1000);\n yield this.validateAndSaveForm();\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.cancelAll();\n }\n }\n }), {\n restartable: true,\n maxConcurrency: 1\n }, \"saveSettings\", null));\n }\n get isPristine() {\n if (this.submittedOnce) {\n return false;\n } else if (this.args.changeset) {\n return this.args.changeset.get('isPristine');\n } else {\n return true;\n }\n }\n async validateAndSaveForm() {\n this.nothingChanged = false;\n await this.args.changeset.validate();\n if (!this.args.changeset.get('isValid')) return;\n this.args?.setError?.(false);\n console.log(this.args.changeset.get('show_uncertainties'));\n try {\n await this.args.changeset.save();\n this.submittedOnce = true;\n if (this.args.afterSubmit) {\n this.args.afterSubmit();\n }\n } catch (err) {\n console.log(err, 'is error');\n this.args.changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n this.args.changeset.addError(attribute, message);\n });\n this.args?.setError?.(true);\n }\n }\n cancelAll() {\n this.saveSettings.cancelAll();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"submittedOnce\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"validateAndSaveForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateAndSaveForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelAll\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelAll\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ContainerComponent);\n});","define(\"scaleflow/components/atoms/forms/dropdown\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"tippy.js\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tippy, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"tippy.js\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if @label}}\n \n {{/if}}\n \n \n {{#if @value}}\n {{#if @valueLabelHelper}}\n {{yield}}\n {{else}}\n {{this.findValueFromOptions}}\n {{/if}}\n {{else}}\n {{@placeholder}}\n {{/if}}\n \n {{#if @showArrow}}\n \n {{/if}}\n \n \n \n {{#each @options as |item|}}\n {{#if (and @seperateLastItem (eq this.lastOption item))}}\n \n {{/if}}\n {{item.label}}\n {{#if\n (or\n (and @showCheck (eq @value item.value))\n (and (eq item.value \"default\") (eq @value \"\"))\n )\n }}\n \n {{/if}}\n \n \n {{/each}}\n \n \n {{#if @changeset}}\n {{#if @hint}}\n {{@hint}}\n {{/if}}\n \n {{#if (get @changeset.error @id)}}\n
    \n {{#each (get (get @changeset.error @id) \"validation\") as |error|}}\n
  • {{error}}
  • \n {{else}}\n
  • {{get\n (get @changeset.error @id)\n \"validation\"\n }}
  • \n {{/each}}\n
\n {{/if}}\n {{/if}}\n \n */\n {\n \"id\": \"U5kPxlbm\",\n \"block\": \"[[[11,0],[24,0,\\\"space-y-1\\\"],[17,1],[4,[38,1],[[30,0,[\\\"createTippy\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,3]],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,1,\\\"dropdown-trigger\\\"],[16,0,[29,[\\\"text-sm !text-gray-800 focus:bg-primary-500/[0.12] focus:text-gray-800 bg-gray-500/[0.04]\\\\n \\\",[30,4]]]]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"tertiary\\\",\\\"\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,5],[[[41,[30,6],[[[1,\\\" \\\"],[18,17,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,0,[\\\"findValueFromOptions\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[1,[30,7]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,8],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"shrink-0 sidebar-toggle-arrow h-2.5 w-1.5 text-gray-700 ml-4 inline-block\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[16,0,[29,[\\\"tippy-dropdown \\\",[30,9]]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,10]],null]],null],null,[[[41,[28,[37,11],[[30,12],[28,[37,12],[[30,0,[\\\"lastOption\\\"]],[30,11]],null]],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-gray-700 px-2 py-1.5 text-sm w-full flex items-center justify-between\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"handleSelect\\\"]],[30,11]],null]],null],[12],[10,1],[12],[1,[30,11,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,17],[[28,[37,11],[[30,13],[28,[37,12],[[30,5],[30,11,[\\\"value\\\"]]],null]],null],[28,[37,11],[[28,[37,12],[[30,11,[\\\"value\\\"]],\\\"default\\\"],null],[28,[37,12],[[30,5],\\\"\\\"],null]],null]],null],[[[1,\\\" \\\"],[8,[39,18],[[24,0,\\\"w-6 h-6 inline-block text-primary-600\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[11]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,14],[[[41,[30,15],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"font-normal text-gray-500 text-xs\\\\n \\\",[52,[28,[37,19],[[30,14,[\\\"error\\\"]],[30,3]],null],\\\"hidden\\\"]]]],[12],[1,[30,15]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,19],[[30,14,[\\\"error\\\"]],[30,3]],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[28,[37,19],[[28,[37,19],[[30,14,[\\\"error\\\"]],[30,3]],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,16]],[13],[1,\\\"\\\\n\\\"]],[16]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,19],[[28,[37,19],[[30,14,[\\\"error\\\"]],[30,3]],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13]],[\\\"&attrs\\\",\\\"@label\\\",\\\"@id\\\",\\\"@triggerClasses\\\",\\\"@value\\\",\\\"@valueLabelHelper\\\",\\\"@placeholder\\\",\\\"@showArrow\\\",\\\"@dropdownClasses\\\",\\\"@options\\\",\\\"item\\\",\\\"@seperateLastItem\\\",\\\"@showCheck\\\",\\\"@changeset\\\",\\\"@hint\\\",\\\"error\\\",\\\"&default\\\"],[\\\"div\\\",\\\"render-modifiers/on-insert\\\",\\\"if\\\",\\\"label\\\",\\\"span\\\",\\\"atoms/buttons/button\\\",\\\"yield\\\",\\\"atoms/icons/sidebar-toggle\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"and\\\",\\\"eq\\\",\\\"atoms/divider\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"or\\\",\\\"atoms/icons/check\\\",\\\"get\\\",\\\"ul\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/dropdown.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsDropdownComponent = _exports.default = (_class = class AtomsFormsDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"tippyInstance\", void 0);\n }\n createTippy(element) {\n let tigger = element.querySelector('#dropdown-trigger');\n let dropdown = element.querySelector('.tippy-dropdown');\n this.tippyInstance = (0, _tippy.default)(tigger, {\n content: dropdown,\n placement: this.args.placement ?? 'bottom-end',\n arrow: false,\n trigger: 'click',\n interactive: true,\n offset: [0, 4]\n });\n }\n handleSelect(e) {\n this.tippyInstance.hide();\n this.args.onSelect(e);\n }\n findValueFromOptions() {\n // (this.args.options.filter((item) => item.value === this.args.value)[0]);\n return this.args.options.filter(item => item.value === this.args.value)?.[0]?.label ?? 'N/A';\n }\n get lastOption() {\n return this.args.options[this.args.options.length - 1];\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"findValueFromOptions\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"findValueFromOptions\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsDropdownComponent);\n});","define(\"scaleflow/components/atoms/forms/input\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n
\n {{#if @icon}}\n {{#let (component (concat \"atoms/icons/\" @icon)) as |Icon|}}\n \n {{/let}}\n {{/if}}\n \n
\n {{#if @hint}}\n {{@hint}}\n {{/if}}\n \n {{#if (get @changeset.error @id)}}\n
    \n {{#each (get (get @changeset.error @id) \"validation\") as |error|}}\n
  • {{error}}
  • \n {{else}}\n
  • {{get\n (get @changeset.error @id)\n \"validation\"\n }}
  • \n {{/each}}\n
\n {{/if}}\n
\n */\n {\n \"id\": \"1hQeb5kD\",\n \"block\": \"[[[10,0],[15,0,[29,[\\\"space-y-1 \\\",[30,1]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,2]],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"text-sm text-gray-900 font-medium capitalize \\\",[30,3]]]],[12],[1,[30,4]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,5],[[[44,[[50,[28,[37,6],[\\\"atoms/icons/\\\",[30,5]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,6],[[16,0,[29,[\\\"h-5 w-5 absolute left-3 top-2.5\\\\n \\\",[52,[30,7],\\\"text-gray-300\\\",\\\"text-gray-400\\\"],\\\"\\\\n \\\",[30,8]]]]],null,null],[1,\\\"\\\\n\\\"]],[6]]]],[]],null],[1,\\\" \\\"],[11,\\\"input\\\"],[16,1,[30,2]],[16,0,[29,[[52,[30,5],\\\"pl-10 pr-3\\\",\\\"px-3\\\"],\\\"\\\\n input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"input--error\\\"]]]],[16,4,[28,[37,9],[[30,10],\\\"text\\\"],null]],[16,\\\"placeholder\\\",[29,[[30,11]]]],[16,2,[30,12]],[16,\\\"disabled\\\",[30,7]],[17,13],[4,[38,10],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"validateProperty\\\"]],[30,9],[30,2]],null]],null],[4,[38,10],[\\\"input\\\",[30,0,[\\\"handleInput\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,14],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"font-normal text-gray-500 text-xs pl-2\\\\n \\\",[52,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"hidden\\\"]]]],[12],[1,[30,14]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[14,\\\"test-id\\\",\\\"errors\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[28,[37,8],[[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,15]],[13],[1,\\\"\\\\n\\\"]],[15]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,8],[[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@containerClass\\\",\\\"@id\\\",\\\"@labelClass\\\",\\\"@label\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"@disabled\\\",\\\"@iconClass\\\",\\\"@changeset\\\",\\\"@type\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"&attrs\\\",\\\"@hint\\\",\\\"error\\\"],[\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"if\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"input\\\",\\\"get\\\",\\\"or\\\",\\\"on\\\",\\\"fn\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/input.hbs\",\n \"isStrictMode\": false\n });\n let InputComponent = _exports.default = (_class = class InputComponent extends _component2.default {\n async validateProperty(changeset, property) {\n if (this.args.onBlur) {\n this.args.onBlur(changeset);\n }\n return changeset?.validate(property);\n }\n handleInput(e) {\n if (!this.args.changeset) return;\n this.args.changeset.set(this.args.id, e.target.value);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InputComponent);\n});","define(\"scaleflow/components/atoms/forms/label\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"R1p0ggsJ\",\n \"block\": \"[[[11,\\\"label\\\"],[24,\\\"test-id\\\",\\\"label\\\"],[24,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"label\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/label.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"label\"));\n});","define(\"scaleflow/components/atoms/forms/range/dots/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#each (array 1 2 3 4 5) as |scale|}}\n \n {{/each}}\n
\n */\n {\n \"id\": \"mvaKHgPJ\",\n \"block\": \"[[[11,0],[24,1,\\\"dot-range\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[28,[37,3],[1,2,3,4,5],null]],null]],null],null,[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,\\\"disabled\\\",[30,3]],[16,0,[29,[[52,[28,[37,6],[[30,2],[30,0,[\\\"value\\\"]]],null],\\\"\\\",\\\"active\\\"]]]],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[28,[37,8],[[30,0,[\\\"propagateInputChange\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\"]],[2]],null],[13]],[\\\"&attrs\\\",\\\"scale\\\",\\\"@readOnly\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array\\\",\\\"button\\\",\\\"if\\\",\\\"gt\\\",\\\"on\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/range/dots/index.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsRangeDotsIndexComponent = _exports.default = (_class = class AtomsFormsRangeDotsIndexComponent extends _component2.default {\n propagateInputChange(val) {\n if (this.args?.readOnly) return;\n if (!this.args?.onInputChange) (false && !(false) && (0, _debug.assert)('A callback function needs to be passed to propagate selected input', false));\n this.args?.onInputChange?.(val);\n }\n get value() {\n const val = +this.args.value;\n return isNaN(val) ? 0 : val;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"propagateInputChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateInputChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsRangeDotsIndexComponent);\n});","define(\"scaleflow/components/atoms/forms/range/pills/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#each (array 1 2 3 4 5) as |scale|}}\n \n {{/each}}\n
\n */\n {\n \"id\": \"BWnFpbaH\",\n \"block\": \"[[[11,0],[24,1,\\\"pill-range\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[28,[37,3],[1,2,3,4,5],null]],null]],null],null,[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,\\\"disabled\\\",[30,3]],[16,0,[29,[[52,[28,[37,6],[[30,2],[30,0,[\\\"value\\\"]]],null],\\\"\\\",\\\"active\\\"]]]],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[28,[37,8],[[30,0,[\\\"propagateInputChange\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\"]],[2]],null],[13]],[\\\"&attrs\\\",\\\"scale\\\",\\\"@readOnly\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array\\\",\\\"button\\\",\\\"if\\\",\\\"gt\\\",\\\"on\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/range/pills/index.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsRangePillsIndexComponent = _exports.default = (_class = class AtomsFormsRangePillsIndexComponent extends _component2.default {\n propagateInputChange(val) {\n if (!this.args?.onInputChange) (false && !(false) && (0, _debug.assert)('A callback function needs to be passed to propagate selected input', false));\n this.args?.onInputChange?.(val);\n }\n get value() {\n const val = +this.args.value;\n return isNaN(val) ? 0 : val;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"propagateInputChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateInputChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsRangePillsIndexComponent);\n});","define(\"scaleflow/components/atoms/forms/select\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n
\n {{#if @icon}}\n {{#let (component (concat \"atoms/icons/\" @icon)) as |Icon|}}\n \n {{/let}}\n {{/if}}\n \n {{yield to=\"options\"}}\n \n
\n {{#if @hint}}\n {{@hint}}\n {{/if}}\n \n {{#if (get @changeset.error @id)}}\n
    \n {{#each (get (get @changeset.error @id) \"validation\") as |error|}}\n
  • {{error}}
  • \n {{else}}\n
  • {{get\n (get @changeset.error @id)\n \"validation\"\n }}
  • \n {{/each}}\n
\n {{/if}}\n
\n */\n {\n \"id\": \"xYLTLyNs\",\n \"block\": \"[[[10,0],[15,0,[29,[\\\"space-y-1 \\\",[30,1]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,2]],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"text-sm text-gray-900 font-medium capitalize \\\",[30,3]]]],[12],[1,[30,4]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,5],[[[44,[[50,[28,[37,6],[\\\"atoms/icons/\\\",[30,5]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,6],[[16,0,[29,[\\\"h-5 w-5 absolute left-3 top-2.5\\\\n \\\",[52,[30,7],\\\"text-gray-300\\\",\\\"text-gray-400\\\"],\\\"\\\\n \\\",[30,8]]]]],null,null],[1,\\\"\\\\n\\\"]],[6]]]],[]],null],[1,\\\" \\\"],[11,\\\"select\\\"],[16,1,[30,2]],[16,0,[29,[[52,[30,5],\\\"pl-10 pr-3\\\",\\\"px-3\\\"],\\\"\\\\n input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"input--error\\\"]]]],[16,\\\"placeholder\\\",[29,[[30,10]]]],[16,2,[30,11]],[16,\\\"disabled\\\",[30,7]],[17,12],[4,[38,9],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"handleChange\\\"]],[30,9],[30,2]],null]],null],[4,[38,9],[\\\"blur\\\",[28,[37,10],[[30,0,[\\\"validateProperty\\\"]],[30,9],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[18,15,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,13],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"font-normal text-gray-500 text-xs\\\\n \\\",[52,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"hidden\\\"]]]],[14,\\\"test-id\\\",\\\"hint\\\"],[12],[1,[30,13]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[28,[37,8],[[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,14]],[13],[1,\\\"\\\\n\\\"]],[14]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,8],[[28,[37,8],[[30,9,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@containerClass\\\",\\\"@id\\\",\\\"@labelClass\\\",\\\"@label\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"@disabled\\\",\\\"@iconClass\\\",\\\"@changeset\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"&attrs\\\",\\\"@hint\\\",\\\"error\\\",\\\"&options\\\"],[\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"if\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"select\\\",\\\"get\\\",\\\"on\\\",\\\"fn\\\",\\\"yield\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/select.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsSelectComponent = _exports.default = (_class = class AtomsFormsSelectComponent extends _component2.default {\n async validateProperty(changeset, property) {\n if (this.args.onBlur) {\n this.args.onBlur(changeset);\n }\n return changeset?.validate(property);\n }\n handleChange(changeset, id, e) {\n if (this.args.handleChange) {\n this.args.handleChange(...arguments);\n return;\n }\n changeset.set(id, e.target.value);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsSelectComponent);\n});","define(\"scaleflow/components/atoms/forms/textarea\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n
\n {{@value}}\n
\n {{#if @hint}}\n {{@hint}}\n {{/if}}\n {{#if (get @changeset.error @id)}}\n
    \n {{#each (get (get @changeset.error @id) \"validation\") as |error|}}\n
  • {{error}}
  • \n {{/each}}\n
\n {{/if}}\n
\n */\n {\n \"id\": \"Gqm8pn7+\",\n \"block\": \"[[[10,0],[15,0,[29,[[30,1]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,2]],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"textarea\\\"],[24,\\\"test-id\\\",\\\"textarea\\\"],[16,1,[30,2]],[16,0,[29,[[52,[30,4],\\\"pl-10 pr-3\\\",\\\"px-3\\\"],\\\"\\\\n textarea block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,5],[[30,5,[\\\"error\\\"]],[30,2]],null],\\\"textarea--error\\\"]]]],[16,\\\"placeholder\\\",[29,[[30,6]]]],[16,\\\"disabled\\\",[30,7]],[17,8],[4,[38,6],[\\\"blur\\\",[28,[37,7],[[30,0,[\\\"validateProperty\\\"]],[30,5],[30,2]],null]],null],[4,[38,6],[\\\"input\\\",[30,0,[\\\"handleInput\\\"]]],null],[12],[1,[30,9]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,10],[[[1,\\\" \\\"],[10,1],[14,0,\\\"font-normal text-gray-500 text-xs\\\"],[12],[1,[30,10]],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,5],[[30,5,[\\\"error\\\"]],[30,2]],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[28,[37,5],[[28,[37,5],[[30,5,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,11]],[13],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@containerClass\\\",\\\"@id\\\",\\\"@label\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@placeholder\\\",\\\"@disabled\\\",\\\"&attrs\\\",\\\"@value\\\",\\\"@hint\\\",\\\"error\\\"],[\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"textarea\\\",\\\"if\\\",\\\"get\\\",\\\"on\\\",\\\"fn\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/textarea.hbs\",\n \"isStrictMode\": false\n });\n let TextareaComponent = _exports.default = (_class = class TextareaComponent extends _component2.default {\n async validateProperty(changeset, property) {\n if (this.args.onBlur) {\n this.args.onBlur(changeset);\n }\n return changeset?.validate(property);\n }\n handleInput(e) {\n if (!this.args.changeset) return;\n this.args.changeset.set(this.args.id, e.target.value);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TextareaComponent);\n});","define(\"scaleflow/components/atoms/forms/toggle/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{@srlabel}}\n \n \n \n \n */\n {\n \"id\": \"WooR9ynq\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2\\\"],[24,\\\"role\\\",\\\"switch\\\"],[24,\\\"aria-checked\\\",\\\"false\\\"],[17,1],[4,[38,1],[\\\"click\\\",[30,0,[\\\"toggleChecked\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,0,\\\"pointer-events-none absolute h-full w-full rounded-md bg-white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,\\\"test-id\\\",\\\"toggle-bg\\\"],[15,0,[29,[[52,[30,3],\\\"bg-indigo-600\\\",\\\"bg-gray-200\\\"],\\\"\\\\n pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,\\\"test-id\\\",\\\"toggle-switch\\\"],[15,0,[29,[[52,[30,3],\\\"translate-x-5\\\",\\\"translate-x-0\\\"],\\\"\\\\n pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 bg-white shadow ring-0 transition-transform duration-200 ease-in-out\\\"]]],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@srlabel\\\",\\\"@checked\\\"],[\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"if\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/forms/toggle/index.hbs\",\n \"isStrictMode\": false\n });\n let AtomsFormsToggleIndexComponent = _exports.default = (_class = class AtomsFormsToggleIndexComponent extends _component2.default {\n toggleChecked() {\n this.args?.onChange(!(this.args.checked ?? false));\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"toggleChecked\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleChecked\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsFormsToggleIndexComponent);\n});","define(\"scaleflow/components/atoms/icons/abbreviation\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"zE+r+3c0\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 16V10.5C5 9.83696 5.26339 9.20107 5.73223 8.73223C6.20107 8.26339 6.83696 8 7.5 8C8.16304 8 8.79893 8.26339 9.26777 8.73223C9.73661 9.20107 10 9.83696 10 10.5V16M10 12H5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 12C17.5304 12 18.0391 12.2107 18.4142 12.5858C18.7893 12.9609 19 13.4696 19 14C19 14.5304 18.7893 15.0391 18.4142 15.4142C18.0391 15.7893 17.5304 16 17 16H14M14 16V8H17C17.5304 8 18.0391 8.21071 18.4142 8.58579C18.7893 8.96086 19 9.46957 19 10C19 10.5304 18.7893 11.0391 18.4142 11.4142C18.0391 11.7893 17.5304 12 17 12H14V16Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/abbreviation.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"abbreviation\"));\n});","define(\"scaleflow/components/atoms/icons/account\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"XILLqpzT\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 21V19C6 17.9391 6.42143 16.9217 7.17157 16.1716C7.92172 15.4214 8.93913 15 10 15H14C15.0609 15 16.0783 15.4214 16.8284 16.1716C17.5786 16.9217 18 17.9391 18 19V21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/account.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"account\"));\n});","define(\"scaleflow/components/atoms/icons/add-initiative\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"BaAY0cmy\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.99999 14C5.95922 14.5876 5.11765 15.4726 4.58315 16.5416C4.04865 17.6106 3.84559 18.8148 3.99999 20C5.18515 20.1544 6.38942 19.9513 7.45841 19.4168C8.52741 18.8823 9.41242 18.0408 9.99999 17\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 10C15.5523 10 16 9.55228 16 9C16 8.44772 15.5523 8 15 8C14.4477 8 14 8.44772 14 9C14 9.55228 14.4477 10 15 10Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M17 3C16.9818 3 16.9637 3.00049 16.9456 3.00148C14.9707 3.10916 13.0722 3.8 11.49 4.98665C10.0836 6.04143 8.98333 7.44584 8.29522 9.05519C7.34306 9.17903 6.42404 9.4978 5.59657 9.99428C4.57586 10.6067 3.72818 11.4693 3.13366 12.5005C2.96579 12.7917 2.95543 13.1478 3.10608 13.4482C3.25672 13.7487 3.54823 13.9533 3.88199 13.993C5.44219 14.1784 6.89465 14.8834 8.00565 15.9943C9.11665 17.1053 9.82157 18.5578 10.007 20.118C10.0467 20.4518 10.2513 20.7433 10.5518 20.8939C10.8522 21.0446 11.2083 21.0342 11.4995 20.8663C11.6523 20.7783 11.8013 20.6846 11.9465 20.5857C11.3491 19.7058 11 18.6437 11 17.5C11 17.2624 11.0151 17.0283 11.0443 16.7986C10.6225 15.9858 10.0763 15.2366 9.41986 14.5801C8.3917 13.552 7.13609 12.7943 5.76507 12.3615C6.02649 12.1146 6.3148 11.8957 6.62556 11.7093C7.35464 11.2718 8.18323 11.0275 9.03301 10.9995C9.44506 10.9858 9.80652 10.7208 9.94333 10.3319C10.4684 8.83931 11.4242 7.53597 12.69 6.58665C13.948 5.64317 15.4559 5.09147 17.0253 5.00016C17.5466 5.00674 18.0451 5.21668 18.4142 5.58579C18.7833 5.95489 18.9933 6.45342 18.9998 6.97471C18.9085 8.54409 18.3568 10.052 17.4133 11.31C17.2296 11.555 17.0326 11.7884 16.8235 12.0094C17.5882 12.0537 18.3111 12.2543 18.9606 12.5798C18.9783 12.5566 18.9959 12.5333 19.0133 12.51C20.2 10.9278 20.8908 9.02926 20.9985 7.05444C20.9995 7.03631 21 7.01816 21 7C21 5.93913 20.5786 4.92172 19.8284 4.17157C19.0783 3.42143 18.0609 3 17 3Z\\\"],[14,\\\"fill\\\",\\\"#6B7280\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"circle\\\"],[14,\\\"cx\\\",\\\"16.5\\\"],[14,\\\"cy\\\",\\\"17.5\\\"],[14,\\\"r\\\",\\\"5.5\\\"],[14,\\\"fill\\\",\\\"#F9FAFB\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 17.5H19\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16.5 15V20\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\",\\\"circle\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/add-initiative.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"add-initiative\"));\n});","define(\"scaleflow/components/atoms/icons/alert\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"+YVMT6oG\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 16H12V14V12H11M12 8H12.01M21 12C21 13.1819 20.7672 14.3522 20.3149 15.4442C19.8626 16.5361 19.1997 17.5282 18.364 18.364C17.5282 19.1997 16.5361 19.8626 15.4442 20.3149C14.3522 20.7672 13.1819 21 12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/alert.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"alert\"));\n});","define(\"scaleflow/components/atoms/icons/alt-settings\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"42pP/m2X\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"currentColor\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 12C7.10457 12 8 11.1046 8 10C8 8.89543 7.10457 8 6 8C4.89543 8 4 8.89543 4 10C4 11.1046 4.89543 12 6 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 4V8\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 12V20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 18C13.1046 18 14 17.1046 14 16C14 14.8954 13.1046 14 12 14C10.8954 14 10 14.8954 10 16C10 17.1046 10.8954 18 12 18Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 4V14\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 18V20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 9C19.1046 9 20 8.10457 20 7C20 5.89543 19.1046 5 18 5C16.8954 5 16 5.89543 16 7C16 8.10457 16.8954 9 18 9Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 4V5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 9V20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/alt-settings.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"alt-settings\"));\n});","define(\"scaleflow/components/atoms/icons/analytics\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"tZgHZjln\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 13C10 13.5304 10.2107 14.0391 10.5858 14.4142C10.9609 14.7893 11.4696 15 12 15C12.5304 15 13.0391 14.7893 13.4142 14.4142C13.7893 14.0391 14 13.5304 14 13C14 12.4696 13.7893 11.9609 13.4142 11.5858C13.0391 11.2107 12.5304 11 12 11C11.4696 11 10.9609 11.2107 10.5858 11.5858C10.2107 11.9609 10 12.4696 10 13Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13.45 11.55L15.5 9.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.4 20C4.93815 18.8381 3.87391 17.2502 3.35478 15.4565C2.83564 13.6627 2.88732 11.7519 3.50265 9.98881C4.11797 8.22573 5.26647 6.69771 6.78899 5.6165C8.3115 4.53529 10.1326 3.95444 12 3.95444C13.8674 3.95444 15.6885 4.53529 17.211 5.6165C18.7335 6.69771 19.882 8.22573 20.4974 9.98881C21.1127 11.7519 21.1644 13.6627 20.6452 15.4565C20.1261 17.2502 19.0619 18.8381 17.6 20H6.4Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/analytics.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"analytics\"));\n});","define(\"scaleflow/components/atoms/icons/archive-recover\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"ffLoBz9Z\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 8C4.46957 8 3.96086 7.78929 3.58579 7.41421C3.21071 7.03914 3 6.53043 3 6C3 5.46957 3.21071 4.96086 3.58579 4.58579M5 8V18C5 18.5304 5.21071 19.0391 5.58579 19.4142C5.96086 19.7893 6.46957 20 7 20H17C17.5304 20 18.0391 19.7893 18.4142 19.4142M5 8H7.5M19 8C19.5304 8 20.0391 7.78929 20.4142 7.41421C20.7893 7.03914 21 6.53043 21 6C21 5.46957 20.7893 4.96086 20.4142 4.58579C20.0391 4.21071 19.5304 4 19 4H8M19 8H12M19 8V15M10 12H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 3L21 21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/archive-recover.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"archive-recover\"));\n});","define(\"scaleflow/components/atoms/icons/archive\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"H7cCh+PW\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 12H14M5 8H19H5ZM5 8C4.46957 8 3.96086 7.78929 3.58579 7.41421C3.21071 7.03914 3 6.53043 3 6C3 5.46957 3.21071 4.96086 3.58579 4.58579C3.96086 4.21071 4.46957 4 5 4H19C19.5304 4 20.0391 4.21071 20.4142 4.58579C20.7893 4.96086 21 5.46957 21 6C21 6.53043 20.7893 7.03914 20.4142 7.41421C20.0391 7.78929 19.5304 8 19 8H5ZM5 8V18C5 18.5304 5.21071 19.0391 5.58579 19.4142C5.96086 19.7893 6.46957 20 7 20H17C17.5304 20 18.0391 19.7893 18.4142 19.4142C18.7893 19.0391 19 18.5304 19 18V8H5Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/archive.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"archive\"));\n});","define(\"scaleflow/components/atoms/icons/arrow-left\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"ZuJRX77B\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_1126_11989)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip1_1126_11989)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 12H18M11 17L6 12L11 17ZM6 12L11 7L6 12Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_1126_11989\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"matrix(1 0 0 -1 0 24)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip1_1126_11989\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"matrix(1 0 0 -1 0 24)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/arrow-left.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"arrow-left\"));\n});","define(\"scaleflow/components/atoms/icons/back-of-a-napkin\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"irpKncWg\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 3H6C4.89543 3 4 3.89543 4 5V19C4 20.1046 4.89543 21 6 21H18C19.1046 21 20 20.1046 20 19V5C20 3.89543 19.1046 3 18 3Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 7H9C8.44772 7 8 7.44772 8 8V9C8 9.55228 8.44772 10 9 10H15C15.5523 10 16 9.55228 16 9V8C16 7.44772 15.5523 7 15 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/back-of-a-napkin.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"back-of-a-napkin\"));\n});","define(\"scaleflow/components/atoms/icons/banana\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"28d64tYE\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 828 344\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M275.612 282.84C274.207 282.744 272.698 282.626 271.307 282.521C269.896 282.415 268.344 283.636 266.961 283.522C265.546 283.404 264.318 281.945 262.945 281.818C261.523 281.682 259.938 282.877 258.576 282.732C257.146 282.581 255.97 281.094 254.624 280.931C253.184 280.754 251.546 281.896 250.224 281.706C246.669 281.191 243.565 279.201 240.199 278.383C236.732 277.545 232.853 277.834 229.598 276.764C226.223 275.651 223.604 273.212 220.469 271.948C217.171 270.621 213.279 270.428 210.263 269.041C207.001 267.545 204.696 264.879 201.781 263.456C198.474 261.837 194.604 261.478 191.771 260.154C189.616 259.144 188.211 256.758 185.906 255.335C183.819 254.047 180.71 253.673 178.622 252.181C176.582 250.721 175.637 248.197 173.706 246.665C171.688 245.067 168.635 244.416 166.858 242.875C164.811 241.098 164.144 238.502 162.592 236.997C160.063 234.552 158.646 233.58 158.09 232.594C157.931 232.314 157.605 231.264 157.482 230.993C157.349 230.704 156.873 230.58 156.776 230.306C156.668 230.004 156.98 229.657 156.91 229.383C156.829 229.063 155.928 229.018 155.887 228.746C155.835 228.409 155.745 228.14 155.735 227.887C155.712 227.335 155.373 226.777 155.887 226.868C160.474 227.667 158.95 228.406 164.368 230.23C166.851 231.065 170.392 230.857 173.612 232.073C176.249 233.068 178.406 235.402 181.384 236.65C184.055 237.769 187.58 237.802 190.419 239.126C193.075 240.363 194.973 242.844 197.693 244.256C200.305 245.613 203.807 245.932 206.404 247.452C210.146 249.642 212.701 253.128 216.211 255.661C219.629 258.124 224.068 259.678 227.611 262.226C231.011 264.671 233.559 268.154 237.38 270.461C240.973 272.633 245.659 273.558 249.882 275.425C253.742 277.132 257.284 279.9 261.869 281.215C265.955 282.385 270.807 282.083 275.612 282.84Z\\\"],[14,\\\"fill\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M524.462 298.562C506.717 301.578 489.092 303.007 473.616 301.505C469.821 301.14 466.169 300.594 462.671 299.849C458.858 299.059 455.235 298.016 451.849 296.716C448.022 295.263 444.483 293.487 441.291 291.324C435.438 287.422 430.74 282.278 427.497 275.701C419.82 260.09 423.194 238.721 432.305 215.707C433.04 213.871 433.804 212.026 434.604 210.169C434.919 209.424 435.241 208.68 435.581 207.923C439.193 199.762 443.452 191.448 448.109 183.171C448.617 182.261 449.14 181.348 449.659 180.437C450.818 178.427 451.988 176.42 453.187 174.419C454.204 172.727 455.22 171.023 456.262 169.344C457.223 167.796 458.181 166.246 459.154 164.707C460.397 162.746 461.654 160.794 462.908 158.854C463.669 157.684 464.433 156.525 465.208 155.367C483.845 127.232 504.333 101.98 516.719 87.3997C517.79 86.1218 518.821 84.9266 519.75 83.8265C519.764 83.8265 519.764 83.8142 519.779 83.805C520.05 83.4955 520.302 83.2013 520.572 82.9041C523.376 79.6404 525.522 77.2164 526.806 75.7853L527.201 76.6709C526.283 78.9539 524.777 82.7876 522.817 87.8134C522.642 88.2271 522.488 88.653 522.305 89.079C521.753 90.5101 521.179 92.024 520.558 93.6206C503.258 138.442 463.654 246.56 479.203 258.613C480.405 259.547 481.659 260.372 482.957 261.095C483.86 267.411 485.611 273.382 488.573 278.445C497.094 293.004 512.895 297.401 524.462 298.562Z\\\"],[14,\\\"fill\\\",\\\"url(#paint0_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M451.396 295.994C450.806 295.141 450.001 294.481 449.238 293.829C448.364 293.096 447.547 292.4 447.094 291.534C446.925 291.181 446.867 290.458 446.813 289.761C446.712 288.555 446.601 287.065 445.838 285.575C445.245 284.427 444.288 283.552 443.37 282.714C442.608 282.014 441.888 281.366 441.507 280.666C441.266 280.217 441.212 279.448 441.14 278.634C441.043 277.521 440.942 276.242 440.337 274.991C439.787 273.842 438.87 272.919 438.064 272.117C437.387 271.441 436.754 270.802 436.528 270.223C436.33 269.75 436.387 268.96 436.427 268.118C436.499 267.03 436.571 265.799 436.175 264.536C435.823 263.354 435.074 262.346 434.423 261.46C433.873 260.715 433.337 259.994 433.225 259.415C433.114 258.905 433.311 258.124 433.509 257.31C433.776 256.246 434.071 255.039 433.916 253.749C433.79 252.543 433.239 251.454 432.761 250.498C432.351 249.669 431.97 248.9 431.955 248.297C431.941 247.79 432.293 247.045 432.646 246.252C433.114 245.245 433.635 244.111 433.747 242.832C433.862 241.593 433.52 240.432 433.225 239.404C432.984 238.553 432.761 237.748 432.844 237.157C432.93 236.647 433.365 235.963 433.833 235.23C434.466 234.247 435.186 233.137 435.47 231.81C435.736 230.547 435.51 229.316 435.312 228.24C435.157 227.386 435.017 226.584 435.157 226.005C435.286 225.496 435.765 224.832 436.272 224.136C436.977 223.153 437.769 222.055 438.121 220.719C438.46 219.416 438.276 218.162 438.121 217.052C437.995 216.211 437.88 215.42 438.021 214.851C438.165 214.344 438.643 213.693 439.15 212.996C439.87 212.013 440.69 210.891 441.043 209.519C441.366 208.24 441.183 206.986 441.014 205.876C440.888 205.035 440.758 204.245 440.913 203.675C441.043 203.168 441.55 202.505 442.071 201.808C442.791 200.861 443.611 199.785 444.003 198.461C444.37 197.206 444.244 195.976 444.147 194.887C444.061 194.037 443.975 193.22 444.158 192.677C444.331 192.167 444.892 191.531 445.471 190.855C446.263 189.957 447.137 188.94 447.63 187.686C448.097 186.468 448.097 185.249 448.097 184.173C448.097 183.832 448.097 183.488 448.112 183.169C443.453 191.446 439.193 199.76 435.581 207.921C435.581 208.159 435.567 208.358 435.524 208.536C435.398 209.021 435.031 209.576 434.607 210.167C434.509 210.288 434.423 210.406 434.34 210.523C433.65 211.47 432.858 212.535 432.52 213.822C432.351 214.474 432.293 215.101 432.308 215.704C432.336 216.376 432.434 217.028 432.52 217.631C432.631 218.436 432.747 219.193 432.606 219.712C432.462 220.279 431.97 220.954 431.448 221.675C430.743 222.646 429.937 223.747 429.628 225.058C429.289 226.467 429.53 227.778 429.739 228.948C429.883 229.73 430.009 230.486 429.908 230.984C429.782 231.563 429.347 232.26 428.865 232.992C428.217 234.012 427.469 235.17 427.257 236.53C427.019 237.995 427.397 239.334 427.739 240.504C427.962 241.273 428.16 241.982 428.117 242.492C428.077 243.071 427.739 243.791 427.383 244.548C426.875 245.673 426.285 246.949 426.311 248.381C426.339 249.883 426.991 251.183 427.555 252.319C427.908 253.028 428.246 253.701 428.3 254.198C428.372 254.777 428.174 255.546 427.976 256.351C427.696 257.509 427.372 258.833 427.667 260.229C427.976 261.71 428.85 262.904 429.628 263.957C430.106 264.605 430.559 265.22 430.714 265.706C430.883 266.285 430.84 267.066 430.797 267.883C430.728 269.065 430.642 270.401 431.178 271.725C431.743 273.145 432.801 274.21 433.732 275.145C434.326 275.736 434.876 276.303 435.103 276.752C435.369 277.319 435.441 278.124 435.51 278.962C435.596 280.111 435.707 281.399 436.373 282.617C437.121 284.001 438.276 285.066 439.208 285.916C439.816 286.462 440.435 287.029 440.647 287.43C441.028 288.187 441.097 289.098 441.183 290.069C441.212 290.482 441.255 290.907 441.294 291.323C444.485 293.485 448.025 295.262 451.85 296.715C451.709 296.48 451.565 296.23 451.396 295.994ZM462.912 158.854C463.502 158.32 464.067 157.717 464.506 156.996C464.83 156.462 465.056 155.908 465.211 155.365C464.434 156.523 463.671 157.681 462.912 158.854ZM456.264 169.342C456.983 168.727 457.703 168.018 458.239 167.156C458.735 166.351 458.987 165.512 459.156 164.707C458.185 166.245 457.224 167.795 456.264 169.342ZM449.662 180.436C449.734 180.364 449.803 180.307 449.875 180.234C450.749 179.42 451.738 178.497 452.371 177.303C452.879 176.332 453.076 175.34 453.188 174.417C451.99 176.417 450.821 178.425 449.662 180.436Z\\\"],[14,\\\"fill\\\",\\\"url(#paint1_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M527.201 76.671L526.806 75.7853C525.523 77.2164 523.377 79.6404 520.572 82.9041C520.572 83.0696 520.558 83.2136 520.529 83.3178C520.375 83.4496 520.035 83.6611 519.779 83.8051C519.765 83.8143 519.765 83.8266 519.75 83.8266C518.862 84.372 517.765 85.0462 517.143 86.1923C516.917 86.5938 516.789 87.0075 516.719 87.3997C516.591 88.0862 516.635 88.7359 516.675 89.2905C516.705 89.5633 516.734 89.9525 516.705 90.1547C516.536 90.2834 516.182 90.5102 515.944 90.6757C515.081 91.2058 514.025 91.8678 513.403 92.9679C512.796 94.0343 512.84 95.1222 512.87 95.9956C512.884 96.2684 512.895 96.6483 512.87 96.8475C512.687 96.9793 512.317 97.1785 512.062 97.3225C511.188 97.7945 510.102 98.3982 509.396 99.4278C508.72 100.433 508.636 101.496 508.578 102.348C508.563 102.609 508.537 102.986 508.479 103.188C508.296 103.304 507.916 103.47 507.649 103.589C506.702 104.003 505.543 104.512 504.713 105.505C503.909 106.488 503.737 107.585 503.613 108.462C503.584 108.735 503.525 109.124 503.459 109.314C503.273 109.43 502.863 109.596 502.582 109.715C501.624 110.129 500.41 110.638 499.577 111.667C498.743 112.685 498.604 113.806 498.506 114.72C498.476 114.989 498.421 115.394 498.363 115.581C498.195 115.7 497.785 115.899 497.519 116.031C496.557 116.503 495.362 117.082 494.597 118.182C493.753 119.414 493.482 120.738 493.241 121.909C493.073 122.7 492.93 123.46 492.638 123.919C492.313 124.416 491.647 124.961 490.927 125.528C489.929 126.334 488.799 127.232 488.064 128.473C487.33 129.726 487.161 131.041 487.019 132.196C486.909 133.002 486.807 133.772 486.544 134.256C486.258 134.764 485.597 135.331 484.906 135.935C483.959 136.75 482.902 137.676 482.226 138.905C481.546 140.143 481.403 141.436 481.279 142.57C481.191 143.385 481.111 144.154 480.84 144.641C480.544 145.159 479.868 145.726 479.148 146.33C478.23 147.111 477.174 147.997 476.479 149.171C475.773 150.387 475.576 151.653 475.393 152.777C475.269 153.59 475.155 154.371 474.856 154.846C474.549 155.355 473.858 155.897 473.123 156.476C472.147 157.245 471.046 158.119 470.315 159.305C469.555 160.537 469.328 161.824 469.145 162.961C469.003 163.773 468.875 164.53 468.593 165.005C468.286 165.513 467.61 166.056 466.89 166.635C465.913 167.429 464.798 168.327 464.078 169.559C463.332 170.833 463.175 172.173 463.036 173.343C462.934 174.149 462.853 174.906 462.598 175.375C462.331 175.896 461.709 176.475 461.062 177.079C460.115 177.952 459.044 178.96 458.448 180.272C457.845 181.62 457.845 182.981 457.845 184.173C457.845 184.967 457.845 185.724 457.647 186.223C457.435 186.766 456.883 187.391 456.306 188.056C455.487 189 454.555 190.063 454.116 191.39C453.652 192.772 453.78 194.099 453.893 195.282C453.977 196.085 454.05 196.833 453.904 197.338C453.736 197.896 453.228 198.567 452.694 199.266C451.974 200.234 451.144 201.325 450.789 202.649C450.423 204.022 450.621 205.321 450.789 206.47C450.917 207.27 451.027 208.039 450.902 208.539C450.76 209.115 450.255 209.804 449.718 210.525C449.023 211.472 448.248 212.535 447.912 213.825C447.546 215.183 447.729 216.488 447.897 217.631C448.011 218.437 448.124 219.206 447.996 219.712C447.839 220.279 447.345 220.956 446.826 221.676C446.12 222.648 445.327 223.748 445.005 225.059C444.68 226.469 444.903 227.781 445.115 228.951C445.258 229.73 445.4 230.487 445.287 230.986C445.174 231.565 444.72 232.261 444.256 232.993C443.594 234.014 442.859 235.172 442.633 236.53C442.406 237.998 442.79 239.337 443.126 240.505C443.338 241.274 443.55 241.985 443.507 242.493C443.452 243.073 443.126 243.793 442.775 244.55C442.253 245.674 441.675 246.949 441.701 248.383C441.73 249.885 442.366 251.184 442.944 252.321C443.294 253.029 443.634 253.703 443.693 254.2C443.748 254.779 443.565 255.548 443.368 256.354C443.082 257.509 442.761 258.833 443.046 260.231C443.353 261.711 444.227 262.906 445.005 263.957C445.499 264.607 445.949 265.223 446.091 265.707C446.274 266.286 446.23 267.067 446.175 267.886C446.106 269.066 446.033 270.402 446.556 271.726C447.119 273.146 448.179 274.211 449.111 275.146C449.703 275.737 450.266 276.304 450.478 276.753C450.76 277.32 450.818 278.125 450.888 278.964C450.986 280.113 451.1 281.4 451.762 282.619C452.511 284.003 453.666 285.067 454.598 285.917C455.205 286.464 455.827 287.03 456.024 287.432C456.419 288.188 456.489 289.099 456.562 290.07C456.642 291.171 456.744 292.292 457.293 293.381C458.156 295.097 459.519 296.243 460.623 297.166C461.157 297.627 461.68 298.052 461.892 298.372C462.192 298.785 462.429 299.307 462.671 299.849C466.169 300.594 469.822 301.14 473.616 301.505C472.852 301.33 472.136 301.198 471.5 301.092C470.725 300.963 469.737 300.784 469.438 300.594C468.864 300.23 468.535 299.53 468.059 298.42C467.719 297.675 467.354 296.822 466.773 295.996C466.195 295.142 465.391 294.482 464.616 293.831C463.756 293.098 462.919 292.401 462.484 291.536C462.301 291.183 462.243 290.459 462.192 289.762C462.104 288.556 461.98 287.067 461.216 285.577C460.638 284.428 459.677 283.553 458.748 282.715C457.984 282.015 457.264 281.367 456.898 280.667C456.657 280.218 456.587 279.449 456.518 278.635C456.43 277.522 456.32 276.244 455.71 274.992C455.161 273.843 454.258 272.92 453.44 272.118C452.778 271.443 452.142 270.803 451.904 270.225C451.721 269.751 451.762 268.961 451.82 268.119C451.875 267.031 451.944 265.802 451.564 264.536C451.195 263.356 450.464 262.348 449.817 261.463C449.25 260.715 448.727 259.995 448.603 259.415C448.5 258.907 448.687 258.125 448.899 257.313C449.151 256.247 449.447 255.042 449.308 253.749C449.166 252.545 448.632 251.454 448.15 250.501C447.744 249.67 447.345 248.901 447.345 248.298C447.334 247.792 447.671 247.047 448.036 246.253C448.5 245.245 449.023 244.111 449.14 242.834C449.235 241.595 448.914 240.434 448.617 239.404C448.376 238.556 448.135 237.75 448.234 237.158C448.318 236.649 448.756 235.963 449.221 235.231C449.857 234.25 450.577 233.137 450.844 231.811C451.114 230.548 450.902 229.319 450.705 228.24C450.548 227.389 450.409 226.586 450.533 226.006C450.661 225.498 451.144 224.833 451.648 224.137C452.354 223.153 453.162 222.056 453.513 220.708C453.838 219.418 453.652 218.164 453.498 217.064C453.37 216.212 453.257 215.422 453.414 214.852C453.553 214.346 454.021 213.693 454.529 212.998C455.26 212.014 456.079 210.892 456.419 209.519C456.759 208.242 456.562 206.988 456.39 205.879C456.262 205.036 456.149 204.246 456.291 203.676C456.43 203.17 456.927 202.505 457.465 201.809C458.181 200.862 459 199.787 459.38 198.463C459.746 197.209 459.636 195.978 459.519 194.89C459.439 194.038 459.351 193.223 459.549 192.677C459.72 192.168 460.269 191.534 460.865 190.857C461.64 189.959 462.528 188.941 463.022 187.688C463.486 186.468 463.486 185.252 463.486 184.173C463.486 183.312 463.486 182.482 463.727 181.951C463.954 181.455 464.586 180.863 465.252 180.235C466.125 179.423 467.127 178.501 467.763 177.306C468.381 176.12 468.524 174.894 468.652 173.815C468.75 172.963 468.849 172.148 469.16 171.627C469.427 171.152 470.107 170.622 470.809 170.043C471.781 169.261 472.882 168.363 473.616 167.159C474.337 165.976 474.549 164.72 474.731 163.62C474.87 162.783 474.998 161.989 475.324 161.481C475.605 161.006 476.282 160.488 476.991 159.921C477.992 159.127 479.133 158.241 479.879 156.997C480.614 155.793 480.826 154.512 480.994 153.378C481.126 152.551 481.25 151.772 481.546 151.264C481.831 150.789 482.464 150.246 483.155 149.664C484.127 148.849 485.242 147.902 485.948 146.636C486.639 145.41 486.781 144.129 486.895 143.005C486.993 142.168 487.077 141.375 487.359 140.869C487.629 140.382 488.276 139.827 488.953 139.232C489.9 138.42 490.971 137.486 491.662 136.254C492.327 135.059 492.481 133.805 492.623 132.708C492.733 131.865 492.835 131.063 493.128 130.554C493.409 130.082 494.104 129.527 494.824 128.957C495.782 128.188 496.868 127.312 497.617 126.132C498.334 124.998 498.59 123.778 498.802 122.7C498.97 121.851 499.142 121.057 499.42 120.631C499.548 120.515 500.03 120.276 500.352 120.122C501.24 119.684 502.355 119.142 503.119 118.161C503.894 117.144 504.022 116.056 504.121 115.167C504.15 114.919 504.19 114.542 504.245 114.352C504.443 114.232 504.852 114.055 505.134 113.938C506.081 113.537 507.254 113.037 508.084 112.057C508.929 111.051 509.089 109.93 509.228 109.029C509.258 108.768 509.312 108.391 509.367 108.201C509.565 108.082 509.978 107.907 510.27 107.776C511.232 107.35 512.431 106.829 513.235 105.79C514.069 104.714 514.153 103.553 514.208 102.63C514.237 102.324 514.266 101.873 514.266 101.827C514.376 101.708 514.858 101.45 515.169 101.273C516.087 100.776 517.213 100.148 517.907 99.0356C518.584 97.914 518.54 96.7648 518.511 95.8424C518.496 95.5819 518.485 95.1927 518.511 95.0027C518.679 94.8617 519.059 94.6258 519.315 94.4603C519.71 94.2121 520.148 93.9393 520.558 93.6206C521.051 93.2161 521.53 92.7442 521.856 92.1405C522.448 91.0526 522.378 89.9647 522.305 89.0791V88.9963C522.291 88.7358 522.261 88.3681 522.276 88.1781C522.393 88.0862 522.62 87.9421 522.817 87.8134C524.777 82.7877 526.283 78.954 527.201 76.671Z\\\"],[14,\\\"fill\\\",\\\"url(#paint2_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M446.784 213.011C446.266 217.637 443.564 222.245 441.971 226.904C440.424 231.427 439.952 236.373 437.7 240.755C435.434 245.163 431.448 248.87 428.775 252.968C425.944 257.298 424.346 262.096 421.407 265.887C418.018 270.259 413.366 273.438 410.352 276.803C405.567 282.138 402.822 286.878 400.775 288.676C398.426 290.741 392.324 293.549 384.611 297.979C379.974 300.642 375.204 304.673 368.67 307.523C363.36 309.842 356.766 310.922 350.218 313.066C344.506 314.935 338.829 317.96 332.184 319.504C326.204 320.894 319.496 320.81 312.771 321.799C306.616 322.701 300.354 324.739 293.584 325.201C286.128 325.707 278.709 324.588 271.516 324.573C263.977 324.558 256.553 325.629 249.441 325.167C241.83 324.676 234.68 322.637 227.726 321.79C219.999 320.849 212.452 321.063 205.761 319.896C197.716 318.494 190.875 315.701 184.706 314.323C174.474 312.034 166.692 311.341 163.14 310.527C160.44 309.908 157.55 307.782 153.747 306.772C150.748 305.976 146.966 306.347 143.483 305.364C140.38 304.486 137.641 302.276 134.287 301.287C131.127 300.358 127.344 300.648 124.07 299.649C120.868 298.672 118.192 296.411 114.98 295.397C111.742 294.378 107.951 294.598 104.804 293.567C101.659 292.542 98.9957 290.34 95.7856 289.478C92.5417 288.609 88.8358 289.104 85.6085 288.386C82.28 287.641 79.3638 285.669 76.1429 285.063C72.7328 284.421 69.0809 285.159 65.896 284.644C62.3801 284.077 59.3222 282.255 56.2193 281.809C52.5033 281.269 48.8626 282.129 45.968 281.707C43.9685 281.414 42.2132 279.882 40.2918 279.743C38.2753 279.602 36.2222 280.868 34.29 280.847C32.2674 280.823 30.2783 279.508 28.3457 279.556C26.3203 279.608 24.3978 281.019 22.4684 281.082C20.443 281.146 18.442 279.855 16.5195 279.849C14.494 279.843 13.3637 280.135 11.4483 279.964C10.8486 279.909 9.54666 279.502 9.02033 279.445C8.41271 279.381 7.73259 279.774 7.21572 279.707C6.59935 279.626 6.21895 279.092 5.72036 279.008C5.08277 278.902 4.23651 279.469 3.76811 279.363C3.07446 279.207 2.76151 278.962 2.36873 278.818C0.994353 278.314 0.300276 278.076 1.1402 277.994C5.83897 277.91 9.52759 277.53 13.7353 277.075C18.2006 276.592 23.0454 275.359 27.4323 274.792C31.6792 274.246 36.1888 275.072 40.8131 274.765C44.9503 274.49 49.2947 273.037 54.0697 273.19C58.1566 273.323 62.3858 274.988 67.1559 275.588C71.206 276.098 75.8429 275.482 80.5179 276.423C90.4335 278.41 104.086 282.922 121.42 286.339C133.729 288.763 148.03 289.984 163.395 292.261C176.483 294.203 190.352 297.288 205.276 298.639C218.782 299.86 233.079 299.414 247.814 299.809C261.548 300.174 275.775 301.447 290.358 300.816C304.167 300.216 318.155 297.777 332.54 296.052C338.735 295.307 344.916 295.642 350.463 294.447C356.536 293.142 361.723 290.307 367.026 288.51C372.836 286.541 378.898 285.491 383.798 283.006C389.133 280.295 392.979 276.23 397.253 272.991C401.833 269.517 406.995 266.653 410.377 262.675C413.913 258.52 415.41 253.474 417.658 248.894C418.662 246.846 421.457 245.347 423.069 243.188C424.515 241.252 424.825 238.526 426.555 236.533C428.199 234.633 431.21 233.511 432.937 231.587C434.66 229.669 435.089 226.955 436.722 225.037C438.427 223.041 441.373 221.79 442.794 219.823C444.356 217.667 445.798 215.092 446.784 213.011Z\\\"],[14,\\\"fill\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M696.732 262.624C696.518 262.73 696.3 262.29 696.015 262.383C695.793 262.468 695.682 262.784 695.401 262.854C695.157 262.914 694.858 262.679 694.574 262.727C694.325 262.775 694.249 263.089 693.964 263.11C693.71 263.146 693.337 262.88 693.052 262.905C691.544 262.998 690.178 264.37 688.665 264.37C687.285 264.37 685.857 263.01 684.224 262.974C682.88 262.95 681.385 264.265 679.735 264.241C678.382 264.228 676.913 262.869 675.276 262.869C673.91 262.869 672.442 264.216 670.818 264.241C669.438 264.253 667.925 262.938 666.319 262.974C664.13 263.034 661.927 264.464 659.574 264.617C657.358 264.759 654.915 263.625 652.601 263.897C650.372 264.156 648.396 265.812 646.141 266.216C643.942 266.617 641.317 265.8 639.132 266.382C636.957 266.948 635.364 268.851 633.259 269.609C631.172 270.365 628.405 270.033 626.429 271.005C623.537 272.437 620.845 275.287 616.822 277.108C613.619 278.562 609.347 278.918 605.463 280.489C602.081 281.849 599.104 284.463 595.238 285.848C591.727 287.102 587.42 287.09 583.527 288.272C579.9 289.384 576.639 291.725 572.705 292.741C568.994 293.688 564.732 293.299 560.754 294.125C559.205 294.445 558.075 296.064 556.562 296.396C555.014 296.728 553.078 295.757 551.597 296.076C550.017 296.432 548.905 298.064 547.463 298.383C545.844 298.751 543.895 297.804 542.497 298.124C540.775 298.513 539.676 300.156 538.377 300.464C535.543 301.115 535.952 300.111 533.594 300.205C532.789 300.241 533.047 301.151 531.988 300.726C531.592 300.573 531.703 299.164 531.071 298.986C530.631 298.869 529.669 300.027 529.082 299.909C528.597 299.804 528.415 298.408 527.827 298.314C527.329 298.229 526.541 299.472 525.963 299.4C525.665 299.366 525.353 298.881 525.029 298.465C570.561 290.648 616.725 272.555 629.21 267.151C645.931 259.931 672.949 260.124 687.802 261.101C692.611 261.418 696.184 262.112 697.666 262.277C697.653 262.302 697.101 262.407 697.101 262.428C696.99 262.573 696.999 262.494 696.732 262.624Z\\\"],[14,\\\"fill\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M697.666 262.277C697.666 262.277 697.399 262.241 696.879 262.181C690.809 261.509 651.347 257.594 629.21 267.151C616.725 272.555 570.561 290.648 525.029 298.465C524.846 298.501 524.65 298.525 524.464 298.561C523.734 298.489 522.973 298.395 522.212 298.302C510.906 296.797 496.56 292.081 488.574 278.444C485.61 273.381 483.862 267.41 482.958 261.095C502.879 272.211 534.555 259.473 590.624 244.573C646.043 229.836 690.809 257.712 696.945 261.792C697.43 262.099 697.666 262.277 697.666 262.277Z\\\"],[14,\\\"fill\\\",\\\"url(#paint3_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M697.666 262.277C690.169 261.563 682.631 261.192 675.098 261.146C667.569 261.074 660.023 261.34 652.579 262.19C645.162 263.068 637.744 264.419 630.994 267.063C624.253 269.849 617.428 272.639 610.518 275.19C596.684 280.286 582.597 284.904 568.26 288.911C553.919 292.883 539.316 296.26 524.477 298.594L524.464 298.597L522.212 298.302L524.472 298.525H524.459C531.81 297.095 539.138 295.594 546.36 293.778C553.617 292.059 560.781 290.084 567.904 288.028C575.019 285.941 582.094 283.764 589.111 281.454C596.114 279.119 603.06 276.674 609.952 274.117C616.876 271.596 623.635 268.873 630.451 266.095C637.415 263.421 644.93 262.051 652.446 261.298C659.974 260.549 667.556 260.381 675.111 260.577C682.662 260.815 690.209 261.3 697.666 262.277Z\\\"],[14,\\\"fill\\\",\\\"url(#paint4_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M528.091 74.3893L427.314 230.181C427.314 230.181 422.401 286.686 316.812 286.686C302.025 286.686 288.227 285.516 275.43 283.493C196.816 271.111 155.886 226.868 155.886 226.868C172.633 223.202 252.01 240.906 289.144 250.678C326.278 260.444 345.949 254.341 379.438 244.575C412.411 234.956 524.594 79.2509 528.091 74.3893Z\\\"],[14,\\\"fill\\\",\\\"url(#paint5_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M531.638 73.4407L456.63 190.549C456.63 190.549 452.035 200.376 445.993 213.089C445.993 213.101 445.993 213.101 445.993 213.114C440.465 224.786 433.718 238.881 428.23 250.06C416.76 273.416 395.327 292.623 351.776 306.826C240.907 342.992 116.382 290.801 78.1466 283.126C39.9118 275.452 26.8045 277.533 1.14026 277.994C28.9911 260.596 54.1191 254.635 98.9007 253.262C143.683 251.892 172.634 272.493 268.758 282.11C364.882 291.724 385.638 232.215 417.847 157.586C450.074 82.9606 531.638 73.4407 531.638 73.4407Z\\\"],[14,\\\"fill\\\",\\\"url(#paint6_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M826.701 300.983C826.507 301.342 826.622 301.854 826.286 302.298C826.013 302.656 825.425 302.789 825.048 303.175C824.717 303.51 824.643 304.077 824.218 304.415C823.84 304.716 823.252 304.677 822.785 304.963C822.36 305.226 820.318 306.966 819.819 307.204C818.387 307.886 816.429 307.147 812.544 308.805C810.13 309.84 806.592 310.741 803.432 311.866C800.766 312.819 799.506 314.553 796.414 315.424C793.585 316.223 790.698 315.473 787.596 316.103C784.657 316.697 781.665 316.091 778.536 316.447C775.518 316.787 772.027 318.352 768.889 318.392C764.989 318.44 761.278 319.758 756.958 319.933C752.916 320.099 748.848 321.652 744.67 321.908C740.523 322.164 736.229 321.124 732.161 321.45C727.904 321.793 723.921 323.503 719.994 323.907C715.543 324.363 711.16 323.521 707.47 324.025C702.379 324.719 698.542 326.748 695.712 327.469C693.109 328.129 687.928 327.81 681.944 328.95C677.913 329.716 673.677 331.862 668.838 332.728C664.486 333.503 659.594 332.987 655.033 333.771C650.461 334.555 646.204 336.639 641.847 337.36C636.966 338.165 632.063 337.589 628.027 338.222C621.775 339.2 617.13 341.232 614.71 341.494C612.201 341.762 609.004 340.822 605.603 341.217C602.884 341.531 600.086 343.177 596.858 343.439C594.05 343.665 590.948 342.51 587.788 342.613C584.927 342.704 581.93 344.07 578.807 343.997C575.915 343.931 573.023 342.444 569.931 342.194C567.044 341.956 563.853 342.957 560.803 342.52C557.071 341.98 553.79 340.164 550.379 339.673C546.678 339.139 542.852 339.926 539.408 339.35C535.802 338.744 532.668 336.778 529.204 336.006C525.74 335.237 521.84 335.632 518.375 334.58C515.09 333.584 512.392 331.196 508.98 329.845C505.878 328.612 501.946 328.397 498.639 326.79C495.159 325.098 492.623 321.857 489.238 319.384C486.115 317.098 481.942 315.503 479.014 312.795C476.15 310.153 474.628 306.504 472.049 303.682C469.379 300.76 465.58 298.576 463.317 295.7C460.788 292.482 459.911 288.673 458.029 285.829C455.467 281.954 452.122 279.132 451.093 276.692C450.115 274.364 450.625 270.275 449.64 265.694C448.942 262.437 446.686 258.966 446.063 255.076C445.506 251.569 446.581 247.736 446.143 244.039C445.704 240.363 443.74 236.781 443.47 233.222C443.175 229.347 444.588 225.584 444.553 222.225C444.502 217.825 445.47 215.825 445.991 213.09C446.111 212.478 447.866 215.997 448.38 219.157C448.895 222.291 447.988 225.647 448.762 228.792C449.525 231.874 451.949 234.676 452.867 237.8C453.766 240.855 453.169 244.262 454.133 247.384C455.072 250.426 457.569 253.18 458.486 256.313C459.965 261.349 460.202 266.409 462.185 270.718C464.415 275.573 468.368 279.418 471.063 283.426C474.132 287.986 476.114 292.768 479.521 296.333C483.478 300.479 488.727 303.066 492.735 306.025C497.715 309.698 501.626 313.606 505.92 315.753C515.126 320.352 514.349 317.96 522.501 320.626C529.524 322.924 527.01 324.248 535.66 327.053C539.702 328.364 545.025 328.497 550.463 329.797C554.956 330.873 559.512 333.183 564.766 334.006C569.495 334.746 574.708 334.013 579.92 334.377C584.775 334.721 589.772 336.202 594.942 336.081C599.845 335.967 604.721 334.281 609.818 333.636C617.56 332.656 625.324 332.833 632.646 331.594C640.236 330.312 647.327 327.616 654.692 326.208C662.15 324.779 669.903 324.634 677.367 323.232C684.737 321.848 691.844 319.203 699.455 317.997C706.788 316.833 714.546 317.11 722.314 316.251C729.642 315.437 737.053 313.455 744.943 313.03C749.819 312.768 754.659 313.766 759.178 313.368C764.075 312.94 768.563 311.112 773.014 310.566C777.959 309.96 782.882 310.621 787.239 309.927C792.273 309.131 796.561 306.981 800.745 306.148C806.02 305.102 811.075 305.533 814.822 304.418C823.095 301.954 827.976 299.979 827.976 299.979C827.572 300.211 827.137 300.205 826.701 300.983Z\\\"],[14,\\\"fill\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M827.977 299.979C827.074 300.407 797.727 314.206 747.725 316.905C696.93 319.647 657.059 332.93 610.096 338.877C563.123 344.827 517.258 329.263 517.258 329.263C517.258 329.263 467.552 312.789 451.708 258.764C445.938 239.049 444.934 219.073 446.798 200.198C449.999 167.322 461.81 137.755 471.927 118.681C491.58 81.5898 528.175 74.2684 528.175 74.2684C528.175 74.2684 534.947 70.4625 547.056 64.4302C560.724 57.606 593.714 4.2222 605.734 0.565887C617.739 -3.09921 627.843 12.2388 627.843 12.2388L608.275 27.1632C606.721 28.8088 605.099 30.4279 603.42 32.0031C593.179 41.652 552.615 81.3082 559.302 98.525C566.95 118.219 556.027 186.882 549.471 207.249C549.072 208.479 548.678 209.755 548.279 211.079C542.174 231.633 536.684 262.703 541.833 288.52C547.297 315.995 568.052 324.07 585.515 328.199C602.994 332.315 639.711 324.981 661.988 321.48C727.464 311.17 825.877 300.205 827.977 299.979Z\\\"],[14,\\\"fill\\\",\\\"url(#paint7_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M275.452 283.498L266.878 282.053C264.027 281.544 261.136 281.149 258.345 280.428L249.915 278.435L247.807 277.934C247.11 277.753 246.428 277.533 245.737 277.334L241.605 276.113C230.526 272.976 219.946 268.706 209.693 264.017C199.473 259.252 189.793 253.683 180.716 247.519C176.173 244.44 171.838 241.15 167.619 237.769C163.518 234.286 159.466 230.749 155.907 226.874C163.569 234.241 172.25 240.8 181.394 246.81C190.561 252.793 200.172 258.333 210.383 262.986C220.517 267.735 231.034 271.96 241.975 275.262L246.054 276.553C246.736 276.764 247.41 276.996 248.099 277.189L250.184 277.726L258.526 279.873C261.281 280.675 264.138 281.155 266.961 281.749L275.452 283.498Z\\\"],[14,\\\"fill\\\",\\\"url(#paint8_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M446.014 213.095V213.12L434.405 238.101L428.559 250.582C426.526 254.735 424.188 258.785 421.511 262.684C420.849 263.661 420.098 264.596 419.392 265.552C418.687 266.508 417.961 267.455 417.158 268.356L414.82 271.107L412.302 273.742L411.035 275.054L409.69 276.309L406.988 278.815L404.128 281.194L402.696 282.382L401.192 283.504C393.209 289.538 384.28 294.643 374.876 298.965C365.454 303.274 355.615 306.902 345.473 309.818L341.689 310.961L337.839 311.935C335.267 312.565 332.724 313.283 330.128 313.844L322.323 315.466C319.73 316.042 317.075 316.377 314.454 316.841L310.509 317.493C309.192 317.701 307.862 317.836 306.538 318.014C303.886 318.334 301.242 318.708 298.583 318.982L290.589 319.685C287.927 319.953 285.245 320.005 282.575 320.174C271.882 320.71 261.149 320.759 250.459 320.237C229.064 319.263 207.871 316.365 187.033 312.387C166.208 308.328 145.713 303.175 125.561 297.288C115.473 294.375 105.454 291.302 95.4028 288.356C90.3749 286.896 85.3336 285.461 80.2344 284.276C75.1234 283.127 69.9012 282.183 64.7095 281.245C59.4981 280.365 54.2694 279.544 49.0004 278.95C43.7325 278.362 38.4343 277.961 33.1193 277.786C22.4867 277.436 11.821 277.952 1.16101 278C11.8135 277.699 22.4511 276.966 33.1416 277.159C38.4829 277.246 43.821 277.56 49.1328 278.067C54.4457 278.573 59.7197 279.309 64.9782 280.105C70.2242 280.98 75.4378 281.881 80.6413 282.991C85.8337 284.14 90.9145 285.527 95.9781 286.942C106.096 289.794 116.146 292.759 126.257 295.563C146.476 301.166 166.858 306.359 187.605 310.288C208.346 314.178 229.407 316.974 250.612 317.879C261.205 318.43 271.832 318.418 282.419 317.924C285.063 317.764 287.72 317.725 290.353 317.465L298.265 316.796C300.897 316.534 303.514 316.172 306.138 315.864C307.448 315.695 308.765 315.563 310.069 315.364L313.971 314.73C316.565 314.278 319.194 313.958 321.759 313.397L329.483 311.82C332.051 311.274 334.569 310.575 337.113 309.96L340.922 309.007L344.668 307.891C347.157 307.131 349.672 306.431 352.143 305.623L359.504 303.102L366.753 300.367L373.851 297.373C383.194 293.199 392.065 288.256 400.009 282.394L401.505 281.305L402.93 280.15L405.783 277.837L408.474 275.398L409.819 274.177L411.082 272.895L413.604 270.326L415.946 267.639C416.748 266.758 417.479 265.832 418.184 264.894C418.892 263.96 419.648 263.046 420.328 262.093C423.062 258.29 425.469 254.322 427.581 250.242L433.714 237.866L446.014 213.12V213.095Z\\\"],[14,\\\"fill\\\",\\\"url(#paint9_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M828 299.984C823.465 302.116 818.688 303.859 813.869 305.493C809.04 307.113 804.106 308.518 799.13 309.785C789.167 312.309 778.989 314.233 768.701 315.599C758.417 316.998 747.966 317.535 737.683 318.352C727.379 319.251 717.144 320.632 706.976 322.284C686.63 325.62 666.558 330.083 646.296 334.039C636.16 336.005 625.966 337.812 615.683 339.262C610.565 340.028 605.337 340.565 600.125 340.969C597.505 341.093 594.891 341.252 592.277 341.346L584.419 341.385C563.47 340.942 542.736 337.616 522.899 332.103C520.411 331.382 517.971 330.716 515.493 329.766C514.265 329.317 513.115 328.786 511.929 328.294L508.48 326.678C503.945 324.443 499.656 321.892 495.521 319.187C487.293 313.726 479.929 307.354 473.723 300.273C467.492 293.202 462.405 285.485 458.21 277.458L455.465 271.303C455.026 270.271 454.505 269.264 454.137 268.212L453.073 265.054L450.954 258.734C450.368 256.605 449.795 254.472 449.314 252.322C445.428 235.146 444.806 217.531 446.82 200.204C445.442 217.568 446.352 235.106 450.673 252.096C451.202 254.219 451.785 256.33 452.4 258.438L454.591 264.668L455.692 267.783C456.07 268.818 456.602 269.807 457.048 270.82L459.847 276.872C464.107 284.749 469.23 292.294 475.453 299.179L480.306 304.212L485.559 308.952L491.128 313.428C493.089 314.821 495.028 316.238 497.031 317.583C501.1 320.216 505.31 322.701 509.74 324.866L513.105 326.425C514.244 326.895 515.377 327.411 516.532 327.83C518.784 328.686 521.293 329.371 523.718 330.062C543.324 335.442 563.869 338.65 584.472 339.021L592.198 339.012C594.771 338.927 597.337 338.78 599.909 338.668C605.033 338.285 610.13 337.785 615.242 337.037C625.457 335.631 635.604 333.87 645.724 331.943C665.949 328.105 686.063 323.578 706.577 320.505C716.818 318.949 727.133 317.667 737.51 316.871C747.919 316.16 758.234 315.723 768.501 314.459C778.758 313.274 788.936 311.531 798.92 309.185C803.912 308.012 808.856 306.688 813.717 305.162C818.573 303.642 823.396 302.01 828 299.984Z\\\"],[14,\\\"fill\\\",\\\"url(#paint10_linear_1229_33162)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint0_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"488.792\\\"],[14,\\\"y1\\\",\\\"297.409\\\"],[14,\\\"x2\\\",\\\"486.711\\\"],[14,\\\"y2\\\",\\\"222.329\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#B88133\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint1_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"459.915\\\"],[14,\\\"y1\\\",\\\"145.998\\\"],[14,\\\"x2\\\",\\\"442.545\\\"],[14,\\\"y2\\\",\\\"292.434\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#B88133\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint2_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"494.513\\\"],[14,\\\"y1\\\",\\\"142.205\\\"],[14,\\\"x2\\\",\\\"476.862\\\"],[14,\\\"y2\\\",\\\"291.015\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#FBD494\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#B88133\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint3_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"826.293\\\"],[14,\\\"y1\\\",\\\"191.579\\\"],[14,\\\"x2\\\",\\\"592.902\\\"],[14,\\\"y2\\\",\\\"207.673\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F7D846\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint4_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"845.622\\\"],[14,\\\"y1\\\",\\\"185.089\\\"],[14,\\\"x2\\\",\\\"671.858\\\"],[14,\\\"y2\\\",\\\"258.932\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint5_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"191.886\\\"],[14,\\\"y1\\\",\\\"153.573\\\"],[14,\\\"x2\\\",\\\"381.443\\\"],[14,\\\"y2\\\",\\\"176.054\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F7D846\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint6_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"157.087\\\"],[14,\\\"y1\\\",\\\"310.612\\\"],[14,\\\"x2\\\",\\\"330.826\\\"],[14,\\\"y2\\\",\\\"125.751\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint7_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"950.483\\\"],[14,\\\"y1\\\",\\\"227.613\\\"],[14,\\\"x2\\\",\\\"921.332\\\"],[14,\\\"y2\\\",\\\"-311.421\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint8_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"155.392\\\"],[14,\\\"y1\\\",\\\"234.57\\\"],[14,\\\"x2\\\",\\\"280.183\\\"],[14,\\\"y2\\\",\\\"306.19\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint9_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"59.9456\\\"],[14,\\\"y1\\\",\\\"251.933\\\"],[14,\\\"x2\\\",\\\"372.946\\\"],[14,\\\"y2\\\",\\\"274.702\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint10_linear_1229_33162\\\"],[14,\\\"x1\\\",\\\"663.697\\\"],[14,\\\"y1\\\",\\\"105.957\\\"],[14,\\\"x2\\\",\\\"1042.58\\\"],[14,\\\"y2\\\",\\\"252.767\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F3D623\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#F5B723\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\",\\\"defs\\\",\\\"linearGradient\\\",\\\"stop\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/banana.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"banana\"));\n});","define(\"scaleflow/components/atoms/icons/board\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"ck6kEyUY\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 4H10\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 4H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 10C4 9.46957 4.21071 8.96086 4.58579 8.58579C4.96086 8.21071 5.46957 8 6 8H8C8.53043 8 9.03914 8.21071 9.41421 8.58579C9.78929 8.96086 10 9.46957 10 10V18C10 18.5304 9.78929 19.0391 9.41421 19.4142C9.03914 19.7893 8.53043 20 8 20H6C5.46957 20 4.96086 19.7893 4.58579 19.4142C4.21071 19.0391 4 18.5304 4 18V10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 10C14 9.46957 14.2107 8.96086 14.5858 8.58579C14.9609 8.21071 15.4696 8 16 8H18C18.5304 8 19.0391 8.21071 19.4142 8.58579C19.7893 8.96086 20 9.46957 20 10V12C20 12.5304 19.7893 13.0391 19.4142 13.4142C19.0391 13.7893 18.5304 14 18 14H16C15.4696 14 14.9609 13.7893 14.5858 13.4142C14.2107 13.0391 14 12.5304 14 12V10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/board.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"board\"));\n});","define(\"scaleflow/components/atoms/icons/bookmark\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"GaiisNTM\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[16,\\\"width\\\",[28,[37,1],[[30,1],\\\"24\\\"],null]],[16,\\\"height\\\",[28,[37,1],[[30,2],\\\"24\\\"],null]],[17,3],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_2336_15839)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 4H15C15.5304 4 16.0391 4.21071 16.4142 4.58579C16.7893 4.96086 17 5.46957 17 6V20L12 17L7 20V6C7 5.46957 7.21071 4.96086 7.58579 4.58579C7.96086 4.21071 8.46957 4 9 4Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_2336_15839\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"fill\\\",\\\"white\\\"],[15,\\\"width\\\",[28,[37,1],[[30,1],\\\"24\\\"],null]],[15,\\\"height\\\",[28,[37,1],[[30,2],\\\"24\\\"],null]],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@width\\\",\\\"@height\\\",\\\"&attrs\\\"],[\\\"svg\\\",\\\"or\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/bookmark.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"bookmark\"));\n});","define(\"scaleflow/components/atoms/icons/business-plan\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"bEg9dtbe\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 9C18.7614 9 21 7.65685 21 6C21 4.34315 18.7614 3 16 3C13.2386 3 11 4.34315 11 6C11 7.65685 13.2386 9 16 9Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 6V10C11 11.657 13.239 13 16 13C18.761 13 21 11.657 21 10V6\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 10V14C11 15.657 13.239 17 16 17C18.761 17 21 15.657 21 14V10\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 14V18C11 19.657 13.239 21 16 21C18.761 21 21 19.657 21 18V14\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7 9H4.5C4.10218 9 3.72064 9.15804 3.43934 9.43934C3.15804 9.72064 3 10.1022 3 10.5C3 10.8978 3.15804 11.2794 3.43934 11.5607C3.72064 11.842 4.10218 12 4.5 12H5.5C5.89782 12 6.27936 12.158 6.56066 12.4393C6.84196 12.7206 7 13.1022 7 13.5C7 13.8978 6.84196 14.2794 6.56066 14.5607C6.27936 14.842 5.89782 15 5.5 15H3\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 15V16M5 8V9\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/business-plan.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"business-plan\"));\n});","define(\"scaleflow/components/atoms/icons/calculator\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"GA7Ci7r7\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 3H6C4.89543 3 4 3.89543 4 5V19C4 20.1046 4.89543 21 6 21H18C19.1046 21 20 20.1046 20 19V5C20 3.89543 19.1046 3 18 3Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 7H9C8.44772 7 8 7.44772 8 8V9C8 9.55228 8.44772 10 9 10H15C15.5523 10 16 9.55228 16 9V8C16 7.44772 15.5523 7 15 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 14V14.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/calculator.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"calculator\"));\n});","define(\"scaleflow/components/atoms/icons/calendar\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"u0MnySOQ\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/calendar.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"calendar\"));\n});","define(\"scaleflow/components/atoms/icons/check-in\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"M264Qm8z\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3.5 5.5L5 7L7.5 4.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3.5 11.5L5 13L7.5 10.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3.5 17.5L5 19L7.5 16.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 6H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 12H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 18H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/check-in.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"check-in\"));\n});","define(\"scaleflow/components/atoms/icons/check\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"dZJ33cWv\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M5 13l4 4L19 7\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/check.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"check\"));\n});","define(\"scaleflow/components/atoms/icons/checkbox-fill\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"0Wo+w2D/\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"width\\\",\\\"16\\\"],[24,\\\"height\\\",\\\"16\\\"],[24,\\\"viewBox\\\",\\\"0 0 16 16\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12.2069 4.79303C12.3944 4.98056 12.4997 5.23487 12.4997 5.50003C12.4997 5.76519 12.3944 6.0195 12.2069 6.20703L7.20692 11.207C7.01939 11.3945 6.76508 11.4998 6.49992 11.4998C6.23475 11.4998 5.98045 11.3945 5.79292 11.207L3.79292 9.20703C3.61076 9.01843 3.50997 8.76583 3.51224 8.50363C3.51452 8.24143 3.61969 7.99062 3.8051 7.80521C3.99051 7.6198 4.24132 7.51463 4.50352 7.51236C4.76571 7.51008 5.01832 7.61087 5.20692 7.79303L6.49992 9.08603L10.7929 4.79303C10.9804 4.60556 11.2348 4.50024 11.4999 4.50024C11.7651 4.50024 12.0194 4.60556 12.2069 4.79303Z\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/checkbox-fill.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"checkbox-fill\"));\n});","define(\"scaleflow/components/atoms/icons/checklist\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"jTY1D2oa\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 5H21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 9H18\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 15H21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 19H18\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 4H4C3.44772 4 3 4.44772 3 5V9C3 9.55228 3.44772 10 4 10H8C8.55228 10 9 9.55228 9 9V5C9 4.44772 8.55228 4 8 4Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 14H4C3.44772 14 3 14.4477 3 15V19C3 19.5523 3.44772 20 4 20H8C8.55228 20 9 19.5523 9 19V15C9 14.4477 8.55228 14 8 14Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/checklist.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"checklist\"));\n});","define(\"scaleflow/components/atoms/icons/chevron/down\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"hGabEzGb\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M7.29289 9.29289C7.68342 8.90237 8.31658 8.90237 8.7071 9.29289L12 12.5858L15.2929 9.29289C15.6834 8.90237 16.3166 8.90237 16.7071 9.29289C17.0976 9.68342 17.0976 10.3166 16.7071 10.7071L12.7071 14.7071C12.3166 15.0976 11.6834 15.0976 11.2929 14.7071L7.29289 10.7071C6.90237 10.3166 6.90237 9.68342 7.29289 9.29289Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/chevron/down.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"down\"));\n});","define(\"scaleflow/components/atoms/icons/chevron/left\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"ZVuWh7qq\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M15 19l-7-7 7-7\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/chevron/left.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"left\"));\n});","define(\"scaleflow/components/atoms/icons/chevron/right\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"DbY4ApPK\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M9 5l7 7-7 7\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/chevron/right.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"right\"));\n});","define(\"scaleflow/components/atoms/icons/chevron/up\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"zhC+Wlvp\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M16.7071 14.7071C16.3166 15.0976 15.6834 15.0976 15.2929 14.7071L12 11.4142L8.7071 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071C6.90237 14.3166 6.90237 13.6834 7.29289 13.2929L11.2929 9.29289C11.6834 8.90237 12.3166 8.90237 12.7071 9.29289L16.7071 13.2929C17.0976 13.6834 17.0976 14.3166 16.7071 14.7071Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/chevron/up.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"up\"));\n});","define(\"scaleflow/components/atoms/icons/clipboard\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"Cmb9LnG0\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 5H7C6.46957 5 5.96086 5.21071 5.58579 5.58579C5.21071 5.96086 5 6.46957 5 7V19C5 19.5304 5.21071 20.0391 5.58579 20.4142C5.96086 20.7893 6.46957 21 7 21H17C17.5304 21 18.0391 20.7893 18.4142 20.4142C18.7893 20.0391 19 19.5304 19 19V7C19 6.46957 18.7893 5.96086 18.4142 5.58579C18.0391 5.21071 17.5304 5 17 5H15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 3H11C9.89543 3 9 3.89543 9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5C15 3.89543 14.1046 3 13 3Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 12H9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 12H15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 16H9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 16H15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/clipboard.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"clipboard\"));\n});","define(\"scaleflow/components/atoms/icons/clock\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"VE6dvsmP\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_1119_12007)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 7V12L15 15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_1119_12007\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/clock.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"clock\"));\n});","define(\"scaleflow/components/atoms/icons/close\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"fPF9NlEU\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/close.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"close\"));\n});","define(\"scaleflow/components/atoms/icons/comment\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"u4QW7P1u\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 12C21 16.418 16.97 20 12 20C10.5286 20.005 9.07479 19.6808 7.745 19.051L3 20L4.395 16.28C3.512 15.042 3 13.574 3 12C3 7.582 7.03 4 12 4C16.97 4 21 7.582 21 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/comment.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"comment\"));\n});","define(\"scaleflow/components/atoms/icons/copy\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"04w9V83z\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 16H6C5.46957 16 4.96086 15.7893 4.58579 15.4142C4.21071 15.0391 4 14.5304 4 14V6C4 5.46957 4.21071 4.96086 4.58579 4.58579C4.96086 4.21071 5.46957 4 6 4H14C14.5304 4 15.0391 4.21071 15.4142 4.58579C15.7893 4.96086 16 5.46957 16 6V8M10 20H18C18.5304 20 19.0391 19.7893 19.4142 19.4142C19.7893 19.0391 20 18.5304 20 18V10C20 9.46957 19.7893 8.96086 19.4142 8.58579C19.0391 8.21071 18.5304 8 18 8H10C9.46957 8 8.96086 8.21071 8.58579 8.58579C8.21071 8.96086 8 9.46957 8 10V18C8 18.5304 8.21071 19.0391 8.58579 19.4142C8.96086 19.7893 9.46957 20 10 20Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/copy.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"copy\"));\n});","define(\"scaleflow/components/atoms/icons/create\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"Vr+X/oms\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M12 6v6m0 0v6m0-6h6m-6 0H6\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/create.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"create\"));\n});","define(\"scaleflow/components/atoms/icons/danger\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"OaL5xQiI\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 9V11M12 15H12.01M5.07183 19H18.9282C20.4678 19 21.4301 17.3333 20.6603 16L13.7321 4C12.9623 2.66667 11.0378 2.66667 10.268 4L3.33978 16C2.56998 17.3333 3.53223 19 5.07183 19Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/danger.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"danger\"));\n});","define(\"scaleflow/components/atoms/icons/dashboard\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"TiAcwr5l\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 12.5C12.2761 12.5 12.5 12.2761 12.5 12C12.5 11.7239 12.2761 11.5 12 11.5C11.7239 11.5 11.5 11.7239 11.5 12C11.5 12.2761 11.7239 12.5 12 12.5Z\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 3V5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 12H5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 19V21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 12H21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/dashboard.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"dashboard\"));\n});","define(\"scaleflow/components/atoms/icons/delete\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n */\n {\n \"id\": \"2QLlBGLu\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 7H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 11V17\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 11V17\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 7L6 19C6 19.5304 6.21071 20.0391 6.58579 20.4142C6.96086 20.7893 7.46957 21 8 21H16C16.5304 21 17.0391 20.7893 17.4142 20.4142C17.7893 20.0391 18 19.5304 18 19L19 7\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 7V4C9 3.73478 9.10536 3.48043 9.29289 3.29289C9.48043 3.10536 9.73478 3 10 3H14C14.2652 3 14.5196 3.10536 14.7071 3.29289C14.8946 3.48043 15 3.73478 15 4V7\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/delete.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"delete\"));\n});","define(\"scaleflow/components/atoms/icons/document\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"gW1Tk2ET\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 13C5.78309 13.2119 7.44305 14.0175 8.71276 15.2872C9.98247 16.557 10.7881 18.2169 11 20C11.8839 19.4904 12.6233 18.7638 13.1482 17.8889C13.6732 17.014 13.9663 16.0197 14 15C15.6791 14.4093 17.1454 13.334 18.2133 11.91C19.2813 10.486 19.9031 8.77734 20 7C20 6.20435 19.6839 5.44129 19.1213 4.87868C18.5587 4.31607 17.7956 4 17 4C15.2227 4.09691 13.514 4.71867 12.09 5.78665C10.666 6.85464 9.59069 8.32089 9 10C7.98026 10.0337 6.98596 10.3268 6.11106 10.8518C5.23617 11.3767 4.50959 12.1161 4 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7.00048 14C5.95971 14.5876 5.11814 15.4726 4.58364 16.5416C4.04914 17.6106 3.84608 18.8148 4.00048 20C5.18564 20.1544 6.38991 19.9513 7.4589 19.4168C8.5279 18.8823 9.41291 18.0408 10.0005 17\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 10C15.5523 10 16 9.55228 16 9C16 8.44772 15.5523 8 15 8C14.4477 8 14 8.44772 14 9C14 9.55228 14.4477 10 15 10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/document.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"document\"));\n});","define(\"scaleflow/components/atoms/icons/drag\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"ggsGN5Cp\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM9 16C7.9 16 7 16.9 7 18C7 19.1 7.9 20 9 20C10.1 20 11 19.1 11 18C11 16.9 10.1 16 9 16Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M15 8C16.1 8 17 7.1 17 6C17 4.9 16.1 4 15 4C13.9 4 13 4.9 13 6C13 7.1 13.9 8 15 8ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/drag.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"drag\"));\n});","define(\"scaleflow/components/atoms/icons/edit-arrow\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"zY+q0Diz\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 11L5 15M5 15L9 19M5 15H16C17.0609 15 18.0783 14.5786 18.8284 13.8284C19.5786 13.0783 20 12.0609 20 11C20 9.93913 19.5786 8.92172 18.8284 8.17157C18.0783 7.42143 17.0609 7 16 7H15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/edit-arrow.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"edit-arrow\"));\n});","define(\"scaleflow/components/atoms/icons/edit\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"JTRQEw78\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14.8727 5.9803L18.0157 9.11708L14.8727 5.9803ZM16.206 4.64965C16.6228 4.23369 17.1881 4 17.7775 4C18.367 4 18.9323 4.23369 19.3491 4.64965C19.7658 5.06561 20 5.62978 20 6.21804C20 6.8063 19.7658 7.37047 19.3491 7.78643L7.11105 20H4V16.8313L16.206 4.64965V4.64965Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/edit.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"edit\"));\n});","define(\"scaleflow/components/atoms/icons/email\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"tiy5uTuC\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 12C16 10.9391 15.5786 9.92172 14.8284 9.17158C14.0783 8.42143 13.0609 8 12 8C10.9391 8 9.92172 8.42143 9.17158 9.17158C8.42143 9.92172 8 10.9391 8 12C8 13.0609 8.42143 14.0783 9.17158 14.8284C9.92172 15.5786 10.9391 16 12 16C13.0609 16 14.0783 15.5786 14.8284 14.8284C15.5786 14.0783 16 13.0609 16 12ZM16 12V13.5C16 14.163 16.2634 14.7989 16.7322 15.2678C17.2011 15.7366 17.837 16 18.5 16C19.163 16 19.7989 15.7366 20.2678 15.2678C20.7366 14.7989 21 14.163 21 13.5V12C21 10.22 20.4722 8.47991 19.4832 6.99987C18.4943 5.51983 17.0887 4.36628 15.4442 3.68509C13.7996 3.0039 11.99 2.82567 10.2442 3.17294C8.49836 3.5202 6.89472 4.37737 5.63604 5.63604C4.37737 6.89472 3.5202 8.49836 3.17294 10.2442C2.82567 11.99 3.0039 13.7996 3.68509 15.4442C4.36628 17.0887 5.51983 18.4943 6.99987 19.4832C8.47991 20.4722 10.22 21 12 21C13.5802 21.0016 15.1327 20.5862 16.5 19.794\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/email.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"email\"));\n});","define(\"scaleflow/components/atoms/icons/euro\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"uRdECp6O\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17.2001 7C16.3562 6.03533 15.2869 5.38281 14.1264 5.12426C12.9659 4.8657 11.7658 5.01262 10.6766 5.5466C9.5874 6.08058 8.65755 6.97784 8.00367 8.12587C7.34979 9.27391 7.00098 10.6216 7.00098 12C7.00098 13.3784 7.34979 14.7261 8.00367 15.8741C8.65755 17.0222 9.5874 17.9194 10.6766 18.4534C11.7658 18.9874 12.9659 19.1343 14.1264 18.8758C15.2869 18.6172 16.3562 17.9647 17.2001 17\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 10H5M5 14H13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/euro.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"euro\"));\n});","define(\"scaleflow/components/atoms/icons/expand\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"ZIMxqOJ4\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_397_6834)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 20H20V16\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 14L20 20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 4H4V8\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 4L10 10\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_397_6834\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/expand.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"expand\"));\n});","define(\"scaleflow/components/atoms/icons/external-link\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"Q+kTsHMz\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip1_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 7H6C5.46957 7 4.96086 7.21071 4.58579 7.58579C4.21071 7.96086 4 8.46957 4 9V18C4 18.5304 4.21071 19.0391 4.58579 19.4142C4.96086 19.7893 5.46957 20 6 20H15C15.5304 20 16.0391 19.7893 16.4142 19.4142C16.7893 19.0391 17 18.5304 17 18V13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 14L20 4\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 4H20V9\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip1_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/external-link.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"external-link\"));\n});","define(\"scaleflow/components/atoms/icons/eye-on\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"i8bh92S+\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12V12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M2.45801 12C3.73201 7.943 7.52301 5 12 5C16.478 5 20.268 7.943 21.542 12C20.268 16.057 16.478 19 12 19C7.52301 19 3.73201 16.057 2.45801 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/eye-on.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"eye-on\"));\n});","define(\"scaleflow/components/atoms/icons/filter\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"X9ymzmjC\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5.50011 5H18.5001C18.6441 5.05051 18.7747 5.13331 18.8817 5.24206C18.9888 5.35082 19.0696 5.48264 19.1178 5.62742C19.1661 5.77221 19.1806 5.92612 19.1602 6.07737C19.1398 6.22861 19.085 6.37318 19.0001 6.5L14.0001 12V19L10.0001 16V12L5.00011 6.5C4.9152 6.37318 4.86044 6.22861 4.84004 6.07737C4.81963 5.92612 4.83411 5.77221 4.88237 5.62742C4.93063 5.48264 5.01139 5.35082 5.11847 5.24206C5.22554 5.13331 5.35609 5.05051 5.50011 5Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/filter.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"filter\"));\n});","define(\"scaleflow/components/atoms/icons/flag\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"2rw6m7dL\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 21H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 21V3\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 4L19 8L10 12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/flag.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"flag\"));\n});","define(\"scaleflow/components/atoms/icons/hamburger\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"vcukkEsk\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 18H20M4 6H20H4ZM4 12H20H4Z\\\"],[14,\\\"stroke\\\",\\\"#4B5563\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/hamburger.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"hamburger\"));\n});","define(\"scaleflow/components/atoms/icons/hashtag\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"cz7Ewto/\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 9H19\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 15H19\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11 4L7 20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 4L13 20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/hashtag.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"hashtag\"));\n});","define(\"scaleflow/components/atoms/icons/help\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"p4h4OwOG\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 17V17.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 13.5C11.9816 13.1754 12.0692 12.8536 12.2495 12.583C12.4299 12.3125 12.6933 12.1079 13 12C13.3759 11.8563 13.7132 11.6272 13.9856 11.331C14.2579 11.0347 14.4577 10.6792 14.5693 10.2926C14.6809 9.90597 14.7013 9.49871 14.6287 9.10288C14.5562 8.70705 14.3928 8.33346 14.1513 8.01153C13.9099 7.68959 13.597 7.4281 13.2373 7.24763C12.8776 7.06716 12.4809 6.97265 12.0785 6.97154C11.6761 6.97042 11.2789 7.06273 10.9182 7.2412C10.5576 7.41967 10.2432 7.67942 10 8.00001\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/help.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"help\"));\n});","define(\"scaleflow/components/atoms/icons/highlight\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"ezshs28o\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"currentColor\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"x\\\",\\\"3\\\"],[14,\\\"y\\\",\\\"3\\\"],[14,\\\"width\\\",\\\"18\\\"],[14,\\\"height\\\",\\\"18\\\"],[14,\\\"rx\\\",\\\"2\\\"],[14,\\\"fill\\\",\\\"#EFF6FF\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7.76504 18C7.48684 18 7.27323 17.8771 7.1242 17.6312C6.97516 17.3854 6.96026 17.1242 7.07948 16.8476L11.2673 6.53777C11.4164 6.17926 11.6598 6 11.9976 6C12.3553 6 12.5987 6.17926 12.7279 6.53777L16.9306 16.8784C17.0399 17.1652 17.0201 17.4264 16.871 17.662C16.7319 17.8873 16.5183 18 16.2302 18C16.0811 18 15.9371 17.959 15.798 17.8771C15.6688 17.7849 15.5744 17.662 15.5148 17.5083L11.8188 8.04353H12.2361L8.48041 17.5083C8.41086 17.6722 8.30653 17.7951 8.16743 17.8771C8.03827 17.959 7.90414 18 7.76504 18ZM8.55492 15.3572L9.15106 14.0359H14.9932L15.5893 15.3572H8.55492Z\\\"],[14,\\\"fill\\\",\\\"#6B7280\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"rect\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/highlight.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"highlight\"));\n});","define(\"scaleflow/components/atoms/icons/homepage\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"YWIHwTbA\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.6475 11.9681C10.6475 12.5214 11.0908 12.9699 11.6372 12.9699C12.184 12.9699 12.6272 12.5214 12.6272 11.9681C12.6272 11.4151 12.184 10.9666 11.6372 10.9666C11.0908 10.9666 10.6475 11.4151 10.6475 11.9681Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4.79136 5.27917C3.66977 5.93434 3 7.10743 3 8.41796V15.6209C3 16.9304 3.66926 18.1038 4.7905 18.7588C5.35027 19.086 5.96085 19.2525 6.57707 19.2525C6.95088 19.2525 7.32657 19.1911 7.69404 19.0677C7.75631 19.0471 7.8191 19.0239 7.87829 18.9993C8.04561 18.9338 8.2119 18.8528 8.37476 18.7578L17.8759 13.155L16.4098 12.2981L7.63348 17.4637C7.40406 17.5977 7.15874 17.6865 6.90417 17.7274C6.4296 17.8025 5.95452 17.7114 5.52956 17.4637C4.87108 17.0791 4.47812 16.3903 4.47812 15.6209V8.41796C4.47812 7.64923 4.87108 6.95943 5.52905 6.57377C5.95589 6.32607 6.43251 6.2345 6.9076 6.31205L7.0785 6.33957V5.71486C7.0785 5.47044 7.0992 5.22655 7.13906 4.98957L7.16507 4.83569L7.01212 4.81578C6.87304 4.79795 6.73224 4.78913 6.59059 4.78913C5.97368 4.78913 5.3436 4.95738 4.79136 5.27917Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.64583 7.80837L18.3965 12.9191C19.0397 13.2947 19.4236 13.9674 19.4236 14.7193C19.4236 15.4713 19.0397 16.1446 18.3965 16.5201L12.2317 20.121C11.6006 20.4899 10.8087 20.4899 10.1763 20.121C9.78492 19.8922 9.48604 19.5489 9.31206 19.1292L9.22874 18.9272L7.82915 19.682L7.9058 19.8525C8.22007 20.5482 8.73279 21.1184 9.3887 21.5017C9.95737 21.8338 10.5813 22 11.2054 22C11.8284 22 12.4517 21.834 13.0195 21.5025L19.1843 17.9005C20.3209 17.2369 20.9993 16.0477 20.9993 14.7193C20.9993 13.391 20.3209 12.2018 19.1843 11.5378L9.64583 5.96573V7.80837Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.38944 2.49801C8.69692 2.90306 8.16914 3.50319 7.86274 4.23332L7.80645 4.41992C7.65454 4.83033 7.57858 5.26533 7.57858 5.71504L7.57499 16.7037L9.15079 15.7831L9.15421 5.71504C9.15421 5.45573 9.19972 5.20319 9.28919 4.96466C9.45685 4.52066 9.76564 4.15715 10.1822 3.91395C10.8255 3.53729 11.5934 3.53798 12.2468 3.91914L12.6649 4.13119L18.3972 7.47977C19.0401 7.85557 19.4244 8.52892 19.4244 9.28086C19.4244 9.80345 19.2326 10.3008 18.885 10.6826L18.7433 10.819L20.0981 11.6914L20.1906 11.5926C20.7201 10.9352 21 10.1354 21 9.28086C21 7.95251 20.3217 6.76332 19.185 6.09931L13.0202 2.49714C12.4524 2.16583 11.8294 2 11.2061 2C10.5822 2 9.95828 2.166 9.38944 2.49801Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/homepage.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"homepage\"));\n});","define(\"scaleflow/components/atoms/icons/info-outline\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"7iTmKgHh\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 16H12V14V12H11M12 8H12.01M21 12C21 13.1819 20.7672 14.3522 20.3149 15.4442C19.8626 16.5361 19.1997 17.5282 18.364 18.364C17.5282 19.1997 16.5361 19.8626 15.4442 20.3149C14.3522 20.7672 13.1819 21 12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/info-outline.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"info-outline\"));\n});","define(\"scaleflow/components/atoms/icons/initiatives\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"aa0+gEiZ\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 13C5.78309 13.2119 7.44305 14.0175 8.71276 15.2872C9.98247 16.557 10.7881 18.2169 11 20C11.8839 19.4904 12.6233 18.7638 13.1482 17.8889C13.6732 17.014 13.9663 16.0197 14 15C15.6791 14.4093 17.1454 13.334 18.2133 11.91C19.2813 10.486 19.9031 8.77734 20 7C20 6.20435 19.6839 5.44129 19.1213 4.87868C18.5587 4.31607 17.7956 4 17 4C15.2227 4.09691 13.514 4.71867 12.09 5.78665C10.666 6.85464 9.59069 8.32089 9 10C7.98026 10.0337 6.98596 10.3268 6.11106 10.8518C5.23617 11.3767 4.50959 12.1161 4 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7.00048 14C5.95971 14.5876 5.11814 15.4726 4.58364 16.5416C4.04914 17.6106 3.84608 18.8148 4.00048 20C5.18564 20.1544 6.38991 19.9513 7.4589 19.4168C8.5279 18.8823 9.41291 18.0408 10.0005 17\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 10C15.5523 10 16 9.55228 16 9C16 8.44772 15.5523 8 15 8C14.4477 8 14 8.44772 14 9C14 9.55228 14.4477 10 15 10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/initiatives.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"initiatives\"));\n});","define(\"scaleflow/components/atoms/icons/item-menu\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"lWFj4XPZ\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"width\\\",\\\"4\\\"],[24,\\\"height\\\",\\\"18\\\"],[24,\\\"viewBox\\\",\\\"0 0 4 18\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M2 2V2.01V2ZM2 9V9.01V9ZM2 16V16.01V16ZM2 3C1.73478 3 1.48043 2.89464 1.29289 2.70711C1.10536 2.51957 1 2.26522 1 2C1 1.73478 1.10536 1.48043 1.29289 1.29289C1.48043 1.10536 1.73478 1 2 1C2.26522 1 2.51957 1.10536 2.70711 1.29289C2.89464 1.48043 3 1.73478 3 2C3 2.26522 2.89464 2.51957 2.70711 2.70711C2.51957 2.89464 2.26522 3 2 3ZM2 10C1.73478 10 1.48043 9.89464 1.29289 9.70711C1.10536 9.51957 1 9.26522 1 9C1 8.73478 1.10536 8.48043 1.29289 8.29289C1.48043 8.10536 1.73478 8 2 8C2.26522 8 2.51957 8.10536 2.70711 8.29289C2.89464 8.48043 3 8.73478 3 9C3 9.26522 2.89464 9.51957 2.70711 9.70711C2.51957 9.89464 2.26522 10 2 10ZM2 17C1.73478 17 1.48043 16.8946 1.29289 16.7071C1.10536 16.5196 1 16.2652 1 16C1 15.7348 1.10536 15.4804 1.29289 15.2929C1.48043 15.1054 1.73478 15 2 15C2.26522 15 2.51957 15.1054 2.70711 15.2929C2.89464 15.4804 3 15.7348 3 16C3 16.2652 2.89464 16.5196 2.70711 16.7071C2.51957 16.8946 2.26522 17 2 17Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/item-menu.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"item-menu\"));\n});","define(\"scaleflow/components/atoms/icons/link\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"rFr3B6cS\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13.8283 10.1697C13.0782 9.41984 12.061 8.99858 11.0003 8.99858C9.93967 8.99858 8.92244 9.41984 8.17232 10.1697L4.17232 14.1697C3.79028 14.5387 3.48556 14.9801 3.27592 15.4681C3.06628 15.9561 2.95594 16.481 2.95132 17.0121C2.94671 17.5432 3.04791 18.07 3.24904 18.5615C3.45016 19.0531 3.74717 19.4997 4.12274 19.8753C4.49832 20.2509 4.94492 20.5479 5.43651 20.749C5.92809 20.9501 6.45481 21.0513 6.98593 21.0467C7.51705 21.0421 8.04193 20.9318 8.52994 20.7221C9.01796 20.5125 9.45934 20.2078 9.82832 19.8257L10.9303 18.7247M10.1723 13.8257C10.9224 14.5756 11.9397 14.9969 13.0003 14.9969C14.061 14.9969 15.0782 14.5756 15.8283 13.8257L19.8283 9.82572C20.557 9.07131 20.9601 8.0609 20.951 7.01212C20.9419 5.96333 20.5212 4.96008 19.7796 4.21845C19.038 3.47682 18.0347 3.05614 16.9859 3.04703C15.9371 3.03791 14.9267 3.44109 14.1723 4.16972L13.0723 5.26972\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/link.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"link\"));\n});","define(\"scaleflow/components/atoms/icons/list\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"aklf8/RN\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V6C20 4.89543 19.1046 4 18 4Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 10H20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 4V20\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/list.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"list\"));\n});","define(\"scaleflow/components/atoms/icons/lock\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"OOVXeNYz\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 11H7C5.89543 11 5 11.8954 5 13V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V13C19 11.8954 18.1046 11 17 11Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 17C12.5523 17 13 16.5523 13 16C13 15.4477 12.5523 15 12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 11V7C8 5.93913 8.42143 4.92172 9.17157 4.17157C9.92172 3.42143 10.9391 3 12 3C13.0609 3 14.0783 3.42143 14.8284 4.17157C15.5786 4.92172 16 5.93913 16 7V11\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/lock.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"lock\"));\n});","define(\"scaleflow/components/atoms/icons/logo-color\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"P6XY/0fL\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.6475 11.9681C10.6475 12.5214 11.0908 12.9699 11.6372 12.9699C12.184 12.9699 12.6272 12.5214 12.6272 11.9681C12.6272 11.4151 12.184 10.9666 11.6372 10.9666C11.0908 10.9666 10.6475 11.4151 10.6475 11.9681Z\\\"],[14,\\\"fill\\\",\\\"url(#paint0_linear_842_9503)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4.79136 5.27917C3.66977 5.93434 3 7.10743 3 8.41796V15.6209C3 16.9304 3.66926 18.1038 4.7905 18.7588C5.35027 19.086 5.96085 19.2525 6.57707 19.2525C6.95088 19.2525 7.32657 19.1911 7.69404 19.0677C7.75631 19.0471 7.8191 19.0239 7.87829 18.9993C8.04561 18.9338 8.2119 18.8528 8.37476 18.7578L17.8759 13.155L16.4098 12.2981L7.63348 17.4637C7.40407 17.5977 7.15874 17.6865 6.90417 17.7274C6.4296 17.8025 5.95452 17.7114 5.52956 17.4637C4.87108 17.0791 4.47812 16.3903 4.47812 15.6209V8.41796C4.47812 7.64923 4.87108 6.95943 5.52905 6.57377C5.95589 6.32607 6.43251 6.2345 6.9076 6.31205L7.0785 6.33957V5.71486C7.0785 5.47044 7.0992 5.22655 7.13906 4.98957L7.16507 4.83569L7.01212 4.81578C6.87304 4.79795 6.73224 4.78913 6.59059 4.78913C5.97368 4.78913 5.3436 4.95738 4.79136 5.27917Z\\\"],[14,\\\"fill\\\",\\\"url(#paint1_linear_842_9503)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.64583 7.80837L18.3965 12.9191C19.0397 13.2947 19.4236 13.9674 19.4236 14.7193C19.4236 15.4713 19.0397 16.1446 18.3965 16.5201L12.2317 20.121C11.6006 20.4899 10.8086 20.4899 10.1763 20.121C9.78492 19.8922 9.48604 19.5489 9.31206 19.1292L9.22874 18.9272L7.82915 19.682L7.90579 19.8525C8.22007 20.5482 8.73279 21.1184 9.3887 21.5016C9.95737 21.8338 10.5813 22 11.2054 22C11.8284 22 12.4517 21.834 13.0195 21.5025L19.1843 17.9005C20.3209 17.2369 20.9993 16.0477 20.9993 14.7193C20.9993 13.391 20.3209 12.2018 19.1843 11.5378L9.64583 5.96573V7.80837Z\\\"],[14,\\\"fill\\\",\\\"url(#paint2_linear_842_9503)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.38944 2.49801C8.69692 2.90306 8.16914 3.50319 7.86274 4.23332L7.80645 4.41992C7.65454 4.83033 7.57858 5.26533 7.57858 5.71504L7.57499 16.7037L9.15079 15.7831L9.15421 5.71504C9.15421 5.45573 9.19972 5.20319 9.28919 4.96466C9.45685 4.52066 9.76564 4.15715 10.1822 3.91395C10.8255 3.53729 11.5934 3.53798 12.2468 3.91914L12.6649 4.13119L18.3972 7.47977C19.0401 7.85557 19.4244 8.52892 19.4244 9.28086C19.4244 9.80344 19.2326 10.3008 18.885 10.6826L18.7433 10.819L20.0981 11.6914L20.1906 11.5926C20.7201 10.9352 21 10.1354 21 9.28086C21 7.95251 20.3217 6.76332 19.185 6.09931L13.0202 2.49714C12.4524 2.16583 11.8294 2 11.2061 2C10.5822 2 9.95828 2.166 9.38944 2.49801Z\\\"],[14,\\\"fill\\\",\\\"url(#paint3_linear_842_9503)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint0_linear_842_9503\\\"],[14,\\\"x1\\\",\\\"5.63599\\\"],[14,\\\"y1\\\",\\\"4.93029\\\"],[14,\\\"x2\\\",\\\"19.6986\\\"],[14,\\\"y2\\\",\\\"17.5878\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F43EE8\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"0.456522\\\"],[14,\\\"stop-color\\\",\\\"#FA6189\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#FF8E0F\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint1_linear_842_9503\\\"],[14,\\\"x1\\\",\\\"3.25885\\\"],[14,\\\"y1\\\",\\\"4.64067\\\"],[14,\\\"x2\\\",\\\"16.2738\\\"],[14,\\\"y2\\\",\\\"15.8964\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F43EE8\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"0.456522\\\"],[14,\\\"stop-color\\\",\\\"#FA6189\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#FF8E0F\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint2_linear_842_9503\\\"],[14,\\\"x1\\\",\\\"2.04489\\\"],[14,\\\"y1\\\",\\\"5.24958\\\"],[14,\\\"x2\\\",\\\"14.6248\\\"],[14,\\\"y2\\\",\\\"18.8728\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F43EE8\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"0.456522\\\"],[14,\\\"stop-color\\\",\\\"#FA6189\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#FF8E0F\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint3_linear_842_9503\\\"],[14,\\\"x1\\\",\\\"6.36605\\\"],[14,\\\"y1\\\",\\\"15.4801\\\"],[14,\\\"x2\\\",\\\"17.6319\\\"],[14,\\\"y2\\\",\\\"4.34574\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F43EE8\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"0.456522\\\"],[14,\\\"stop-color\\\",\\\"#FA6189\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#FF8E0F\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\",\\\"defs\\\",\\\"linearGradient\\\",\\\"stop\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/logo-color.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"logo-color\"));\n});","define(\"scaleflow/components/atoms/icons/logo-colored\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"R8aRkaet\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"width\\\",\\\"24\\\"],[24,\\\"height\\\",\\\"24\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[16,\\\"fill\\\",[30,1]],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11.9998 17.748L5.82784 20.993L7.00684 14.12L2.00684 9.253L8.90684 8.253L11.9928 2L15.0788 8.253L21.9788 9.253L16.9788 14.12L18.1578 20.993L11.9998 17.748Z\\\"],[15,\\\"stroke\\\",[52,[30,3],\\\"currentColor\\\"]],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@fill\\\",\\\"&attrs\\\",\\\"@stroke\\\"],[\\\"svg\\\",\\\"path\\\",\\\"if\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/logo-colored.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"logo-colored\"));\n});","define(\"scaleflow/components/atoms/icons/logo\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"4VlAz4Qx\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.6475 11.9681C10.6475 12.5214 11.0908 12.9699 11.6372 12.9699C12.184 12.9699 12.6272 12.5214 12.6272 11.9681C12.6272 11.4151 12.184 10.9666 11.6372 10.9666C11.0908 10.9666 10.6475 11.4151 10.6475 11.9681Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4.79136 5.27917C3.66977 5.93434 3 7.10743 3 8.41796V15.6209C3 16.9304 3.66926 18.1038 4.7905 18.7588C5.35027 19.086 5.96085 19.2525 6.57707 19.2525C6.95088 19.2525 7.32657 19.1911 7.69404 19.0677C7.75631 19.0471 7.8191 19.0239 7.87829 18.9993C8.04561 18.9338 8.2119 18.8528 8.37476 18.7578L17.8759 13.155L16.4098 12.2981L7.63348 17.4637C7.40406 17.5977 7.15874 17.6865 6.90417 17.7274C6.4296 17.8025 5.95452 17.7114 5.52956 17.4637C4.87108 17.0791 4.47812 16.3903 4.47812 15.6209V8.41796C4.47812 7.64923 4.87108 6.95943 5.52905 6.57377C5.95589 6.32607 6.43251 6.2345 6.9076 6.31205L7.0785 6.33957V5.71486C7.0785 5.47044 7.0992 5.22655 7.13906 4.98957L7.16507 4.83569L7.01212 4.81578C6.87304 4.79795 6.73224 4.78913 6.59059 4.78913C5.97368 4.78913 5.3436 4.95738 4.79136 5.27917Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.64583 7.80837L18.3965 12.9191C19.0397 13.2947 19.4236 13.9674 19.4236 14.7193C19.4236 15.4713 19.0397 16.1446 18.3965 16.5201L12.2317 20.121C11.6006 20.4899 10.8087 20.4899 10.1763 20.121C9.78492 19.8922 9.48604 19.5489 9.31206 19.1292L9.22874 18.9272L7.82915 19.682L7.9058 19.8525C8.22007 20.5482 8.73279 21.1184 9.3887 21.5017C9.95737 21.8338 10.5813 22 11.2054 22C11.8284 22 12.4517 21.834 13.0195 21.5025L19.1843 17.9005C20.3209 17.2369 20.9993 16.0477 20.9993 14.7193C20.9993 13.391 20.3209 12.2018 19.1843 11.5378L9.64583 5.96573V7.80837Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.38944 2.49801C8.69692 2.90306 8.16914 3.50319 7.86274 4.23332L7.80645 4.41992C7.65454 4.83033 7.57858 5.26533 7.57858 5.71504L7.57499 16.7037L9.15079 15.7831L9.15421 5.71504C9.15421 5.45573 9.19972 5.20319 9.28919 4.96466C9.45685 4.52066 9.76564 4.15715 10.1822 3.91395C10.8255 3.53729 11.5934 3.53798 12.2468 3.91914L12.6649 4.13119L18.3972 7.47977C19.0401 7.85557 19.4244 8.52892 19.4244 9.28086C19.4244 9.80345 19.2326 10.3008 18.885 10.6826L18.7433 10.819L20.0981 11.6914L20.1906 11.5926C20.7201 10.9352 21 10.1354 21 9.28086C21 7.95251 20.3217 6.76332 19.185 6.09931L13.0202 2.49714C12.4524 2.16583 11.8294 2 11.2061 2C10.5822 2 9.95828 2.166 9.38944 2.49801Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/logo.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"logo\"));\n});","define(\"scaleflow/components/atoms/icons/logout\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"HULPCYCk\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 16L21 12M21 12L17 8M21 12H7M13 16V17C13 17.7956 12.6839 18.5587 12.1213 19.1213C11.5587 19.6839 10.7956 20 10 20H6C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17V7C3 6.20435 3.31607 5.44129 3.87868 4.87868C4.44129 4.31607 5.20435 4 6 4H10C10.7956 4 11.5587 4.31607 12.1213 4.87868C12.6839 5.44129 13 6.20435 13 7V8\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/logout.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"logout\"));\n});","define(\"scaleflow/components/atoms/icons/menu-divider\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"qD+336iZ\",\n \"block\": \"[[[11,0],[24,\\\"test-id\\\",\\\"menu-divider\\\"],[24,0,\\\"w-full h-px bg-gray-200 rounded\\\"],[17,1],[12],[13]],[\\\"&attrs\\\"],[\\\"div\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/menu-divider.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"menu-divider\"));\n});","define(\"scaleflow/components/atoms/icons/minus-circle\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"HiCRjy4M\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 10H7H13ZM19 10C19 11.1819 18.7672 12.3522 18.3149 13.4442C17.8626 14.5361 17.1997 15.5282 16.364 16.364C15.5282 17.1997 14.5361 17.8626 13.4442 18.3149C12.3522 18.7672 11.1819 19 10 19C8.8181 19 7.64778 18.7672 6.55585 18.3149C5.46392 17.8626 4.47177 17.1997 3.63604 16.364C2.80031 15.5282 2.13738 14.5361 1.68508 13.4442C1.23279 12.3522 1 11.1819 1 10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/minus-circle.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"minus-circle\"));\n});","define(\"scaleflow/components/atoms/icons/now-next-later\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"eHDt0emi\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21V21.01\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 9V9.01\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 9V9.01\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 20.1C6.63534 19.4344 5.46126 18.4343 4.58704 17.1929C3.71281 15.9515 3.16686 14.5091 3 13\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 20.1C17.3647 19.4344 18.5387 18.4343 19.413 17.1929C20.2872 15.9515 20.8331 14.5091 21 13\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.2002 4.99993C7.80829 3.68389 9.82223 2.96484 11.9002 2.96484C13.9782 2.96484 15.9921 3.68389 17.6002 4.99993\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/now-next-later.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"now-next-later\"));\n});","define(\"scaleflow/components/atoms/icons/organisation-initiatives\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"4NMJvg2/\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 4L4 8L12 12L20 8L12 4Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 12L12 16L20 12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 16L12 20L20 16\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/organisation-initiatives.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"organisation-initiatives\"));\n});","define(\"scaleflow/components/atoms/icons/organisation\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"JcREPJ1U\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip1_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 21H14M19 21V5C19 4.46957 18.7893 3.96086 18.4142 3.58579C18.0391 3.21071 17.5304 3 17 3H7C6.46957 3 5.96086 3.21071 5.58579 3.58579C5.21071 3.96086 5 4.46957 5 5V21H19ZM19 21H21H19ZM19 21H14H19ZM5 21H3H5ZM5 21H10H5ZM9 7H10H9ZM9 11H10H9ZM14 7H15H14ZM14 11H15H14ZM10 21V16C10 15.7348 10.1054 15.4804 10.2929 15.2929C10.4804 15.1054 10.7348 15 11 15H13C13.2652 15 13.5196 15.1054 13.7071 15.2929C13.8946 15.4804 14 15.7348 14 16V21H10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip1_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/organisation.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"organisation\"));\n});","define(\"scaleflow/components/atoms/icons/pin\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"RSNO8V2f\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 4.5L11 8.5L7 10L5.5 11.5L12.5 18.5L14 17L15.5 13L19.5 9\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 15L4.5 19.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14.5 4L20 9.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/pin.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"pin\"));\n});","define(\"scaleflow/components/atoms/icons/planning\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"3oCcpvAB\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14.6667 5L9.33333 7.66667M9.33333 19.2222L4.49156 16.8009C4.34393 16.7271 4.21975 16.6137 4.13294 16.4734C4.04612 16.333 4.00009 16.1713 4 16.0062V6.43822C4.00008 6.28676 4.03886 6.13784 4.11266 6.00557C4.18646 5.87331 4.29283 5.7621 4.42168 5.68249C4.55053 5.60289 4.69759 5.55752 4.84889 5.55071C5.0002 5.54389 5.15074 5.57585 5.28622 5.64356L9.33333 7.66667V19.2222ZM9.33333 19.2222L14.6667 16.5556L9.33333 19.2222ZM9.33333 19.2222V7.66667V19.2222ZM14.6667 16.5556L18.7138 18.5787C18.8493 18.6464 18.9998 18.6783 19.1511 18.6715C19.3024 18.6647 19.4495 18.6193 19.5783 18.5397C19.7072 18.4601 19.8135 18.3489 19.8873 18.2166C19.9611 18.0844 19.9999 17.9355 20 17.784V8.216C19.9999 8.05097 19.9539 7.88922 19.8671 7.74887C19.7802 7.60851 19.6561 7.4951 19.5084 7.42133L14.6667 5V16.5556ZM14.6667 16.5556V5V16.5556Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/planning.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"planning\"));\n});","define(\"scaleflow/components/atoms/icons/plus-circle\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"CmkwzxX5\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 7V10V7ZM10 10V13V10ZM10 10H13H10ZM10 10H7H10ZM19 10C19 11.1819 18.7672 12.3522 18.3149 13.4442C17.8626 14.5361 17.1997 15.5282 16.364 16.364C15.5282 17.1997 14.5361 17.8626 13.4442 18.3149C12.3522 18.7672 11.1819 19 10 19C8.8181 19 7.64778 18.7672 6.55585 18.3149C5.46392 17.8626 4.47177 17.1997 3.63604 16.364C2.80031 15.5282 2.13738 14.5361 1.68508 13.4442C1.23279 12.3522 1 11.1819 1 10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10Z\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/plus-circle.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"plus-circle\"));\n});","define(\"scaleflow/components/atoms/icons/plus\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"t3gO8IcN\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"d\\\",\\\"M12 6v6m0 0v6m0-6h6m-6 0H6\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/plus.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"plus\"));\n});","define(\"scaleflow/components/atoms/icons/profile\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"jmVDJbzD\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip1_3744_44734)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 21V19C6 17.9391 6.42143 16.9217 7.17157 16.1716C7.92172 15.4214 8.93913 15 10 15H14C15.0609 15 16.0783 15.4214 16.8284 16.1716C17.5786 16.9217 18 17.9391 18 19V21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip1_3744_44734\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0 0.5)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/profile.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"profile\"));\n});","define(\"scaleflow/components/atoms/icons/progress\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"TxxVmG9P\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_2372_16107)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 12C14 9.04 12 5 11 4C11 7.038 9.227 8.741 8 10C6.774 11.26 6 13.24 6 15C6 16.5913 6.63214 18.1174 7.75736 19.2426C8.88258 20.3679 10.4087 21 12 21C13.5913 21 15.1174 20.3679 16.2426 19.2426C17.3679 18.1174 18 16.5913 18 15C18 13.468 16.944 11.06 16 10C14.214 13 13.209 13 12 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_2372_16107\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/progress.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"progress\"));\n});","define(\"scaleflow/components/atoms/icons/question-mark\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"U1jbJcZy\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,0,\\\"w-full h-full\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 8C8 7.20435 8.36875 6.44129 9.02513 5.87868C9.6815 5.31607 10.5717 5 11.5 5H12.5C13.4283 5 14.3185 5.31607 14.9749 5.87868C15.6313 6.44129 16 7.20435 16 8C16.0368 8.64925 15.8617 9.2929 15.501 9.83398C15.1402 10.3751 14.6135 10.7843 14 11C13.3865 11.2876 12.8598 11.8333 12.499 12.5547C12.1383 13.2761 11.9632 14.1343 12 15\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 19V19.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/question-mark.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"question-mark\"));\n});","define(\"scaleflow/components/atoms/icons/radar-concept\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"bTRP25T1\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21V21.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 9V9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 9V9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 20.1C6.63534 19.4344 5.46126 18.4343 4.58704 17.1929C3.71281 15.9515 3.16686 14.5091 3 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 20.1C17.3647 19.4344 18.5387 18.4343 19.413 17.1929C20.2872 15.9515 20.8331 14.5091 21 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.2002 4.99993C7.80829 3.68389 9.82223 2.96484 11.9002 2.96484C13.9782 2.96484 15.9921 3.68389 17.6002 4.99993\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/radar-concept.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"radar-concept\"));\n});","define(\"scaleflow/components/atoms/icons/radar\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"wnEMY5Kr\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21V21.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 9V9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 9V9.01\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 20.1C6.63534 19.4344 5.46126 18.4343 4.58704 17.1929C3.71281 15.9515 3.16686 14.5091 3 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 20.1C17.3647 19.4344 18.5387 18.4343 19.413 17.1929C20.2872 15.9515 20.8331 14.5091 21 13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.2002 4.99993C7.80829 3.68389 9.82223 2.96484 11.9002 2.96484C13.9782 2.96484 15.9921 3.68389 17.6002 4.99993\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/radar.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"radar\"));\n});","define(\"scaleflow/components/atoms/icons/radio\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"SaK0S5wl\",\n \"block\": \"[[[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"16\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"viewBox\\\",\\\"0 0 16 16\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"circle\\\"],[14,\\\"cx\\\",\\\"8\\\"],[14,\\\"cy\\\",\\\"8\\\"],[14,\\\"r\\\",\\\"5.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"circle\\\"],[14,\\\"cx\\\",\\\"8\\\"],[14,\\\"cy\\\",\\\"8\\\"],[14,\\\"r\\\",\\\"4\\\"],[15,\\\"fill\\\",[28,[37,2],[[30,1],\\\"white\\\"],null]],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@fill\\\"],[\\\"svg\\\",\\\"circle\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/radio.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"radio\"));\n});","define(\"scaleflow/components/atoms/icons/return\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"YEteVeYl\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 11L19 15M19 15L15 19M19 15L8 15C6.93913 15 5.92172 14.5786 5.17157 13.8284C4.42143 13.0783 4 12.0609 4 11C4 9.93913 4.42143 8.92172 5.17157 8.17157C5.92172 7.42143 6.93913 7 8 7L9 7\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/return.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"return\"));\n});","define(\"scaleflow/components/atoms/icons/roadmap\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"Q3ujVnjT\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 21C7.10457 21 8 20.1046 8 19C8 17.8954 7.10457 17 6 17C4.89543 17 4 17.8954 4 19C4 20.1046 4.89543 21 6 21Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 7C19.1046 7 20 6.10457 20 5C20 3.89543 19.1046 3 18 3C16.8954 3 16 3.89543 16 5C16 6.10457 16.8954 7 18 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 19H16.5C17.4283 19 18.3185 18.6313 18.9749 17.9749C19.6313 17.3185 20 16.4283 20 15.5C20 14.5717 19.6313 13.6815 18.9749 13.0251C18.3185 12.3687 17.4283 12 16.5 12H8.5C7.57174 12 6.6815 11.6313 6.02513 10.9749C5.36875 10.3185 5 9.42826 5 8.5C5 7.57174 5.36875 6.6815 6.02513 6.02513C6.6815 5.36875 7.57174 5 8.5 5H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/roadmap.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"roadmap\"));\n});","define(\"scaleflow/components/atoms/icons/save\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"EM7eXrqF\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 4H16L20 8V18C20 18.5304 19.7893 19.0391 19.4142 19.4142C19.0391 19.7893 18.5304 20 18 20H6C5.46957 20 4.96086 19.7893 4.58579 19.4142C4.21071 19.0391 4 18.5304 4 18V6C4 5.46957 4.21071 4.96086 4.58579 4.58579C4.96086 4.21071 5.46957 4 6 4\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 16C13.1046 16 14 15.1046 14 14C14 12.8954 13.1046 12 12 12C10.8954 12 10 12.8954 10 14C10 15.1046 10.8954 16 12 16Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 4V8H8V4\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/save.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"save\"));\n});","define(\"scaleflow/components/atoms/icons/settings\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"9se6jWgN\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.749 5.99 10.049 5.452 10.325 4.317Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12V12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/settings.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"settings\"));\n});","define(\"scaleflow/components/atoms/icons/share\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n */\n {\n \"id\": \"1IAZFxLb\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 15C7.65685 15 9 13.6569 9 12C9 10.3431 7.65685 9 6 9C4.34315 9 3 10.3431 3 12C3 13.6569 4.34315 15 6 15Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15C16.3431 15 15 16.3431 15 18C15 19.6569 16.3431 21 18 21Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8.7002 10.6998L15.3002 7.2998\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8.7002 13.2998L15.3002 16.6998\\\"],[14,\\\"stroke\\\",\\\"#6B7280\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/share.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"share\"));\n});","define(\"scaleflow/components/atoms/icons/sidebar-toggle\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"T1xvUZMt\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"rx\\\",\\\"12\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.7071L11.4142 12L14.7071 15.2929C15.0976 15.6834 15.0976 16.3166 14.7071 16.7071C14.3166 17.0976 13.6834 17.0976 13.2929 16.7071L9.29289 12.7071C8.90237 12.3166 8.90237 11.6834 9.29289 11.2929L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289Z\\\"],[14,\\\"fill\\\",\\\"#9CA3AF\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"rect\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/sidebar-toggle.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"sidebar-toggle\"));\n});","define(\"scaleflow/components/atoms/icons/sortby\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"4sSKEG2x\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 32 32\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_2034_16263)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 24L25 20M7 8H20H7ZM7 12H16H7ZM7 16H16H7ZM21 12V24V12ZM21 24L17 20L21 24Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_2034_16263\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"24\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(4 4)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/sortby.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"sortby\"));\n});","define(\"scaleflow/components/atoms/icons/speakerphone\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"euhFl9X6\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 8C18.7956 8 19.5587 8.31607 20.1213 8.87868C20.6839 9.44129 21 10.2044 21 11C21 11.7956 20.6839 12.5587 20.1213 13.1213C19.5587 13.6839 18.7956 14 18 14\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 8V19C10 19.2652 9.89464 19.5196 9.70711 19.7071C9.51957 19.8946 9.26522 20 9 20H8C7.73478 20 7.48043 19.8946 7.29289 19.7071C7.10536 19.5196 7 19.2652 7 19V14\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 7.99995L16.524 4.22995C16.6555 4.12046 16.8154 4.0507 16.9851 4.02885C17.1548 4.00701 17.3271 4.03398 17.482 4.1066C17.6369 4.17922 17.7679 4.29449 17.8597 4.4389C17.9514 4.5833 18.0001 4.75087 18 4.92195V17.0779C18.0001 17.249 17.9514 17.4166 17.8597 17.561C17.7679 17.7054 17.6369 17.8207 17.482 17.8933C17.3271 17.9659 17.1548 17.9929 16.9851 17.971C16.8154 17.9492 16.6555 17.8794 16.524 17.7699L12 13.9999H4C3.73478 13.9999 3.48043 13.8946 3.29289 13.7071C3.10536 13.5195 3 13.2652 3 12.9999V8.99995C3 8.73473 3.10536 8.48038 3.29289 8.29284C3.48043 8.1053 3.73478 7.99995 4 7.99995H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/speakerphone.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"speakerphone\"));\n});","define(\"scaleflow/components/atoms/icons/star\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"Zb4AvmwD\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[16,\\\"fill\\\",[30,1]],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11.9998 17.748L5.82784 20.993L7.00684 14.12L2.00684 9.253L8.90684 8.253L11.9928 2L15.0788 8.253L21.9788 9.253L16.9788 14.12L18.1578 20.993L11.9998 17.748Z\\\"],[15,\\\"stroke\\\",[30,3]],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@fill\\\",\\\"&attrs\\\",\\\"@path-stroke\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/star.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"star\"));\n});","define(\"scaleflow/components/atoms/icons/tag\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"fZbdm6uk\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7 7H7.01M7 3H12C12.5119 2.99999 13.0237 3.19525 13.4142 3.58579L20.4143 10.5858C21.1953 11.3668 21.1953 12.6332 20.4143 13.4142L13.4142 20.4142C12.6332 21.1953 11.3668 21.1953 10.5858 20.4142L3.58579 13.4142C3.19526 13.0237 3 12.5118 3 12V7C3 4.79086 4.79086 3 7 3Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/tag.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"tag\"));\n});","define(\"scaleflow/components/atoms/icons/teams\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"i0Rt0WEU\",\n \"block\": \"[[[11,\\\"svg\\\"],[17,1],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 11C11.2091 11 13 9.20914 13 7C13 4.79086 11.2091 3 9 3C6.79086 3 5 4.79086 5 7C5 9.20914 6.79086 11 9 11Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 21V19C3 17.9391 3.42143 16.9217 4.17157 16.1716C4.92172 15.4214 5.93913 15 7 15H11C12.0609 15 13.0783 15.4214 13.8284 16.1716C14.5786 16.9217 15 17.9391 15 19V21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 3.12988C16.8604 3.35018 17.623 3.85058 18.1676 4.55219C18.7122 5.2538 19.0078 6.11671 19.0078 7.00488C19.0078 7.89305 18.7122 8.75596 18.1676 9.45757C17.623 10.1592 16.8604 10.6596 16 10.8799\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 21.0004V19.0004C20.9949 18.1175 20.6979 17.2612 20.1553 16.5648C19.6126 15.8684 18.8548 15.3711 18 15.1504\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/teams.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"teams\"));\n});","define(\"scaleflow/components/atoms/icons/this-week\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"p6KXSJtL\",\n \"block\": \"[[[10,\\\"svg\\\"],[14,0,\\\"w-full h-full\\\"],[14,\\\"viewBox\\\",\\\"0 0 36 36\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12.6667 11.3333V6M23.3333 11.3333V6M11.3333 16.6667H24.6667M8.66667 30H27.3333C28.0406 30 28.7189 29.719 29.219 29.219C29.719 28.7189 30 28.0406 30 27.3333V11.3333C30 10.6261 29.719 9.94781 29.219 9.44772C28.7189 8.94762 28.0406 8.66667 27.3333 8.66667H8.66667C7.95942 8.66667 7.28115 8.94762 6.78105 9.44772C6.28095 9.94781 6 10.6261 6 11.3333V27.3333C6 28.0406 6.28095 28.7189 6.78105 29.219C7.28115 29.719 7.95942 30 8.66667 30Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/this-week.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"this-week\"));\n});","define(\"scaleflow/components/atoms/icons/timeline\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"7ZaepqQU\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 7L18 5C18 4.44772 17.5523 4 17 4L14 4C13.4477 4 13 4.44772 13 5L13 7C13 7.55228 13.4477 8 14 8L17 8C17.5523 8 18 7.55228 18 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M20 6L18 6\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 6L4 6\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10 13L10 11C10 10.4477 9.55228 10 9 10L6 10C5.44772 10 5 10.4477 5 11L5 13C5 13.5523 5.44772 14 6 14L9 14C9.55228 14 10 13.5523 10 13Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M20 12L10 12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 12L4 12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 19L19 17C19 16.4477 18.5523 16 18 16L14 16C13.4477 16 13 16.4477 13 17L13 19C13 19.5523 13.4477 20 14 20L18 20C18.5523 20 19 19.5523 19 19Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M20 18L19 18\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 18L4 18\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/timeline.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"timeline\"));\n});","define(\"scaleflow/components/atoms/icons/unfavorite\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"BZKE1x6Y\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 3L21 21\\\"],[15,\\\"stroke\\\",[30,2]],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.0118 6.014L11.9928 2L15.0788 8.253L21.9788 9.253L17.5578 13.557M17.5698 17.567L18.1578 20.993L11.9998 17.748L5.82784 20.993L7.00684 14.12L2.00684 9.253L8.33384 8.336\\\"],[15,\\\"stroke\\\",[30,2]],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@path-stroke\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/unfavorite.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"unfavorite\"));\n});","define(\"scaleflow/components/atoms/icons/unsync\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"1qf+YMmq\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M3.00465 5.83289C3.00156 5.8884 3 5.94412 3 6V14C3 14.7957 3.31607 15.5587 3.87868 16.1213C4.44129 16.6839 5.20435 17 6 17V15C5.73478 15 5.48043 14.8946 5.29289 14.7071C5.10536 14.5196 5 14.2652 5 14V7.82824L3.00465 5.83289ZM7.82861 5H14C14.2652 5 14.5196 5.10536 14.7071 5.29289C14.8946 5.48043 15 5.73478 15 6H17C17 5.20435 16.6839 4.44129 16.1213 3.87868C15.5587 3.31607 14.7957 3 14 3H6C5.94424 3 5.88863 3.00155 5.83325 3.00463L7.82861 5Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9.65689 14.5724L8.8141 15.4152C8.55941 15.6612 8.35626 15.9555 8.2165 16.2808C8.07674 16.6062 8.00318 16.9561 8.0001 17.3102C7.99702 17.6642 8.06449 18.0154 8.19858 18.3431C8.33266 18.6708 8.53067 18.9686 8.78105 19.219C9.03143 19.4693 9.32917 19.6673 9.65689 19.8014C9.98461 19.9355 10.3358 20.003 10.6898 19.9999C11.0439 19.9968 11.3938 19.9233 11.7192 19.7835C12.0445 19.6437 12.3388 19.4406 12.5848 19.1859L13.3194 18.4519M18.2707 13.5L19.2514 12.5192C19.7372 12.0163 20.006 11.3427 19.9999 10.6435C19.9938 9.9443 19.7134 9.27547 19.219 8.78105C18.7245 8.28663 18.0557 8.00618 17.3565 8.0001C16.6573 7.99403 15.9837 8.26281 15.4808 8.74856L14.7474 9.4819\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"x\\\",\\\"3.41406\\\"],[14,\\\"y\\\",\\\"2\\\"],[14,\\\"width\\\",\\\"24\\\"],[14,\\\"height\\\",\\\"2\\\"],[14,\\\"rx\\\",\\\"1\\\"],[14,\\\"transform\\\",\\\"rotate(45 3.41406 2)\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\",\\\"rect\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/unsync.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"unsync\"));\n});","define(\"scaleflow/components/atoms/icons/user\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"KLWRQKF+\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 21V19C6 17.9391 6.42143 16.9217 7.17157 16.1716C7.92172 15.4214 8.93913 15 10 15H14C15.0609 15 16.0783 15.4214 16.8284 16.1716C17.5786 16.9217 18 17.9391 18 19V21\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/user.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"user\"));\n});","define(\"scaleflow/components/atoms/icons/views\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"Aw8YOdoT\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14 3V7C14 7.26522 14.1054 7.51957 14.2929 7.70711C14.4804 7.89464 14.7348 8 15 8H19\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 21H7C6.46957 21 5.96086 20.7893 5.58579 20.4142C5.21071 20.0391 5 19.5304 5 19V5C5 4.46957 5.21071 3.96086 5.58579 3.58579C5.96086 3.21071 6.46957 3 7 3H14L19 8V12.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16.5 20C17.8807 20 19 18.8807 19 17.5C19 16.1193 17.8807 15 16.5 15C15.1193 15 14 16.1193 14 17.5C14 18.8807 15.1193 20 16.5 20Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18.5 19.5L21 22\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/views.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"views\"));\n});","define(\"scaleflow/components/atoms/icons/workstream\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n */\n {\n \"id\": \"F3PYpl+Z\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 9H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 5H8\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 5V16C6 16.2652 6.10536 16.5196 6.29289 16.7071C6.48043 16.8946 6.73478 17 7 17H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 7H13C12.4477 7 12 7.44772 12 8V10C12 10.5523 12.4477 11 13 11H19C19.5523 11 20 10.5523 20 10V8C20 7.44772 19.5523 7 19 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 15H13C12.4477 15 12 15.4477 12 16V18C12 18.5523 12.4477 19 13 19H19C19.5523 19 20 18.5523 20 18V16C20 15.4477 19.5523 15 19 15Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/workstream.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"workstream\"));\n});","define(\"scaleflow/components/atoms/icons/workstreams\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n */\n {\n \"id\": \"xn/qyIkT\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 9H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4 5H8\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6 5V16C6 16.2652 6.10536 16.5196 6.29289 16.7071C6.48043 16.8946 6.73478 17 7 17H12\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 7H13C12.4477 7 12 7.44772 12 8V10C12 10.5523 12.4477 11 13 11H19C19.5523 11 20 10.5523 20 10V8C20 7.44772 19.5523 7 19 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M19 15H13C12.4477 15 12 15.4477 12 16V18C12 18.5523 12.4477 19 13 19H19C19.5523 19 20 18.5523 20 18V16C20 15.4477 19.5523 15 19 15Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/icons/workstreams.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"workstreams\"));\n});","define(\"scaleflow/components/atoms/label\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.showZero}}\n \n {{this.labelString}}\n \n \n {{this.tooltipString}}\n \n \n \n {{/if}}\n */\n {\n \"id\": \"VoAddscK\",\n \"block\": \"[[[41,[30,0,[\\\"showZero\\\"]],[[[1,\\\" \\\"],[11,1],[16,0,[29,[\\\"h-4 w-5 flex justify-center items-center flex-shrink-0 font-normal leading-3 rounded-full bg-\\\",[30,0,[\\\"color\\\"]],\\\"-100 text-\\\",[30,0,[\\\"color\\\"]],\\\"-800\\\\n \\\",[30,0,[\\\"fontSize\\\"]],\\\"\\\\n translate-y-2\\\"]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"labelString\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@placement\\\",\\\"@delay\\\"],[\\\"top\\\",\\\"300\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"tooltipString\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\"],[\\\"if\\\",\\\"span\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/label.hbs\",\n \"isStrictMode\": false\n });\n let AtomsLabelComponent = _exports.default = (_class = class AtomsLabelComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n }\n get color() {\n return this.args.color || this.getColor();\n }\n get showZero() {\n if (!this.args.value) {\n return false;\n }\n if (this.args.showZero) {\n return true;\n } else {\n return this.args.value !== 0;\n }\n }\n getColor() {\n if (this.args.value > 0 && this.args.value < 3) {\n return 'blue';\n } else if (this.args.value > 2 && this.args.value < 5) {\n return 'yellow';\n } else if (this.args.value > 4) {\n return 'red';\n } else {\n return 'blue';\n }\n }\n get tooltipString() {\n if (this.args.value > 6) {\n let num_of_weeks = (this.args.value / 7).toFixed(0);\n return `${this.intl.t('dictionary.created')} ${num_of_weeks} week${num_of_weeks > 1 ? 's' : ''} ${this.intl.t('dictionary.ago')}`;\n } else {\n return `${this.intl.t('dictionary.created')} ${this.args.value} day${this.args.value > 1 ? 's' : ''} ${this.intl.t('dictionary.ago')}`;\n }\n }\n get labelString() {\n if (this.args.value > 6) {\n return `W`;\n } else {\n return this.args.value;\n }\n }\n get fontSize() {\n if (this.args.value > 6) {\n return 'text-[10px]';\n } else {\n return 'text-xs';\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AtomsLabelComponent);\n});","define(\"scaleflow/components/atoms/tooltip\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{yield}}\n */\n {\n \"id\": \"IlM3edbh\",\n \"block\": \"[[[11,0],[24,0,\\\"text-xs p-2 bg-gray-700 text-white text-center rounded-md ml-3\\\"],[24,\\\"test-id\\\",\\\"tooltip\\\"],[17,1],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/atoms/tooltip.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"tooltip\"));\n});","define(\"scaleflow/components/avatar\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.propsExist}}\n \n \n {{#if (has-block)}}\n {{yield}}\n {{else}}\n {{this.abbreviation}}\n {{/if}}\n \n {{#if @tooltip}}\n \n \n {{this.name}}\n \n \n {{/if}}\n \n {{/if}}\n */\n {\n \"id\": \"2MUYGhSP\",\n \"block\": \"[[[41,[30,0,[\\\"propsExist\\\"]],[[[1,\\\" \\\"],[11,0],[16,0,[29,[\\\"flex justify-center items-center text-center h-\\\",[30,1],\\\"\\\\n w-\\\",[30,1],\\\"\\\\n rounded-full bg-\\\",[30,0,[\\\"color\\\"]],\\\"-100\\\"]]],[24,\\\"test-id\\\",\\\"avatar\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"uppercase text-\\\",[30,3],\\\" roboto-mono\\\"]]],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,6]],[[[1,\\\" \\\"],[18,6,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,0,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@placement\\\"],[[29,[[30,5]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@size\\\",\\\"&attrs\\\",\\\"@text-size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"&default\\\"],[\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"has-block\\\",\\\"yield\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/avatar.hbs\",\n \"isStrictMode\": false\n });\n let AvatarComponent = _exports.default = (_class = class AvatarComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n }\n get person() {\n if (this.args.id) return this.store.peekRecord('person', this.args.id);\n return null;\n }\n get color() {\n return this.person?.color ?? this.args?.meColor;\n }\n get abbreviation() {\n return this.person?.abbreviation ?? this.args?.abbreviation;\n }\n get name() {\n return this.person?.name ?? this.args?.meName;\n }\n get propsExist() {\n if (this.args.id) return true;\n if (this.args.meColor !== undefined && this.args.meName !== undefined) return true;\n return false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AvatarComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/add-calculation-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if (has-block)}}\n {{yield}}\n {{else}}\n {{t \"dictionary.add\"}}\n {{t \"financials.calculation\"}}\n {{/if}}\n \n */\n {\n \"id\": \"TlsKVfHg\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"gap-x-2 flex items-center rounded-md border border-gray-300 bg-white py-1 px-3 add-calculation shrink-0\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"w-6 h-6 text-gray-400\\\"]],null,null],[1,\\\"\\\\n\\\"],[41,[48,[30,2]],[[[1,\\\" \\\"],[18,2,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.add\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.calculation\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"atoms/icons/plus\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/add-calculation-button.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"add-calculation-button\"));\n});","define(\"scaleflow/components/back-of-a-napkin/bon-preview\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{! INVESTMENTS TABLE }}\n \n \n \n \n \n \n \n \n \n \n Amount\n Rate\n Confidence\n Price\n \n \n \n {{#each @investments.calculations as |calculation|}}\n {{#if (eq calculation.type \"investment\")}}\n \n \n {{this.multiply calculation.weeks calculation.people}}\n {{localize\n calculation.price_person_week\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{calculation.confidence_value}}\n \n {{localize\n (this.multiply\n calculation.weeks\n calculation.people\n calculation.price_person_week\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"person-weeks-role\")}}\n \n \n {{this.multiply calculation.weeks calculation.people}}\n {{localize\n calculation.price_person_week\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{calculation.confidence_value}}\n \n {{localize\n (this.multiply\n calculation.weeks\n calculation.people\n calculation.price_person_week\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"custom\")}}\n \n \n 1\n {{localize calculation.value \",-\" (t \"currency.euro\")}}\n \n {{calculation.confidence_value}}\n {{localize\n (this.multiply calculation.value calculation.confidence_value)\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{/if}}\n {{/each}}\n \n \n \n \n \n \n Total investments\n \n {{t \"currency.euro\"}}\n {{or (localize this.investmentsValue \",-\") \"-\"}}\n \n \n
Investments
\n
Person\n weeks
\n
\n {{calculation.weeks}}\n {{t \"_initiatives.weeks\" num=calculation.weeks}}\n *\n {{calculation.people}}\n {{t \"_initiatives.person\" num=calculation.people}}\n
\n
\n
Person\n weeks
\n
\n {{#if calculation.role_id}}\n {{this.roleName calculation.role_id}}\n *\n {{/if}}\n {{#if calculation.team_id}}\n {{this.teamName calculation.team_id}}\n *\n {{/if}}\n {{calculation.weeks}}\n {{t \"_initiatives.weeks\" num=calculation.weeks}}\n *\n {{calculation.people}}\n {{t \"_initiatives.person\" num=calculation.people}}\n
\n
\n {{calculation.type}}\n
\n {{calculation.description}}\n
\n
Total\n investments
\n \n {{! RETURNS TABLE}}\n \n \n \n \n \n \n \n \n \n \n Amount\n Rate\n Confidence\n Price\n \n \n \n \n {{#each @returns.calculations as |calculation|}}\n {{#if (eq calculation.type \"new-customers\")}}\n \n \n \n {{calculation.new_customers}}\n {{localize calculation.bon_clv \",-\" (t \"currency.euro\")}}\n \n {{calculation.confidence_value}}\n \n {{localize\n (this.multiply\n calculation.new_customers\n calculation.bon_clv\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"new-customers-v2\")}}\n \n \n \n {{calculation.new_customers}}\n {{t\n (concat \"financials.customer-values.\" calculation.bon_clv_label)\n }}\n -\n {{localize calculation.bon_clv \",-\" (t \"currency.euro\")}}\n \n {{calculation.confidence_value}}\n \n {{localize\n (this.multiply\n calculation.new_customers\n calculation.bon_clv\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"custom\")}}\n \n \n 1\n {{localize calculation.value \",-\" (t \"currency.euro\")}}\n \n {{calculation.confidence_value}}\n {{localize\n (this.multiply calculation.value calculation.confidence_value)\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"cost-fte\")}}\n \n \n {{calculation.ftes}}\n \n {{localize\n (this.multiply\n calculation.price_person_week calculation.horizon 4\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{calculation.confidence_value}}\n {{localize\n (this.multiply\n calculation.ftes\n calculation.price_person_week\n calculation.horizon\n 4\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n \n {{#if (eq calculation.type \"upsell\")}}\n \n \n \n {{calculation.customers}}\n {{localize calculation.upsell_value \",-\" (t \"currency.euro\")}}\n \n {{calculation.confidence_value}}\n {{localize\n (this.multiply\n calculation.customers\n calculation.upsell_value\n calculation.confidence_value\n )\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{/if}}\n {{/each}}\n \n \n \n \n \n \n Total returns\n {{t \"currency.euro\"}}\n {{or (localize this.returnsValue \",-\") \"-\"}}\n \n \n \n \n \n \n \n \n \n \n {{t \"_initiatives.impact\"}}\n {{t \"currency.euro\"}}\n {{or (localize this.bonValue \",-\") \"-\"}}\n \n \n
Returns
\n
New customers
\n
\n
New customers
\n
\n {{calculation.type}}\n
\n {{calculation.description}}\n
\n
\n
Cost\n FTE
\n
\n Upsell\n
Total\n returns
{{t\n \"_initiatives.back-of-napkin\"\n num=1\n }}
\n {{t \"dictionary.notes\"}}\n {{#if @text_delta}}\n \n {{else}}\n {{@notes}}\n {{/if}}\n \n \n */\n {\n \"id\": \"sBpiN41H\",\n \"block\": \"[[[10,0],[14,0,\\\"-mx-4 px-4 pb-8 sm:mx-0 sm:rounded-lg sm:px-0 sm:pb-14 lg:col-span-2 lg:row-span-2 lg:row-end-2 xl:pb-20 overflow-x-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"table\\\"],[14,0,\\\"mt-2 w-full whitespace-nowrap text-left text-sm leading-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"colgroup\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[14,0,\\\"w-full\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold\\\"],[12],[1,\\\"Investments\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Amount\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Rate\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Confidence\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold\\\"],[12],[1,\\\"Price\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,1,[\\\"calculations\\\"]]],null]],null],null,[[[41,[28,[37,11],[[30,2,[\\\"type\\\"]],\\\"investment\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,\\\"Person\\\\n weeks\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate text-gray-500 lowercase\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"weeks\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"_initiatives.weeks\\\"],[[\\\"num\\\"],[[30,2,[\\\"weeks\\\"]]]]]],[1,\\\"\\\\n *\\\\n \\\"],[1,[30,2,[\\\"people\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"_initiatives.person\\\"],[[\\\"num\\\"],[[30,2,[\\\"people\\\"]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[30,0,[\\\"multiply\\\"]],[[30,2,[\\\"weeks\\\"]],[30,2,[\\\"people\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,2,[\\\"price_person_week\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,2,[\\\"weeks\\\"]],[30,2,[\\\"people\\\"]],[30,2,[\\\"price_person_week\\\"]],[30,2,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,2,[\\\"type\\\"]],\\\"person-weeks-role\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,\\\"Person\\\\n weeks\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate text-gray-500 lowercase\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"role_id\\\"]],[[[1,\\\" \\\"],[1,[28,[30,0,[\\\"roleName\\\"]],[[30,2,[\\\"role_id\\\"]]],null]],[1,\\\"\\\\n *\\\\n\\\"]],[]],null],[41,[30,2,[\\\"team_id\\\"]],[[[1,\\\" \\\"],[1,[28,[30,0,[\\\"teamName\\\"]],[[30,2,[\\\"team_id\\\"]]],null]],[1,\\\"\\\\n *\\\\n\\\"]],[]],null],[1,\\\" \\\"],[1,[30,2,[\\\"weeks\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"_initiatives.weeks\\\"],[[\\\"num\\\"],[[30,2,[\\\"weeks\\\"]]]]]],[1,\\\"\\\\n *\\\\n \\\"],[1,[30,2,[\\\"people\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"_initiatives.person\\\"],[[\\\"num\\\"],[[30,2,[\\\"people\\\"]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[30,0,[\\\"multiply\\\"]],[[30,2,[\\\"weeks\\\"]],[30,2,[\\\"people\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,2,[\\\"price_person_week\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,2,[\\\"weeks\\\"]],[30,2,[\\\"people\\\"]],[30,2,[\\\"price_person_week\\\"]],[30,2,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,2,[\\\"type\\\"]],\\\"custom\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,[30,2,[\\\"type\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate text-gray-500 lowercase\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"description\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"1\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,2,[\\\"value\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,2,[\\\"value\\\"]],[30,2,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],null]],[2]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tfoot\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,0,\\\"pt-4 font-semibold text-gray-900 hidden\\\"],[12],[1,\\\"Total\\\\n investments\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"pt-4 text-right font-semibold text-gray-900 sm:table-cell\\\"],[12],[1,\\\"Total investments\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pb-0 pl-8 pr-0 pt-4 text-right font-semibold tabular-nums text-gray-900\\\"],[12],[1,[28,[35,13],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,16],[[28,[37,14],[[30,0,[\\\"investmentsValue\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"table\\\"],[14,0,\\\"mt-2 w-full whitespace-nowrap text-left text-sm leading-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"colgroup\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[14,0,\\\"w-full\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold\\\"],[12],[1,\\\"Returns\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Amount\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Rate\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,\\\"Confidence\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold\\\"],[12],[1,\\\"Price\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,3,[\\\"calculations\\\"]]],null]],null],null,[[[41,[28,[37,11],[[30,4,[\\\"type\\\"]],\\\"new-customers\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,\\\"New customers\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"new_customers\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,4,[\\\"bon_clv\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"new_customers\\\"]],[30,4,[\\\"bon_clv\\\"]],[30,4,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"type\\\"]],\\\"new-customers-v2\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,\\\"New customers\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"new_customers\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,13],[[28,[37,17],[\\\"financials.customer-values.\\\",[30,4,[\\\"bon_clv_label\\\"]]],null]],null]],[1,\\\"\\\\n -\\\\n \\\"],[1,[28,[35,14],[[30,4,[\\\"bon_clv\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"new_customers\\\"]],[30,4,[\\\"bon_clv\\\"]],[30,4,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"type\\\"]],\\\"custom\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,[30,4,[\\\"type\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate text-gray-500 lowercase\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"description\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"1\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,4,[\\\"value\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"value\\\"]],[30,4,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"type\\\"]],\\\"cost-fte\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,\\\"Cost\\\\n FTE\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[30,4,[\\\"ftes\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"price_person_week\\\"]],[30,4,[\\\"horizon\\\"]],4],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"ftes\\\"]],[30,4,[\\\"price_person_week\\\"]],[30,4,[\\\"horizon\\\"]],4,[30,4,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"type\\\"]],\\\"upsell\\\"],null],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900 capitalize\\\"],[12],[1,\\\"Upsell\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"customers\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[12],[1,[28,[35,14],[[30,4,[\\\"upsell_value\\\"]],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,[28,[35,14],[[28,[30,0,[\\\"multiply\\\"]],[[30,4,[\\\"customers\\\"]],[30,4,[\\\"upsell_value\\\"]],[30,4,[\\\"confidence_value\\\"]]],null],\\\",-\\\",[28,[37,13],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[4]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tfoot\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,0,\\\"pt-4 font-semibold text-gray-900 hidden\\\"],[12],[1,\\\"Total\\\\n returns\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"pt-4 text-right font-semibold text-gray-900 sm:table-cell\\\"],[12],[1,\\\"Total returns\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pb-0 pl-8 pr-0 pt-4 text-right font-semibold tabular-nums text-gray-900\\\"],[12],[1,[28,[35,13],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,16],[[28,[37,14],[[30,0,[\\\"returnsValue\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,0,\\\"pt-4 font-semibold text-gray-900 hidden\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"pt-4 text-right font-semibold text-gray-900 sm:table-cell\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pb-0 pl-8 pr-0 pt-4 text-right font-semibold tabular-nums text-gray-900\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,0,\\\"pt-4 font-semibold text-gray-900 hidden\\\"],[12],[1,[28,[35,13],[\\\"_initiatives.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"row\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"pt-4 text-right font-semibold text-gray-900 sm:table-cell\\\"],[12],[1,[28,[35,13],[\\\"_initiatives.impact\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pb-0 pl-8 pr-0 pt-4 text-right font-semibold tabular-nums text-gray-900\\\"],[14,\\\"test-id\\\",\\\"bon-value\\\"],[12],[1,[28,[35,13],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,16],[[28,[37,14],[[30,0,[\\\"bonValue\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[15,\\\"for\\\",[29,[\\\"bon-\\\",[30,5,[\\\"id\\\"]]]]],[12],[1,[28,[35,13],[\\\"dictionary.notes\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\" \\\"],[8,[39,19],[[24,0,\\\"inter text-sm text-gray-800 compressed-lines\\\"]],[[\\\"@delta\\\",\\\"@name\\\",\\\"@id\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@enabled\\\"],[[30,6],[29,[\\\"bon-preview-\\\",[30,5,[\\\"id\\\"]]]],[29,[\\\"bon-preview-\\\",[30,5,[\\\"id\\\"]]]],[29,[\\\"#bon-preview-\\\",[30,5,[\\\"id\\\"]]]],\\\"bubble\\\",false]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"pre\\\"],[14,0,\\\"inter text-sm text-gray-800 whitespace-pre-wrap\\\"],[12],[1,[30,7]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@investments\\\",\\\"calculation\\\",\\\"@returns\\\",\\\"calculation\\\",\\\"@model\\\",\\\"@text_delta\\\",\\\"@notes\\\"],[\\\"div\\\",\\\"table\\\",\\\"colgroup\\\",\\\"col\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"eq\\\",\\\"td\\\",\\\"t\\\",\\\"localize\\\",\\\"tfoot\\\",\\\"or\\\",\\\"concat\\\",\\\"label\\\",\\\"quill-editor\\\",\\\"pre\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/bon-preview.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinBonPreviewComponent = _exports.default = (_class = class BackOfANapkinBonPreviewComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get bonValue() {\n return this.args.bonValue;\n }\n get investmentsValue() {\n const investments = this.args.investments;\n if (!investments) return '-';\n if ((investments?.calculations || []).length === 0 && (investments?.value || 0) === 0) return '-';\n return investments.value;\n }\n get returnsValue() {\n const returns = this.args.returns;\n if (!returns) return '-';\n if ((returns?.calculations || []).length === 0 && (returns?.value || 0) === 0) return '-';\n return returns.value;\n }\n roleName(role_id) {\n return this.store.peekRecord('role', role_id)?.name;\n }\n teamName(team_id) {\n return this.store.peekRecord('team', team_id)?.name;\n }\n multiply(...args) {\n return args.reduce((acc, item) => +item * +acc, 1);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"roleName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"roleName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teamName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"teamName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"multiply\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"multiply\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinBonPreviewComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/confidence-dropdown\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if @value}}\n {{@label}}\n {{else}}\n {{t \"dictionary.select\"}}\n {{t \"dictionary.confidence\"}}\n {{/if}}\n \n \n \n \n \n \n {{#if @extraOptions.length}}\n {{#each @extraOptions as |option|}}\n \n \n {{option.label}}\n \n {{#if (eq @value option.value)}}\n \n {{/if}}\n \n {{/each}}\n \n {{/if}}\n \n {{#each this.confidenceOptions as |confidence|}}\n \n \n {{confidence.label}}\n \n {{#if (eq @value confidence.value)}}\n \n {{/if}}\n \n \n {{#if (eq confidence.label \"Confirmed\")}}\n \n {{/if}}\n {{/each}}\n \n \n \n \n \n */\n {\n \"id\": \"vudANvNy\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"border border-solid border-gray-300 rounded-md flex items-center justify-between px-3 py-2 min-w-[145px] bg-white disabled:bg-gray-100\\\"],[24,\\\"test-id\\\",\\\"confidence-dropdown\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-semibold text-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[1,[30,3]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,3],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.confidence\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onCreate\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] !w-[280px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,4,[\\\"length\\\"]],[[[42,[28,[37,8],[[28,[37,8],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@menuClick\\\"],[[28,[37,10],[[30,0,[\\\"handleConfidenceSelect\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,5,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,2],[30,5,[\\\"value\\\"]]],null],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"h-[1px] w-full bg-gray-200 !my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"confidenceOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@menuClick\\\"],[[28,[37,10],[[30,0,[\\\"handleConfidenceSelect\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,2],[30,6,[\\\"value\\\"]]],null],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,11],[[30,6,[\\\"label\\\"]],\\\"Confirmed\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"!my-2 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null]],[6]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@value\\\",\\\"@label\\\",\\\"@extraOptions\\\",\\\"option\\\",\\\"confidence\\\"],[\\\"button\\\",\\\"span\\\",\\\"if\\\",\\\"t\\\",\\\"atoms/icons/chevron/down\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"eq\\\",\\\"atoms/icons/check\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/confidence-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinConfidenceDropdownComponent = _exports.default = (_class = class BackOfANapkinConfidenceDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get confidenceOptions() {\n if (this.args.type === 'Investment') return this.organisation.investmentConfidenceOptions;\n if (this.args.type === 'Return') return this.organisation.returnConfidenceOptions;\n return [];\n }\n handleConfidenceSelect(e) {\n this.args?.onSelect(e);\n this.tippyInstance.hide();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleConfidenceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleConfidenceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinConfidenceDropdownComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/investment-template-dropdown\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n \n {{t \"financials.empty-field\"}}\n \n \n \n {{t\n \"financials.templates\"\n }}\n \n \n \n \n {{t \"financials.person-weeks\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"hBLN9idH\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShown\\\"],[\\\"bottom-end\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] !w-[280px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"custom-template\\\"],[4,[38,5],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,4],[[30,2],\\\"custom\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,7],[\\\"financials.empty-field\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"hover:!bg-transparent\\\"],[4,[38,5],[[30,0,[\\\"tippyInstance\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,7],[\\\"financials.templates\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"person-weeks-template\\\"],[4,[38,5],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,4],[[30,2],\\\"person-weeks-role\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,7],[\\\"financials.person-weeks\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@onSelect\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/investment-template-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinInvestmentTemplateDropdownComponent = _exports.default = (_class = class BackOfANapkinInvestmentTemplateDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor, this);\n }\n setTippyInstance(e) {\n this.tippyInstance = e;\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinInvestmentTemplateDropdownComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/investments\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n {{#if @editMode}}\n \n \n {{t\n \"dictionary.cancel\"\n }}\n \n {{t \"dictionary.save\"}}\n \n {{else if (eq this.calculations.length 0)}}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n
\n
\n \n {{#if this.calculations.length}}\n
\n
\n {{#each this.calculations key=@index as |calculation index|}}\n {{#let\n (component (concat \"back-of-a-napkin/templates/\" calculation.type))\n as |Template|\n }}\n
\n
\n {{#if @editMode}}\n \n \n \n \n {{/if}}\n \n
\n
\n {{/let}}\n
\n {{/each}}\n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.investment\" num=1)}}\n \n \n \n
\n \n {{#if this.showTotal}}\n \n {{t\n \"financials.total\"\n }}\n \n {{localize @investments.value \",-\" (t \"currency.euro\")}}\n
\n {{/if}}\n \n \n {{else}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"_initiatives.title\" num=1)\n item=(lowercase (t \"_initiatives.investment\" num=2))\n }}\n <:other>\n \n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.investment\" num=1)}}\n \n \n \n \n \n {{/if}}\n */\n {\n \"id\": \"z6BRzrdx\",\n \"block\": \"[[[8,[39,0],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"gap-x-2 flex items-center rounded-md border border-gray-300 bg-white py-1 px-3 add-calculation shrink-0\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"resetUnsavedChanges\\\"]]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,[28,[35,6],[\\\"dictionary.cancel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!py-1.5\\\"],[24,4,\\\"submit\\\"],[4,[38,4],[\\\"click\\\",[30,2]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]],[[[41,[28,[37,8],[[30,0,[\\\"calculations\\\",\\\"length\\\"]],0],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,4],[\\\"click\\\",[30,3]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"calculations\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"form-group\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"calculations mb-5\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"calculations\\\"]]],null]],null],[30,4],[[[44,[[50,[28,[37,13],[\\\"back-of-a-napkin/templates/\\\",[30,5,[\\\"type\\\"]]],null],0,null,null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"my-2 pl-8 bg-white pr-2 rounded-md\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative group py-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!text-gray-400 absolute opacity-0 group-hover:opacity-100 -left-9 top-[24px]\\\"],[16,\\\"test-id\\\",[29,[\\\"delete-investment-calculation-\\\",[30,6]]]],[4,[38,4],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"deleteInvestmentAtIndex\\\"]],[30,6]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[30,7],null,[[\\\"@type\\\",\\\"@editMode\\\",\\\"@onValueEmit\\\",\\\"@calculation\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\"],[\\\"Investment\\\",[30,1],[28,[37,15],[[30,0,[\\\"onValueEmit\\\"]],[30,6]],null],[30,5],[30,6],[30,0,[\\\"onSlideoverToggle\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\" \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-4\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[5,6]],null],[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"w-full justify-center font-normal shadow\\\"],[24,\\\"test-id\\\",\\\"investment-calculation-btn\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@tippy\\\",\\\"@onSelect\\\"],[true,[30,0,[\\\"handleAddFirstInvestment\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showTotal\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"total-row flex items-center justify-between sticky bottom-0 py-4 left-0 right-0 pl-6 border-t border-gray-300 bg-white pr-2 -mx-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-800 text-sm text-right font-bold\\\"],[12],[1,[28,[35,6],[\\\"financials.total\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"inline-block font-semibold text-sm bg-indigo-600/[0.08] rounded-md px-3 py-2\\\"],[14,\\\"test-id\\\",\\\"investments-total\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[[30,8,[\\\"value\\\"]],\\\",-\\\",[28,[37,6],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"h-full\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,6],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,22],[[28,[37,6],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[2]]]],null]]]]]],[]],[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],[[24,0,\\\"w-2/3 justify-center font-normal shadow\\\"],[24,\\\"test-id\\\",\\\"investment-calculation-btn\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@tippy\\\",\\\"@onSelect\\\"],[true,[30,0,[\\\"handleAddCalculation\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@editMode\\\",\\\"@onSaveClick\\\",\\\"@toggleEditMode\\\",\\\"@index\\\",\\\"calculation\\\",\\\"index\\\",\\\"Template\\\",\\\"@investments\\\"],[\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"eq\\\",\\\"each\\\",\\\"-track-array\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/delete\\\",\\\"back-of-a-napkin/add-calculation-button\\\",\\\"back-of-a-napkin/investment-template-dropdown\\\",\\\"localize\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"lowercase\\\",\\\":other\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/investments.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinInvestmentsComponent = _exports.default = (_class = class BackOfANapkinInvestmentsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get investments() {\n return this.args.investments;\n }\n get calculations() {\n return (this.investments?.calculations || []).map(calculation => {\n return {\n ...calculation,\n type: calculation.type.toLowerCase().replaceAll('_', '-')\n };\n });\n }\n get showTotal() {\n return this.calculations.filter(item => item.confidence_value).length > 0;\n }\n addInvestment(type) {\n const investments = this.investments ? {\n ...this.investments\n } : {\n value: 0,\n calculations: []\n };\n investments.calculations.push({\n type: type,\n confidence_label: 'Medium',\n confidence_value: this.organisation.bon_investment_confidences['medium'],\n notes: {}\n });\n this.args.updateBonInvestments(investments);\n }\n deleteInvestmentAtIndex(index) {\n const investments = {\n ...this.investments\n };\n investments.calculations.splice(index, 1);\n this.args.updateBonInvestments(investments);\n }\n onValueEmit(index, calculation) {\n const investments = {\n ...this.investments\n };\n investments.calculations[index] = calculation;\n this.args.updateBonInvestments(investments);\n this.args.checkForIncompleteTemplates();\n }\n onSlideoverToggle(key, type = null) {\n const joinedKey = type && typeof type === 'string' ? `${key}-${type}`.toLowerCase() : key;\n switch (joinedKey) {\n case 'ppw':\n this.args.togglePpwSlideover();\n break;\n case 'confidence-investment':\n this.args.toggleInvestmentConfidenceSlideover();\n break;\n }\n }\n handleAddFirstInvestment(type) {\n this.addInvestment(type);\n if (!this.args.editMode) this.args.toggleEditMode();\n }\n resetUnsavedChanges() {\n this.args?.resetBon?.();\n }\n handleAddCalculation(type) {\n this.args.toggleEditMode(true);\n this.addInvestment(type);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"addInvestment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addInvestment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteInvestmentAtIndex\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteInvestmentAtIndex\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onValueEmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onValueEmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSlideoverToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSlideoverToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddFirstInvestment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddFirstInvestment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetUnsavedChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetUnsavedChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddCalculation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddCalculation\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinInvestmentsComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/metrics/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n

Metrics

\n \n \n Link metric\n \n
\n \n
\n {{#each @initiative.metrics as |metric index|}}\n
\n
\n
\n \n

\n {{metric.title}}\n \n \n \n \n \n Unlink metric\n \n \n \n

\n \n {{#if metric.latestMeasurement}}\n \n on\n {{metric.latestMeasurement.formattedRecordedDate}}\n \n {{/if}}\n
\n

Last measured:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n \"n/a\"\n }}\n \n \n

\n
\n \n \n \n \n Targets -\n {{metric.targets.length}}\n \n \n \n \n \n \n {{t \"_initiatives.title\" num=2}}\n -\n {{metric.linkedInitiatives.length}}\n \n \n \n \n \n \n Goals -\n {{metric.linkedGoals.length}}\n \n \n \n
\n
\n \n
\n \n {{/each}}\n
\n \n {{#if this.metricWizardIsVisible}}\n \n {{/if}}\n
\n */\n {\n \"id\": \"xms3mnvh\",\n \"block\": \"[[[10,0],[14,0,\\\"form-group\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"group-title flex items-center justify-between mb-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-base text-gray-800 font-semibold\\\"],[12],[1,\\\"Metrics\\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"gap-x-2 flex items-center rounded-md border border-gray-300 bg-white py-1 px-3\\\"],[24,\\\"test-id\\\",\\\"add-metric\\\"],[17,1],[4,[38,3],[\\\"click\\\",[30,0,[\\\"openMetricWizard\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-6 h-6 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,\\\"Link metric\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"metrics mb-5 grid grid-cols-12 gap-6\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,2,[\\\"metrics\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6 xl:col-span-6 group relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4 border border-gray-200 rounded-lg h-28 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-4 h-4 text-gray-900\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-sm text-gray-900 font-normal flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"!text-red-600 opacity-0 group-hover:opacity-100 ml-1\\\"],[16,\\\"test-id\\\",[29,[\\\"unlink-metric-\\\",[30,4]]]],[4,[38,3],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"unlinkMetric\\\"]],[30,3]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"w-5 h-5\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Unlink metric\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,3,[\\\"latestMeasurement\\\"]],[[[1,\\\" \\\"],[10,\\\"em\\\"],[14,0,\\\"text-gray-500 text-xs grow text-right whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"recorded-at\\\"],[12],[1,\\\"\\\\n on\\\\n \\\"],[1,[30,3,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500 mt-1\\\"],[12],[1,\\\"Last measured:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold text-xs\\\"],[12],[1,[52,[30,3,[\\\"latestMeasurement\\\"]],[30,3,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]],\\\"n/a\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 mt-3\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,17],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n Targets -\\\\n \\\"],[1,[30,3,[\\\"targets\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n -\\\\n \\\"],[1,[30,3,[\\\"linkedInitiatives\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n Goals -\\\\n \\\"],[1,[30,3,[\\\"linkedGoals\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[3,4]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"metricWizardIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,21],null,[[\\\"@initiative\\\",\\\"@closeWizard\\\"],[[30,2],[30,0,[\\\"closeMetricWizard\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"&attrs\\\",\\\"@initiative\\\",\\\"metric\\\",\\\"index\\\"],[\\\"div\\\",\\\"h3\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-icons/metric\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/edit-arrow\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"if\\\",\\\"em\\\",\\\"p\\\",\\\"tailwind-icons/target\\\",\\\"atoms/icons/initiatives\\\",\\\"t\\\",\\\"tailwind-icons/flag\\\",\\\"initiatives/metric-wizard\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/metrics/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinMetricsComponent = _exports.default = (_class = class BackOfANapkinMetricsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"metricWizardIsVisible\", _descriptor, this);\n }\n openMetricWizard() {\n this.metricWizardIsVisible = true;\n }\n closeMetricWizard() {\n this.metricWizardIsVisible = false;\n }\n unlinkMetric(metric) {\n const targets = this.args.initiative.targets?.content;\n const target = targets.find(_target => _target.metric?.content?.id === metric.id);\n target.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"metricWizardIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"openMetricWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openMetricWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMetricWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMetricWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unlinkMetric\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unlinkMetric\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinMetricsComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/returns-template-dropdown\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n {{t \"financials.empty-field\"}}\n \n \n {{! Divider }}\n \n {{t\n \"financials.templates\"\n }}\n \n \n {{! Divider}}\n \n \n {{t \"financials.new-customer\" num=1}}\n \n \n \n {{t \"financials.up-sell\"}}\n \n \n \n {{t \"financials.saved-ftes\"}}\n \n \n {{#if this.organisation.is_trial}}\n {{#each this.dummyTemplates as |template|}}\n \n \n {{template}}\n \n \n {{t \"dictionary.paid-feature\"}}\n \n \n \n {{/each}}\n {{/if}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"7oUIqb98\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShown\\\"],[\\\"bottom-end\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"setConfirmedTippy\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] !w-[280px] overflow-y-auto confirmed-dropdown\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"custom-template\\\"]],[[\\\"@menuClick\\\",\\\"@closeMenu\\\"],[[28,[37,4],[[30,2],\\\"custom\\\",\\\"confirmed\\\"],null],[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"financials.empty-field\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[8,[39,3],[[24,0,\\\"hover:!bg-transparent\\\"]],[[\\\"@closeMenu\\\"],[[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,6],[\\\"financials.templates\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"new-customers-template\\\"]],[[\\\"@menuClick\\\",\\\"@closeMenu\\\"],[[28,[37,4],[[30,2],[52,[30,0,[\\\"betaToggle\\\",\\\"newCustomersV2Snippet\\\"]],\\\"new-customers-v2\\\",\\\"new-customers\\\"],\\\"confirmed\\\"],null],[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"financials.new-customer\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"upsell-template\\\"]],[[\\\"@menuClick\\\",\\\"@closeMenu\\\"],[[28,[37,4],[[30,2],\\\"upsell\\\",\\\"confirmed\\\"],null],[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"financials.up-sell\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"cost-fte-template\\\"]],[[\\\"@menuClick\\\",\\\"@closeMenu\\\"],[[28,[37,4],[[30,2],\\\"cost-fte\\\",\\\"confirmed\\\"],null],[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"financials.saved-ftes\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"organisation\\\",\\\"is_trial\\\"]],[[[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"dummyTemplates\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,3],[[24,0,\\\"flex items-center gap-x-1 overflow-hidden text-ellipsis\\\"]],[[\\\"@closeMenu\\\"],[[30,0,[\\\"confirmedTippy\\\",\\\"hide\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"w-4 h-4 text-gray-500 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.paid-feature\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3]],null]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@onSelect\\\",\\\"template\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"atoms/icons/lock\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/returns-template-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinReturnsTemplateDropdownComponent = _exports.default = (_class = class BackOfANapkinReturnsTemplateDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _defineProperty(this, \"confirmedTippy\", null);\n }\n get documentBody() {\n return document.body;\n }\n get offset() {\n return [0, 16];\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get dummyTemplates() {\n return ['Churn reduction', 'Increased CLV', 'Reduced CAC', 'Time-to-Value Reduction', 'Improved Conversion Rates'];\n }\n onClickOutside(instance) {\n instance.hide();\n return;\n }\n setConfirmedTippy(instance) {\n this.confirmedTippy = instance;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onClickOutside\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onClickOutside\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setConfirmedTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setConfirmedTippy\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinReturnsTemplateDropdownComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/returns\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-lifeline\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _emberLifeline, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-lifeline\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n {{#if @editMode}}\n \n {{t\n \"dictionary.cancel\"\n }}\n \n {{t \"dictionary.save\"}}\n \n {{else if (eq this.calculations.length 0)}}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n
\n
\n \n {{#if this.calculations.length}}\n
\n
\n {{#each this.calculations key=@index as |calculation index|}}\n {{#let\n (component (concat \"back-of-a-napkin/templates/\" calculation.type))\n as |Template|\n }}\n
\n \n
\n {{#if @editMode}}\n \n \n \n {{/if}}\n \n
\n
\n {{/let}}\n
\n {{/each}}\n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.returns\" num=1)}}\n \n \n \n
\n \n {{#if this.showTotal}}\n \n {{t\n \"financials.total\"\n }}\n \n {{localize @returns.value \",-\" (t \"currency.euro\")}}\n
\n {{/if}}\n \n \n {{else}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"_initiatives.title\" num=1)\n item=(lowercase (t \"_initiatives.returns\" num=2))\n }}\n <:other>\n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.returns\" num=1)}}\n \n \n \n \n \n {{/if}}\n */\n {\n \"id\": \"MfCmSnTL\",\n \"block\": \"[[[8,[39,0],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"gap-x-2 flex items-center rounded-md border border-gray-300 bg-white py-1 px-3 add-calculation shrink-0\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"resetUnsavedChanges\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,[28,[35,6],[\\\"dictionary.cancel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!py-1.5\\\"],[24,4,\\\"submit\\\"],[4,[38,4],[\\\"click\\\",[30,2]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]],[[[41,[28,[37,8],[[30,0,[\\\"calculations\\\",\\\"length\\\"]],0],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,4],[\\\"click\\\",[30,3]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"calculations\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"form-group\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"calculations mb-5\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"calculations\\\"]]],null]],null],[30,4],[[[44,[[50,[28,[37,13],[\\\"back-of-a-napkin/templates/\\\",[30,5,[\\\"type\\\"]]],null],0,null,null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"my-2 pl-8 bg-white pr-2 rounded-md\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative group py-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"!text-gray-400 absolute opacity-0 group-hover:opacity-100 -left-9 top-[24px]\\\"],[16,\\\"test-id\\\",[29,[\\\"delete-returns-calculation-\\\",[30,6]]]],[4,[38,4],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"deleteReturnAtIndex\\\"]],[30,6]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[30,7],null,[[\\\"@type\\\",\\\"@editMode\\\",\\\"@onValueEmit\\\",\\\"@calculation\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\"],[\\\"Return\\\",[30,1],[28,[37,15],[[30,0,[\\\"onValueEmit\\\"]],[30,6]],null],[30,5],[30,6],[30,0,[\\\"onSlideoverToggle\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\" \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-4\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[5,6]],null],[1,\\\" \\\"],[8,[39,17],[[24,\\\"test-id\\\",\\\"return-calculation-btn\\\"],[24,0,\\\"w-full justify-center font-semibold shadow\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@tippy\\\",\\\"@onSelect\\\"],[true,[30,0,[\\\"handleAddCalculation\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showTotal\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"total-row flex items-center justify-between sticky bottom-0 py-4 left-0 right-0 pl-6 border-t border-gray-300 bg-white pr-2 -mx-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-800 text-sm text-right font-semibold\\\"],[12],[1,[28,[35,6],[\\\"financials.total\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"inline-block font-bold text-sm bg-indigo-600/[0.08] rounded-md px-3 py-2\\\"],[14,\\\"test-id\\\",\\\"returns-total\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[[30,8,[\\\"value\\\"]],\\\",-\\\",[28,[37,6],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"h-full\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,6],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,22],[[28,[37,6],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[2]]]],null]]]]]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,17],[[24,\\\"test-id\\\",\\\"return-calculation-btn\\\"],[24,0,\\\"w-2/3 justify-center font-semibold shadow\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-medium text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@tippy\\\",\\\"@onSelect\\\"],[true,[30,0,[\\\"handleAddFirstReturn\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@editMode\\\",\\\"@onSaveClick\\\",\\\"@toggleEditMode\\\",\\\"@index\\\",\\\"calculation\\\",\\\"index\\\",\\\"Template\\\",\\\"@returns\\\"],[\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"eq\\\",\\\"each\\\",\\\"-track-array\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/delete\\\",\\\"back-of-a-napkin/add-calculation-button\\\",\\\"back-of-a-napkin/returns-template-dropdown\\\",\\\"localize\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"lowercase\\\",\\\":other\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/returns.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinReturnsComponent = _exports.default = (_class = class BackOfANapkinReturnsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get returns() {\n return this.args.returns;\n }\n get calculations() {\n return (this.returns?.calculations || []).map(calculation => {\n return {\n ...calculation,\n type: calculation.type.toLowerCase().replaceAll('_', '-')\n };\n });\n }\n get showTotal() {\n return this.calculations.filter(item => item.confidence_value).length > 0;\n }\n addReturn(type, status) {\n const returns = this.returns ? {\n ...this.returns\n } : {\n value: 0,\n calculations: []\n };\n returns.calculations.push({\n type,\n status,\n confidence_label: 'Medium',\n confidence_value: this.organisation.bon_return_confidences['medium'],\n notes: {}\n });\n this.args.updateBonReturns(returns);\n }\n deleteReturnAtIndex(index) {\n const returns = {\n ...this.returns\n };\n returns.calculations.splice(index, 1);\n this.args.updateBonReturns(returns);\n }\n onValueEmit(index, calculation) {\n const returns = {\n ...this.returns\n };\n returns.calculations[index] = calculation;\n this.args.updateBonReturns(returns);\n (0, _emberLifeline.runTask)(this, () => this.args.checkForIncompleteTemplates());\n }\n onSlideoverToggle(key, type = null) {\n const joinedKey = type && typeof type === 'string' ? `${key}-${type}`.toLowerCase() : key;\n switch (joinedKey) {\n case 'upsell-value':\n this.args.toggleUpsellValueSlideover();\n break;\n case 'confidence-return':\n this.args.toggleReturnConfidenceSlideover();\n break;\n case 'fte':\n this.args.toggleFteSlideover();\n break;\n case 'clv':\n this.args.toggleClvSlideover();\n break;\n case 'customer-values':\n this.args.toggleCustomerValuesSlideover();\n break;\n }\n }\n handleAddFirstReturn(type, status) {\n this.addReturn(type, status);\n if (!this.args.editMode) this.args.toggleEditMode();\n }\n resetUnsavedChanges() {\n this.args?.resetBon?.();\n }\n handleAddCalculation(type, status) {\n this.args.toggleEditMode(true);\n this.addReturn(type, status);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"addReturn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addReturn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteReturnAtIndex\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteReturnAtIndex\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onValueEmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onValueEmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSlideoverToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSlideoverToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddFirstReturn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddFirstReturn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetUnsavedChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetUnsavedChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddCalculation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddCalculation\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinReturnsComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/bon\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.bon\"}}\n [{{t \"financials.back-of-napkin\" num=1}}]\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n \n

\n {{t\n \"financials.bon-definition\"\n bon=(t \"financials.back-of-napkin\" num=1)\n }}\n
\n
\n {{t\n \"financials.bon-uses\"\n bon=(t \"financials.back-of-napkin\" num=1)\n }}\n \n

\n
\n \n \n \n
\n

\n {{t \"financials.horizon\"}}\n

\n \n

\n {{this.organisation.horizon}} \n {{t \"financials.months\"}}\n

\n
\n \n \n \n
\n

\n {{t \"financials.clv\"}}\n ({{t \"financials.customer-lifetime-value\"}})\n {{t \"financials.within-horizon\"}}\n

\n \n

\n {{t \"currency.euro\"}}\n {{this.organisation.clv_in_horizon}}\n

\n
\n \n
\n \n \n \n \n
\n */\n {\n \"id\": \"rVbrJnyI\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".bon-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"bon-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.bon\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"]\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.bon-definition\\\"],[[\\\"bon\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.bon-uses\\\"],[[\\\"bon\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.horizon\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"horizon\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"horizon\\\"]]],[13],[1,\\\" \\\\n \\\"],[1,[28,[35,3],[\\\"financials.months\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"clv text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.clv\\\"],null]],[1,\\\"\\\\n (\\\"],[1,[28,[35,3],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\")\\\\n \\\"],[1,[28,[35,3],[\\\"financials.within-horizon\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"clv-in-horizon\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"clv_in_horizon\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"br\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/bon.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversBonComponent = _exports.default = (_class = class BackOfANapkinSlideoversBonComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversBonComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/clv\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.clv\"}}\n [{{t \"financials.customer-lifetime-value\"}}]\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t \"financials.clv-definition\"}}

\n
\n

{{t \"financials.clv-howto\"}}

\n
\n \n \n \n
\n

\n {{t \"financials.customer-lifetime-value\"}}\n

\n \n

\n {{t \"currency.euro\"}}\n {{this.organisation.clv_in_horizon}}\n

\n
\n \n
\n \n \n \n \n
\n */\n {\n \"id\": \"Mo6Hp99r\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".clv-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"clv-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.clv\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,3],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\"]\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.clv-definition\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-subtext\\\"],[12],[1,[28,[35,3],[\\\"financials.clv-howto\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"clv\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"clv_in_horizon\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"br\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/clv.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversClvComponent = _exports.default = (_class = class BackOfANapkinSlideoversClvComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversClvComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/customer-values/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{! }}\n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.clv\"}}\n [{{t \"financials.customer-lifetime-value\"}}]\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t \"financials.clv-definition\"}}

\n
\n

{{t \"financials.clv-howto\"}}

\n
\n \n \n \n {{#each this.organisation.customer_values_options as |customerValue|}}\n
\n \n {{customerValue.label}}\n

\n \n

\n {{localize\n customerValue.value\n \",-\"\n (t \"currency.euro\")\n }}\n

\n
\n {{/each}}\n \n
\n \n \n \n \n
\n */\n {\n \"id\": \"rmmOzdO0\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".clv-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"clv-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.clv\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,3],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\"]\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.clv-definition\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-subtext\\\"],[12],[1,[28,[35,3],[\\\"financials.clv-howto\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"organisation\\\",\\\"customer_values_options\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[15,\\\"test-id\\\",[29,[[30,3,[\\\"key\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[10,1],[15,\\\"test-id\\\",[29,[\\\"customer-value-\\\",[30,3,[\\\"key\\\"]]]]],[12],[1,[28,[35,14],[[30,3,[\\\"value\\\"]],\\\",-\\\",[28,[37,3],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\",\\\"customerValue\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"br\\\",\\\"atoms/divider\\\",\\\"each\\\",\\\"-track-array\\\",\\\"localize\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/customer-values/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversCustomerValuesComponent = _exports.default = (_class = class BackOfANapkinSlideoversCustomerValuesComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversCustomerValuesComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/fte\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.fte\"}}\n [{{t \"financials.full-time-equivalent\"}}]\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t \"financials.fte-explanation\"}}

\n
\n
\n \n \n \n \n \n
\n */\n {\n \"id\": \"rmXaDKaw\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".upsell-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"upsell-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.fte\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,3],[\\\"financials.full-time-equivalent\\\"],null]],[1,\\\"]\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.fte-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/fte.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"fte\"));\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/horizon\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.horizon\"}}\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t\n \"financials.horizon-explanation\"\n }}

\n \n
\n \n \n \n
\n

\n {{t \"financials.horizon\"}}\n

\n \n

\n {{this.organisation.horizon}}\n {{t \"financials.months\"}}\n

\n
\n \n
\n \n \n \n \n
\n */\n {\n \"id\": \"I4dyvlnP\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".horizon-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.horizon\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.horizon-explanation\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.horizon\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"horizon\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"horizon\\\"]]],[13],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.months\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/horizon.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversHorizonComponent = _exports.default = (_class = class BackOfANapkinSlideoversHorizonComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversHorizonComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/investment-confidence\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t\n \"financials.confidence-level\"\n confidence=(t \"financials.confidence\")\n }}\n ({{t \"financials.investment\" num=1}})\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t\n \"financials.confidence-level-explanation\"\n type=(t \"financials.investment\" num=1)\n }}

\n \n
\n \n \n \n
\n

\n {{t \"financials.low\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n {{t \"financials.investment\" num=1}}*{{this.lowConfidence}}\n

\n
\n \n \n \n
\n

\n {{t \"financials.medium\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n {{t \"financials.investment\" num=1}}*{{this.mediumConfidence}}\n

\n
\n \n \n \n
\n

\n {{t \"financials.high\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n {{t \"financials.investment\" num=1}}*{{this.highConfidence}}\n

\n
\n \n
\n \n \n \n \n \n */\n {\n \"id\": \"PftjFGMy\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".investment-confidence-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"investment-confidence-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence-level\\\"],[[\\\"confidence\\\"],[[28,[37,3],[\\\"financials.confidence\\\"],null]]]]],[1,\\\"\\\\n (\\\"],[1,[28,[35,3],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\")\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[12],[1,[28,[35,3],[\\\"financials.confidence-level-explanation\\\"],[[\\\"type\\\"],[[28,[37,3],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.low\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"low-confidence\\\"],[12],[1,[30,0,[\\\"lowConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.medium\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"medium-confidence\\\"],[12],[1,[30,0,[\\\"mediumConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.high\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"high-confidence\\\"],[12],[1,[30,0,[\\\"highConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/investment-confidence.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversInvestmentConfidenceComponent = _exports.default = (_class = class BackOfANapkinSlideoversInvestmentConfidenceComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get lowConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'Low')[0].value;\n }\n get mediumConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'Medium')[0].value;\n }\n get highConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'High')[0].value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversInvestmentConfidenceComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/ppw\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.ppw\"}}\n [{{t \"financials.person-weeks-full\"}}]\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t \"financials.ppw-explanation\"}}

\n \n
\n \n \n \n
\n

\n {{t \"financials.person-weeks-full\"}}\n

\n \n

\n {{t \"currency.euro\"}}\n {{this.organisation.ppw}}\n

\n
\n \n
\n \n \n \n \n
\n */\n {\n \"id\": \"UO+8Z+2E\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".ppw-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"ppw-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.ppw\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,3],[\\\"financials.person-weeks-full\\\"],null]],[1,\\\"]\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.ppw-explanation\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.person-weeks-full\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"ppw\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"ppw\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/ppw.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversPpwComponent = _exports.default = (_class = class BackOfANapkinSlideoversPpwComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversPpwComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/return-confidence\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t\n \"financials.confidence-level\"\n confidence=(t \"financials.confidence\")\n }}\n ({{t \"financials.returns\" num=1}})\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n

{{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t\n \"financials.confidence-level-explanation\"\n type=(t \"financials.returns\" num=1)\n }}

\n \n
\n \n \n \n
\n

\n {{t \"financials.low\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n \n {{t \"financials.returns\" num=1}}*{{this.lowConfidence}}\n

\n
\n \n \n \n
\n

\n {{t \"financials.medium\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n \n {{t \"financials.returns\" num=1}}*{{this.mediumConfidence}}\n

\n
\n \n \n \n
\n

\n {{t \"financials.high\"}}\n {{t \"financials.confidence\"}}\n

\n \n

\n {{t \"financials.returns\" num=1}}*{{this.highConfidence}}\n

\n
\n \n
\n \n \n \n \n \n */\n {\n \"id\": \"p3SXmnwK\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".investment-confidence-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"return-confidence-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence-level\\\"],[[\\\"confidence\\\"],[[28,[37,3],[\\\"financials.confidence\\\"],null]]]]],[1,\\\"\\\\n (\\\"],[1,[28,[35,3],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\")\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"description\\\"],[14,0,\\\"text-sm text-indigo-200\\\"],[12],[1,[28,[35,3],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,3],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[12],[1,[28,[35,3],[\\\"financials.confidence-level-explanation\\\"],[[\\\"type\\\"],[[28,[37,3],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.low\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n\\\\n \\\"],[1,[28,[35,3],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"low-confidence\\\"],[12],[1,[30,0,[\\\"lowConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.medium\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n\\\\n \\\"],[1,[28,[35,3],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"medium-confidence\\\"],[12],[1,[30,0,[\\\"mediumConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"border-none h-[1px]\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.high\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"high-confidence\\\"],[12],[1,[30,0,[\\\"highConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/return-confidence.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinSlideoversReturnConfidenceComponent = _exports.default = (_class = class BackOfANapkinSlideoversReturnConfidenceComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get lowConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'Low')[0].value;\n }\n get mediumConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'Medium')[0].value;\n }\n get highConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'High')[0].value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinSlideoversReturnConfidenceComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/slideovers/upsell-value\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
\n {{! }}\n
\n
\n
\n

\n {{t \"financials.upsell-title\"}}\n

\n
\n
\n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
\n
\n
\n \n {{! }}\n \n
\n

\n {{t \"dictionary.explanation\"}}\n

\n

{{t\n \"financials.upsell-explanation\"\n }}

\n
\n
\n \n \n \n \n \n
\n */\n {\n \"id\": \"MNpjgdAP\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".upsell-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"upsell-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[433px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.upsell-title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"explanation text-sm py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,\\\"test-id\\\",\\\"explanation-text\\\"],[12],[1,[28,[35,3],[\\\"financials.upsell-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/slideovers/upsell-value.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"upsell-value\"));\n});","define(\"scaleflow/components/back-of-a-napkin/templates/confidence-multiplier\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n {{t \"financials.confidence\"}}:\n \n {{! * }}\n \n \n =\n
\n {{t \"currency.euro\"}}\n {{localize this.confidenceValueinEuros \",-\"}}\n
\n */\n {\n \"id\": \"21mx/y3K\",\n \"block\": \"[[[10,0],[14,0,\\\"flex items-center justify-between text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"type\\\"],[14,0,\\\"capitalize\\\"],[12],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\":\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,3],[[16,\\\"disabled\\\",[30,1]]],[[\\\"@type\\\",\\\"@value\\\",\\\"@label\\\",\\\"@onSelect\\\",\\\"@extraOptions\\\"],[[30,2],[30,3],[30,4],[30,0,[\\\"handleConfidenceChange\\\"]],[30,0,[\\\"externalOptions\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,\\\"test-id\\\",\\\"confidence-levels-trigger\\\"],[4,[38,5],[\\\"click\\\",[30,5]],null]],null,[[\\\"default\\\"],[[[[8,[39,6],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"final-value\\\"],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,2],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[[30,0,[\\\"confidenceValueinEuros\\\"]],\\\",-\\\"],null]],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@disabled\\\",\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"span\\\",\\\"t\\\",\\\"back-of-a-napkin/confidence-dropdown\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/alert\\\",\\\"localize\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/confidence-multiplier.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesConfidenceMultiplierComponent = _exports.default = (_class = class BackOfANapkinTemplatesConfidenceMultiplierComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get confidence() {\n return this.args?.confidenceValue || null;\n }\n get value() {\n return isNaN(+this.args?.value) ? null : +this.args.value;\n }\n handleConfidenceChange(e) {\n this.args?.onConfidenceChange?.(e);\n }\n get confidenceOptions() {\n let options = [];\n if (this.args.type === 'Investment') options = this.organisation.investmentConfidenceOptions;\n if (this.args.type === 'Return') options = this.organisation.returnConfidenceOptions;\n return options;\n }\n get externalOptions() {\n if (Array.isArray(this.args.extraOptions) && this.args.extraOptions.length > 0) return this.args.extraOptions;\n let options = [];\n const confidenceOptionsLabels = this.confidenceOptions.map(item => item.label.toLowerCase());\n\n //If the provided confidence label is not part of our list of confience options\n if (this?.args?.confidenceLabel && !confidenceOptionsLabels.includes(this.args?.confidenceLabel?.toLowerCase())) {\n options = [{\n label: this.args.confidenceLabel,\n value: this.args.confidenceValue\n }];\n }\n return options;\n }\n get finalValue() {\n return this.value === null || this.confidence === null ? '-' : this.value * this.confidence;\n }\n get confidenceValueinEuros() {\n return this.value === null || this.confidence === null ? '-' : this.finalValue - this.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleConfidenceChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesConfidenceMultiplierComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/cost-fte\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{!-- {{#if @editMode}} --}}\n
\n \n \n \n
\n
\n \n {{t \"financials.fte\"}}\n \n \n \n {{t \"financials.within-horizon\"}}\n {{! }}\n \n =\n
\n {{t \"currency.euro\"}}\n {{or (localize this.valueBeforeConfidence \",-\") \"-\"}}\n
\n \n
\n {{!-- {{else}}\n
\n {{@calculation.ftes}} {{t 'financials.fte'}} * {{@calculation.confidence_value}} ({{this.confidenceLabel}} {{t 'financials.confidence'}}) =\n \n {{t 'currency.euro'}}\n {{localize this.finalValue ',-'}}\n \n
\n {{/if}} --}}\n */\n {\n \"id\": \"b6ebyclv\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-ftes-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-ftes-\\\",[30,2]]]],[24,3,\\\"ftes\\\"],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"ftes\\\"]]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,3],[\\\"financials.fte\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[4,[38,4],[\\\"click\\\",[28,[37,7],[[30,5],\\\"fte\\\"],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"financials.within-horizon\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,9],[[28,[37,10],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,2],[28,[37,7],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/cost-fte.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesCostFteComponent = _exports.default = (_class = class BackOfANapkinTemplatesCostFteComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get ppw() {\n return this.organisation.ppw;\n }\n get horizon() {\n return this.organisation.horizon;\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.ftes, this.ppw, this.horizon);\n }\n calculateValue(ftes = 0, ppw = 0, horizon = 0) {\n return (+ftes || 0) * ppw * horizon * 4;\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.ftes, this.ppw, this.horizon);\n calculation.price_person_week = this.ppw;\n calculation.horizon = this.horizon;\n this.args.onValueEmit(calculation);\n }\n onRender() {\n this.updateValue();\n }\n updateValue() {\n const finalValue = this.finalValue;\n if (isNaN(finalValue)) return;\n const calculation = {\n ...this.args.calculation\n };\n calculation.value = this.valueBeforeConfidence;\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n // if (this.args.calculation.confidence === undefined) return '-';\n // else if (this.args.type === 'Investment')\n // return this.organisation.getInvestmentConfidenceLabel(this.args.calculation.confidence);\n // else if (this.args.type === 'Return')\n // return this.organisation.getReturnConfidenceLabel(this.args.calculation.confidence);\n // return 'Not selected';\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.ftes) && !(0, _isNullOrUndefined.default)(this.ppw) && !(0, _isNullOrUndefined.default)(this.horizon) && !(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value)) return this.valueBeforeConfidence * +this.args.calculation.confidence_value;else return '-';\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesCostFteComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/custom\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n \n
\n \n \n {{!\n }}\n =\n
\n
\n \n {{t\n \"currency.euro\"\n }}\n
\n
\n \n \n */\n {\n \"id\": \"zLcmhgWU\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-custom-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2 gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 w-full whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-custom-description-\\\",[30,2]]]],[24,\\\"placeholder\\\",\\\"Custom description\\\"],[24,0,\\\"input border rounded-md p-2 text-sm border-gray-300 text-left disabled:bg-gray-100 w-full\\\"],[16,2,[30,3,[\\\"description\\\"]]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[4,[38,3],[\\\"input\\\",[30,0,[\\\"handleDescriptionChange\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-custom-value-\\\",[30,2]]]],[24,3,\\\"value\\\"],[24,0,\\\"input w-[95px] border rounded-md p-2 text-sm border-gray-300 pl-5 disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"value\\\"]]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,3],[\\\"input\\\",[30,0,[\\\"handleValueChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"absolute top-[50%] -translate-y-[50%] left-2\\\"],[12],[1,[28,[35,5],[\\\"currency.euro\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,3,[\\\"value\\\"]],[30,2],[28,[37,7],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/custom.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesCustomComponent = _exports.default = (_class = class BackOfANapkinTemplatesCustomComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n handleValueChange(e) {\n const calculation = this.args.calculation;\n calculation.value = isNaN(e.target.value) ? 0 : +e.target.value;\n this.args.onValueEmit(calculation);\n }\n handleDescriptionChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.description = e.target.value;\n this.args.onValueEmit(calculation);\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n calculateValue(value = 0, confidence_multiplier = 0) {\n return (+value || 0) * (+confidence_multiplier || 0);\n }\n get confidenceLabel() {\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (this.args.calculation?.value === undefined || this.args.calculation?.confidence_value === undefined) return '-';\n return +this.args.calculation.value * +this.args.calculation.confidence_value;\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleValueChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleValueChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesCustomComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/customer-value-input-modal/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:title>\n

{{t\n \"lists.add-item\"\n item=(t \"financials.customer-lifetime-value\")\n }}

\n \n <:body>\n
\n
\n \n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n */\n {\n \"id\": \"SuPNp/hK\",\n \"block\": \"[[[8,[39,0],[[24,\\\"test-id\\\",\\\"quick-add-customer-value-form\\\"],[4,[38,1],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,1],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,4],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,4],[\\\"financials.customer-lifetime-value\\\"],null]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,7],[\\\"submit\\\",[30,0,[\\\"onSubmit\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[4,[38,7],[\\\"input\\\",[30,0,[\\\"setCustomerValue\\\"]]],null],[4,[38,10],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@type\\\",\\\"@value\\\"],[\\\"customer-value\\\",[28,[37,4],[\\\"financials.customer-lifetime-value\\\"],null],\\\"20000\\\",\\\"number\\\",[30,0,[\\\"customer_value\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"onSubmit\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,4],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]]],[\\\"@isOpen\\\"],[\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/customer-value-input-modal/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesCustomerValueInputModalComponent = _exports.default = (_class = class BackOfANapkinTemplatesCustomerValueInputModalComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"customer_value\", _descriptor, this);\n }\n onSubmit(e) {\n e.preventDefault();\n this.args.handleFormSave(+this.customer_value);\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n setCustomerValue(e) {\n this.customer_value = +e.target.value;\n }\n get isDisabled() {\n if (this.customer_value === null || this.customer_value === undefined || isNaN(+this.customer_value) || +this.customer_value === 0) return true;\n return false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"customer_value\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.value ?? null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setCustomerValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setCustomerValue\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesCustomerValueInputModalComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/customer-values-dropdown/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if @value}}\n {{#if (eq this.labelKey \"custom\")}}\n {{localize @value \",-\" (t \"currency.euro\")}}\n {{else}}\n {{this.customerValueLabel}}\n {{/if}}\n {{else}}\n {{t \"financials.customer-lifetime-value\"}}\n {{/if}}\n \n \n \n \n \n \n {{#each this.customerValues as |customerValue|}}\n \n \n {{customerValue.label}}\n \n {{#if\n (and\n (eq @value customerValue.value) (not-eq this.labelKey \"custom\")\n )\n }}\n \n {{/if}}\n \n {{/each}}\n {{#if this.customerValues.length}}\n \n {{/if}}\n \n \n {{t \"financials.customer-values.custom\"}}\n \n {{#if (eq this.labelKey \"custom\")}}\n \n {{/if}}\n \n \n \n \n \n \n \n {{#if this.customerValueFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"r2aE/je/\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"border border-solid border-gray-300 rounded-md flex items-center justify-between px-3 py-2 min-w-[145px] bg-white disabled:bg-gray-100\\\"],[16,1,[29,[[30,1],\\\"-customer-values-dropdown-\\\",[30,2]]]],[24,\\\"test-id\\\",\\\"customer-values-dropdown\\\"],[17,3],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-700 font-normal text-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,4],[[[41,[28,[37,3],[[30,0,[\\\"labelKey\\\"]],\\\"custom\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,4],[[30,4],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,0,[\\\"customerValueLabel\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onCreate\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] text-gray- !w-[280px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"customerValues\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleCustomerValueSelect\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,5,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[28,[37,3],[[30,4],[30,5,[\\\"value\\\"]]],null],[28,[37,14],[[30,0,[\\\"labelKey\\\"]],\\\"custom\\\"],null]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5]],null],[41,[30,0,[\\\"customerValues\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"!my-2 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"custom\\\"]],[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleCustomerValueSelect\\\"]],[28,[37,17],null,[[\\\"key\\\"],[\\\"custom\\\"]]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.customer-values.custom\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"labelKey\\\"]],\\\"custom\\\"],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"customerValueFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,18],null,[[\\\"@isOpen\\\",\\\"@handleFormDismiss\\\",\\\"@handleFormSave\\\",\\\"@value\\\"],[true,[30,0,[\\\"closeForm\\\"]],[30,0,[\\\"propogateCustomValue\\\"]],[52,[28,[37,3],[[30,0,[\\\"labelKey\\\"]],\\\"custom\\\"],null],[30,4],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@type\\\",\\\"@index\\\",\\\"&attrs\\\",\\\"@value\\\",\\\"customerValue\\\"],[\\\"button\\\",\\\"span\\\",\\\"if\\\",\\\"eq\\\",\\\"localize\\\",\\\"t\\\",\\\"atoms/icons/chevron/down\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"and\\\",\\\"not-eq\\\",\\\"atoms/icons/check\\\",\\\"atoms/divider\\\",\\\"hash\\\",\\\"back-of-a-napkin/templates/customer-value-input-modal\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/customer-values-dropdown/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesCustomerValuesDropdownComponent = _exports.default = (_class = class BackOfANapkinTemplatesCustomerValuesDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"customerValueFormIsVisible\", _descriptor3, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get customerValues() {\n return this.organisation.customer_values_options;\n }\n get labelKey() {\n return this.args.labelKey;\n }\n handleCustomerValueSelect(e) {\n if (e.key === 'custom') {\n this.customerValueFormIsVisible = true;\n this.tippyInstance.hide();\n return;\n }\n this.args?.onSelect(e);\n this.tippyInstance.hide();\n }\n closeForm() {\n this.customerValueFormIsVisible = false;\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n get customerValueLabel() {\n if (!this.labelKey) return this.intl.t(`financials.customer-values.custom`);\n return this.intl.t(`financials.customer-values.${this.labelKey.toLowerCase()}`);\n }\n propogateCustomValue(customer_value) {\n const customer_value_object = {\n key: 'custom',\n label: this.intl.t('financials.customer-values.custom'),\n value: customer_value\n };\n this.args?.onSelect(customer_value_object);\n this.closeForm();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"customerValueFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleCustomerValueSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCustomerValueSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propogateCustomValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propogateCustomValue\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesCustomerValuesDropdownComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/investment\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @editMode}}\n
\n \n \n
\n
\n \n {{t \"financials.weeks\" num=@calculation.weeks}}\n *\n \n {{t \"_initiatives.person\" num=@calculation.people}}\n \n =\n
\n {{or\n (localize this.valueBeforeConfidence \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
\n \n
\n {{else}}\n \n \n (\n {{@calculation.weeks}}\n {{t \"financials.weeks\" num=@calculation.weeks}}\n *\n {{@calculation.people}}\n {{t \"financials.person\" num=@calculation.people}}\n ) *\n {{@calculation.confidence_value}}\n ({{this.confidenceLabel}}\n {{t \"financials.confidence\"}}) *\n {{t \"currency.euro\"}}{{@calculation.price_person_week}}\n (ppw) =\n \n \n {{localize this.finalValue \",-\" (t \"currency.euro\")}}\n \n \n {{/if}}\n */\n {\n \"id\": \"K0cNEM65\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,2],\\\"-investment-\\\",[30,3]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,4],[28,[37,3],[[30,1]],null],[30,5]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,2],\\\"-weeks-\\\",[30,3]]]],[24,3,\\\"weeks\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right\\\"],[16,2,[30,4,[\\\"weeks\\\"]]],[16,\\\"placeholder\\\",[28,[37,5],[\\\"financials.number-of\\\"],null]],[24,4,\\\"number\\\"],[4,[38,6],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,5],[\\\"financials.weeks\\\"],[[\\\"num\\\"],[[30,4,[\\\"weeks\\\"]]]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"*\\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,2],\\\"-people-\\\",[30,3]]]],[24,3,\\\"people\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right\\\"],[16,2,[30,4,[\\\"people\\\"]]],[16,\\\"placeholder\\\",[28,[37,5],[\\\"financials.number-of\\\"],null]],[24,4,\\\"number\\\"],[4,[38,6],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,5],[\\\"_initiatives.person\\\"],[[\\\"num\\\"],[[30,4,[\\\"people\\\"]]]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"ppw-trigger\\\"],[4,[38,6],[\\\"click\\\",[28,[37,9],[[30,6],\\\"ppw\\\"],null]],null]],null,[[\\\"default\\\"],[[[[8,[39,10],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,11],[[28,[37,12],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\"],[[30,2],[30,4,[\\\"confidence_value\\\"]],[30,4,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,3],[28,[37,9],[[30,6],\\\"confidence\\\",[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-2 py-1.5 text-gray-800 font-normal text-sm lowercase\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n (\\\\n \\\"],[1,[30,4,[\\\"weeks\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.weeks\\\"],[[\\\"num\\\"],[[30,4,[\\\"weeks\\\"]]]]]],[1,\\\"\\\\n *\\\\n \\\"],[1,[30,4,[\\\"people\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.person\\\"],[[\\\"num\\\"],[[30,4,[\\\"people\\\"]]]]]],[1,\\\"\\\\n ) *\\\\n \\\"],[1,[30,4,[\\\"confidence_value\\\"]]],[1,\\\"\\\\n (\\\"],[1,[30,0,[\\\"confidenceLabel\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.confidence\\\"],null]],[1,\\\") *\\\\n \\\"],[1,[28,[35,5],[\\\"currency.euro\\\"],null]],[1,[30,4,[\\\"price_person_week\\\"]]],[1,\\\"\\\\n (ppw) =\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"final-value\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,12],[[30,0,[\\\"finalValue\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@editMode\\\",\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"if\\\",\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"not\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/investment.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesInvestmentComponent = _exports.default = (_class = class BackOfANapkinTemplatesInvestmentComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get ppw() {\n return this.organisation.ppw;\n }\n calculateValue(weeks = 0, people = 0) {\n return (+weeks || 0) * (+people || 0) * this.ppw;\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.weeks, this.args.calculation.people);\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.weeks, calculation.people);\n calculation.price_person_week = this.ppw;\n this.args.onValueEmit(calculation);\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n onRender() {\n this.updateValue();\n }\n updateValue() {\n const finalValue = this.finalValue;\n if (isNaN(finalValue)) return;\n const calculation = {\n ...this.args.calculation\n };\n calculation.value = this.valueBeforeConfidence;\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n // if (this.args.calculation.confidence === undefined) return '-';\n // else return this.organisation.getInvestmentConfidenceLabel(this.args.calculation.confidence);\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value) && !(0, _isNullOrUndefined.default)(this.args.calculation.weeks) && !(0, _isNullOrUndefined.default)(this.args.calculation.people)) return this.valueBeforeConfidence * this.args.calculation.confidence_value;else return '-';\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesInvestmentComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/new-customers-v2/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n \n
\n
\n \n \n {{t \"financials.new-customer\" num=@calculation.new_customers}}\n *\n \n \n \n \n {{t \"financials.within-horizon\"}}\n =\n
\n {{t \"currency.euro\"}}\n {{or (localize this.valueBeforeConfidence \",-\") \"-\"}}\n
\n \n \n
\n */\n {\n \"id\": \"tLXZNz2v\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-new-customers-v2-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-new-customers-v2-\\\",[30,2]]]],[24,3,\\\"new_customers\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"new_customers\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.new-customer\\\"],[[\\\"num\\\"],[[30,3,[\\\"new_customers\\\"]]]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"*\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]]],[[\\\"@type\\\",\\\"@index\\\",\\\"@onSelect\\\",\\\"@value\\\",\\\"@labelKey\\\"],[[30,1],[30,2],[30,0,[\\\"setCustomerValue\\\"]],[30,3,[\\\"bon_clv\\\"]],[30,3,[\\\"bon_clv_label\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,\\\"test-id\\\",\\\"customer-values-trigger\\\"],[4,[38,4],[\\\"click\\\",[28,[37,8],[[30,5],\\\"customer-values\\\"],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"financials.within-horizon\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[37,11],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,2],[28,[37,8],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"back-of-a-napkin/templates/customer-values-dropdown\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/new-customers-v2/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesNewCustomersV2Component = _exports.default = (_class = class BackOfANapkinTemplatesNewCustomersV2Component extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get clv_in_horizon() {\n return this.args.calculation.bon_clv ?? 0;\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.new_customers, this.clv_in_horizon);\n }\n calculateValue(new_customers = 0, clv_in_horizon) {\n return (+new_customers || 0) * clv_in_horizon;\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.new_customers, calculation.bon_clv ?? 0);\n this.args.onValueEmit(calculation);\n }\n onRender() {\n this.updateValue();\n }\n updateValue() {\n const finalValue = this.finalValue;\n if (isNaN(finalValue)) return;\n const calculation = {\n ...this.args.calculation\n };\n calculation.value = this.valueBeforeConfidence;\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.new_customers) && !(0, _isNullOrUndefined.default)(this.clv_in_horizon) && !(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value)) return this.valueBeforeConfidence * +this.args.calculation.confidence_value;else return '-';\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n setCustomerValue(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.bon_clv = e.value;\n calculation.bon_clv_label = e.key;\n this.args.onValueEmit(calculation);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setCustomerValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setCustomerValue\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesNewCustomersV2Component);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/new-customers\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n \n
\n
\n \n \n {{t \"financials.new-customer\" num=@calculation.new_customers}}\n *\n {{t \"financials.customer-lifetime-value\"}}\n \n \n \n {{t \"financials.within-horizon\"}}\n =\n
\n {{t \"currency.euro\"}}\n {{or (localize this.valueBeforeConfidence \",-\") \"-\"}}\n
\n \n \n {{#if (and this.betaToggle.newCustomersV2Snippet (not this.isDisabled))}}\n \n <:message>\n {{t \"_initiatives.upgrade-snippet\"}}\n \n <:action>\n {{t \"dictionary.upgrade\"}}\n \n \n {{/if}}\n
\n */\n {\n \"id\": \"qv2edVbv\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-new-customers-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-new-customers-\\\",[30,2]]]],[24,3,\\\"new_customers\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"new_customers\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"financials.new-customer\\\"],[[\\\"num\\\"],[[30,3,[\\\"new_customers\\\"]]]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"*\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"financials.customer-lifetime-value\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,\\\"test-id\\\",\\\"clv-trigger\\\"],[4,[38,4],[\\\"click\\\",[28,[37,7],[[30,5],\\\"clv\\\"],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"financials.within-horizon\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,9],[[28,[37,10],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,2],[28,[37,7],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"betaToggle\\\",\\\"newCustomersV2Snippet\\\"]],[28,[37,14],[[30,0,[\\\"isDisabled\\\"]]],null]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"mt-4 py-2 shadow\\\"]],null,[[\\\"message\\\",\\\"action\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.upgrade-snippet\\\"],null]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"text-sm font-semibold text-primary-600 underline hover:no-underline\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"upgradeSnippet\\\"]]],null],[12],[1,[28,[35,3],[\\\"dictionary.upgrade\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\",\\\"if\\\",\\\"and\\\",\\\"not\\\",\\\"banner\\\",\\\":message\\\",\\\":action\\\",\\\"button\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/new-customers.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesNewCustomersComponent = _exports.default = (_class = class BackOfANapkinTemplatesNewCustomersComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n }\n get clv_in_horizon() {\n return this.organisation.clv_in_horizon;\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.new_customers, this.clv_in_horizon);\n }\n calculateValue(new_customers = 0, clv_in_horizon) {\n return (+new_customers || 0) * clv_in_horizon;\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.new_customers, this.clv_in_horizon);\n calculation.bon_clv = this.clv_in_horizon;\n this.args.onValueEmit(calculation);\n }\n onRender() {\n this.updateValue();\n }\n updateValue() {\n const finalValue = this.finalValue;\n if (isNaN(finalValue)) return;\n const calculation = {\n ...this.args.calculation\n };\n calculation.value = this.valueBeforeConfidence;\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n // if (this.args.calculation.confidence === undefined) return '-';\n // else return this.organisation.getReturnConfidenceLabel(this.args.calculation.confidence);\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.new_customers) && !(0, _isNullOrUndefined.default)(this.clv_in_horizon) && !(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value)) return this.valueBeforeConfidence * +this.args.calculation.confidence_value;else return '-';\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n upgradeSnippet() {\n const new_snippet = 'new-customers-v2';\n const calculation = {\n ...this.args.calculation\n };\n calculation.type = new_snippet;\n calculation.bon_clv_label = this.deriveCustomerValueLabelKey(calculation.bon_clv);\n this.args.onValueEmit(calculation);\n }\n get customer_values_map() {\n return this.organisation.customer_values_options.reduce((acc, item) => {\n acc[item.key] = item;\n return acc;\n }, {});\n }\n deriveCustomerValueLabelKey(value) {\n let label = '';\n if (value === undefined) return label;\n if (isNaN(+value)) return label;\n Object.keys(this.organisation.customer_values).forEach(key => {\n if (+this.customer_values_map[key].value === +value) {\n label = key;\n }\n });\n if (label === '') label = 'custom';\n return label;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"upgradeSnippet\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"upgradeSnippet\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deriveCustomerValueLabelKey\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deriveCustomerValueLabelKey\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesNewCustomersComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/notes/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if @isDisabled}}\n \n {{else}}\n \n {{/if}}\n
\n */\n {\n \"id\": \"2c2jnR9U\",\n \"block\": \"[[[10,0],[14,0,\\\"notes-container\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[8,[39,2],[[24,0,\\\"bon-placeholder compressed-lines bg-gray-50 my-2 py-1 px-2 rounded-md min-h-[40px]\\\"]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\",\\\"@theme\\\"],[[30,2,[\\\"notes\\\"]],false,[29,[[28,[37,3],[\\\"dictionary.no\\\"],null],\\\" \\\",[28,[37,3],[\\\"dictionary.notes\\\"],null]]],\\\"bubble\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,2],[[24,0,\\\"bon-placeholder compressed-lines my-2 py-1 px-2 rounded-md min-h-[40px] border border-gray-300\\\"]],[[\\\"@delta\\\",\\\"@onChange\\\",\\\"@placeholder\\\",\\\"@theme\\\",\\\"@modules\\\",\\\"@bounds\\\"],[[30,2,[\\\"notes\\\"]],[30,0,[\\\"handleNotesChange\\\"]],[29,[\\\"+ \\\",[28,[37,3],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,3],[\\\"dictionary.notes\\\"],null]]],\\\"bubble\\\",[30,0,[\\\"modules\\\"]],\\\".notes-container\\\"]],null],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"@isDisabled\\\",\\\"@calculation\\\"],[\\\"div\\\",\\\"if\\\",\\\"quill-editor\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/notes/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesNotesComponent = _exports.default = (_class = class BackOfANapkinTemplatesNotesComponent extends _component2.default {\n handleNotesChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.notes = e;\n this.args.onValueEmit(calculation);\n }\n get modules() {\n const modules = {};\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"handleNotesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleNotesChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesNotesComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/person-weeks-role/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{!-- {{#if @editMode}} --}}\n
\n \n \n \n
\n
\n \n {{t \"financials.weeks\" num=2}}\n *\n \n {{t \"_initiatives.person\" num=2}}\n \n \n \n of\n \n \n {{#if @calculation.role_id}}\n \n {{get (this.role @calculation.role_id) \"name\"}}\n {{else}}\n {{t \"roles.title\" num=1}}({{t \"dictionary.optional\"}})\n {{/if}}\n \n \n \n in\n \n \n {{#if @calculation.team_id}}\n \n {{this.teamName @calculation.team_id}}\n {{else}}\n {{t \"_teams.title\" num=1}}({{t \"dictionary.optional\"}})\n {{/if}}\n \n \n \n =\n
\n {{or\n (localize this.valueBeforeConfidence \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
\n \n
\n \n {{#if this.teamFormIsVisible}}\n \n {{/if}}\n \n {{#if this.roleFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"E2uzr8fw\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-investment-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-weeks-\\\",[30,2]]]],[24,3,\\\"weeks\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"weeks\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,3],[\\\"financials.weeks\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"*\\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-people-\\\",[30,2]]]],[24,3,\\\"people\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"people\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"_initiatives.person\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,\\\"test-id\\\",\\\"ppw-trigger\\\"],[4,[38,4],[\\\"click\\\",[28,[37,7],[[30,5],\\\"ppw\\\"],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"of\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"border border-solid border-gray-300 rounded-md flex items-center gap-x-2 px-3 py-2 min-w-[145px] bg-white disabled:bg-gray-100 whitespace-nowrap\\\"],[15,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"role_id\\\"]],[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@role\\\",\\\"@size\\\"],[[28,[30,0,[\\\"role\\\"]],[[30,3,[\\\"role_id\\\"]]],null],\\\"small\\\"]],null],[1,\\\"\\\\n \\\"],[1,[28,[35,12],[[28,[30,0,[\\\"role\\\"]],[[30,3,[\\\"role_id\\\"]]],null],\\\"name\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,3],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"(\\\"],[1,[28,[35,3],[\\\"dictionary.optional\\\"],null]],[1,\\\")\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,13],null,[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@handleClearSelection\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddRoleClick\\\"],[[30,0,[\\\"setRole\\\"]],[30,3,[\\\"role_id\\\"]],[30,0,[\\\"unsetRole\\\"]],true,true,[30,0,[\\\"toggleRoleForm\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[12],[1,\\\"in\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"border border-solid border-gray-300 rounded-md flex items-center gap-x-2 px-3 py-2 min-w-[145px] bg-white disabled:bg-gray-100 whitespace-nowrap\\\"],[15,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"team_id\\\"]],[[[1,\\\" \\\"],[8,[39,14],null,[[\\\"@size\\\",\\\"@id\\\",\\\"@name\\\"],[\\\"small\\\",[30,3,[\\\"team_id\\\"]],[28,[30,0,[\\\"teamName\\\"]],[[30,3,[\\\"team_id\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"teamName\\\"]],[[30,3,[\\\"team_id\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,3],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"(\\\"],[1,[28,[35,3],[\\\"dictionary.optional\\\"],null]],[1,\\\")\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,15],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@showClearSelectionButton\\\",\\\"@handleClearSelection\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@onAddTeamClick\\\"],[[28,[37,16],null,[[\\\"id\\\"],[[30,3,[\\\"team_id\\\"]]]]],[30,0,[\\\"setTeam\\\"]],\\\"bottom-start\\\",\\\"true\\\",[30,0,[\\\"unsetTeam\\\"]],true,true,[30,0,[\\\"toggleTeamForm\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,17],[[28,[37,18],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\",[28,[37,3],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,2],[28,[37,7],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"teamFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,20],null,[[\\\"@handleFormDismiss\\\",\\\"@isOpen\\\",\\\"@onItemSaved\\\"],[[30,0,[\\\"toggleTeamForm\\\"]],true,[30,0,[\\\"onTeamAdded\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"roleFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,21],null,[[\\\"@handleFormDismiss\\\",\\\"@isOpen\\\",\\\"@onItemSaved\\\"],[[30,0,[\\\"toggleRoleForm\\\"]],true,[30,0,[\\\"onRoleAdded\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"button\\\",\\\"if\\\",\\\"roles/avatar\\\",\\\"get\\\",\\\"dropdowns/roles\\\",\\\"atoms/avatar\\\",\\\"dropdowns/teams\\\",\\\"hash\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\",\\\"quick-adds/team\\\",\\\"quick-adds/role\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/person-weeks-role/index.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesPersonWeeksRoleIndexComponent = _exports.default = (_class = class BackOfANapkinTemplatesPersonWeeksRoleIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"teamFormIsVisible\", _descriptor4, this);\n _initializerDefineProperty(this, \"roleFormIsVisible\", _descriptor5, this);\n }\n get ppw() {\n return this.organisation.ppw;\n }\n calculateValue(weeks = 0, people = 0) {\n return (+weeks || 0) * (+people || 0) * this.ppw;\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.weeks, this.args.calculation.people);\n }\n role(role_id) {\n const role = this.store.peekRecord('role', role_id);\n return role;\n }\n teamName(team_id) {\n const team = this.store.peekRecord('team', team_id);\n return team?.name;\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.weeks, calculation.people);\n calculation.price_person_week = this.ppw;\n this.args.onValueEmit(calculation);\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n onRender() {\n this.updateValue();\n }\n updateValue() {\n const finalValue = this.finalValue;\n if (isNaN(finalValue)) return;\n const calculation = {\n ...this.args.calculation\n };\n calculation.value = this.valueBeforeConfidence;\n this.args.onValueEmit(calculation);\n }\n setRole(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.role_id = e.value;\n const teams = this.role(e.value).teamsThatPeopleOfThisRoleAreIn;\n if (teams?.length === 1) calculation.team_id = teams[0].id;\n this.args.onValueEmit(calculation);\n }\n runAutoTeamUpdate(role) {\n const teams = role.teamsThatPeopleOfThisRoleAreIn;\n if (teams?.length === 1) this.setTeam({\n id: teams[0].id\n });\n }\n setTeam(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.team_id = e.id;\n this.args.onValueEmit(calculation);\n }\n unsetRole() {\n const calculation = {\n ...this.args.calculation\n };\n calculation.role_id = null;\n this.args.onValueEmit(calculation);\n }\n unsetTeam() {\n const calculation = {\n ...this.args.calculation\n };\n calculation.team_id = null;\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value) && !(0, _isNullOrUndefined.default)(this.args.calculation.weeks) && !(0, _isNullOrUndefined.default)(this.args.calculation.people)) return this.valueBeforeConfidence * this.args.calculation.confidence_value;else return '-';\n }\n toggleTeamForm(val) {\n if (val !== undefined) this.teamFormIsVisible = val;else this.teamFormIsVisible = !this.teamFormIsVisible;\n }\n toggleRoleForm(val) {\n if (val !== undefined) this.roleFormIsVisible = val;else this.roleFormIsVisible = !this.roleFormIsVisible;\n }\n onTeamAdded(team) {\n this.setTeam(team);\n }\n onRoleAdded(role) {\n this.setRole({\n ...role,\n value: role.id\n });\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"teamFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"roleFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"role\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"role\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teamName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"teamName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRole\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRole\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"runAutoTeamUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"runAutoTeamUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTeam\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unsetRole\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unsetRole\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unsetTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unsetTeam\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleTeamForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleTeamForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleRoleForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleRoleForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamAdded\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRoleAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRoleAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesPersonWeeksRoleIndexComponent);\n});","define(\"scaleflow/components/back-of-a-napkin/templates/upsell\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/isNullOrUndefined\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isNullOrUndefined, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{!-- {{#if @editMode}} --}}\n
\n \n \n \n
\n
\n \n {{t \"financials.customers\" num=@calculation.cutsomers}}\n *\n \n {{lowercase (t \"financials.upsell-title\")}}\n \n =\n
\n {{t \"currency.euro\"}}\n {{or (localize this.valueBeforeConfidence \",-\") \"-\"}}\n
\n \n
\n */\n {\n \"id\": \"ohzYjjMv\",\n \"block\": \"[[[10,0],[14,0,\\\"calculation-row\\\"],[15,\\\"test-id\\\",[29,[[30,1],\\\"-upsell-\\\",[30,2]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],null,[[\\\"@calculation\\\",\\\"@isDisabled\\\",\\\"@onValueEmit\\\"],[[30,3],[30,0,[\\\"isDisabled\\\"]],[30,4]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between text-sm mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 text-gray-800 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-customers-\\\",[30,2]]]],[24,3,\\\"customers\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"customers\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.number-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,3],[\\\"financials.customers\\\"],[[\\\"num\\\"],[[30,3,[\\\"cutsomers\\\"]]]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"*\\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1],\\\"-upsell-value-\\\",[30,2]]]],[24,3,\\\"upsell_value\\\"],[24,0,\\\"input w-[60px] border rounded-md p-2 text-sm border-gray-300 text-right disabled:bg-gray-100\\\"],[16,2,[30,3,[\\\"upsell_value\\\"]]],[16,\\\"placeholder\\\",[28,[37,3],[\\\"financials.price-of\\\"],null]],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[30,0,[\\\"handleChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[[28,[37,3],[\\\"financials.upsell-title\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[4,[38,4],[\\\"click\\\",[28,[37,8],[[30,5],\\\"upsell-value\\\"],null]],null]],null,[[\\\"default\\\"],[[[[8,[39,9],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"=\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap\\\"],[12],[1,[28,[35,3],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[37,11],[[30,0,[\\\"valueBeforeConfidence\\\"]],\\\",-\\\"],null],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@type\\\",\\\"@confidenceValue\\\",\\\"@confidenceLabel\\\",\\\"@onConfidenceChange\\\",\\\"@value\\\",\\\"@index\\\",\\\"@onSlideoverToggle\\\",\\\"@disabled\\\"],[[30,1],[30,3,[\\\"confidence_value\\\"]],[30,3,[\\\"confidence_label\\\"]],[30,0,[\\\"onConfidenceChange\\\"]],[30,0,[\\\"valueBeforeConfidence\\\"]],[30,2],[28,[37,8],[[30,5],\\\"confidence\\\",[30,1]],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@type\\\",\\\"@index\\\",\\\"@calculation\\\",\\\"@onValueEmit\\\",\\\"@onSlideoverToggle\\\"],[\\\"div\\\",\\\"back-of-a-napkin/templates/notes\\\",\\\"input\\\",\\\"t\\\",\\\"on\\\",\\\"span\\\",\\\"lowercase\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/alert\\\",\\\"or\\\",\\\"localize\\\",\\\"back-of-a-napkin/templates/confidence-multiplier\\\"]]\",\n \"moduleName\": \"scaleflow/components/back-of-a-napkin/templates/upsell.hbs\",\n \"isStrictMode\": false\n });\n let BackOfANapkinTemplatesUpsellComponent = _exports.default = (_class = class BackOfANapkinTemplatesUpsellComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n calculateValue(customers = 0, upsell_value = 0) {\n return (+customers || 0) * (+upsell_value || 0);\n }\n get valueBeforeConfidence() {\n return this.calculateValue(this.args.calculation.customers, this.args.calculation.upsell_value);\n }\n onConfidenceChange(confidence) {\n const calculation = {\n ...this.args.calculation\n };\n calculation.confidence_value = confidence.value;\n calculation.confidence_label = confidence.label;\n this.args.onValueEmit(calculation);\n }\n handleChange(e) {\n const calculation = {\n ...this.args.calculation\n };\n calculation[e.target.name] = Number(e.target.value);\n calculation.value = this.calculateValue(calculation.customers, calculation.upsell_value);\n this.args.onValueEmit(calculation);\n }\n get confidenceLabel() {\n // if (this.args.calculation.confidence === undefined) return '-';\n // else return this.organisation.getReturnConfidenceLabel(this.args.calculation.confidence);\n return this.args.calculation.confidence_label ?? '-';\n }\n get finalValue() {\n if (!(0, _isNullOrUndefined.default)(this.args.calculation.customers) && !(0, _isNullOrUndefined.default)(this.args.calculation.upsell_value) && !(0, _isNullOrUndefined.default)(this.args.calculation.confidence_value)) return this.valueBeforeConfidence * +this.args.calculation.confidence_value;else return '-';\n }\n get isDisabled() {\n return !this.args.editMode;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onConfidenceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onConfidenceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BackOfANapkinTemplatesUpsellComponent);\n});","define(\"scaleflow/components/banner/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (has-block \"icon\")}}\n {{yield to=\"icon\"}}\n {{else}}\n {{#let\n (component (concat \"atoms/icons/\" (or @icon \"speakerphone\")))\n as |Icon|\n }}\n \n {{/let}}\n {{/if}}\n {{yield\n to=\"message\"\n }}\n
\n {{yield to=\"action\"}}\n
\n \n */\n {\n \"id\": \"hS+1Y8wn\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full bg-purple-50 p-4 flex rounded items-start\\\"],[24,\\\"test-id\\\",\\\"notification-banner\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,4]],[[[1,\\\" \\\"],[18,4,null],[1,\\\"\\\\n\\\"]],[]],[[[44,[[50,[28,[37,6],[\\\"atoms/icons/\\\",[28,[37,7],[[30,2],\\\"speakerphone\\\"],null]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,3],[[24,0,\\\"w-6 h-6 text-purple-700 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[3]]]],[]]],[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-700 text-sm\\\"],[14,\\\"test-id\\\",\\\"message\\\"],[12],[18,5,null],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"ml-auto\\\"],[14,\\\"test-id\\\",\\\"action\\\"],[12],[1,\\\"\\\\n \\\"],[18,6,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"&icon\\\",\\\"&message\\\",\\\"&action\\\"],[\\\"div\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"or\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/banner/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"banner\"));\n});","define(\"scaleflow/components/business/tabs/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#each this.tabs as |tab|}}\n {{#if tab.isVisibleToBetaUsers}}\n \n \n {{tab.label}}\n \n
\n {{/if}}\n {{/each}}\n \n */\n {\n \"id\": \"yfse23fX\",\n \"block\": \"[[[10,0],[14,0,\\\"flex gap-x-8\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[41,[30,1,[\\\"isVisibleToBetaUsers\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,1]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[16,0,[29,[\\\"text-sm leading-5 capitalize\\\\n \\\",[52,[30,1,[\\\"classes\\\"]],[30,1,[\\\"classes\\\"]]],\\\"\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,1]],null],\\\"text-gray-900 font-semibold \\\",\\\"text-gray-500 font-normal\\\"]]]],[24,\\\"test-id\\\",\\\"tab-link\\\"]],[[\\\"@route\\\"],[[30,1,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[1]],null],[13]],[\\\"tab\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/business/tabs/index.hbs\",\n \"isStrictMode\": false\n });\n let BusinessTabsIndexComponent = _exports.default = (_class = class BusinessTabsIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n }\n get tabs() {\n return [\n // {\n // label: this.intl.t('_scenarios.title', { num: 2 }),\n // route: 'business.investment-profiles.list',\n // isVisibleToBetaUsers: true,\n // key: 'investment-profiles',\n // },\n {\n label: this.intl.t('dictionary.goals', {\n num: 2\n }),\n route: 'business.goals.list',\n isVisibleToBetaUsers: true,\n key: 'goals'\n }, {\n label: this.intl.t('metrics.title'),\n route: 'business.metrics',\n isVisibleToBetaUsers: this.betaToggle.showMetrics,\n key: 'metrics'\n }, {\n label: this.intl.t('dictionary.themes', {\n num: 2\n }),\n route: 'business.themes',\n isVisibleToBetaUsers: true,\n key: 'themes'\n }\n // {\n // label: this.intl.t('dictionary.financials'),\n // route: 'business.financials',\n // isVisibleToBetaUsers: true,\n // key: 'financials',\n // },\n ];\n }\n isActive(tab) {\n return this.router.currentRouteName?.indexOf(tab.key) >= 0;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BusinessTabsIndexComponent);\n});","define(\"scaleflow/components/capacity/initiatives-table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _object, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n
\n

{{t\n \"_initiatives.title\"\n num=3\n }}

\n

{{t\n \"dashboards.initiatives-explanation\"\n }}

\n
\n
\n
\n
\n
\n \n \n \n {{#each @columns as |column|}}\n {{column.label}}\n {{/each}}\n \n \n \n \n {{this.initiatives}}\n {{#if @grouped}}\n
\n {{#each-in this.groupedInitiatives as |key value|}}\n {{#if value.data}}\n \n {{value.label}}\n \n {{#each value.data key=\"id\" as |initiative|}}\n \n {{#each @columns as |column|}}\n \n \n {{#if\n (eq\n column.field\n \"person_weeks_excluding_uncertainty\"\n )\n }}\n {{to-fixed\n (this.person_weeks_excluding_uncertainty_for\n @capacity_type key initiative\n )\n }}\n pw\n {{/if}}\n \n {{#if\n (eq column.field \"person_weeks_only_uncertainty\")\n }}\n {{to-fixed\n (this.person_weeks_uncertainty_for\n @capacity_type key initiative\n )\n }}\n pw\n {{/if}}\n \n {{#if (eq column.type \"currency\")}}\n {{localize\n (get initiative column.field)\n \",-\"\n (t \"currency.euro\")\n }}\n {{/if}}\n \n {{#if (eq column.type \"duration\")}}\n {{get initiative column.field}}\n {{t\n \"dictionary.weeks\"\n num=(or (get initiative column.field) 0)\n }}\n {{/if}}\n \n {{#if (eq column.type \"teams\")}}\n \n {{/if}}\n \n {{#if (eq column.type \"people\")}}\n \n {{/if}}\n \n {{#if (eq column.type \"roles\")}}\n \n {{/if}}\n \n {{#unless column.type}}\n {{get\n initiative\n column.field\n }}\n {{/unless}}\n \n \n {{/each}}\n \n {{/each}}\n {{/if}}\n \n {{else}}\n \n \n \n {{/each-in}}\n {{else}}\n {{#each @initiatives as |initiative|}}\n \n {{#each @columns as |column|}}\n \n \n {{#if (eq column.type \"pw\")}}\n {{get\n initiative\n column.field\n }}\n pw\n {{/if}}\n \n {{#if (eq column.type \"currency\")}}\n {{localize\n (get initiative column.field)\n \",-\"\n (t \"currency.euro\")\n }}\n {{/if}}\n \n {{#if (eq column.type \"duration\")}}\n {{get initiative column.field}}\n {{t\n \"dictionary.weeks\"\n num=(or (get initiative column.field) 0)\n }}\n {{/if}}\n \n {{#if (eq column.type \"teams\")}}\n \n {{/if}}\n \n {{#if (eq column.type \"people\")}}\n \n {{/if}}\n \n {{#if (eq column.type \"roles\")}}\n \n {{/if}}\n \n {{#unless column.type}}\n {{get initiative column.field}}\n {{/unless}}\n \n \n {{/each}}\n \n {{else}}\n \n {{t \"_initiatives.title\" num=0}}\n \n {{/each}}\n \n {{/if}}\n \n
Loading Initiatives.
\n
\n
\n
\n
\n */\n {\n \"id\": \"gErUgs+o\",\n \"block\": \"[[[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex sm:items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"dashboards.initiatives-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-8 flow-root\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-mx-2 -my-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"inline-block min-w-full py-2 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"min-w-full border-separate border-spacing-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[15,0,[29,[\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\\n \\\",[30,2,[\\\"classes\\\"]]]]],[12],[1,[30,2,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tbody\\\"],[14,0,\\\"bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiatives\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[11,0],[4,[38,12],[[30,0,[\\\"groupInitiatives\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[30,0,[\\\"groupedInitiatives\\\"]]],null],null,[[[41,[30,4,[\\\"data\\\"]],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[15,\\\"colspan\\\",[29,[[30,1,[\\\"length\\\"]]]]],[14,0,\\\"py-1 pr-3 pl-6 font-medium text-sm text-gray-700\\\"],[12],[1,[30,4,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,4,[\\\"data\\\"]]],null]],null],\\\"id\\\",[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"hover:bg-indigo-50\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"py-1 pr-3 pl-8 hover:underline hover:cursor-pointer w-full h-full text-right\\\"],[24,4,\\\"button\\\"],[4,[38,16],[\\\"click\\\",[28,[37,17],[[30,0,[\\\"initiativeSlideover\\\",\\\"open\\\"]],[30,6,[\\\"id\\\"]]],null]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"field\\\"]],\\\"person_weeks_excluding_uncertainty\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-right\\\"],[12],[1,[28,[35,20],[[28,[30,0,[\\\"person_weeks_excluding_uncertainty_for\\\"]],[[30,8],[30,5],[30,6]],null]],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"field\\\"]],\\\"person_weeks_only_uncertainty\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-right\\\"],[12],[1,[28,[35,20],[[28,[30,0,[\\\"person_weeks_uncertainty_for\\\"]],[[30,8],[30,5],[30,6]],null]],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"type\\\"]],\\\"currency\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-right\\\"],[12],[1,[28,[35,21],[[28,[37,22],[[30,6],[30,7,[\\\"field\\\"]]],null],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"type\\\"]],\\\"duration\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,22],[[30,6],[30,7,[\\\"field\\\"]]],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[[28,[37,23],[[28,[37,22],[[30,6],[30,7,[\\\"field\\\"]]],null],0],null]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"type\\\"]],\\\"teams\\\"],null],[[[1,\\\" \\\"],[8,[39,24],null,[[\\\"@teams\\\"],[[30,6,[\\\"teams\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"type\\\"]],\\\"people\\\"],null],[[[1,\\\" \\\"],[8,[39,25],null,[[\\\"@people\\\"],[[28,[37,26],[[30,6,[\\\"productManager\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,7,[\\\"type\\\"]],\\\"roles\\\"],null],[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@roles\\\"],[[30,6,[\\\"roles\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,7,[\\\"type\\\"]]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-left\\\"],[12],[1,[28,[35,22],[[30,6],[30,7,[\\\"field\\\"]]],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[6]],null]],[]],null],[1,\\\"\\\\n\\\"]],[4,5]],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"text-center pt-4\\\"],[12],[1,\\\"Loading Initiatives.\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[42,[28,[37,8],[[28,[37,8],[[30,9]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"even:bg-gray-50 hover:bg-indigo-50\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"py-1 pr-3 pl-8 hover:underline hover:cursor-pointer w-full h-full text-left\\\"],[24,4,\\\"button\\\"],[4,[38,16],[\\\"click\\\",[28,[37,17],[[30,0,[\\\"initiativeSlideover\\\",\\\"open\\\"]],[30,10,[\\\"id\\\"]]],null]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"pw\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-right\\\"],[12],[1,[28,[35,22],[[30,10],[30,11,[\\\"field\\\"]]],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"currency\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"float-right\\\"],[12],[1,[28,[35,21],[[28,[37,22],[[30,10],[30,11,[\\\"field\\\"]]],null],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"duration\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,22],[[30,10],[30,11,[\\\"field\\\"]]],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[[28,[37,23],[[28,[37,22],[[30,10],[30,11,[\\\"field\\\"]]],null],0],null]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"teams\\\"],null],[[[1,\\\" \\\"],[8,[39,24],null,[[\\\"@teams\\\"],[[30,10,[\\\"teams\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"people\\\"],null],[[[1,\\\" \\\"],[8,[39,25],null,[[\\\"@people\\\"],[[28,[37,26],[[30,10,[\\\"productManager\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,11,[\\\"type\\\"]],\\\"roles\\\"],null],[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@roles\\\"],[[30,10,[\\\"roles\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,11,[\\\"type\\\"]]],[[[1,\\\" \\\"],[1,[28,[35,22],[[30,10],[30,11,[\\\"field\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[10]],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"test-id\\\",\\\"empty-message\\\"],[15,\\\"colspan\\\",[29,[[30,1,[\\\"length\\\"]]]]],[14,0,\\\"text-center pt-4\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@columns\\\",\\\"column\\\",\\\"@grouped\\\",\\\"value\\\",\\\"key\\\",\\\"initiative\\\",\\\"column\\\",\\\"@capacity_type\\\",\\\"@initiatives\\\",\\\"initiative\\\",\\\"column\\\"],[\\\"div\\\",\\\"h1\\\",\\\"t\\\",\\\"p\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"each\\\",\\\"-track-array\\\",\\\"th\\\",\\\"tbody\\\",\\\"if\\\",\\\"render-modifiers/on-insert\\\",\\\"-each-in\\\",\\\"td\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"eq\\\",\\\"span\\\",\\\"to-fixed\\\",\\\"localize\\\",\\\"get\\\",\\\"or\\\",\\\"teams/multi-avatar-preview\\\",\\\"people/multi-avatar-preview\\\",\\\"array\\\",\\\"roles/multi-avatar-preview\\\",\\\"unless\\\"]]\",\n \"moduleName\": \"scaleflow/components/capacity/initiatives-table/index.hbs\",\n \"isStrictMode\": false\n });\n let CapacityInitiativesTableIndexComponent = _exports.default = (_class = class CapacityInitiativesTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"groupedInitiatives\", _descriptor4, this);\n }\n initiatives() {\n this.groupInitiatives();\n return '';\n }\n person_weeks_excluding_uncertainty_for(field, id, initiative) {\n if (id == 'unassigned') id = undefined;\n const field_id = `${field}_id`;\n let pw = 0;\n const investments = initiative.bon.get('investments');\n if (investments !== undefined) {\n investments?.calculations?.forEach(calculation => {\n if (calculation[field_id] == id) {\n pw += (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1);\n }\n });\n }\n return pw;\n }\n person_weeks_uncertainty_for(field, id, initiative) {\n if (id == 'unassigned') id = undefined;\n const field_id = `${field}_id`;\n let pw = 0;\n const investments = initiative.bon.get('investments');\n if (investments !== undefined) {\n investments?.calculations?.forEach(calculation => {\n if (calculation[field_id] == id) {\n pw += (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * (calculation.confidence_value - 1);\n }\n });\n }\n return pw;\n }\n async groupInitiatives() {\n const record_type = this.args.capacity_type;\n const id_field = `${record_type}_id`;\n const groupedInitiatives = {\n unassigned: {\n label: this.intl.t('dictionary.unspecified'),\n data: new Set([])\n }\n };\n const initiatives = await this.args.initiatives;\n for (let index = 0; index < initiatives.length; index++) {\n const initiative = initiatives[index];\n try {\n const bon = await this.store.findRecord('bon', initiative.id).catch(() => undefined);\n if (bon?.investments == undefined) {\n groupedInitiatives.unassigned.data.add(initiative);\n continue;\n }\n bon.investments.calculations.forEach(c => {\n const id = c[id_field];\n if (id) {\n if (!groupedInitiatives[id]) {\n const object = this.store.peekRecord(record_type, id);\n groupedInitiatives[id] = {\n label: object?.name ?? `${record_type} not Found`,\n data: new Set([initiative])\n };\n } else {\n groupedInitiatives[id]?.data?.add(initiative);\n }\n } else {\n groupedInitiatives.unassigned.data.add(initiative);\n }\n });\n } catch (error) {\n console.debug(error);\n }\n }\n this.groupedInitiatives = groupedInitiatives;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"groupedInitiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"person_weeks_excluding_uncertainty_for\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"person_weeks_excluding_uncertainty_for\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"person_weeks_uncertainty_for\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"person_weeks_uncertainty_for\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"groupInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"groupInitiatives\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CapacityInitiativesTableIndexComponent);\n});","define(\"scaleflow/components/capacity/roadmap-query-selector\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n \n {{#if @isAll}}\n {{t \"dictionary.all\"}}\n {{t \"dictionary.roadmap\" num=2}}\n {{else}}\n {{this.roadmap.selected.title}}\n {{/if}}\n \n \n \n \n \n
\n \n \n
\n \n {{#if @showAllOption}}\n \n {{t \"dictionary.all\"}}\n {{t \"roadmap.title\" num=2}}\n \n {{/if}}\n {{#each this.roadmap.roadmaps_sorted_by_start_date as |roadmap|}}\n \n {{roadmap.title}}\n \n {{else}}\n {{t \"dashboards.loading\"}}...\n {{/each}}\n {{! }}\n \n
\n \n \n {{! }}\n {{! }}\n */\n {\n \"id\": \"s3NSTC5G\",\n \"block\": \"[[[11,0],[24,0,\\\"relative flex w-full text-left\\\"],[17,1],[4,[38,1],[[28,[37,2],[[30,0,[\\\"toggleDropdown\\\"]],false],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-2xl leading-8 text-gray-900 font-semibold overflow-hidden whitespace-nowrap text-ellipsis\\\"],[15,\\\"title\\\",[30,0,[\\\"roadmap\\\",\\\"selected\\\",\\\"title\\\"]]],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.all\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,0,[\\\"roadmap\\\",\\\"selected\\\",\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"trigger\\\"],[24,0,\\\"\\\"],[24,1,\\\"menu-button\\\"],[24,\\\"aria-expanded\\\",\\\"true\\\"],[24,\\\"aria-haspopup\\\",\\\"true\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"toggleDropdown\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-8 h-8 text-white bg-indigo-500 rounded-full\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"absolute right-0 top-8 mt-2 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none w-[280px] max-h-[400px] overflow-y-auto\\\\n \\\",[52,[30,0,[\\\"showDropdown\\\"]],\\\"transition ease-out duration-100 transform opacity-100 scale-100 z-20\\\",\\\"transition ease-in duration-75 transform opacity-0 scale-95 -z-10\\\"],\\\"\\\\n \\\"]]],[14,\\\"test-id\\\",\\\"dropdown\\\"],[14,\\\"role\\\",\\\"menu\\\"],[14,\\\"aria-orientation\\\",\\\"vertical\\\"],[14,\\\"aria-labelledby\\\",\\\"menu-button\\\"],[14,\\\"tabindex\\\",\\\"-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-1\\\"],[14,\\\"role\\\",\\\"none\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"block px-4 py-2 text-sm text-left w-full\\\\n \\\",[52,[30,2],\\\"bg-gray-100 text-gray-900\\\",\\\"text-gray-700\\\"]]]],[24,\\\"role\\\",\\\"menuitem\\\"],[24,\\\"test-id\\\",\\\"all\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[28,[37,2],[[30,0,[\\\"handleRoadmapSelect\\\"]],\\\"all\\\"],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.all\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"roadmap\\\",\\\"roadmaps_sorted_by_start_date\\\"]]],null]],null],null,[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"block px-4 py-2 text-sm text-left w-full\\\\n \\\",[52,[28,[30,0,[\\\"isSelected\\\"]],[[30,4]],null],\\\"bg-gray-100 text-gray-900\\\",\\\"text-gray-700\\\"],\\\"\\\\n \\\"]]],[24,\\\"role\\\",\\\"menuitem\\\"],[16,\\\"tabindex\\\",[29,[[52,[30,0,[\\\"showDropdown\\\"]],\\\"0\\\",\\\"-1\\\"]]]],[24,1,\\\"menu-item-0\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[28,[37,2],[[30,0,[\\\"handleRoadmapSelect\\\"]],[30,4]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,5],[\\\"dashboards.loading\\\"],null]],[1,\\\"...\\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"&attrs\\\",\\\"@isAll\\\",\\\"@showAllOption\\\",\\\"roadmap\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"fn\\\",\\\"span\\\",\\\"if\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/chevron/down\\\",\\\"each\\\",\\\"-track-array\\\"]]\",\n \"moduleName\": \"scaleflow/components/capacity/roadmap-query-selector.hbs\",\n \"isStrictMode\": false\n });\n let CapacityRoadmapQuerySelectorComponent = _exports.default = (_class = class CapacityRoadmapQuerySelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n _initializerDefineProperty(this, \"showDropdown\", _descriptor2, this);\n }\n isSelected(roadmap) {\n if (this.args.isAll) return false;\n return this.roadmap.id == roadmap.id;\n }\n toggleDropdown(val) {\n if (val === undefined) this.showDropdown = !this.showDropdown;else this.showDropdown = val;\n }\n setRoadmap(roadmap) {\n this.roadmap.setId(roadmap.id);\n }\n handleRoadmapSelect(roadmap) {\n if (roadmap === 'all') ;else {\n this.setRoadmap(roadmap);\n this.toggleDropdown(false);\n }\n this.args?.propagateRoadmapSelect?.(roadmap);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDropdown\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"isSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleRoadmapSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRoadmapSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CapacityRoadmapQuerySelectorComponent);\n});","define(\"scaleflow/components/charts/bar-chart-roi\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n \n {{#if this.disabled}}\n \n {{t\n \"dashboards.leverage-metric\"\n numMetrics=1\n }}\n \n {{/if}}\n \n \n */\n {\n \"id\": \"wkiaqcXH\",\n \"block\": \"[[[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,0],[16,0,[29,[[52,[30,0,[\\\"disabled\\\"]],\\\"blur-sm\\\"]]]],[17,1],[4,[38,2],[[30,2]],[[\\\"height\\\",\\\"onClick\\\",\\\"title\\\"],[300,[30,0,[\\\"clickHandler\\\"]],[30,3]]]],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"disabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-gray-300 border-solid py-2 px-3 rounded-md bg-white absolute top-2/4 left-2/4 -translate-x-[50%] -translate-y-[50%]\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"dashboards.leverage-metric\\\"],[[\\\"numMetrics\\\"],[1]]]],[13],[8,[39,7],[[24,0,\\\"w-6 h-6 text-gray-400 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@source\\\",\\\"@title\\\"],[\\\"div\\\",\\\"if\\\",\\\"bar-chart\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/arrow-left\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/bar-chart-roi.hbs\",\n \"isStrictMode\": false\n });\n let ChartsBarChartROIComponent = _exports.default = (_class = class ChartsBarChartROIComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n }\n get disabled() {\n return this.args.source == undefined;\n }\n clickHandler(params) {\n const initiative_id = params.seriesId;\n this.initiativeSlideover.open(initiative_id);\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"clickHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clickHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChartsBarChartROIComponent);\n});","define(\"scaleflow/components/charts/capacity-chart\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tracking, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
{{this.loadInitiatives}} {{this.loadScenario}}
\n \n */\n {\n \"id\": \"crr/HbG9\",\n \"block\": \"[[[10,0],[14,0,\\\"hidden\\\"],[12],[1,[30,0,[\\\"loadInitiatives\\\"]]],[1,\\\" \\\"],[1,[30,0,[\\\"loadScenario\\\"]]],[13],[1,\\\"\\\\n\\\"],[11,0],[17,1],[4,[38,1],[[30,0,[\\\"series\\\"]]],[[\\\"height\\\",\\\"onClick\\\",\\\"weeks\\\",\\\"from\\\",\\\"to\\\",\\\"weekToMark\\\",\\\"title\\\",\\\"subtitle\\\"],[[30,2],[30,0,[\\\"clickHandler\\\"]],[30,0,[\\\"reportingWeeks\\\"]],[30,0,[\\\"startingWeekLower\\\"]],[30,0,[\\\"startingWeekUpper\\\"]],[30,0,[\\\"currentWeekNumber\\\"]],[30,3],[30,4]]]],[12],[13]],[\\\"&attrs\\\",\\\"@height\\\",\\\"@title\\\",\\\"@subtitle\\\"],[\\\"div\\\",\\\"capacity-chart\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/capacity-chart.hbs\",\n \"isStrictMode\": false\n });\n let CapacityChartComponent = _exports.default = (_class = class CapacityChartComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor2, this);\n _initializerDefineProperty(this, \"scenario\", _descriptor3, this);\n }\n get disabled() {\n return this.initiatives.length == 0;\n }\n async loadInitiatives() {\n if (this.args.initiatives != undefined) {\n this.initiatives = await this.args.initiatives;\n }\n }\n async loadScenario() {\n if (this.args.scenario != undefined) {\n this.scenario = await this.args.scenario;\n }\n }\n clickHandler(params) {\n const initiative_id = params.seriesId;\n if (initiative_id.includes(' ')) return;\n this.initiativeSlideover.open(initiative_id);\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n get reportingWeeks() {\n const from = (0, _moment.default)(this.args.from);\n const to = (0, _moment.default)(this.args.to);\n const weeks = Math.ceil(_moment.default.duration(to.diff(from)).asWeeks());\n const reportingWeeks = [];\n for (let i = 0; i <= weeks; i++) {\n let weekNumber = (0, _moment.default)(this.args.from).add(i, 'weeks');\n reportingWeeks.push((0, _moment.default)(weekNumber).format('YYYY-[W]WW'));\n }\n return reportingWeeks;\n }\n get series() {\n let initiatives = this.initiatives;\n const scenario = this.scenario;\n const reporting_weeks = this.reportingWeeks;\n const series = [];\n if (!scenario) return series;\n\n // Calculate total available capacity (100% reference)\n const totalCapacity = scenario.fte;\n\n // Calculate plannable (initiative) capacity threshold\n const initiativeCapacity = Math.round(scenario.fte * (scenario.initiative_capacity / 100), 1);\n\n // Calculate workload per week as percentage\n const weeklyData = reporting_weeks.map(week => {\n // Total workload for this week\n let totalWorkload = 0;\n\n // Add up all initiatives active in this week, regardless of source\n initiatives.forEach(initiative => {\n const startInRange = (0, _moment.default)(initiative.startingWeek).isSameOrBefore(week);\n const endInRange = (0, _moment.default)(initiative.endingWeek).isSameOrAfter(week);\n if (startInRange && endInRange) {\n // All initiatives contribute to workload, even those without a source\n totalWorkload += initiative.capacityPerWeek || 0;\n }\n });\n\n // Calculate percentage\n const percentage = totalCapacity > 0 ? totalWorkload / totalCapacity * 100 : 0;\n return {\n week: week,\n percentage: percentage,\n value: percentage,\n raw_percentage: percentage,\n total_workload: totalWorkload,\n initiative_capacity: initiativeCapacity,\n total_capacity: totalCapacity\n };\n });\n\n // Create single bar series with color based on thresholds\n const barSeries = {\n type: 'bar',\n name: 'Workload',\n barWidth: '60%',\n itemStyle: {\n color: params => {\n const percentage = params.data.raw_percentage;\n const initiativePercentage = initiativeCapacity / totalCapacity * 100;\n\n // Color based on capacity thresholds\n if (percentage > 100) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FF6259'\n },\n // lighter red\n {\n offset: 1,\n color: '#E02A1F'\n } // darker red\n ]\n };\n } else if (percentage > initiativePercentage) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FFA53F'\n },\n // lighter orange\n {\n offset: 1,\n color: '#FF7D00'\n } // darker orange\n ]\n };\n } else {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#5BEF6A'\n },\n // lighter green\n {\n offset: 1,\n color: '#28B637'\n } // darker green\n ]\n };\n }\n },\n borderRadius: [5, 5, 0, 0],\n // Rounded corners at the top\n shadowColor: 'rgba(0, 0, 0, 0.2)',\n shadowBlur: 5\n },\n label: {\n show: true,\n position: 'top',\n distance: 5,\n formatter: function (params) {\n const percentage = params.data.raw_percentage;\n const initiativePercentage = initiativeCapacity / totalCapacity * 100;\n const labelText = Math.round(percentage) + '%';\n\n // Match label style to the bar color logic\n if (percentage > 100) {\n return '{overCapacity|' + labelText + '}';\n } else if (percentage > initiativePercentage) {\n return '{flowCapacity|' + labelText + '}';\n } else {\n return '{initiativeCapacity|' + labelText + '}';\n }\n },\n rich: {\n overCapacity: {\n color: '#E02A1F',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 12,\n padding: [2, 4],\n borderRadius: 3,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(224, 42, 31, 0.3)',\n shadowBlur: 3\n },\n flowCapacity: {\n color: '#FF7D00',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 12,\n padding: [2, 4],\n borderRadius: 3,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(255, 125, 0, 0.3)',\n shadowBlur: 3\n },\n initiativeCapacity: {\n color: '#28B637',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 12,\n padding: [2, 4],\n borderRadius: 3,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(40, 182, 55, 0.3)',\n shadowBlur: 3\n }\n }\n },\n encode: {\n x: 'week',\n y: 'value'\n },\n data: weeklyData\n };\n series.push(barSeries);\n\n // Add markers for initiative capacity threshold\n series.push({\n type: 'line',\n name: 'Plannable time',\n silent: true,\n symbol: 'none',\n itemStyle: {\n color: 'rgba(0, 0, 0, 0.5)'\n },\n lineStyle: {\n color: 'rgba(0, 0, 0, 0.5)',\n width: 1.5,\n type: 'dashed'\n },\n data: reporting_weeks.map(() => initiativeCapacity / totalCapacity * 100)\n });\n\n // Add threshold line for 100% capacity\n series.push({\n type: 'line',\n name: 'Total Capacity',\n silent: true,\n symbol: 'none',\n lineStyle: {\n color: 'rgba(255, 99, 71, 0.6)',\n width: 2\n },\n data: reporting_weeks.map(() => 100)\n });\n return series;\n }\n get currentWeekNumber() {\n return (0, _moment.default)().format('GGGG-[W]WW');\n }\n get startingWeekLower() {\n return (0, _moment.default)(this.args.from).format('GGGG-[W]WW');\n }\n get startingWeekUpper() {\n return (0, _moment.default)(this.args.to).format('GGGG-[W]WW');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"scenario\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadScenario\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadScenario\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clickHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clickHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CapacityChartComponent);\n});","define(\"scaleflow/components/charts/pie-chart\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"scaleflow/config/echarts_theme\", \"echarts/core\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _echarts_theme, echarts, _charts, _components, _features, _renderers, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/core\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if (and @title this.disabled)}}

{{@title}}

{{/if}}\n
\n {{#if this.disabled}}\n \n {{t\n \"dashboards.leverage-metric\"\n numMetrics=1\n }}\n \n {{/if}}\n \n */\n {\n \"id\": \"qkeiMWaG\",\n \"block\": \"[[[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[41,[28,[37,2],[[30,1],[30,0,[\\\"disabled\\\"]]],null],[[[10,\\\"h3\\\"],[14,0,\\\"absolute\\\"],[12],[1,[30,1]],[13]],[]],null],[1,\\\"\\\\n \\\"],[11,0],[16,0,[29,[[52,[30,0,[\\\"disabled\\\"]],\\\"blur-sm\\\"]]]],[17,2],[4,[38,4],[[30,0,[\\\"renderChart\\\"]]],null],[4,[38,5],[[30,0,[\\\"updateChart\\\"]],[30,3]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"disabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-gray-300 border-solid py-2 px-3 rounded-md bg-white absolute top-2/4 left-2/4 -translate-x-[50%] -translate-y-[50%]\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,9],[\\\"dashboards.leverage-metric\\\"],[[\\\"numMetrics\\\"],[1]]]],[13],[8,[39,10],[[24,0,\\\"w-6 h-6 text-gray-400 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@title\\\",\\\"&attrs\\\",\\\"@source\\\"],[\\\"div\\\",\\\"if\\\",\\\"and\\\",\\\"h3\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/arrow-left\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/pie-chart.hbs\",\n \"isStrictMode\": false\n });\n\n // Import the echarts core module, which provides the necessary interfaces for using echarts.\n\n // Import pie charts, all suffixed with Chart\n\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n\n // Features like Universal Transition and Label Layout\n\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n\n // Register the required components\n echarts.use([_charts.PieChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n const defaultSource = [['Amount', 'Value'], ['Mon', 120], ['Tue', 200], ['Wed', 150], ['Thu', 80], ['Fri', 70], ['Sat', 110], ['Sun', 130]];\n let ChartsPieChartComponent = _exports.default = (_class = class ChartsPieChartComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"myChart\", null);\n }\n get disabled() {\n return !this.args?.source;\n }\n get height() {\n const {\n height\n } = this.args;\n return height ?? 500;\n }\n get titleOptions() {\n const {\n title,\n subtitle\n } = this.args;\n const disabled = this.disabled;\n return {\n ...(!disabled && title && {\n title: {\n text: title,\n subtext: subtitle ?? ''\n }\n })\n };\n }\n get tooltipOptions() {\n const disabled = this.disabled;\n return {\n tooltip: {\n show: disabled ? false : true\n }\n };\n }\n async renderChart(e) {\n this.myChart = echarts.init(e, 'producthub', {\n height: this.height\n });\n const titleOptions = this.titleOptions;\n const tooltipOptions = this.tooltipOptions;\n const source = this.args.source;\n const option = {\n ...titleOptions,\n ...tooltipOptions,\n ...(this.args.showLegend && {\n legend: {\n left: 0,\n top: 50\n }\n }),\n dataset: {\n source: source ?? defaultSource\n },\n series: [{\n type: 'pie',\n name: 'Size (%)'\n }]\n };\n\n // Display the chart using the configuration items and data just specified.\n this.myChart.setOption(option);\n }\n updateChart(_, [source]) {\n const titleOptions = this.titleOptions;\n const tooltipOptions = this.tooltipOptions;\n this.myChart.setOption({\n dataset: {\n source: source\n },\n ...titleOptions,\n ...tooltipOptions\n });\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"renderChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"renderChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChartsPieChartComponent);\n});","define(\"scaleflow/components/charts/releases\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, echarts, _echarts_theme, _charts, _components, _features, _renderers, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if (and @title this.disabled)}}

{{@title}}

{{/if}}\n
\n {{#if this.disabled}}\n \n {{t\n \"dashboards.leverage-metric\"\n numMetrics=1\n }}\n \n {{/if}}\n \n */\n {\n \"id\": \"tfEx1NsS\",\n \"block\": \"[[[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[41,[28,[37,2],[[30,1],[30,0,[\\\"disabled\\\"]]],null],[[[10,\\\"h3\\\"],[14,0,\\\"absolute\\\"],[12],[1,[30,1]],[13]],[]],null],[1,\\\"\\\\n \\\"],[11,0],[16,0,[29,[[52,[30,0,[\\\"disabled\\\"]],\\\"blur-sm\\\"]]]],[17,2],[4,[38,4],[[30,0,[\\\"renderChart\\\"]],[30,3]],null],[4,[38,5],[[30,0,[\\\"updateChart\\\"]],[30,3]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"disabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-gray-300 border-solid py-2 px-3 rounded-md bg-white absolute top-2/4 left-2/4 -translate-x-[50%] -translate-y-[50%]\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,9],[\\\"dashboards.leverage-metric\\\"],[[\\\"numMetrics\\\"],[1]]]],[13],[8,[39,10],[[24,0,\\\"w-6 h-6 text-gray-400 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@title\\\",\\\"&attrs\\\",\\\"@source\\\"],[\\\"div\\\",\\\"if\\\",\\\"and\\\",\\\"h3\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/arrow-left\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/releases.hbs\",\n \"isStrictMode\": false\n });\n\n // Import the echarts core module, which provides the necessary interfaces for using echarts.\n\n // Import bar charts, all suffixed with Chart\n\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n\n // Features like Universal Transition and Label Layout\n\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n\n // Register the required components\n echarts.use([_charts.BarChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n let ChartsBarChartROIComponent = _exports.default = (_class = class ChartsBarChartROIComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"myChart\", null);\n }\n get disabled() {\n return !this.args?.source;\n }\n get titleOptions() {\n const {\n title,\n subtitle\n } = this.args;\n return {\n title: {\n text: title,\n subtext: subtitle ?? ''\n }\n };\n }\n get height() {\n const {\n height\n } = this.args;\n return height ?? 500;\n }\n async renderChart(e, [dataset]) {\n this.myChart = echarts.init(e, 'producthub', {\n height: this.height\n });\n const options = {\n ...this.titleOptions,\n tooltip: {},\n toolbox: {\n show: true,\n orient: 'vertical',\n left: 'left',\n top: 'center',\n feature: {\n mark: {\n show: true\n },\n magicType: {\n show: true,\n type: ['bar', 'line', 'stack']\n },\n restore: {\n show: true\n },\n saveAsImage: {\n show: true\n }\n }\n },\n xAxis: {\n type: 'category'\n },\n yAxis: [{\n type: 'value',\n name: 'Releases'\n }, {\n type: 'value',\n name: 'Time to Value',\n axisLabel: {\n formatter: '{value} days'\n }\n }],\n legend: {\n show: true,\n left: 'center',\n top: 'bottom'\n },\n series: [{\n type: 'bar',\n seriesLayoutBy: 'row',\n datasetIndex: 0,\n name: 'Front-end'\n }, {\n type: 'bar',\n seriesLayoutBy: 'row',\n datasetIndex: 0,\n name: 'Back-end'\n }, {\n type: 'line',\n seriesLayoutBy: 'row',\n datasetIndex: 1,\n yAxisIndex: 1,\n name: 'Time to Value'\n }],\n ...dataset\n };\n this.myChart.setOption(options);\n }\n updateChart(_, [dataset]) {\n this.myChart.setOption({\n dataset\n });\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"renderChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"renderChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChartsBarChartROIComponent);\n});","define(\"scaleflow/components/charts/scatter-with-line\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts-stat\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, echarts, _echarts_theme, _charts, _echartsStat, _components, _features, _renderers, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts-stat\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if (and @title this.disabled)}}

{{@title}}

{{/if}}\n
\n {{#if this.disabled}}\n \n {{t\n \"dashboards.leverage-metric\"\n numMetrics=1\n }}\n \n {{/if}}\n \n */\n {\n \"id\": \"xL0P3XBG\",\n \"block\": \"[[[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[41,[28,[37,2],[[30,1],[30,0,[\\\"disabled\\\"]]],null],[[[10,\\\"h3\\\"],[14,0,\\\"absolute\\\"],[12],[1,[30,1]],[13]],[]],null],[1,\\\"\\\\n \\\"],[11,0],[16,0,[29,[[52,[30,0,[\\\"disabled\\\"]],\\\"blur-sm\\\"]]]],[17,2],[4,[38,4],[[30,0,[\\\"renderChart\\\"]],[30,3]],null],[4,[38,5],[[30,0,[\\\"updateChart\\\"]],[30,3]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"disabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-gray-300 border-solid py-2 px-3 rounded-md bg-white absolute top-2/4 left-2/4 -translate-x-[50%] -translate-y-[50%]\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,9],[\\\"dashboards.leverage-metric\\\"],[[\\\"numMetrics\\\"],[1]]]],[13],[8,[39,10],[[24,0,\\\"w-6 h-6 text-gray-400 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@title\\\",\\\"&attrs\\\",\\\"@source\\\"],[\\\"div\\\",\\\"if\\\",\\\"and\\\",\\\"h3\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/arrow-left\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/scatter-with-line.hbs\",\n \"isStrictMode\": false\n });\n\n // Import the echarts core module, which provides the necessary interfaces for using echarts.\n\n // Import bar charts, all suffixed with Chart\n\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n\n // Features like Universal Transition and Label Layout\n\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n\n // Register the required components\n echarts.use([_charts.ScatterChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n echarts.registerTransform(_echartsStat.transform.regression);\n let ScatterWithLineComponent = _exports.default = (_class = class ScatterWithLineComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"myChart\", null);\n }\n get disabled() {\n return false;\n // return !this.args?.source;\n }\n get titleOptions() {\n const {\n title,\n subtitle\n } = this.args;\n return {\n title: {\n text: title,\n subtext: subtitle ?? ''\n }\n };\n }\n get height() {\n const {\n height\n } = this.args;\n return height ?? 500;\n }\n async renderChart(e) {\n this.myChart = echarts.init(e, 'producthub', {\n height: this.height\n });\n const options = {\n ...this.titleOptions,\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'cross'\n }\n },\n toolbox: {\n show: true,\n orient: 'vertical',\n left: 'left',\n top: 'center',\n feature: {\n mark: {\n show: true\n },\n magicType: {\n show: true,\n type: ['scatter', 'bar']\n },\n dataView: {\n show: true\n },\n restore: {\n show: true\n },\n saveAsImage: {\n show: true\n }\n }\n },\n xAxis: [{\n type: 'value',\n name: 'Week number',\n min: 'dataMin',\n max: 'dataMax',\n splitNumber: 25,\n axisLabel: {\n formatter: this.weekNumberFormatter\n },\n splitLine: {\n lineStyle: {\n type: 'dashed'\n }\n }\n }],\n yAxis: [{\n name: 'Time to Value in Days',\n splitLine: {\n lineStyle: {\n type: 'dashed'\n }\n }\n }],\n legend: {\n show: false,\n left: 'center',\n top: 'bottom'\n },\n series: [{\n name: 'Features',\n type: 'scatter',\n symbolSize: 20,\n encode: {\n x: 0,\n y: 1,\n label: 2\n },\n label: {\n show: false,\n fontSize: 12,\n fontStyle: 'normal',\n fontFamily: 'sans-serif',\n fontWeight: 'normal'\n },\n labelLayout: {\n dx: 40\n }\n }, {\n name: 'Trend',\n type: 'line',\n smooth: true,\n tooltip: {\n show: false\n },\n datasetIndex: 1,\n symbolSize: 0.2,\n symbol: 'circle',\n encode: {\n x: 0,\n y: 1\n }\n }],\n ...this.exampleDataset()\n };\n this.myChart.setOption(options);\n }\n updateChart(_, [dataset]) {\n this.myChart.setOption({\n dataset\n });\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n weekNumberFormatter(value) {\n let string = value.toString();\n // return string\n // return string.slice(0,4)+\"-\"+string.slice(4,6);\n return string.slice(4, 6);\n }\n exampleDataset() {\n return {\n dataset: [{\n dimensions: [{\n type: 'int'\n }, {\n type: 'int'\n }, {\n type: 'ordinal'\n }],\n source: [['week number', 'days in development', 'Initiative'], [202303, 98, 'Feature 2'], [202305, 97, 'Feature 3'], [202307, 85, 'Feature 4'], [202309, 73, 'Feature 5'], [202311, 80, 'Feature 6'], [202313, 66, 'Feature 7'], [202315, 84, 'Feature 8'], [202318, 69, 'Feature 9'], [202320, 73, 'Feature 10'], [202322, 59, 'Feature 11'], [202324, 79, 'Feature 12'], [202326, 57, 'Feature 13'], [202328, 55, 'Feature 14'], [202330, 67, 'Feature 15'], [202333, 51, 'Feature 16'], [202335, 58, 'Feature 17'], [202337, 53, 'Feature 18'], [202338, 53, 'Feature 19'], [202338, 54, 'Feature 20'], [202338, 36, 'Feature 26'], [202338, 37, 'Feature 27'], [202339, 37, 'Feature 28'], [202339, 29, 'Feature 29'], [202340, 36, 'Feature 30'], [202340, 33, 'Feature 31'], [202341, 29, 'Feature 32'], [202341, 23, 'Feature 33'], [202342, 25, 'Feature 34'], [202342, 23, 'Feature 35'], [202343, 19, 'Feature 36'], [202343, 17, 'Feature 37'], [202344, 15, 'Feature 38'], [202344, 11, 'Feature 39'], [202345, 8, 'Feature 40']]\n }, {\n transform: {\n type: 'ecStat:regression',\n config: {\n method: 'linear'\n }\n }\n }]\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"renderChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"renderChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ScatterWithLineComponent);\n});","define(\"scaleflow/components/charts/stacked-line-chart\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, echarts, _echarts_theme, _charts, _components, _features, _renderers, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if (and @title this.disabled)}}{{@title}}{{/if}}\n
\n {{#if this.disabled}}\n \n {{t\n \"dashboards.leverage-metric\"\n numMetrics=1\n }}\n \n {{/if}}\n \n */\n {\n \"id\": \"h9EEP0e4\",\n \"block\": \"[[[10,0],[14,0,\\\"relative\\\"],[14,\\\"test-id\\\",\\\"sl-chart\\\"],[12],[1,\\\"\\\\n \\\"],[41,[28,[37,2],[[30,1],[30,0,[\\\"disabled\\\"]]],null],[[[10,\\\"h3\\\"],[14,0,\\\"absolute\\\"],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,[30,1]],[13]],[]],null],[1,\\\"\\\\n \\\"],[11,0],[16,0,[29,[[52,[30,0,[\\\"disabled\\\"]],\\\"blur-sm\\\"]]]],[17,2],[4,[38,4],[[30,0,[\\\"renderChart\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"disabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-gray-300 border-solid py-2 px-3 rounded-md bg-white absolute top-2/4 left-2/4 -translate-x-[50%] -translate-y-[50%]\\\"],[24,\\\"test-id\\\",\\\"link-metric-button\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dashboards.leverage-metric\\\"],[[\\\"numMetrics\\\"],[1]]]],[13],[8,[39,9],[[24,0,\\\"w-6 h-6 text-gray-400 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@title\\\",\\\"&attrs\\\"],[\\\"div\\\",\\\"if\\\",\\\"and\\\",\\\"h3\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/arrow-left\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/stacked-line-chart.hbs\",\n \"isStrictMode\": false\n });\n\n // Import the echarts core module, which provides the necessary interfaces for using echarts.\n\n // Import bar charts, all suffixed with Chart\n\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n\n // Features like Universal Transition and Label Layout\n\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n\n // Register the required components\n echarts.use([_charts.LineChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent, _components.ToolboxComponent]);\n let ChartsStackedLineChartComponent = _exports.default = (_class = class ChartsStackedLineChartComponent extends _component2.default {\n get disabled() {\n return !this.args?.source;\n }\n get titleOptions() {\n const {\n title,\n subtitle\n } = this.args;\n const disabled = this.disabled;\n return {\n ...(!disabled && title && {\n title: {\n text: title,\n subtext: subtitle ?? ''\n }\n })\n };\n }\n get tooltipOptions() {\n const disabled = this.disabled;\n return {\n tooltip: {\n show: disabled ? false : true,\n trigger: 'axis'\n }\n };\n }\n renderChart(e) {\n const myChart = echarts.init(e, 'producthub', {\n height: 400\n });\n const titleOptions = this.titleOptions;\n const tooltipOptions = this.tooltipOptions;\n const option = {\n ...titleOptions,\n ...tooltipOptions,\n ...(this.args.showLegend && {\n legend: {\n left: 0,\n top: 50\n }\n }),\n grid: {\n top: 100,\n show: true,\n blur: 4,\n borderWidth: 0\n },\n toolbox: {\n feature: {\n saveAsImage: {}\n }\n },\n xAxis: {\n type: 'category',\n boundaryGap: false,\n data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']\n },\n yAxis: {\n type: 'value'\n },\n series: [{\n name: 'Email',\n type: 'line',\n stack: 'Total',\n data: [120, 132, 101, 134, 90, 230, 210]\n }, {\n name: 'Union Ads',\n type: 'line',\n stack: 'Total',\n data: [220, 182, 191, 234, 290, 330, 310]\n }, {\n name: 'Video Ads',\n type: 'line',\n stack: 'Total',\n data: [150, 232, 201, 154, 190, 330, 410]\n }, {\n name: 'Direct',\n type: 'line',\n stack: 'Total',\n data: [320, 332, 301, 334, 390, 330, 320]\n }, {\n name: 'Search Engine',\n type: 'line',\n stack: 'Total',\n data: [820, 932, 901, 934, 1290, 1330, 1320]\n }]\n };\n myChart.setOption(option);\n }\n updateChart(_, [source]) {\n const titleOptions = this.titleOptions;\n const tooltipOptions = this.tooltipOptions;\n this.myChart.setOption({\n dataset: {\n source: source\n },\n ...titleOptions,\n ...tooltipOptions\n });\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"renderChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"renderChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChartsStackedLineChartComponent);\n});","define(\"scaleflow/components/charts/stat-cards\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n

{{@title}}

\n
\n

{{#if\n @value\n }} {{@value}} {{else}}\n {{this.defaultValue}}\n {{/if}}

\n

{{this.change}}%\n {{@timeline}}

\n
\n {{#unless @value}}\n \n \n \n {{/unless}}\n \n \n */\n {\n \"id\": \"RowQFqhe\",\n \"block\": \"[[[11,0],[24,0,\\\"p-4 rounded-2xl bg-white shadow-sm w-[180px] relative\\\"],[24,\\\"test-id\\\",\\\"stat-card\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"font-medium text-gray-400 text-sm mb-2 leading-5\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[[52,[30,3],\\\"\\\",\\\"blur-sm\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-900 text-2xl mb-2 leading-8\\\"],[14,\\\"test-id\\\",\\\"value\\\"],[12],[41,[30,3],[[[1,\\\" \\\"],[1,[30,3]],[1,\\\" \\\"]],[]],[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"defaultValue\\\"]]],[1,\\\"\\\\n \\\"]],[]]],[13],[1,\\\"\\\\n \\\"],[10,2],[12],[10,1],[15,0,[29,[\\\"text-sm leading-5 font-normal rounded-md p-[2px]\\\\n \\\",[52,[30,0,[\\\"changeIsPositive\\\"]],\\\"bg-green-50 text-green-600\\\",\\\"bg-red-50 text-red-600\\\"]]]],[14,\\\"test-id\\\",\\\"change-percent\\\"],[12],[1,[30,0,[\\\"change\\\"]]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-xs font-normal inline-block ml-2 leading-4\\\"],[12],[1,[30,4]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[51,[30,3]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"bg-white absolute top-2/4 left-2/4 -translate-x-[50%]\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"onLinkMetricClick\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-6 h-6 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@title\\\",\\\"@value\\\",\\\"@timeline\\\"],[\\\"div\\\",\\\"p\\\",\\\"if\\\",\\\"span\\\",\\\"unless\\\",\\\"atoms/buttons/button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\"]]\",\n \"moduleName\": \"scaleflow/components/charts/stat-cards.hbs\",\n \"isStrictMode\": false\n });\n let ChartsStatCardsComponent = _exports.default = (_class = class ChartsStatCardsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"defaultDifference\", 8);\n _defineProperty(this, \"defaultValue\", '84%');\n }\n get difference() {\n return this.args?.difference || this.calculatedDifference;\n }\n get calculatedDifference() {\n if (this.args.value && this.args.previousValue) return Math.floor((+this.args.value - +this.args.previousValue) / +this.args.previousValue * 100);else return undefined;\n }\n get change() {\n if (this.difference === undefined) return `+${this.defaultDifference}`;\n if (Number(this.difference) === 0) return 0;\n return Number(this.difference) < 0 ? `${this.difference}` : `+${this.difference}`;\n }\n get changeIsPositive() {\n if (this.difference === undefined) return true;\n return Number(this.difference) >= 0;\n }\n onLinkMetricClick() {\n return this.args?.onLinkMetricClick();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChartsStatCardsComponent);\n});","define(\"scaleflow/components/chat/bot-message/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n
\n \n \n \n {{#if @message.references}}\n {{#if @message.references.length}}\n {{#each @message.references as |reference index|}}\n
\n {{#if (eq reference.type \"INITIATIVE\")}}\n \n \n
\n {{/if}}\n \n {{#if (eq reference.type \"ROADMAP\")}}\n \n \n
\n {{/if}}\n
\n {{/each}}\n {{/if}}\n {{/if}}\n \n \n \n {{#if this.artifactIsCreated}}\n \n {{else}}\n \n {{/if}}\n \n {{#if this.messageIsCopied}}\n \n {{else}}\n \n \n \n \n {{t \"dictionary.copy\"}}\n \n \n \n {{/if}}\n \n \n \n */\n {\n \"id\": \"xn7Xmwlr\",\n \"block\": \"[[[10,0],[14,0,\\\"flex items-start gap-2.5 px-2 group relative\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col w-full leading-1.5\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],[[24,0,\\\"mt-2\\\"],[4,[38,2],[[30,0,[\\\"setMarkdownElement\\\"]]],null]],[[\\\"@content\\\"],[[30,1,[\\\"text\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"references\\\"]],[[[41,[30,1,[\\\"references\\\",\\\"length\\\"]],[[[42,[28,[37,5],[[28,[37,5],[[30,1,[\\\"references\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"mt-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,6],[[30,2,[\\\"type\\\"]],\\\"INITIATIVE\\\"],null],[[[1,\\\" \\\"],[11,0],[24,0,\\\"mt-2 w-80 transition-all duration-300 transform opacity-0 translate-x-4\\\"],[4,[38,2],[[28,[37,7],[[30,0,[\\\"animateIn\\\"]],[30,3]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@initiative\\\",\\\"@async\\\"],[[28,[37,9],null,[[\\\"id\\\"],[[30,2,[\\\"id\\\"]]]]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,6],[[30,2,[\\\"type\\\"]],\\\"ROADMAP\\\"],null],[[[1,\\\" \\\"],[11,0],[24,0,\\\"mt-2 w-full transition-all duration-300 transform opacity-0 translate-x-4\\\"],[4,[38,2],[[28,[37,7],[[30,0,[\\\"animateIn\\\"]],[30,3]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@roadmap_id\\\"],[[30,2,[\\\"id\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[2,3]],null]],[]],null]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"invisible group-hover:visible self-end justify-end absolute bottom-0 left-0 right-0 pb-3 flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"artifactIsCreated\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"block\\\"],[24,4,\\\"button\\\"],[4,[38,13],[\\\"click\\\",[30,0,[\\\"saveAsArtifact\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Save as Artifact\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"messageIsCopied\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"block\\\"],[24,4,\\\"button\\\"],[4,[38,13],[\\\"click\\\",[30,0,[\\\"copyMessageToClipboard\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,17],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,18],[\\\"dictionary.copy\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@message\\\",\\\"reference\\\",\\\"index\\\"],[\\\"div\\\",\\\"markdown-renderer\\\",\\\"render-modifiers/on-insert\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"eq\\\",\\\"fn\\\",\\\"initiatives/card\\\",\\\"hash\\\",\\\"chat/roadmap-renderer\\\",\\\"atoms/icons/check\\\",\\\"button\\\",\\\"on\\\",\\\"tailwind-icons/document-plus\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"tailwind-icons/clipboard\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/bot-message/index.hbs\",\n \"isStrictMode\": false\n });\n const STAGGER_DELAY_MS = 300;\n let ChatBotMessageComponent = _exports.default = (_class = class ChatBotMessageComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor2, this);\n _initializerDefineProperty(this, \"element\", _descriptor3, this);\n _initializerDefineProperty(this, \"messageIsCopied\", _descriptor4, this);\n _initializerDefineProperty(this, \"artifactIsCreated\", _descriptor5, this);\n }\n animateIn(index, element) {\n // Calculate the total delay for this specific element\n const delay = (index + 1) * STAGGER_DELAY_MS;\n\n // Apply the 'animated' class after the calculated delay to trigger transition\n // This simulates the 'opacity-0' to 'opacity-100' transition from Tailwind\n setTimeout(() => {\n element.classList.add('opacity-100');\n element.classList.remove('opacity-0');\n element.classList.add('translate-x-0');\n element.classList.remove('translate-x-4'); // Assumes it starts slightly lower\n }, delay); // Use the calculated delay for each item\n }\n setMarkdownElement(element) {\n this.element = element;\n }\n copyMessageToClipboard() {\n if (!this.element) return;\n const textContent = this.element.innerText;\n navigator.clipboard.writeText(textContent);\n this.showMessageCopiedAnimation();\n }\n showMessageCopiedAnimation() {\n this.messageIsCopied = true;\n setTimeout(() => {\n this.messageIsCopied = false;\n }, 3000);\n }\n saveAsArtifact() {\n const conversation_id = this.chatv2.activeConversation;\n const conversation = this.store.peekRecord('conversation', conversation_id);\n const title = conversation.title;\n const initiative_id = conversation.initiative.id;\n const initiative = this.store.peekRecord('initiative', initiative_id);\n let artifact_title = title.split('-')?.[0]?.trim?.() ?? title;\n artifact_title += ` - ${(0, _moment.default)().format('DD-MM-YYYY HH:mm')}`;\n const artifact = this.store.createRecord('artifact', {\n name: artifact_title,\n content: this.args.message.text,\n initiative: initiative\n });\n artifact.save().then(() => {\n this.artifactIsCreated = true;\n setTimeout(() => {\n this.artifactIsCreated = false;\n }, 3000);\n }).catch(error => {\n console.error('Error saving artifact:', error);\n this.artifactIsCreated = false;\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"element\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"messageIsCopied\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"artifactIsCreated\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"animateIn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"animateIn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setMarkdownElement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setMarkdownElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"copyMessageToClipboard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyMessageToClipboard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showMessageCopiedAnimation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showMessageCopiedAnimation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveAsArtifact\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveAsArtifact\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatBotMessageComponent);\n});","define(\"scaleflow/components/chat/error-message/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n \n
\n */\n {\n \"id\": \"rtgPlw74\",\n \"block\": \"[[[10,0],[14,0,\\\"flex items-center gap-2.5 px-2 group relative leading-1.5 my-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"w-5 h-5 text-red-600\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"mt-2\\\"],[4,[38,3],[[30,0,[\\\"setMarkdownElement\\\"]]],null]],[[\\\"@content\\\"],[[30,1,[\\\"text\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@message\\\"],[\\\"div\\\",\\\"tailwind-icons/exclamation-circle\\\",\\\"markdown-renderer\\\",\\\"render-modifiers/on-insert\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/error-message/index.hbs\",\n \"isStrictMode\": false\n });\n let ChatErrorMessage = _exports.default = (_class = class ChatErrorMessage extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"element\", _descriptor, this);\n }\n setMarkdownElement(element) {\n this.element = element;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"element\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return undefined;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setMarkdownElement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setMarkdownElement\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatErrorMessage);\n});","define(\"scaleflow/components/chat/header/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{yield}}\n */\n {\n \"id\": \"kW3baSZJ\",\n \"block\": \"[[[11,\\\"h3\\\"],[24,0,\\\"text-sm font-medium text-center flex items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[17,1],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"h3\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/header/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"header\"));\n});","define(\"scaleflow/components/chat/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-lifeline\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/conversation\", \"@ember/template-factory\"], function (_exports, _component, _object, _emberLifeline, _service, _component2, _tracking, _conversation, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-lifeline\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/conversation\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:header>\n \n {{#if this.isFullScreen}}\n {{this.initiative.title}}\n /\n {{/if}}\n \n \n \n \n <:messages>\n {{#if\n (and this.activeConversation.messages.isPending this.messagesAreEmpty)\n }}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n {{else if this.messagesAreEmpty}}\n {{#if this.activeConversation.archived}}\n \n <:message>\n No messages were sent in this chat\n \n \n {{else}}\n
\n
\n {{this.title}}\n
\n

Talk to your project

\n
\n {{/if}}\n {{else}}\n \n {{#each this.messages as |message index|}}\n \n {{#if (eq message.type \"BOT\")}}\n \n {{/if}}\n \n {{#if (eq message.type \"USER\")}}\n \n {{/if}}\n \n {{#if (eq message.type \"ERROR\")}}\n \n {{/if}}\n \n {{#let (not this.activeConversation.complete) as |loading|}}\n {{#if (and loading (eq index (subtract this.messages.length 1)))}}\n
\n
\n
\n Processing\n
\n {{/if}}\n {{/let}}\n \n {{/each}}\n \n \n {{/if}}\n \n \n <:form>\n {{#if this.messages.length}}\n \n {{#unless this.activeConversation.conversation.archived}}\n \n {{/unless}}\n \n {{else}}\n \n {{#unless\n (or\n this.activeConversation.archived\n this.activeConversation.messages.isPending\n )\n }}\n
\n {{#each this.agents as |agent|}}\n {{agent.name}}\n \n {{else}}\n

You have no agents configured at\n the moment. You can create an agent by clicking\n here\n

\n {{/each}}\n
\n {{/unless}}\n \n {{/if}}\n \n \n \n <:chatHistory>\n {{#each this.activeConversations as |conversation|}}\n \n {{conversation.title}}\n \n {{#unless (eq conversation.id this.activeConversation.id)}}\n \n <:trigger>\n \n \n <:menuItems>\n \n \n \n {{t \"dictionary.delete\"}}\n \n \n \n \n Archive\n \n \n \n \n {{/unless}}\n \n {{/each}}\n \n \n \n <:archivedChats>\n {{#each this.archivedConversations as |conversation|}}\n \n {{conversation.title}}\n \n {{#unless (eq conversation.id this.activeConversation.conversation.id)}}\n \n <:trigger>\n \n \n <:menuItems>\n \n \n \n {{t \"dictionary.delete\"}}\n \n \n \n \n Restore\n \n \n \n \n {{/unless}}\n \n \n {{else}}\n

No archived conversations

\n {{/each}}\n \n \n \n */\n {\n \"id\": \"OQ6dsQ70\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"\\\"]],[[\\\"@isVisible\\\",\\\"@isFullScreen\\\",\\\"@toggleFullScreen\\\",\\\"@toggleVisibility\\\",\\\"@recentChatsIsVisible\\\",\\\"@toggleRecentChatsIsVisible\\\"],[[30,0,[\\\"isVisible\\\"]],[30,0,[\\\"isFullScreen\\\"]],[30,0,[\\\"toggleFullScreen\\\"]],[30,0,[\\\"toggleVisibility\\\"]],[30,0,[\\\"recentChatsIsVisible\\\"]],[30,0,[\\\"toggleRecentChatsIsVisible\\\"]]]],[[\\\"header\\\",\\\"messages\\\",\\\"form\\\",\\\"chatHistory\\\",\\\"archivedChats\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[16,0,[29,[\\\"mr-auto \\\",[52,[30,0,[\\\"isFullScreen\\\"]],\\\"\\\",\\\" ml-20\\\"]]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isFullScreen\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"font-semibold whitespace-nowrap\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"/\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"w-96\\\"]],[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\",\\\"@textSize\\\",\\\"@disabled\\\"],[[30,0,[\\\"activeConversation\\\"]],[30,0,[\\\"conversationValidator\\\"]],\\\"title\\\",[29,[[28,[37,6],[\\\"dictionary.title\\\"],null]]],\\\"sm\\\",[30,0,[\\\"activeConversation\\\",\\\"archived\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,0,[\\\"activeConversation\\\",\\\"messages\\\",\\\"isPending\\\"]],[30,0,[\\\"messagesAreEmpty\\\"]]],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex flex-col grow overflow-y-auto w-full px-4 pt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full space-y-4 animate-pulse\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-3 w-3/5\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-8 h-8 bg-gray-200 rounded-full shrink-0\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 space-y-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-3/4\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-full\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-5/6\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-3 w-3/5 ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 space-y-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-3/4 ml-auto\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-full\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-5/6 ml-auto\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-8 h-8 bg-gray-200 rounded-full shrink-0\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-3 w-3/5\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-8 h-8 bg-gray-200 rounded-full shrink-0\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 space-y-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-3/4\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-full\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-4 bg-gray-200 rounded w-5/6\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"messagesAreEmpty\\\"]],[[[41,[30,0,[\\\"activeConversation\\\",\\\"archived\\\"]],[[[1,\\\" \\\"],[8,[39,10],null,null,[[\\\"message\\\"],[[[[1,\\\"\\\\n No messages were sent in this chat\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"mt-[20vh] pb-2 px-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-900 font-medium text-lg text-center\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500 text-center mt-1\\\"],[12],[1,\\\"Talk to your project\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[11,0],[24,0,\\\"flex flex-col grow overflow-y-auto w-full px-4 pt-4 fade-up\\\"],[24,1,\\\"messages-container\\\"],[4,[38,14],[[30,0,[\\\"setUserScrolledUp\\\"]]],null],[4,[38,15],[[30,0,[\\\"scrollToBottom\\\"]],[30,0,[\\\"messages\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"messages\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,1,[\\\"type\\\"]],\\\"BOT\\\"],null],[[[1,\\\" \\\"],[8,[39,19],null,[[\\\"@message\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,1,[\\\"type\\\"]],\\\"USER\\\"],null],[[[1,\\\" \\\"],[8,[39,20],null,[[\\\"@message\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,1,[\\\"type\\\"]],\\\"ERROR\\\"],null],[[[1,\\\" \\\"],[8,[39,21],null,[[\\\"@message\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[44,[[28,[37,23],[[30,0,[\\\"activeConversation\\\",\\\"complete\\\"]]],null]],[[[41,[28,[37,8],[[30,3],[28,[37,18],[[30,2],[28,[37,24],[[30,0,[\\\"messages\\\",\\\"length\\\"]],1],null]],null]],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"w-full flex gap-x-2 items-center mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"ai-loader\\\"],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"em\\\"],[15,0,[29,[\\\"text-xs text-gray-500\\\\n \\\",[52,[30,3],\\\"animate-pulse\\\",\\\"\\\"]]]],[12],[1,\\\"Processing\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[3]]],[1,\\\"\\\\n\\\"]],[1,2]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\" \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"messages\\\",\\\"length\\\"]],[[[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"activeConversation\\\",\\\"conversation\\\",\\\"archived\\\"]]],[[[1,\\\" \\\"],[8,[39,28],null,[[\\\"@onSubmit\\\",\\\"@agentIsBusy\\\",\\\"@onStopConversationRequest\\\"],[[30,0,[\\\"sendQuery\\\"]],[28,[37,23],[[30,0,[\\\"activeConversation\\\",\\\"complete\\\"]]],null],[30,0,[\\\"stopConversation\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[51,[28,[37,29],[[30,0,[\\\"activeConversation\\\",\\\"archived\\\"]],[30,0,[\\\"activeConversation\\\",\\\"messages\\\",\\\"isPending\\\"]]],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-center gap-2 flex-wrap mt-8\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"agents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"px-3 py-2 text-sm rounded-md font-medium text-gray-900 hover:bg-gray-50 border border-solid border-gray-500 shadow whitespace-nowrap\\\"],[24,4,\\\"button\\\"],[4,[38,31],[\\\"click\\\",[28,[37,32],[[30,0,[\\\"handleAgentInitiate\\\"]],[30,4]],null]],null],[12],[1,[30,4,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[4]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-gray-900\\\"],[12],[1,\\\"You have no agents configured at\\\\n the moment. You can create an agent by clicking\\\\n \\\"],[8,[39,33],[[24,0,\\\"text-primary-600\\\"]],[[\\\"@route\\\"],[\\\"settings.agents.list.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"here\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"activeConversations\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"flex items-center space-x-2 relative group hover:bg-gray-50\\\\n \\\",[52,[28,[37,18],[[30,5,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"id\\\"]]],null],\\\" bg-gray-100\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,\\\"title\\\",[29,[[30,5,[\\\"title\\\"]]]]],[16,0,[29,[\\\"text-gray-500 text-sm py-2 px-3 w-full text-left whitespace-nowrap overflow-hidden text-ellipsis\\\\n \\\",[52,[28,[37,18],[[30,5,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"id\\\"]]],null],\\\" bg-gray-100 font-medium\\\"],\\\"\\\\n \\\"]]],[24,4,\\\"button\\\"],[4,[38,31],[\\\"click\\\",[28,[37,32],[[30,0,[\\\"activateConversation\\\"]],[30,5]],null]],null],[12],[1,[30,5,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[28,[37,18],[[30,5,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"id\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,35],[[24,0,\\\"!w-fit right-4 transition-all ease-in-out\\\"]],[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\" text-indigo-500 text-xs font-semibold flex items-center opacity-0\\\\n group-hover:opacity-100 focus:opacity-100 active:opacity-100 hover:bg-gray-300 focus:bg-gray-300\\\\n active:bg-gray-300p-1 rounded p-1\\\",\\\"!top-4 w-fit\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"w-5 h-5 text-gray-500 rotate-90\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,39],[[24,0,\\\"w-28\\\"]],[[\\\"@handleSelect\\\"],[[28,[37,32],[[30,0,[\\\"deleteConversation\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,40],[[24,0,\\\"w-6 h-6 text-red-600 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"dictionary.delete\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,39],[[24,0,\\\"w-28\\\"]],[[\\\"@handleSelect\\\"],[[28,[37,32],[[30,0,[\\\"archiveConversation\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],[[24,0,\\\"w-6 h-6 text-gray-600 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"Archive\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"archivedConversations\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"flex items-center space-x-2 relative group hover:bg-gray-50\\\\n \\\",[52,[28,[37,18],[[30,6,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"conversation\\\",\\\"id\\\"]]],null],\\\" bg-gray-100\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,\\\"title\\\",[29,[[30,6,[\\\"title\\\"]]]]],[16,0,[29,[\\\"text-gray-500 text-sm py-2 px-3 w-full text-left whitespace-nowrap overflow-hidden text-ellipsis\\\\n \\\",[52,[28,[37,18],[[30,6,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"conversation\\\",\\\"id\\\"]]],null],\\\" bg-gray-100 font-medium\\\"],\\\"\\\\n \\\"]]],[24,4,\\\"button\\\"],[4,[38,31],[\\\"click\\\",[28,[37,32],[[30,0,[\\\"activateConversation\\\"]],[30,6]],null]],null],[12],[1,[30,6,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[28,[37,18],[[30,6,[\\\"id\\\"]],[30,0,[\\\"activeConversation\\\",\\\"conversation\\\",\\\"id\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,35],[[24,0,\\\"!w-fit right-4 transition-all ease-in-out\\\"]],[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\" text-indigo-500 text-xs font-semibold flex items-center opacity-0\\\\n group-hover:opacity-100 focus:opacity-100 active:opacity-100 hover:bg-gray-300 focus:bg-gray-300\\\\n active:bg-gray-300p-1 rounded p-1\\\",\\\"!top-4 w-fit\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"w-5 h-5 text-gray-500 rotate-90\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,39],[[24,0,\\\"w-28\\\"]],[[\\\"@handleSelect\\\"],[[28,[37,32],[[30,0,[\\\"deleteConversation\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,40],[[24,0,\\\"w-6 h-6 text-red-600 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,6],[\\\"dictionary.delete\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,39],[[24,0,\\\"w-28\\\"]],[[\\\"@handleSelect\\\"],[[28,[37,32],[[30,0,[\\\"restoreConversation\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,43],[[24,0,\\\"w-6 h-6 text-gray-600 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"Restore\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[6]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs italic px-2\\\"],[12],[1,\\\"No archived conversations\\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"]],[]]]]]],[\\\"message\\\",\\\"index\\\",\\\"loading\\\",\\\"agent\\\",\\\"conversation\\\",\\\"conversation\\\"],[\\\"chat/window\\\",\\\":header\\\",\\\"chat/header\\\",\\\"if\\\",\\\"span\\\",\\\"atoms/forms/clickable-input\\\",\\\"t\\\",\\\":messages\\\",\\\"and\\\",\\\"div\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"h2\\\",\\\"p\\\",\\\"chat/scroll\\\",\\\"render-modifiers/on-update\\\",\\\"each\\\",\\\"-track-array\\\",\\\"eq\\\",\\\"chat/bot-message\\\",\\\"chat/user-message\\\",\\\"chat/error-message\\\",\\\"let\\\",\\\"not\\\",\\\"subtract\\\",\\\"em\\\",\\\":form\\\",\\\"unless\\\",\\\"chat/input\\\",\\\"or\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"link-to\\\",\\\":chatHistory\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/item-menu\\\",\\\":menuItems\\\",\\\"tailwind-components/dropdown/option\\\",\\\"atoms/icons/delete\\\",\\\"atoms/icons/archive\\\",\\\":archivedChats\\\",\\\"atoms/icons/archive-recover\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/index.hbs\",\n \"isStrictMode\": false\n });\n\n // import { v4 as uuidv4 } from 'uuid'\n let ChatComponent = _exports.default = (_class = class ChatComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"dataSocket\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"intl\", _descriptor4, this);\n _initializerDefineProperty(this, \"store\", _descriptor5, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor6, this);\n _initializerDefineProperty(this, \"userIsScrolledUp\", _descriptor7, this);\n _defineProperty(this, \"conversationValidator\", _conversation.default);\n }\n get messages() {\n return this.activeConversation?.sortedMessages ?? [];\n }\n get recentChatsIsVisible() {\n return this.chatv2.recentChatsIsVisible;\n }\n toggleRecentChatsIsVisible() {\n this.chatv2.toggleRecentChatsIsVisible();\n }\n toggleVisibility() {\n this.chatv2.toggleChatWindow();\n }\n toggleFullScreen() {\n this.chatv2.toggleFullScreen();\n this.chatv2.toggleRecentChatsIsVisible(this.chatv2.isFullScreen);\n }\n get isVisible() {\n return this.chatv2.chatWindowIsOpen;\n }\n get isFullScreen() {\n return this.chatv2.isFullScreen;\n }\n get activeConversation() {\n return this.chatv2.activeConversationRecord ?? {};\n }\n get title() {\n return this.activeConversation?.title ?? '';\n }\n get initiative() {\n return this.activeConversation?.initiative ?? {};\n }\n get messagesAreEmpty() {\n return (this.activeConversation?.messages?.length ?? 0) === 0;\n }\n emitGapAnalysisRequest() {\n const message = `Please generate a gap analysis report on the ${this.intl.t('_initiatives.title', {\n num: 1\n })}: ${this.activeConversation.title}`;\n this.sendQuery(message);\n }\n emitSynchronizeDocumentsRequest() {\n const message = `Please synchronize the documents in our knowledge basse for the ${this.intl.t('_initiatives.title', {\n num: 1\n })}: ${this.activeConversation.title} (ID: ${this.activeConversation.id}).`;\n this.sendQuery(message);\n }\n emitResearchProjectRequest() {\n const message = `Please do research on the ${this.intl.t('_initiatives.title', {\n num: 1\n })}: ${this.activeConversation.title} (ID: ${this.activeConversation.id}).`;\n this.sendQuery(message);\n }\n handleAgentInitiate(agent) {\n this.chatv2.handleConversationInitiateWithAgent(agent);\n }\n sendQuery(query) {\n const activeConversation = this.activeConversation;\n const conversation_id = activeConversation.id;\n this.chatv2.sendMessage(query, conversation_id);\n }\n\n // Helper method to scroll to bottom, now called from a single place\n scrollToBottom() {\n // Only scroll if the user hasn't scrolled up\n if (!this.userIsScrolledUp) {\n (0, _emberLifeline.scheduleTask)(this, 'actions', function () {\n const element = document.querySelector('#messages-container');\n if (element) {\n element.scrollTop = element.scrollHeight;\n }\n });\n }\n }\n setUserScrolledUp(value) {\n this.userIsScrolledUp = value;\n }\n get activeConversations() {\n return (this.chatv2.currentInitiative?.sortedConversations ?? []).filter(conversation => !conversation.archived);\n }\n get archivedConversations() {\n return (this.chatv2.currentInitiative?.sortedConversations ?? []).filter(conversation => conversation.archived);\n }\n async activateConversation(conversation) {\n this.chatv2.restoreConversation(conversation);\n }\n handleRenameConversation() {}\n deleteConversation(conversation) {\n conversation.destroyRecord();\n }\n archiveConversation(conversation) {\n conversation.archived = true;\n conversation.save();\n }\n restoreConversation(conversation) {\n conversation.archived = false;\n conversation.save();\n }\n get agents() {\n return this.store.peekAll('agent');\n }\n stopConversation() {\n this.chatv2.stopConversation();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dataSocket\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"userIsScrolledUp\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleVisibility\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleVisibility\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFullScreen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFullScreen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"emitGapAnalysisRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"emitGapAnalysisRequest\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"emitSynchronizeDocumentsRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"emitSynchronizeDocumentsRequest\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"emitResearchProjectRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"emitResearchProjectRequest\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAgentInitiate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAgentInitiate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sendQuery\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sendQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"scrollToBottom\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"scrollToBottom\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setUserScrolledUp\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setUserScrolledUp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"activateConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"activateConversation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleRenameConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRenameConversation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteConversation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveConversation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restoreConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreConversation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"stopConversation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"stopConversation\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatComponent);\n});","define(\"scaleflow/components/chat/input/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n
\n
\n {{yield to=\"extraActions\"}}\n
\n \n {{#if @agentIsBusy}}\n
\n \n \n
\n \n
\n \n \n Stop conversation\n \n \n \n
\n {{else}}\n \n \n \n {{/if}}\n
\n \n */\n {\n \"id\": \"beZK/qol\",\n \"block\": \"[[[10,0],[14,0,\\\"shadow-lg py-4 px-3 transition-all border border-gray-300 rounded-2xl mb-4 pb-2\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[24,0,\\\"flex items-center gap-x-2\\\"],[24,\\\"test-id\\\",\\\"chat-form\\\"],[17,1],[4,[38,2],[\\\"submit\\\",[30,0,[\\\"propagateQuery\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[11,\\\"textarea\\\"],[24,1,\\\"searchable\\\"],[16,\\\"disabled\\\",[30,2]],[24,0,\\\"w-full border-0 focus:outline-none focus:ring-0 p-0 font-normal text-gray-900 placeholder:text-base text-base resize-none\\\"],[24,\\\"placeholder\\\",\\\"How can I help you today?\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"],[24,\\\"aria-autocomplete\\\",\\\"none\\\"],[16,2,[30,0,[\\\"text\\\"]]],[24,4,\\\"text\\\"],[4,[38,2],[\\\"input\\\",[30,0,[\\\"setText\\\"]]],null],[4,[38,2],[\\\"keydown\\\",[30,0,[\\\"handleEnterPress\\\"]]],null],[12],[13],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,0],[14,0,\\\"relative h-8 w-8\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"propagateStopConversationRequest\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!h-8 !w-8 inline-block\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full absolute top-[50%] -translate-y-[50%] text-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-4 h-4 mx-auto\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,10],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Stop conversation\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"p-2\\\"],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"submit\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"propagateQuery\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,12],[[16,0,[29,[\\\"w-5 h-5\\\\n \\\",[52,[30,0,[\\\"isDisabled\\\"]],\\\"\\\\n text-gray-500\\\",\\\"text-gray-700 hover:text-primary-600\\\"],\\\"\\\\n transition-all\\\"]]]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@agentIsBusy\\\",\\\"&extraActions\\\"],[\\\"div\\\",\\\"form\\\",\\\"on\\\",\\\"textarea\\\",\\\"yield\\\",\\\"if\\\",\\\"button\\\",\\\"loader\\\",\\\"tailwind-icons/stop\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"atoms/buttons/icon\\\",\\\"tailwind-icons/paper-airplane\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/input/index.hbs\",\n \"isStrictMode\": false\n });\n let ChatInputComponent = _exports.default = (_class = class ChatInputComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"text\", _descriptor, this);\n }\n setText(e) {\n this.text = e.target.value;\n }\n propagateQuery(e) {\n if (this.isDisabled) return;\n e?.preventDefault?.();\n this.args.onSubmit(this.text);\n this.text = '';\n }\n handleEnterPress(e) {\n if ((e.key === 'Enter' || e.keyCode === 13) && !e.shiftKey) {\n e.preventDefault();\n this.propagateQuery();\n }\n }\n propagateStopConversationRequest() {\n if (!this.args.onStopConversationRequest) {\n (false && !(false) && (0, _debug.assert)(\"Please pass an 'onStopConversationRequest' prop to the component\"));\n }\n this.args.onStopConversationRequest();\n }\n get isDisabled() {\n return this.text.trim().length === 0;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"text\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setText\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setText\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateQuery\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleEnterPress\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleEnterPress\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateStopConversationRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateStopConversationRequest\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatInputComponent);\n});","define(\"scaleflow/components/chat/roadmap-renderer/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.roadmap}}\n \n

Roadmap:\n {{this.roadmap.title}}

\n \n {{#if this.roadmap.investmentScenario}}\n \n {{/if}}\n {{/if}}\n */\n {\n \"id\": \"pt5mEBUs\",\n \"block\": \"[[[41,[30,0,[\\\"roadmap\\\"]],[[[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-gray-900 text-lg\\\"],[12],[1,\\\"Roadmap:\\\\n \\\"],[1,[30,0,[\\\"roadmap\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@roadmap\\\"],[[30,0,[\\\"roadmap\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"roadmap\\\",\\\"investmentScenario\\\"]],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@initiatives\\\",\\\"@scenario\\\",\\\"@removeInitiative\\\",\\\"@start_date\\\",\\\"@end_date\\\",\\\"@readOnly\\\"],[[30,0,[\\\"roadmap\\\",\\\"initiatives\\\",\\\"content\\\"]],[30,0,[\\\"roadmap\\\",\\\"investmentScenario\\\"]],[30,0,[\\\"removeInitiative\\\"]],[30,0,[\\\"roadmap\\\",\\\"selected\\\",\\\"start_date\\\"]],[30,0,[\\\"roadmap\\\",\\\"selected\\\",\\\"end_date\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null]],[],[\\\"if\\\",\\\"h2\\\",\\\"roadmap/financial-summary\\\",\\\"roadmap/roadmap-visualisation\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/roadmap-renderer/index.hbs\",\n \"isStrictMode\": false\n });\n let ChatRoadmapRendererComponent = _exports.default = (_class = class ChatRoadmapRendererComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get roadmap() {\n if (this.args.roadmap_id) return this.store.peekRecord('roadmap', this.args.roadmap_id);else return null;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatRoadmapRendererComponent);\n});","define(\"scaleflow/components/chat/user-message/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{this.currentUser.abbreviation}}\n \n

{{@message.text}}

\n \n */\n {\n \"id\": \"kydqLpke\",\n \"block\": \"[[[10,0],[14,0,\\\"flex items-start gap-x-2 max-w-full leading-1.5 py-1.5 px-2 border-gray-200 rounded-xl bg-primary-50 w-fit text-gray-900 shadow-md my-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"currentUser\\\",\\\"color\\\"]],[30,0,[\\\"currentUser\\\",\\\"name\\\"]],false,[30,0,[\\\"currentUser\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"currentUser\\\",\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-base font-normal\\\"],[12],[1,[30,1,[\\\"text\\\"]]],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@message\\\"],[\\\"div\\\",\\\"avatar\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/user-message/index.hbs\",\n \"isStrictMode\": false\n });\n let ChatUserMessageComponent = _exports.default = (_class = class ChatUserMessageComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatUserMessageComponent);\n});","define(\"scaleflow/components/chat/window/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n {{#unless @isFullScreen}}\n
\n {{#if @isFullScreen}}\n \n \n \n {{else}}\n \n \n \n {{/if}}\n \n \n \n \n \n
\n {{/unless}}\n
\n \n \n New Chat\n \n
\n \n Recents\n
\n {{yield to=\"chatHistory\"}}\n
\n \n Archived\n
\n {{yield to=\"archivedChats\"}}\n
\n \n \n \n \n \n \n \n
\n {{#if @isFullScreen}}\n \n \n \n {{else}}\n \n \n \n {{/if}}\n \n \n \n \n
\n \n {{yield to=\"header\"}}\n \n {{#if @isVisible}}\n \n \n \n {{else}}\n \n \n \n {{/if}}\n \n \n \n {{yield to=\"messages\"}}\n \n {{yield to=\"form\"}}\n \n \n \n \n \n */\n {\n \"id\": \"87BuT7hE\",\n \"block\": \"[[[11,0],[24,0,\\\"grid grid-cols-12 h-screen w-full overflow-hidden border bg-white relative\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[[52,[30,2],\\\" shadow-lg border-r pt-2\\\\n animate-fade-in-left\\\",\\\"animate-fade-out-left pointer-events-none absolute\\\"],\\\"\\\\n \\\",[52,[30,3],\\\"col-span-2\\\",\\\"col-span-12\\\"],\\\"\\\\n flex flex-col overflow-hidden grow\\\"]]],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,3]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 absolute left-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-5 h-5 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"toggleRecentChatsIsVisible\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-6 h-6 -rotate-90\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center space-x-2 mb-3 mt-14\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"text-gray-500 text-sm hover:bg-gray-50 py-2 px-3 flex items-center gap-x-2 w-full whitespace-nowrap\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"handleNewChat\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[1,\\\"\\\\n New Chat\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-xs block mb-2 pl-2\\\"],[12],[1,\\\"Recents\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col overflow-y-scroll grow max-h-[80%] min-h-[50%]\\\"],[12],[1,\\\"\\\\n \\\"],[18,7,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-xs block mb-2 pl-2 border-t pt-2\\\"],[12],[1,\\\"Archived\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col overflow-y-scroll grow max-h-[50%] min-h-[20%]\\\"],[12],[1,\\\"\\\\n \\\"],[18,8,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[[52,[28,[37,11],[[28,[37,12],[[30,3]],null],[30,2]],null],\\\" hidden\\\"],\\\"\\\\n \\\",[52,[28,[37,11],[[30,3],[30,2]],null],\\\"col-span-10\\\"],\\\"\\\\n \\\",[52,[28,[37,11],[[30,3],[28,[37,12],[[30,2]],null]],null],\\\"col-span-12\\\"],\\\"\\\\n \\\",[52,[28,[37,11],[[28,[37,12],[[30,3]],null],[28,[37,12],[[30,2]],null]],null],\\\"col-span-12\\\"],\\\"\\\\n flex flex-col grow overflow-hidden\\\"]]],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"w-full flex items-center gap-x-2 pr-2\\\\n \\\",[52,[28,[37,11],[[30,3],[28,[37,12],[[30,2]],null]],null],\\\"pl-28\\\",\\\"pl-4\\\"],\\\"\\\\n border-b h-[64px] min-h-[64px]\\\"]]],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 absolute left-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-5 h-5 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"p-2 rounded-full hover:bg-gray-300\\\\n \\\",[52,[30,2],\\\"bg-gray-300\\\"]]]],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"toggleRecentChatsIsVisible\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-6 h-6 -rotate-90\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[18,9,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,6]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"p-2 rounded-full hover:bg-gray-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,6]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-5 h-5 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"w-full grow overflow-hidden flex flex-col\\\\n \\\",[52,[30,3],\\\"max-w-full xl:max-w-[90%]\\\\n mx-auto\\\",\\\"max-w-full\\\"],\\\"\\\\n \\\"]]],[12],[1,\\\"\\\\n \\\"],[18,10,null],[1,\\\"\\\\n \\\"],[10,0],[14,\\\"test-id\\\",\\\"form-container\\\"],[14,1,\\\"form-container\\\"],[15,0,[29,[[52,[30,3],\\\"w-full lg:max-w-screen-lg mx-auto\\\",\\\"px-4\\\"]]]],[12],[1,\\\"\\\\n \\\"],[18,11,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@recentChatsIsVisible\\\",\\\"@isFullScreen\\\",\\\"@toggleFullScreen\\\",\\\"@isVisible\\\",\\\"@toggleVisibility\\\",\\\"&chatHistory\\\",\\\"&archivedChats\\\",\\\"&header\\\",\\\"&messages\\\",\\\"&form\\\"],[\\\"div\\\",\\\"if\\\",\\\"unless\\\",\\\"button\\\",\\\"on\\\",\\\"tailwind-icons/arrows-pointing-in\\\",\\\"tailwind-icons/arrows-pointing-out\\\",\\\"tailwind-icons/window\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"yield\\\",\\\"and\\\",\\\"not\\\",\\\"tailwind-icons/chevron-double-right\\\"]]\",\n \"moduleName\": \"scaleflow/components/chat/window/index.hbs\",\n \"isStrictMode\": false\n });\n let ChatWindowComponent = _exports.default = (_class = class ChatWindowComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"chatv2\", _descriptor, this);\n }\n toggleRecentChatsIsVisible() {\n this.args.toggleRecentChatsIsVisible();\n }\n async handleNewChat() {\n await this.chatv2.initiateConversation();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleNewChat\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleNewChat\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChatWindowComponent);\n});","define(\"scaleflow/components/checkbox\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"uQq6yvDJ\",\n \"block\": \"[[[11,\\\"label\\\"],[24,0,\\\"cursor-pointer\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,\\\"checked\\\",[30,2]],[24,0,\\\"checkbox absolute h-4 w-4 invisible\\\"],[16,\\\"disabled\\\",[30,3]],[24,4,\\\"checkbox\\\"],[4,[38,2],[\\\"change\\\",[30,4]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"border rounded border-gray-300 w-4 h-4 flex flex-shrink-0 justify-center items-center focus-within:border-gray-500\\\\n \\\",[52,[30,3],\\\"bg-gray-200 cursor-not-allowed\\\",\\\"bg-white hover:border-2 hover:border-gray-600 \\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"fill-current hidden w-6 h-6 text-gray-600 pointer-events-none\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@value\\\",\\\"@disabled\\\",\\\"@onChange\\\",\\\"&default\\\"],[\\\"label\\\",\\\"input\\\",\\\"on\\\",\\\"div\\\",\\\"if\\\",\\\"atoms/icons/checkbox-fill\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/checkbox.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"checkbox\"));\n});","define(\"scaleflow/components/content-editable\", [\"exports\", \"ember-content-editable/components/content-editable\"], function (_exports, _contentEditable) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _contentEditable.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-content-editable/components/content-editable\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/customers/form\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/validators/customer\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _customer, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/customer\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @customer this.CustomerValidations) as |changeset|}}\n \n <:title>\n

{{if\n this.isEdit\n (t \"dictionary.edit\")\n (t \"dictionary.add\")\n }}\n {{t \"customer.title\" num=1}}

\n \n <:body>\n
\n
\n
\n \n
\n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"V0CHzLGi\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"CustomerValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"customer-form-modal\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,8],[\\\"dictionary.edit\\\"],null],[28,[37,8],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\"],[\\\"name\\\",[28,[37,8],[\\\"dictionary.name\\\"],null],\\\"Acme Corp\\\",[30,2,[\\\"name\\\"]],[30,2],[28,[37,3],[[30,0,[\\\"handleBlur\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,1,\\\"save-customer\\\"],[24,\\\"test-id\\\",\\\"save-customer\\\"],[16,\\\"disabled\\\",[28,[37,17],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@customer\\\",\\\"changeset\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/customers/form.hbs\",\n \"isStrictMode\": false\n });\n let CustomersFormComponent = _exports.default = (_class = class CustomersFormComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"CustomerValidations\", _customer.default);\n _initializerDefineProperty(this, \"changeset\", _descriptor, this);\n }\n async submitForm(changeset, event) {\n event.preventDefault();\n const isValid = await changeset.validate();\n if (isValid) {\n // Apply changes to the model\n await changeset.save();\n\n // Call the parent's onSave action\n if (this.args.onSave) {\n await this.args.onSave(this.args.customer);\n }\n }\n }\n handleBlur(changeset) {\n // This is for the Atoms::Forms::Input component\n changeset.validate();\n }\n get isEdit() {\n return !!this.args.customer?.id;\n }\n cancelForm(changeset) {\n changeset.rollback();\n if (this.args.onCancel) {\n this.args.onCancel();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"submitForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CustomersFormComponent);\n});","define(\"scaleflow/components/dashboard-box\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"tippy.js\", \"long-press-event\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _tippy, _longPressEvent, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"tippy.js\",0,\"long-press-event\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @comingSoon}}\n
\n \n Coming\n Soon\n \n {{yield to=\"label\"}}\n \n
\n \n {{else}}\n {{#if @route}}\n \n \n {{#if @icon}}\n {{#let (component (concat \"atoms/icons/\" @icon)) as |Icon|}}\n \n {{/let}}\n {{/if}}\n {{#if @customIcon}}\n {{@customIcon}}\n {{/if}}\n \n {{yield to=\"label\"}}\n \n \n \n {{/if}}\n \n {{#if @url}}\n \n \n \n \n \n \n \n
    \n \n \n \n \n
\n \n \n \n \n {{/if}}\n {{/if}}\n */\n {\n \"id\": \"bPMVg1oK\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,0],[24,\\\"test-id\\\",\\\"dashboard-box\\\"],[24,0,\\\"group\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"group-hover:bg-gray-900/[0.04] transition rounded flex flex-col items-center justify-center relative w-[68px] h-[68px] md:w-[124px] md:h-[124px]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-[10px] md:text-sm text-center\\\"],[12],[10,\\\"em\\\"],[12],[1,\\\"Coming\\\\n Soon\\\"],[13],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-[10px] md:text-sm font-normal px-2 text-gray-500 group-hover:text-gray-700 text-center block mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[18,11,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,3],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"group\\\"],[24,\\\"test-id\\\",\\\"dashboard-box\\\"],[17,2]],[[\\\"@route\\\",\\\"@model\\\"],[[30,3],[30,4]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"group-hover:bg-gray-900/[0.04] transition rounded flex flex-col items-center justify-center relative w-[68px] h-[68px] md:w-[124px] md:h-[124px]\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,5],[[[44,[[50,[28,[37,8],[\\\"atoms/icons/\\\",[30,5]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,6],[[24,\\\"test-id\\\",\\\"db-icon\\\"],[24,0,\\\"w-6 h-6 block mx-auto p-1.5 text-gray-700 bg-gray-100 group-hover:bg-transparent rounded-full box-content\\\"]],null,null],[1,\\\"\\\\n\\\"]],[6]]]],[]],null],[41,[30,7],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xl flex items-center justify-center w-9 h-9 bg-gray-100 group-hover:bg-transparent rounded-full box-content\\\"],[14,\\\"test-id\\\",\\\"db-icon\\\"],[12],[1,[30,7]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"text-[10px] md:text-sm font-normal px-2 text-gray-600 group-hover:text-gray-700 text-center block mt-1 whitespace-nowrap text-ellipsis overflow-hidden w-full\\\"],[14,\\\"test-id\\\",\\\"db-title\\\"],[15,\\\"title\\\",[30,8,[\\\"title\\\"]]],[12],[1,\\\"\\\\n \\\"],[18,11,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,9],[[[1,\\\" \\\"],[11,0],[16,1,[29,[\\\"bookmark-\\\",[30,8,[\\\"id\\\"]]]]],[24,0,\\\"relative w-fit group\\\"],[17,2],[24,\\\"test-id\\\",\\\"dashboard-box\\\"],[4,[38,9],[[30,0,[\\\"initiateBookmarkBox\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"link\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"goToUrl\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"group-hover:bg-gray-900/[0.04] transition rounded flex flex-col items-center justify-center relative w-[68px] h-[68px] md:w-[124px] md:h-[124px]\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,8,[\\\"url\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5],[[[44,[[50,[28,[37,8],[\\\"atoms/icons/\\\",[30,5]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,10],[[24,\\\"test-id\\\",\\\"db-icon\\\"],[24,0,\\\"w-6 h-6 block mx-auto p-1.5 bg-gray-100 group-hover:bg-transparent rounded-full box-content\\\"]],null,null],[1,\\\"\\\\n\\\"]],[10]]]],[]],null],[41,[30,7],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xl flex items-center justify-center w-9 h-9 bg-gray-100 group-hover:bg-transparent rounded-full box-content\\\"],[14,\\\"test-id\\\",\\\"db-icon\\\"],[12],[1,[30,7]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"text-[10px] md:text-sm font-normal px-2 text-gray-600 group-hover:text-gray-700 text-center block mt-1 line-clamp\\\"],[14,\\\"test-id\\\",\\\"db-title\\\"],[12],[1,\\\"\\\\n \\\"],[18,11,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[11,0],[24,0,\\\"group absolute top-2 right-2\\\"],[4,[38,12],[[30,0,[\\\"closeMenu\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bookmark-tippy-trigger text-gray-500 transition opacity-0 px-2 hover:text-gray-900 focus:text-gray-900 md:focus:opacity-100 md:group-hover:opacity-100 cursor-pointer\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"bookmark-tippy-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,\\\"data-cy\\\",\\\"bookmark-dropdown-edit\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"edit\\\",\\\"Edit\\\",[30,0,[\\\"editBookmark\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,\\\"data-cy\\\",\\\"bookmark-dropdown-delete\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"delete\\\",\\\"Delete\\\",[30,0,[\\\"deleteBookmark\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]]],[\\\"@comingSoon\\\",\\\"&attrs\\\",\\\"@route\\\",\\\"@model\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"@customIcon\\\",\\\"@bookmark\\\",\\\"@url\\\",\\\"Icon\\\",\\\"&label\\\"],[\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"em\\\",\\\"yield\\\",\\\"link-to\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"on\\\",\\\"on-click-outside\\\",\\\"atoms/icons/item-menu\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"molecules/menu-actions\\\"]]\",\n \"moduleName\": \"scaleflow/components/dashboard-box.hbs\",\n \"isStrictMode\": false\n });\n let DashboardBoxComponent = _exports.default = (_class = class DashboardBoxComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get getQueryParams() {\n return this.args.query ?? {};\n }\n deleteBookmark() {\n this.args.bookmark?.destroyRecord();\n }\n editBookmark() {\n this.args?.editBookmark?.(this.args.bookmark);\n }\n initiateBookmarkBox(element) {\n this.createTippy(element);\n this.attachLongPressEventListener(element);\n }\n attachLongPressEventListener(element) {\n element.addEventListener('long-press', e => {\n e.preventDefault();\n this.tippyInstance.show();\n });\n }\n createTippy(element) {\n if (!this.args.bookmark) return;\n let trigger = element.querySelector('.bookmark-tippy-trigger');\n let dropdown = element.querySelector('.bookmark-tippy-dropdown');\n this.tippyInstance = (0, _tippy.default)(trigger, {\n content: dropdown,\n arrow: false,\n trigger: 'click',\n interactive: true,\n appendTo: element\n });\n }\n closeMenu() {\n this.tippyInstance.hide();\n }\n goToUrl() {\n return window.open(this.args.url, '_blank');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteBookmark\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteBookmark\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editBookmark\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editBookmark\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiateBookmarkBox\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiateBookmarkBox\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"attachLongPressEventListener\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"attachLongPressEventListener\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToUrl\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToUrl\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DashboardBoxComponent);\n});","define(\"scaleflow/components/departments/form\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/validators/department\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _department, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/department\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @department this.DepartmentValidations) as |changeset|}}\n \n <:title>\n

{{if\n this.isEdit\n (t \"dictionary.edit\")\n (t \"dictionary.add\")\n }}\n {{t \"department.title\" num=1}}

\n \n <:body>\n
\n
\n
\n \n
\n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"fdSWZz3K\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"DepartmentValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"department-form-modal\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,8],[\\\"dictionary.edit\\\"],null],[28,[37,8],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\"],[\\\"name\\\",[28,[37,8],[\\\"dictionary.name\\\"],null],\\\"Tech\\\",[30,2,[\\\"name\\\"]],[30,2],[28,[37,3],[[30,0,[\\\"handleBlur\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,1,\\\"save-department\\\"],[24,\\\"test-id\\\",\\\"save-department\\\"],[16,\\\"disabled\\\",[28,[37,17],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@department\\\",\\\"changeset\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/departments/form.hbs\",\n \"isStrictMode\": false\n });\n let DepartmentsFormComponent = _exports.default = (_class = class DepartmentsFormComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"DepartmentValidations\", _department.default);\n _initializerDefineProperty(this, \"changeset\", _descriptor, this);\n }\n async submitForm(changeset, event) {\n event.preventDefault();\n const isValid = await changeset.validate();\n if (isValid) {\n // Apply changes to the model\n await changeset.save();\n\n // Call the parent's onSave action\n if (this.args.onSave) {\n await this.args.onSave(this.args.department);\n }\n }\n }\n handleBlur(changeset) {\n // This is for the Atoms::Forms::Input component\n changeset.validate();\n }\n get isEdit() {\n return !!this.args.department?.id;\n }\n cancelForm(changeset) {\n changeset.rollback();\n if (this.args.onCancel) {\n this.args.onCancel();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"submitForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DepartmentsFormComponent);\n});","define(\"scaleflow/components/dropdowns/clear-selection-action-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{t \"dictionary.clear-selection\"}}\n \n \n */\n {\n \"id\": \"Fq3onn2q\",\n \"block\": \"[[[8,[39,0],[[24,\\\"test-id\\\",\\\"clear-selection\\\"],[17,1]],[[\\\"@menuClick\\\"],[[30,2]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-left text-gray-700 overflow-hidden text-ellipsis whitespace-nowrap grow\\\"],[12],[1,[28,[35,2],[\\\"dictionary.clear-selection\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"],[8,[39,3],[[24,0,\\\"!my-2\\\"]],null,null]],[\\\"&attrs\\\",\\\"@menuClick\\\"],[\\\"molecules/menu-actions\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/clear-selection-action-button.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"clear-selection-action-button\"));\n});","define(\"scaleflow/components/dropdowns/ideas\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n \n {{#if @searchable}}\n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#each this.ideasList as |idea|}}\n \n
\n \n {{idea.title}}\n \n {{#if (eq @value.id idea.id)}}\n \n {{/if}}\n
\n {{#if idea.statusLabel}}\n {{idea.statusLabel}}\n {{/if}}\n \n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"1WesqS0e\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\"\\\\n \\\"],[8,[30,1],[[17,2]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"inner-tippy-dropdown ideas-dropdown max-h-[400px] !w-[280px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,4],[[16,\\\"placeholder\\\",[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"idea.title\\\"],[[\\\"num\\\"],[3]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,6],[[30,4,[\\\"id\\\"]],[30,5]],null],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"ideasList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"flex-col !space-x-0\\\"],[16,\\\"disabled\\\",[28,[37,11],[[30,4,[\\\"id\\\"]],[30,6,[\\\"id\\\"]]],null]]],[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleIdeaClick\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center overflow-hidden gap-x-2 w-full mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap text-gray-900 font-normal text-sm\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"id\\\"]],[30,6,[\\\"id\\\"]]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"statusLabel\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 font-normal self-start\\\"],[12],[1,[30,6,[\\\"statusLabel\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"&attrs\\\",\\\"@searchable\\\",\\\"@value\\\",\\\"@showClearSelectionButton\\\",\\\"idea\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"t\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"eq\\\",\\\"fn\\\",\\\"div\\\",\\\"span\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/ideas.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsIdeasComponent = _exports.default = (_class = class DropdownsIdeasComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor3, this);\n _defineProperty(this, \"allowedStatus\", ['NEW', 'UNDER_REVIEW', 'APPROVED', 'REJECTED', 'IMPLEMENTED']);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get trigger() {\n return this.args?.trigger ?? '';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? false;\n }\n get ideas() {\n const ideas = this.store.peekAll('idea');\n return !this.textFilter ? ideas : ideas.filter(item => item.title.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n }\n get ideasList() {\n const ideas = this.ideas;\n let filtered = [];\n if (this.args.allowAllStatuses) filtered = [...ideas];else filtered = ideas.filter(item => this.allowedStatus.includes(item?.status?.toUpperCase?.()));\n return filtered.sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n handleIdeaClick(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleIdeaClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleIdeaClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsIdeasComponent);\n});","define(\"scaleflow/components/dropdowns/initiatives\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n \n {{#if @searchable}}\n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#each this.initiativesList as |initiative|}}\n \n
\n \n \n {{initiative.title}}\n \n {{#if (eq @value.id initiative.id)}}\n \n {{/if}}\n
\n {{#if initiative.abbreviation}}\n {{initiative.abbreviation}}\n {{!-- {{else}}\n - --}}\n {{/if}}\n \n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"hGSafvMT\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\"\\\\n \\\"],[8,[30,1],[[17,2]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"inner-tippy-dropdown initiatives-dropdown max-h-[400px] !w-[280px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,4],[[16,\\\"placeholder\\\",[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[3]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,6],[[30,4,[\\\"id\\\"]],[30,5]],null],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"initiativesList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"flex-col !space-x-0\\\"],[16,\\\"disabled\\\",[28,[37,11],[[30,4,[\\\"id\\\"]],[30,6,[\\\"id\\\"]]],null]]],[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleInitiativeClick\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center overflow-hidden gap-x-2 w-full mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"initiative-avatar\\\"],[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\"],[[30,6,[\\\"title\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap text-gray-900 font-normal text-sm\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,4,[\\\"id\\\"]],[30,6,[\\\"id\\\"]]],null],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"abbreviation\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 font-normal self-start pl-8\\\"],[12],[1,[30,6,[\\\"abbreviation\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"&attrs\\\",\\\"@searchable\\\",\\\"@value\\\",\\\"@showClearSelectionButton\\\",\\\"initiative\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"t\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"eq\\\",\\\"fn\\\",\\\"div\\\",\\\"molecules/initiative-avatar\\\",\\\"span\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/initiatives.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsInitiativesComponent = _exports.default = (_class = class DropdownsInitiativesComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor3, this);\n _defineProperty(this, \"allowedStatus\", ['ACTIVE', 'READY', 'DRAFT', 'READY FOR PLANNING', 'DISCOVERY']);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get trigger() {\n return this.args?.trigger ?? '';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? false;\n }\n get initiatives() {\n const initiatives = this.store.peekAll('initiative');\n return !this.textFilter ? initiatives : initiatives.filter(item => item.title.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0 || (item?.abbreviation ?? '').toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n }\n get initiativesList() {\n const initiatives = this.initiatives;\n let filtered = [];\n if (this.args.allowAllStatuses) filtered = [...initiatives];else filtered = initiatives.filter(item => this.allowedStatus.includes(item?.status?.toUpperCase?.()));\n return filtered.sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n handleInitiativeClick(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativeClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativeClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsInitiativesComponent);\n});","define(\"scaleflow/components/dropdowns/multi-select\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/utils/numberSort\", \"scaleflow/components/dropdowns/tippy-dropdown\", \"@ember/template-factory\"], function (_exports, _component, _object, _tracking, _numberSort, _tippyDropdown, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/numberSort\",0,\"scaleflow/components/dropdowns/tippy-dropdown\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n {{#let (component this.DropdownComponent) as |Dropdown|}}\n \n {{#if this.searchable}}\n \n {{/if}}\n \n {{#if @showAddOption}}\n \n {{t \"dictionary.add\"}} {{@label}}\n \n \n {{/if}}\n \n {{#if (and this.values.length @showClearSelectionButton)}}\n \n {{/if}}\n \n {{#each-in this.groupedOptions as |key list|}}\n {{#each list as |item|}}\n \n \n {{#if @icon}}\n {{#if (or (eq @icon \"person\") (eq @icon \"productManager\"))}}\n {{item.abbreviation}}\n \n {{/if}}\n \n {{#if (eq @icon \"theme\")}}\n \n {{/if}}\n \n {{#if (eq @icon \"team\")}}\n \n {{/if}}\n {{#if (eq @icon \"role\")}}\n \n {{/if}}\n {{/if}}\n {{item.label}}\n \n \n \n {{/each}}\n {{#if list.length}}\n \n {{/if}}\n {{/each-in}}\n \n {{/let}}\n \n {{/let}}\n */\n {\n \"id\": \"4LNbZAL3\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],[[17,2]],[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShow\\\",\\\"@onShown\\\"],[[30,0,[\\\"placement\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"interactive\\\"]],[30,0,[\\\"setTippyInstance\\\"]],[30,0,[\\\"focusSearch\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[44,[[50,[30,0,[\\\"DropdownComponent\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,3],[[16,0,[29,[\\\"inner-tippy-dropdown\\\\n \\\",[52,[30,4],\\\"teams max-h-[320px] overflow-y-auto !w-[300px]\\\",\\\"bg-white\\\"],\\\"\\\\n \\\",[52,[30,5],[30,5]]]]],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,3],[[16,\\\"placeholder\\\",[30,6]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,7],[[[1,\\\" \\\"],[8,[39,4],[[24,\\\"test-id\\\",\\\"add-item\\\"],[4,[38,5],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[30,8]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,7],[\\\"dictionary.add\\\"],null]],[1,\\\" \\\"],[1,[30,9]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,9],[[30,0,[\\\"values\\\",\\\"length\\\"]],[30,10]],null],[[[1,\\\" \\\"],[8,[39,10],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[30,0,[\\\"groupedOptions\\\"]]],null],null,[[[42,[28,[37,13],[[28,[37,13],[[30,11]],null]],null],null,[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"!p-0\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"flex-shrink-0 flex items-center gap-x-2 w-full overflow-hidden p-2\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,15],[[30,0,[\\\"values\\\"]],[30,13,[\\\"value\\\"]]],null],[28,[37,16],[[30,0,[\\\"handleCheckboxToggle\\\"]],[30,13]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,14],[[[41,[28,[37,17],[[28,[37,18],[[30,14],\\\"person\\\"],null],[28,[37,18],[[30,14],\\\"productManager\\\"],null]],null],[[[1,\\\" \\\"],[8,[39,19],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,13,[\\\"color\\\"]],[30,13,[\\\"label\\\"]],false,[30,13,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,13,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,14],\\\"theme\\\"],null],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[52,[30,13,[\\\"color\\\"]],[30,13,[\\\"color\\\"]],\\\"bg-white border border-gray-300\\\"],\\\"\\\\n \\\"]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[30,14],\\\"team\\\"],null],[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\"],[[30,13,[\\\"label\\\"]],[30,13,[\\\"value\\\"]],\\\"small\\\",false]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,18],[[30,14],\\\"role\\\"],null],[[[1,\\\" \\\"],[8,[39,21],[[24,0,\\\"shrink-0\\\"]],[[\\\"@role\\\",\\\"@size\\\"],[[28,[37,22],null,[[\\\"label\\\",\\\"id\\\"],[[30,13,[\\\"name\\\"]],[30,13,[\\\"value\\\"]]]]],\\\"small\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-left text-gray-700 overflow-hidden text-ellipsis whitespace-nowrap grow\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,[30,13,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[13]],null],[41,[30,11,[\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!my-2 last:hidden\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null]],[11,12]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"&attrs\\\",\\\"Dropdown\\\",\\\"@tippy\\\",\\\"@dropdownContainerClass\\\",\\\"@searchPlaceholder\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\",\\\"@showClearSelectionButton\\\",\\\"list\\\",\\\"key\\\",\\\"item\\\",\\\"@icon\\\"],[\\\"let\\\",\\\"component\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-each-in\\\",\\\"-track-array\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"fn\\\",\\\"or\\\",\\\"eq\\\",\\\"avatar\\\",\\\"atoms/avatar\\\",\\\"roles/avatar\\\",\\\"hash\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/multi-select.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsMultiSelectComponent = _exports.default = (_class = class DropdownsMultiSelectComponent extends _tippyDropdown.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"textFilter\", _descriptor, this);\n }\n get ComponentName() {\n return this.args.tippy ? 'Tippy' : 'empty-component';\n }\n get DropdownComponent() {\n return this.args.tippy ? 'molecules/dropdown' : 'empty-component';\n }\n get values() {\n return this.args?.values ?? [];\n }\n get trigger() {\n return this.args?.trigger ?? 'click';\n }\n get placement() {\n return this.args.placement ?? 'bottom-start';\n }\n get interactive() {\n return this.args.interactive ?? true;\n }\n get searchable() {\n return this.args?.options?.length >= 6;\n }\n get groupedOptions() {\n const list = this?.args?.options;\n let selectedList = [];\n let othersList = [];\n list.forEach(item => {\n if ((this.values ?? []).includes(item.value)) {\n selectedList.push(item);\n } else {\n if (!this.textFilter) othersList.push(item);else item?.label?.toLowerCase?.().indexOf(this.textFilter?.toLowerCase?.()) >= 0 && othersList.push(item);\n }\n });\n if (this.args?.sortKey) {\n selectedList.sort((a, b) => (0, _numberSort.default)(a[this.args.sortKey], b[this.args.sortKey], 'asc'));\n othersList.sort((a, b) => (0, _numberSort.default)(a[this.args.sortKey], b[this.args.sortKey], 'asc'));\n }\n return {\n selected: selectedList,\n others: othersList\n };\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n async handleCheckboxToggle(item, e) {\n let values = [...this.values];\n if (e.target.checked) {\n values.push(item.value);\n } else {\n values = values.filter(_item => _item !== item.value);\n }\n this.args?.onSelect?.(values);\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n handleClearSelection() {\n let values = [];\n this.args?.onSelect(values);\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n focusSearch() {\n const search = document.querySelector('.inner-tippy-dropdown #searchable');\n if (search) search.focus();\n }\n willDestroy() {\n this.textFilter = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCheckboxToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCheckboxToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"focusSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"focusSearch\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsMultiSelectComponent);\n});","define(\"scaleflow/components/dropdowns/roadmap/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (eq @type \"multiselect\")}}\n \n {{else}}\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n {{#if this.searchable}}\n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#each this.roadmapsList as |item|}}\n \n \n {{item.label}}\n \n {{#if (eq @value.id item.value)}}\n \n {{/if}}\n \n {{/each}}\n \n \n {{/let}}\n {{/if}}\n */\n {\n \"id\": \"CNYW4p8R\",\n \"block\": \"[[[41,[28,[37,1],[[30,1],\\\"multiselect\\\"],null],[[[1,\\\" \\\"],[8,[39,2],null,[[\\\"@tippy\\\",\\\"@options\\\",\\\"@values\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@onSelect\\\",\\\"@label\\\",\\\"@handleAddItem\\\",\\\"@showAddOption\\\"],[[30,2],[30,0,[\\\"roadmaps\\\"]],[30,3],[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[2]]]]]],[30,4],[30,5],[28,[37,3],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[1]]],[30,0,[\\\"handleAddRoadmap\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,6],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] w-[200px] overflow-y-auto resize-x min-w-[200px] max-w-[400px]\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,7],[[16,\\\"placeholder\\\",[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[2]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,8],[[30,7,[\\\"id\\\"]],[30,4]],null],[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@menuClick\\\"],[[28,[37,10],[[30,0,[\\\"handleClick\\\"]],[28,[37,11],null,[[\\\"id\\\"],[\\\"clear\\\"]]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"roadmapsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,14],null,[[\\\"@menuClick\\\"],[[28,[37,10],[[30,0,[\\\"handleClick\\\"]],[30,8]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,1],[[30,7,[\\\"id\\\"]],[30,8,[\\\"value\\\"]]],null],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]]]],[]]]],[\\\"@type\\\",\\\"@tippy\\\",\\\"@values\\\",\\\"@showClearSelectionButton\\\",\\\"@onSelect\\\",\\\"MaybeToolTip\\\",\\\"@value\\\",\\\"item\\\"],[\\\"if\\\",\\\"eq\\\",\\\"dropdowns/multi-select\\\",\\\"t\\\",\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/searchable\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"fn\\\",\\\"hash\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"span\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/roadmap/index.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsRoadmapComponent = _exports.default = (_class = class DropdownsRoadmapComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor2, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get roadmaps() {\n const roadmaps = this.store.peekAll('roadmap');\n return roadmaps.map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n get trigger() {\n return this.args?.trigger ?? 'click';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? true;\n }\n get searchable() {\n return this.roadmaps.length > 6;\n }\n handleClick(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n return;\n }\n get roadmapsList() {\n const roadmaps = this.roadmaps;\n const filteredRoadmaps = !this.textFilter ? roadmaps : roadmaps.filter(item => item.label.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n return filteredRoadmaps.sort((a, b) => (0, _nameSort.default)(a.label, b.label));\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleAddRoadmap() {\n this.args?.onAddRoadmapClick?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddRoadmap\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsRoadmapComponent);\n});","define(\"scaleflow/components/dropdowns/roles/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (eq @type \"multiselect\")}}\n \n {{else}}\n \n {{/if}}\n */\n {\n \"id\": \"GSoO/ZPu\",\n \"block\": \"[[[41,[28,[37,1],[[30,1],\\\"multiselect\\\"],null],[[[1,\\\" \\\"],[8,[39,2],null,[[\\\"@tippy\\\",\\\"@options\\\",\\\"@values\\\",\\\"@searchPlaceholder\\\",\\\"@hideClearOption\\\",\\\"@onSelect\\\",\\\"@icon\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,2],[30,0,[\\\"roles\\\"]],[30,3],[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"roles.title\\\"],[[\\\"num\\\"],[2]]]]]],true,[30,4],\\\"role\\\",[30,5],[30,6],[28,[37,3],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-[280px]\\\"],[24,\\\"disabled\\\",\\\"false\\\"]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@options\\\",\\\"@searchPlaceholder\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@value\\\",\\\"@handleClearSelection\\\",\\\"@icon\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"roles\\\"]],[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]]],[30,4],[30,2],[30,7],[30,8],\\\"role\\\",[30,5],[30,6],[28,[37,3],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@type\\\",\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@showAddOption\\\",\\\"@handleAddRoleClick\\\",\\\"@value\\\",\\\"@handleClearSelection\\\"],[\\\"if\\\",\\\"eq\\\",\\\"dropdowns/multi-select\\\",\\\"t\\\",\\\"dropdowns/single-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/roles/index.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsRolesIndexComponent = _exports.default = (_class = class DropdownsRolesIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get roles() {\n return this.store.peekAll('role').map(item => ({\n value: item.id,\n label: item.name\n }));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsRolesIndexComponent);\n});","define(\"scaleflow/components/dropdowns/scenario/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"DliDwkvw\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@tippy\\\",\\\"@options\\\",\\\"@value\\\",\\\"@searchPlaceholder\\\",\\\"@hideClearOption\\\",\\\"@onSelect\\\"],[[30,1],[30,0,[\\\"scenarios\\\"]],[30,2],[28,[37,1],[\\\"dictionary.group-by\\\"],null],true,[30,3]]],null]],[\\\"@tippy\\\",\\\"@value\\\",\\\"@onSelect\\\"],[\\\"dropdowns/single-select\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/scenario/index.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsScenarioIndexComponent = _exports.default = (_class = class DropdownsScenarioIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get scenarios() {\n return this.store.peekAll('investment-scenario').map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsScenarioIndexComponent);\n});","define(\"scaleflow/components/dropdowns/searchable\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-lifeline\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _emberLifeline, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-lifeline\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n
\n \n */\n {\n \"id\": \"4MHo44Ws\",\n \"block\": \"[[[10,0],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"searchable\\\"],[24,4,\\\"text\\\"],[24,0,\\\"placeholder-gray-400 text-gray-900 w-full outline-none text-sm focus:outline-none focus:shadow-none focus:ring-0 border-0\\\"],[17,1],[4,[38,2],[\\\"input\\\",[30,0,[\\\"handleTextChange\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[8,[39,3],[[24,0,\\\"!my-2\\\"]],null,null]],[\\\"&attrs\\\"],[\\\"div\\\",\\\"input\\\",\\\"on\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/searchable.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsSearchableComponent = _exports.default = (_class = class DropdownsSearchableComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"timer\", null);\n _initializerDefineProperty(this, \"text\", _descriptor, this);\n }\n get onSearch() {\n return this.args?.onSearch ?? function () {};\n }\n handleTextChange(e) {\n this.text = e.target.value;\n (0, _emberLifeline.debounceTask)(this, 'onSearch', e.target.value, 500);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"text\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleTextChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTextChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsSearchableComponent);\n});","define(\"scaleflow/components/dropdowns/single-select\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n {{#if this.searchable}}\n \n {{/if}}\n \n {{#if @showAddOption}}\n \n {{t \"dictionary.add\"}} {{@label}}\n \n \n {{/if}}\n \n {{#unless @hideClearOption}}\n {{#if this.value}}\n \n {{/if}}\n {{/unless}}\n \n {{#unless this.displayOptions.length}}\n \n \n {{t \"dictionary.no\"}}\n {{t \"dictionary.options\" num=2}}\n \n \n {{/unless}}\n {{#each this.displayOptions as |item|}}\n \n {{#if @icon}}\n {{#if (eq @icon \"person\")}}\n {{item.abbreviation}}\n \n {{/if}}\n \n {{#if (eq @icon \"theme\")}}\n \n {{/if}}\n \n {{#if (eq @icon \"team\")}}\n \n {{/if}}\n \n {{#if (eq @icon \"role\")}}\n \n {{/if}}\n {{/if}}\n \n {{item.label}}\n {{#if item.default}}\n ({{t \"dictionary.default\"}})\n {{/if}}\n \n \n {{!-- {{#if (eq this.value item.value)}} --}}\n \n {{!-- {{/if}} --}}\n \n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"LF7z6p6f\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\"\\\\n \\\"],[8,[30,1],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@offset\\\",\\\"@onCreate\\\",\\\"@onShown\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"offset\\\"]],[30,0,[\\\"onCreate\\\"]],[30,0,[\\\"focusSearch\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[16,0,[29,[\\\"inner-tippy-dropdown teams max-h-[200px]\\\\n \\\",[52,[30,2],\\\"\\\",\\\"!w-fit\\\"],\\\"\\\\n overflow-y-auto\\\"]]],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"],[17,3]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[16,\\\"placeholder\\\",[30,4]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[8,[39,5],[[4,[38,6],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[30,6]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.add\\\"],null]],[1,\\\" \\\"],[1,[30,7]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,8]],[[[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"displayOptions\\\",\\\"length\\\"]]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"pointer-events-none hover:bg-white\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap italic empty-list\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.no\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.options\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"displayOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@menuClick\\\"],[[28,[37,14],[[30,0,[\\\"onSelect\\\"]],[30,9]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,10],[[[41,[28,[37,15],[[30,10],\\\"person\\\"],null],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,9,[\\\"color\\\"]],[30,9,[\\\"label\\\"]],false,[30,9,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,9,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,10],\\\"theme\\\"],null],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[52,[30,9,[\\\"color\\\"]],[30,9,[\\\"color\\\"]],\\\"bg-white border border-gray-300\\\"],\\\"\\\\n \\\"]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,10],\\\"team\\\"],null],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\"],[[30,9,[\\\"label\\\"]],[30,9,[\\\"value\\\"]],\\\"small\\\",false]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,10],\\\"role\\\"],null],[[[1,\\\" \\\"],[8,[39,18],[[24,0,\\\"shrink-0\\\"]],[[\\\"@size\\\",\\\"@role\\\"],[\\\"small\\\",[28,[37,19],null,[[\\\"label\\\",\\\"id\\\"],[[30,9,[\\\"name\\\"]],[30,9,[\\\"value\\\"]]]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"label\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,9,[\\\"default\\\"]],[[[1,\\\" \\\"],[10,1],[12],[1,\\\"(\\\"],[1,[28,[35,8],[\\\"dictionary.default\\\"],null]],[1,\\\")\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[8,[39,20],[[16,0,[29,[\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\\n \\\",[52,[28,[37,15],[[30,0,[\\\"value\\\"]],[30,9,[\\\"value\\\"]]],null],\\\"opacity-100\\\",\\\"opacity-0\\\"]]]],[24,\\\"test-id\\\",\\\"checked\\\"]],null,null],[1,\\\"\\\\n\\\"],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@defaultSize\\\",\\\"&attrs\\\",\\\"@searchPlaceholder\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\",\\\"@hideClearOption\\\",\\\"item\\\",\\\"@icon\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"unless\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"eq\\\",\\\"avatar\\\",\\\"atoms/avatar\\\",\\\"roles/avatar\\\",\\\"hash\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/single-select.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsSingleSelectComponent = _exports.default = (_class = class DropdownsSingleSelectComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor2, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor3, this);\n }\n get ComponentName() {\n return this.args.tippy ? 'Tippy' : 'empty-component';\n }\n get trigger() {\n return this.args?.trigger ?? 'click';\n }\n get offset() {\n return this.args?.offset ?? [0, 8];\n }\n get placement() {\n return this.args.placement ?? 'bottom-start';\n }\n get interactive() {\n return this.args.interactive ?? true;\n }\n get options() {\n return this.args.options;\n }\n get displayOptions() {\n if (!this.textFilter) return this.options;\n return this.options.filter(item => item.label.toLowerCase().includes(this.textFilter.toLowerCase()));\n }\n get value() {\n return this.args.value;\n }\n get searchable() {\n if (this.args.hideSearch === true) return false;\n return this.options?.length >= 6;\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n onSelect(e) {\n this.args.onSelect(e);\n }\n focusSearch() {\n const search = document.querySelector('.inner-tippy-dropdown #searchable');\n if (search) search.focus();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"focusSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"focusSearch\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsSingleSelectComponent);\n});","define(\"scaleflow/components/dropdowns/teams\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (eq @type \"multiselect\")}}\n \n {{else}}\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n {{#if this.searchable}}\n \n {{/if}}\n \n {{#if @showAddOption}}\n \n {{t \"lists.add-item\" item=(t \"_teams.title\" num=1)}}\n \n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#each this.teamsList as |item|}}\n \n \n \n {{item.name}}\n \n \n \n {{/each}}\n \n \n {{/let}}\n {{/if}}\n */\n {\n \"id\": \"v56cDB1q\",\n \"block\": \"[[[41,[28,[37,1],[[30,1],\\\"multiselect\\\"],null],[[[1,\\\" \\\"],[8,[39,2],null,[[\\\"@tippy\\\",\\\"@options\\\",\\\"@values\\\",\\\"@searchPlaceholder\\\",\\\"@hideClearOption\\\",\\\"@onSelect\\\",\\\"@icon\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\",\\\"@interactive\\\"],[[30,2],[30,0,[\\\"teams\\\"]],[30,3],[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"_teams.title\\\"],[[\\\"num\\\"],[2]]]]]],true,[30,4],\\\"team\\\",[30,5],[30,6],[28,[37,3],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]],[30,7]]],null],[1,\\\"\\\\n\\\"]],[]],[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,8],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] overflow-y-auto min-w-[200px] w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,7],[[16,\\\"placeholder\\\",[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"_teams.check-in\\\"],null]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"add-item\\\"],[4,[38,9],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[30,0,[\\\"handleAddTeam\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,3],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,3],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,12],[[30,9,[\\\"id\\\"]],[30,10]],null],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,15],[[28,[37,15],[[30,0,[\\\"teamsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleTeamClick\\\"]],[30,11]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,17],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\"],[[30,11,[\\\"name\\\"]],[30,11,[\\\"id\\\"]],\\\"small\\\",false]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,11,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],[[16,0,[29,[\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\\n \\\",[52,[28,[37,1],[[30,9,[\\\"id\\\"]],[30,11,[\\\"id\\\"]]],null],\\\"opacity-100\\\",\\\"opacity-0\\\"]]]]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]]]],[]]]],[\\\"@type\\\",\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@showAddOption\\\",\\\"@onAddTeamClick\\\",\\\"@interactive\\\",\\\"MaybeToolTip\\\",\\\"@value\\\",\\\"@showClearSelectionButton\\\",\\\"item\\\"],[\\\"if\\\",\\\"eq\\\",\\\"dropdowns/multi-select\\\",\\\"t\\\",\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/searchable\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"atoms/divider\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"atoms/avatar\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/teams.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsTeamsComponent = _exports.default = (_class = class DropdownsTeamsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor2, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor3, this);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get teams() {\n const teams = this.store.peekAll('team');\n const initiative = this.args.initiative;\n const initiative_teams = (initiative?.teams?.content ?? []).reduce((acc, item) => {\n acc[item.id] = true;\n return acc;\n }, {});\n return teams.filter(item => item.active || initiative_teams[item.id]).map(item => ({\n label: item.name,\n value: item.id\n }));\n }\n get trigger() {\n return this.args?.trigger ?? 'click';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? true;\n }\n get searchable() {\n return this.store.peekAll('team').filter(team => team.active).length > 6;\n }\n handleTeamClick(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n return;\n }\n get teamsList() {\n const teams = this.store.peekAll('team').filter(item => item.active);\n const filteredTeams = !this.textFilter ? teams : teams.filter(item => item.name.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n return filteredTeams.sort((a, b) => (0, _nameSort.default)(a.name, b.name));\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n handleAddTeam() {\n if (!this.args.onAddTeamClick || typeof this.args?.onAddTeamClick !== 'function') (false && !(false) && (0, _debug.assert)('An \"onAddTeamClick\" callback needs to be passed to this component'));\n this.args?.onAddTeamClick?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleTeamClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTeamClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddTeam\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsTeamsComponent);\n});","define(\"scaleflow/components/dropdowns/themes\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (get @value \"id\")}}\n \n {{get\n @value\n \"title\"\n }}\n \n \n {{get @value \"title\"}}\n \n \n \n {{else}}\n {{#if (has-block)}}\n {{yield}}\n {{else}}\n {{!\n }}\n +\n {{t\n \"_initiatives.themes\"\n num=1\n }}\n {{/if}}\n {{/if}}\n {{#if this.dropdownIsActivated}}\n \n \n \n \n {{#if this.searchable}}\n \n {{/if}}\n \n {{#if @showAddOption}}\n \n {{t \"lists.add-item\" item=(t \"themes.title\" num=1)}}\n \n \n {{/if}}\n \n {{#if this.showDelete}}\n \n {{this.deleteObject.title}}\n \n \n {{/if}}\n \n {{#each this.themesList as |item|}}\n \n \n \n \n {{item.title}}\n \n \n \n \n \n {{/each}}\n \n \n {{/if}}\n \n */\n {\n \"id\": \"DjmeMg93\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[[52,[30,1],\\\"rounded-2xl border-solid\\\",\\\"rounded-full border-dashed\\\"],\\\"\\\\n border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 overflow-hidden whitespace-nowrap\\\"]]],[24,\\\"test-id\\\",\\\"themes-trigger\\\"],[17,2],[4,[38,2],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,1],\\\"id\\\"],null],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full shrink-0\\\\n \\\",[28,[37,5],[[28,[37,3],[[30,1],\\\"color\\\"],null],\\\"bg-white border border-gray-300\\\"],null]]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-700 text-ellipsis overflow-hidden\\\"],[12],[1,[28,[35,3],[[30,1],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[[30,1],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[48,[30,6]],[[[1,\\\" \\\"],[18,6,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,10],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]]]],[]]],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,6],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShow\\\",\\\"@onShown\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"setTippyInstance\\\"]],[30,0,[\\\"focusSearch\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,12],[[16,\\\"placeholder\\\",[28,[37,10],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,10],[\\\"themes.title\\\"],[[\\\"num\\\"],[2]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,13],[[24,\\\"test-id\\\",\\\"add-item\\\"],[4,[38,14],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[30,4]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,10],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,10],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showDelete\\\"]],[[[1,\\\" \\\"],[8,[39,13],[[24,\\\"test-id\\\",\\\"clear-selection\\\"]],[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,0,[\\\"deleteObject\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"themesList\\\"]]],null]],null],null,[[[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,18],[[30,0,[\\\"onSelect\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[52,[30,5,[\\\"color\\\"]],[30,5,[\\\"color\\\"]],\\\"bg-white border border-gray-300\\\"],\\\"\\\\n mr-2\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,[30,5,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,19],[[16,0,[29,[\\\"w-6 h-6 inline-block text-indigo-600 float-right shrink-0\\\\n \\\",[52,[28,[37,20],[[30,5,[\\\"id\\\"]],[30,1,[\\\"id\\\"]]],null],\\\"\\\\n opacity-100\\\",\\\"opacity-0\\\"]]]],[24,\\\"test-id\\\",\\\"checked\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[5]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@value\\\",\\\"&attrs\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"item\\\",\\\"&default\\\"],[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"get\\\",\\\"span\\\",\\\"or\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"has-block\\\",\\\"yield\\\",\\\"t\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/searchable\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"atoms/divider\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"atoms/icons/check\\\",\\\"eq\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/themes.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsThemesComponent = _exports.default = (_dec = (0, _service.service)('themes'), _class = class DropdownsThemesComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"themesService\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor4, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor5, this);\n }\n get themes() {\n return [...this.store.peekAll('theme')];\n }\n get deleteObject() {\n return {\n id: 'clear',\n title: this.intl.t('dictionary.clear-selection')\n };\n }\n get showDelete() {\n return this.args?.value?.get('id') && this.deleteObject;\n }\n get searchable() {\n const themes = this.themes;\n return themes.length > 6;\n }\n get themesList() {\n const themes = this.themes;\n return !this.textFilter ? themes : themes.filter(item => item.title.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n loadThemes() {\n return this.themesService.getThemes();\n }\n onSelect(e) {\n this.args?.onSelect(e);\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n focusSearch() {\n const search = document.querySelector('.inner-tippy-dropdown #searchable');\n if (search) search.focus();\n }\n handleClearSelection() {\n this.tippyInstance?.hide?.();\n this.onSelect(this.deleteObject);\n }\n willDestroy() {\n this.tippyInstance?.destroy?.();\n this.tippyInstance = null;\n this.textFilter = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"themesService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadThemes\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadThemes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsThemesComponent);\n});","define(\"scaleflow/components/dropdowns/tippy-dropdown\", [\"exports\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\"], function (_exports, _object, _component, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TippyDropdown = _exports.default = (_class = class TippyDropdown extends _component.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor, this);\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n get trigger() {\n return this.args?.trigger ?? 'click';\n }\n get placement() {\n return this.args.placement ?? 'bottom-start';\n }\n get interactive() {\n return this.args.interactive ?? true;\n }\n get searchable() {\n return this.args?.options?.length >= 6;\n }\n focusSearch() {\n const search = document.querySelector('.inner-tippy-dropdown #searchable');\n if (search) search.focus();\n }\n willDestroy() {\n this.tippyInstance?.destroy?.();\n this.tippyInstance = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"focusSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"focusSearch\"), _class.prototype), _class);\n});","define(\"scaleflow/components/dropdowns/users\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"scaleflow/utils/is-object\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _nameSort, _isObject, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"scaleflow/utils/is-object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n {{#if this.searchable}}\n \n {{/if}}\n \n {{#if @showAddOption}}\n \n {{t \"lists.add-item\" item=(t \"dictionary.pm\" num=1)}}\n \n \n {{/if}}\n \n {{#if this.isMultiselect}}\n {{#if (and @values.length @showClearSelectionButton)}}\n \n {{/if}}\n {{#each-in this.userList as |key list|}}\n {{#each list as |item|}}\n \n \n \n {{item.abbreviation}}\n \n {{item.name}}\n {{#if @authorCheck}}\n {{#if (eq item.id (get @authorCheck \"author.id\"))}}\n ({{t \"dictionary.author\"}})\n {{/if}}\n {{/if}}\n \n \n \n {{/each}}\n {{#if list.length}}\n \n {{/if}}\n {{/each-in}}\n \n {{else}}\n \n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n \n {{#each\n (text-filtered this.textFilter this.personsList \"name\")\n as |item|\n }}\n {{#if (or item.active (eq (get @value \"id\") item.id))}}\n \n \n {{item.abbreviation}}\n \n \n {{item.name}}\n \n \n \n {{/if}}\n {{/each}}\n {{/if}}\n \n \n {{/let}}\n */\n {\n \"id\": \"F9/al2ef\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShown\\\",\\\"@appendTo\\\",\\\"@onShow\\\"],[[30,0,[\\\"placement\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"interactive\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"appendTo\\\"]],[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[16,0,[29,[\\\"inner-tippy-dropdown teams\\\\n \\\",[52,[30,0,[\\\"multiselect\\\"]],\\\" max-h-[200px]\\\",\\\"max-h-[300px]\\\"],\\\"\\\\n overflow-y-auto w-fit\\\"]]],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[16,\\\"placeholder\\\",[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"dictionary.person\\\"],[[\\\"num\\\"],[2]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[8,[39,6],[[24,\\\"test-id\\\",\\\"add-item\\\"],[4,[38,7],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[30,0,[\\\"handleAddPerson\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,5],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,5],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isMultiselect\\\"]],[[[41,[28,[37,10],[[30,3,[\\\"length\\\"]],[30,4]],null],[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,13],[[30,0,[\\\"userList\\\"]]],null],null,[[[42,[28,[37,14],[[28,[37,14],[[30,5]],null]],null],null,[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"!p-0\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"flex-shrink-0 flex items-center gap-x-2 w-full overflow-hidden p-2\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,16],[[30,0,[\\\"valueIds\\\"]],[30,7,[\\\"id\\\"]]],null],[28,[37,17],[[30,0,[\\\"handleCheckboxToggle\\\"]],[30,7]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,7,[\\\"color\\\"]],[30,7,[\\\"name\\\"]],false,[30,7,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,7,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-left text-gray-700 overflow-hidden text-ellipsis whitespace-nowrap grow\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,[30,7,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,8],[[[41,[28,[37,19],[[30,7,[\\\"id\\\"]],[28,[37,20],[[30,8],\\\"author.id\\\"],null]],null],[[[1,\\\" (\\\"],[1,[28,[35,5],[\\\"dictionary.author\\\"],null]],[1,\\\")\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[7]],null],[41,[30,5,[\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"!my-2 last:hidden\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null]],[5,6]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[28,[37,10],[[30,9,[\\\"id\\\"]],[30,4]],null],[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@menuClick\\\"],[[28,[37,17],[[30,0,[\\\"handleUserClick\\\"]],[28,[37,21],null,[[\\\"id\\\"],[\\\"clear\\\"]]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[28,[37,22],[[30,0,[\\\"textFilter\\\"]],[30,0,[\\\"personsList\\\"]],\\\"name\\\"],null]],null]],null],null,[[[41,[28,[37,23],[[30,10,[\\\"active\\\"]],[28,[37,19],[[28,[37,20],[[30,9],\\\"id\\\"],null],[30,10,[\\\"id\\\"]]],null]],null],[[[1,\\\" \\\"],[8,[39,6],null,[[\\\"@menuClick\\\"],[[28,[37,17],[[30,0,[\\\"handleUserClick\\\"]],[30,10]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,10,[\\\"color\\\"]],[30,10,[\\\"name\\\"]],false,[30,10,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,10,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,10,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,24],[[24,\\\"test-id\\\",\\\"checked\\\"],[16,0,[29,[\\\"w-6 h-6 inline-block text-indigo-600 ml-auto\\\\n \\\",[52,[28,[37,19],[[28,[37,20],[[30,9],\\\"id\\\"],null],[30,10,[\\\"id\\\"]]],null],\\\"opacity-100\\\",\\\"opacity-0\\\"]]]]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[10]],null]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@showAddOption\\\",\\\"@values\\\",\\\"@showClearSelectionButton\\\",\\\"list\\\",\\\"key\\\",\\\"item\\\",\\\"@authorCheck\\\",\\\"@value\\\",\\\"item\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"t\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"atoms/divider\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-each-in\\\",\\\"-track-array\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"fn\\\",\\\"avatar\\\",\\\"eq\\\",\\\"get\\\",\\\"hash\\\",\\\"text-filtered\\\",\\\"or\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/users.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsUsersComponent = _exports.default = (_class = class DropdownsUsersComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor2, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor3, this);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get valueIds() {\n const isObject = (0, _isObject.default)(this.args.values);\n const values = (isObject ? 'promise' in this.args.values ? this.args.values?.content : this.args.values : this.args.values) ?? [];\n return values.map?.(item => item.id) ?? [];\n }\n get trigger() {\n return this.args?.trigger ?? '';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? false;\n }\n get appendTo() {\n return this.args.appendTo ?? 'parent';\n }\n get searchable() {\n const users = this.store.peekAll('person');\n return users.length > 6;\n }\n get userList() {\n const users = this.store.peekAll('person').filter(person => person.active);\n const list = !this.textFilter ? users : users.filter(item => item.name.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n let assigneesList = [];\n let othersList = [];\n list.slice().forEach(item => {\n if (this.valueIds.includes(item.id)) {\n assigneesList.push(item);\n } else {\n othersList.push(item);\n }\n });\n assigneesList = assigneesList.sort((a, b) => (0, _nameSort.default)(a.name, b.name));\n othersList = othersList.sort((a, b) => (0, _nameSort.default)(a.name, b.name));\n return {\n assignees: assigneesList,\n others: othersList\n };\n }\n get personsList() {\n return this.store.peekAll('person');\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n async handleCheckboxToggle(item, e) {\n let values = (await this.args.values) ?? [];\n if (e.target.checked) {\n values.push(item);\n } else {\n values = values.filter(_item => _item.id !== item.id);\n }\n this.args?.onSelect?.(values);\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n handleUserClick(item) {\n this.args?.handleUserSelect(item);\n }\n get isMultiselect() {\n return Boolean(this.args?.multiselect) == true;\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n handleAddPerson() {\n this.args?.onAddPersonClick?.();\n }\n willDestroy() {\n this.tippyInstance?.destroy?.();\n this.tippyInstance = null;\n this.textFilter = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCheckboxToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCheckboxToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleUserClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUserClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddPerson\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddPerson\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsUsersComponent);\n});","define(\"scaleflow/components/dropdowns/weeks\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n {{#if this.searchable}}\n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#if this.currentWeek}}\n \n {{!-- --}}\n \n Week #{{this.currentWeek.position}}\n (Current)\n \n {{#if (eq this.currentWeek.id @value.id)}}\n \n {{/if}}\n \n {{this.currentWeek.title}}\n \n \n {{/if}}\n \n {{#each this.weeksList as |item|}}\n {{#if (eq this.currentWeek.id item.id)}}{{else}}\n \n {{!-- --}}\n \n Week #{{item.position}}\n {{if item.is_current_week \"(Current)\"}}\n \n {{#if (eq item.id @value.id)}}\n \n {{/if}}\n \n {{item.title}}\n \n {{/if}}\n {{else}}\n

{{t\n \"dictionary.weeks\"\n num=0\n }}

\n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"Ar8zE1io\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],[[4,[38,2],[[30,0,[\\\"loadWeeks\\\"]]],null],[4,[38,3],[[30,0,[\\\"loadWeeks\\\"]],[30,2]],null]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"inner-tippy-dropdown weeks max-h-[200px] overflow-y-auto w-[280px] overflow-hidden break-words\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"searchable\\\"]],[[[1,\\\" \\\"],[8,[39,6],[[16,\\\"placeholder\\\",[28,[37,7],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,7],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[1]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,8],[[30,3,[\\\"id\\\"]],[30,4]],null],[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"currentWeek\\\"]],[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"flex-col !items-start\\\"],[24,\\\"test-id\\\",\\\"current-week\\\"]],[[\\\"@menuClick\\\"],[[28,[37,11],[[30,0,[\\\"onWeekSelect\\\"]],[30,0,[\\\"currentWeek\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center text-sm font-normal text-gray-700 mb-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,\\\"Week #\\\"],[1,[30,0,[\\\"currentWeek\\\",\\\"position\\\"]]],[1,\\\"\\\\n (Current)\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"currentWeek\\\",\\\"id\\\"]],[30,3,[\\\"id\\\"]]],null],[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"w-6 h-6 text-indigo-600 shrink-0 ml-auto\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"block text-xs font-normal text-gray-500 !ml-0 whitespace-normal text-left\\\"],[12],[1,[30,0,[\\\"currentWeek\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"weeksList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[28,[37,13],[[30,0,[\\\"currentWeek\\\",\\\"id\\\"]],[30,5,[\\\"id\\\"]]],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"flex-col !items-start\\\"]],[[\\\"@menuClick\\\"],[[28,[37,11],[[30,0,[\\\"onWeekSelect\\\"]],[30,5]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center text-sm font-normal text-gray-700 mb-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,\\\"Week #\\\"],[1,[30,5,[\\\"position\\\"]]],[1,\\\"\\\\n \\\"],[1,[52,[30,5,[\\\"is_current_week\\\"]],\\\"(Current)\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,5,[\\\"id\\\"]],[30,3,[\\\"id\\\"]]],null],[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"w-6 h-6 text-indigo-600 shrink-0 ml-auto\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"block text-xs font-normal text-gray-500 !ml-0 whitespace-normal text-left\\\"],[12],[1,[30,5,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[5]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 text-sm font-normal !ml-0 !mb-2 text-center\\\"],[12],[1,[28,[35,7],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@initiative\\\",\\\"@value\\\",\\\"@showClearSelectionButton\\\",\\\"item\\\"],[\\\"let\\\",\\\"component\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"t\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"span\\\",\\\"eq\\\",\\\"atoms/icons/check\\\",\\\"atoms/divider\\\",\\\"each\\\",\\\"-track-array\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/weeks.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsWeeksComponent = _exports.default = (_class = class DropdownsWeeksComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor2, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n get trigger() {\n return this.args?.trigger ?? '';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? false;\n }\n get currentWeek() {\n const weeks = this.store.peekAll('week').filter(item => item.get('initiative.id') === this.args.initiative);\n const currentWeek = weeks.filter(item => item.is_current_week == true);\n if (currentWeek.length > 0) return currentWeek[0];else return null;\n }\n get searchable() {\n const weeks = this.store.peekAll('week').filter(item => item.get('initiative.id') === this.args.initiative);\n return weeks?.length > 6;\n }\n onWeekSelect(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n }\n get weeksList() {\n const weeks = this.store.peekAll('week').filter(item => item.get('initiative.id') === this.args.initiative);\n return !this.textFilter ? weeks : weeks.filter(item => item.title.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n loadWeeks() {\n if (this.args.initiative === undefined) return;\n const initiative = this.store.peekRecord('initiative', this.args.initiative);\n initiative.get('weeks');\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onWeekSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onWeekSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadWeeks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadWeeks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsWeeksComponent);\n});","define(\"scaleflow/components/dropdowns/workstreams\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n {{#if @searchable}}\n \n {{/if}}\n {{#if (and @value.id @showClearSelectionButton)}}\n \n {{/if}}\n {{#each this.workstreamsList as |item|}}\n \n \n {{item.title}}\n \n {{#if (eq @value.id item.id)}}\n \n {{/if}}\n \n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"RGRwawER\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],[[4,[38,2],[[30,0,[\\\"loadWorkstreams\\\"]]],null],[4,[38,3],[[30,0,[\\\"loadWorkstreams\\\"]],[30,2]],null]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\",\\\"@onCreate\\\"],[[30,0,[\\\"interactive\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"placement\\\"]],[30,0,[\\\"onShown\\\"]],[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] w-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,6],[[16,\\\"placeholder\\\",[28,[37,7],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,7],[\\\"_initiatives.workstream\\\"],[[\\\"num\\\"],[2]]]]]]]],[[\\\"@onSearch\\\"],[[30,0,[\\\"handleSearch\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,8],[[30,4,[\\\"id\\\"]],[30,5]],null],[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@menuClick\\\"],[[30,0,[\\\"handleClearSelection\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"workstreamsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,12],null,[[\\\"@menuClick\\\"],[[28,[37,13],[[30,0,[\\\"handleWorkstreamClick\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,4,[\\\"id\\\"]],[30,6,[\\\"id\\\"]]],null],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 shrink-0 ml-auto\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"@initiative\\\",\\\"@searchable\\\",\\\"@value\\\",\\\"@showClearSelectionButton\\\",\\\"item\\\"],[\\\"let\\\",\\\"component\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"molecules/dropdown\\\",\\\"if\\\",\\\"dropdowns/searchable\\\",\\\"t\\\",\\\"and\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"span\\\",\\\"eq\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/dropdowns/workstreams.hbs\",\n \"isStrictMode\": false\n });\n let DropdownsWorkstreamsComponent = _exports.default = (_class = class DropdownsWorkstreamsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"textFilter\", _descriptor2, this);\n _defineProperty(this, \"tippyInstance\", null);\n }\n get trigger() {\n return this.args?.trigger ?? '';\n }\n get placement() {\n return this.args.placement ?? 'top';\n }\n get interactive() {\n return this.args.interactive ?? false;\n }\n get ComponentName() {\n return this.args?.tippy ? 'Tippy' : 'empty-component';\n }\n handleWorkstreamClick(item) {\n this.args?.onSelect?.(item);\n this.tippyInstance.hide();\n return;\n }\n get workstreamsList() {\n const workstreams = this.store.peekAll('workstream').filter(item => item.get('initiative.id') === this.args.initiative);\n const filteredWorkstreams = !this.textFilter ? workstreams : workstreams.filter(item => item.title.toLowerCase().indexOf(this.textFilter.toLowerCase()) >= 0);\n return filteredWorkstreams.sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n handleSearch(text) {\n this.textFilter = text;\n }\n loadWorkstreams() {\n if (this.args.initiative === undefined) return;\n this.store.query('workstream', {\n filter: {\n initiative: this.args.initiative\n }\n });\n }\n onShown() {\n document.querySelector('#searchable')?.focus?.();\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n handleClearSelection() {\n this.args?.handleClearSelection();\n this.tippyInstance.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"textFilter\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleWorkstreamClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleWorkstreamClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadWorkstreams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadWorkstreams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onShown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onShown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DropdownsWorkstreamsComponent);\n});","define(\"scaleflow/components/ea-list-element\", [\"exports\", \"ember-animated/components/ea-list-element\"], function (_exports, _eaListElement) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _eaListElement.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/components/ea-list-element\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/email-invite-modal/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.emailInvite.isOpen}}\n \n <:title>\n

Invite via email

\n \n <:body>\n \n \n
\n \n

Enter emails\n separated by a comma

\n
\n \n <:footer>\n {{t \"dictionary.send-invites\"}}\n \n \n {{/if}}\n \n {{#if this.showConfirmation}}\n \n {{/if}}\n */\n {\n \"id\": \"qKb8xDLB\",\n \"block\": \"[[[41,[30,0,[\\\"emailInvite\\\",\\\"isOpen\\\"]],[[[1,\\\" \\\"],[8,[39,1],[[4,[38,2],[[30,0,[\\\"handleDismissModal\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[30,0,[\\\"handleDismissModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,\\\"Invite via email\\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"emails\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"textarea\\\"],[24,\\\"test-id\\\",\\\"emails\\\"],[16,1,[30,2]],[16,0,[29,[[52,[30,3],\\\"pl-10 pr-3\\\",\\\"px-3\\\"],\\\"\\\\n textarea block w-full mt-1 py-[9px] text-sm rounded-md border-2 border-solid border-gray-300 ring-0 focus:ring-0 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 min-h-[120px]\\\\n \\\",[52,[30,0,[\\\"hasError\\\"]],\\\"!border-red-600 focus:border-red-600\\\",\\\"focus:border-primary-600\\\"]]]],[16,\\\"placeholder\\\",[29,[[30,4]]]],[17,5],[4,[38,10],[\\\"input\\\",[30,0,[\\\"validateEmails\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs italic mt-1 font-medium\\\"],[12],[1,\\\"Enter emails\\\\n separated by a comma\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,13],[[16,\\\"disabled\\\",[30,0,[\\\"hasError\\\"]]],[24,4,\\\"submit\\\"],[4,[38,10],[\\\"click\\\",[30,0,[\\\"handleSend\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,14],[\\\"dictionary.send-invites\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showConfirmation\\\"]],[[[1,\\\" \\\"],[8,[39,15],null,[[\\\"@title\\\",\\\"@text\\\",\\\"@icon\\\",\\\"@willClose\\\"],[\\\"Success\\\",[28,[37,14],[\\\"dictionary.invitations-sent-successfully\\\"],null],\\\"success\\\",[30,0,[\\\"handleAlertClose\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@label\\\",\\\"@id\\\",\\\"@icon\\\",\\\"@placeholder\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\":body\\\",\\\"label\\\",\\\"span\\\",\\\"div\\\",\\\"textarea\\\",\\\"on\\\",\\\"p\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"t\\\",\\\"sweet-alert\\\"]]\",\n \"moduleName\": \"scaleflow/components/email-invite-modal/index.hbs\",\n \"isStrictMode\": false\n });\n let EmailInviteModalComponent = _exports.default = (_class = class EmailInviteModalComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"emailInvite\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"hasError\", _descriptor3, this);\n _initializerDefineProperty(this, \"showConfirmation\", _descriptor4, this);\n _defineProperty(this, \"emails\", []);\n _defineProperty(this, \"emailRegex\", /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/);\n }\n handleDismissModal() {\n this.emailInvite.toggleInviteModal(false);\n }\n validateEmails(event) {\n this.emailText = event.target.value;\n const emails = this.emailText.split(',').map(email => email.trim());\n this.hasError = emails.some(email => email && !this.emailRegex.test(email));\n this.emails = emails;\n }\n async handleSend() {\n const promises = [];\n this.emails.forEach(email => {\n const record = this.store.createRecord('invitation', {\n email\n });\n promises.push(record.save().catch(err => console.debug(err)));\n });\n await Promise.all(promises);\n this.showConfirmation = true;\n this.emailInvite.toggleInviteModal(false);\n }\n handleAlertClose() {\n this.showConfirmation = false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"emailInvite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"hasError\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showConfirmation\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleDismissModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"validateEmails\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateEmails\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSend\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSend\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAlertClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAlertClose\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, EmailInviteModalComponent);\n});","define(\"scaleflow/components/ember-table-loading-more\", [\"exports\", \"ember-table/components/ember-table-loading-more/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-table-loading-more/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-table-private/row-wrapper\", [\"exports\", \"ember-table/components/-private/row-wrapper\"], function (_exports, _rowWrapper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _rowWrapper.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/-private/row-wrapper\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-table-private/scroll-indicators\", [\"exports\", \"ember-table/components/-private/scroll-indicators/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/-private/scroll-indicators/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-table-simple-checkbox\", [\"exports\", \"ember-table/components/ember-table-simple-checkbox\"], function (_exports, _emberTableSimpleCheckbox) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _emberTableSimpleCheckbox.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-table-simple-checkbox\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-table\", [\"exports\", \"ember-table/components/ember-table/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-table/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-tbody\", [\"exports\", \"ember-table/components/ember-tbody/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-tbody/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-td\", [\"exports\", \"ember-table/components/ember-td/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-td/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-tfoot\", [\"exports\", \"ember-table/components/ember-tfoot/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-tfoot/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-th\", [\"exports\", \"ember-table/components/ember-th/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-th/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-th/resize-handle\", [\"exports\", \"ember-table/components/ember-th/resize-handle/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-th/resize-handle/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-th/sort-indicator\", [\"exports\", \"ember-table/components/ember-th/sort-indicator/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-th/sort-indicator/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-thead\", [\"exports\", \"ember-table/components/ember-thead/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-thead/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/ember-tr\", [\"exports\", \"ember-table/components/ember-tr/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-table/components/ember-tr/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/empty-component\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
{{yield}}
\n */\n {\n \"id\": \"/K/dfK02\",\n \"block\": \"[[[11,0],[17,1],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/empty-component.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"empty-\"));\n});","define(\"scaleflow/components/filter-badge\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{yield}}\n */\n {\n \"id\": \"wOmyzOUa\",\n \"block\": \"[[[10,1],[14,0,\\\"text-center bg-gray-100 text-gray-700 font-semibold px-1.5 rounded-[4px] text-xs\\\"],[12],[18,1,null],[13]],[\\\"&default\\\"],[\\\"span\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/filter-badge.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"filter-badge\"));\n});","define(\"scaleflow/components/flatpickr/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/debug\", \"ember-lifeline\", \"@ember/test-waiters\", \"flatpickr\", \"@ember/application\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _debug, _emberLifeline, _testWaiters, _flatpickr, _application, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/debug\",0,\"ember-lifeline\",0,\"@ember/test-waiters\",0,\"flatpickr\",0,\"@ember/application\",0,\"@ember/template-factory\",0,\"@ember/component\",3,[\"flatpickr/dist/l10n/\",\".js\"],[null]eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{yield}}\n */\n {\n \"id\": \"YAUUTbUB\",\n \"block\": \"[[[11,\\\"input\\\"],[24,0,\\\"ember-flatpickr-input\\\"],[24,4,\\\"text\\\"],[17,1],[4,[38,1],[[30,0,[\\\"onInsert\\\"]]],null],[4,[38,2],[[30,0,[\\\"onAltFormatUpdated\\\"]],[30,2]],null],[4,[38,2],[[30,0,[\\\"onAltInputClassUpdated\\\"]],[30,3]],null],[4,[38,2],[[30,0,[\\\"onDateUpdated\\\"]],[30,4]],null],[4,[38,2],[[30,0,[\\\"onDisabledUpdated\\\"]],[30,5]],null],[4,[38,2],[[30,0,[\\\"onLocaleUpdated\\\"]],[30,6]],null],[4,[38,2],[[30,0,[\\\"onMaxDateUpdated\\\"]],[30,7]],null],[4,[38,2],[[30,0,[\\\"onMinDateUpdated\\\"]],[30,8]],null],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[18,9,null]],[\\\"&attrs\\\",\\\"@altFormat\\\",\\\"@altInputClass\\\",\\\"@date\\\",\\\"@disabled\\\",\\\"@locale\\\",\\\"@maxDate\\\",\\\"@minDate\\\",\\\"&default\\\"],[\\\"input\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/flatpickr/index.hbs\",\n \"isStrictMode\": false\n });\n /** @documenter yuidoc */\n\n /* Replace getOwner from @ember/application to @ember/owner when we can do a conditional macro for ember < 4.10 or ember 4.x is not supported by ember-flatpickr anymore */\n /**\n * Ember component that wraps the lightweight [`flatpickr`](https://flatpickr.js.org) datetime\n * chooser.\n *\n * The `EmberFlatpickr` component requires that you pass in at the very least a `date` property\n * and an `onChange` callback.\n *\n * ```handlebars\n * \n * ```\n *\n * The `EmberFlatpickr` component internally makes use of `...attributes`. This means that any\n * native input attributes that you pass in should be passed in without the `@` symbol.\n * For example\n *\n * ```handlebars\n * \n * ```\n *\n * @class EmberFlatpickr\n * @element EmberFlatpickr\n * @public\n * @uses Flatpickr\n */\n let EmberFlatpickr = _exports.default = (_class = class EmberFlatpickr extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"flatpickrRef\", void 0);\n }\n /**\n * The date(s) that will be used to initialize the flatpickr. When present, the date(s) will\n * be formatted accordingly.\n *\n * Supply one of the following:\n * * A single dateObject\n * * A single string containing a date formatted accordingly to dateFormat\n * * An array of dateObject\n * * An array of string containing dates formatted accordingly to dateFormat\n *\n * @argument date\n * @type {Array|Array|Date|String}\n */\n\n /**\n * A string of characters which are used to define how the date will be displayed in the input box.\n *\n * [The supported characters are defined here.](https://flatpickr.js.org/formatting/)\n *\n * @argument dateFormat\n * @type {String}\n */\n\n onInsert(element) {\n this.setupFlatpickr(element);\n }\n willDestroy() {\n this.onWillDestroy();\n super.willDestroy();\n }\n onWillDestroy() {\n this.flatpickrRef?.destroy();\n }\n setupFlatpickr(element) {\n const {\n date,\n onChange,\n wrap\n } = this.args;\n\n // Require that users pass a date\n (false && !(date !== undefined) && (0, _debug.assert)(' requires a `date` to be passed as the value for flatpickr.', date !== undefined)); // Require that users pass an onChange\n (false && !(onChange !== undefined) && (0, _debug.assert)(' requires an `onChange` action or null for no action.', onChange !== undefined)); // Wrap is not supported\n (false && !(wrap !== true) && (0, _debug.assert)(' does not support the wrap option. Please see documentation for an alternative.', wrap !== true)); // Pass all values and setup flatpickr\n (0, _emberLifeline.scheduleTask)(this, 'actions', () => this._setFlatpickrOptions(element));\n }\n async _setFlatpickrOptions(element) {\n const fastboot = (0, _application.getOwner)(this)?.lookup('service:fastboot');\n if (fastboot && fastboot['isFastBoot']) {\n return;\n }\n const {\n date,\n disabled = false,\n onChange,\n onReady,\n onOpen,\n onClose,\n ...rest\n } = this.args;\n const config = Object.fromEntries(Object.entries(rest).filter(entry => entry[1] !== undefined));\n if (typeof this.args.locale === 'string' && this.args.locale !== 'en') {\n await (0, _testWaiters.waitForPromise)(import(`flatpickr/dist/l10n/${this.args.locale}.js`));\n }\n const _onClose = () => this.onClose();\n const _onOpen = () => this.onOpen();\n const _onReady = () => this.onReady();\n this.flatpickrRef = (0, _flatpickr.default)(element, {\n onChange,\n onClose: onClose || _onClose,\n onOpen: onOpen || _onOpen,\n onReady: onReady || _onReady,\n ...config,\n defaultDate: date\n });\n this._setDisabled(disabled);\n }\n _setDisabled(disabled) {\n if (!this.flatpickrRef) {\n return;\n }\n const altInput = this.flatpickrRef.altInput;\n const element = this.flatpickrRef.element;\n if (altInput && element?.nextSibling) {\n // `element` is the hidden input storing the alternate date value sent to the server\n // @see https://flatpickr.js.org/options/ `altInput` config options\n // Refactored during https://github.com/RobbieTheWagner/ember-flatpickr/issues/306 to instead\n // extend Ember's `@ember/component/text-field`\n // `element.nextSibling` is the text input that the user will interact with, so\n // long as it is enabled\n element.nextSibling.disabled = disabled;\n } else {\n element.disabled = disabled;\n }\n }\n\n /**\n * Triggered when the calendar is closed.\n *\n * @method onClose\n * @param {Date[]} selectedDates an array of Date objects selected by the user. When there are\n * no dates selected, the array is empty.\n * @param {String} dateStr a string representation of the latest selected Date object by the\n * user. The string is formatted as per the dateFormat option\n * @param {Object} instance the flatpickr object, containing various methods and properties.\n * @type {Action}\n */\n\n onClose() {\n // Intentionaly empty. This method should be overridden.\n }\n\n /**\n * Triggered when the calendar is closed.\n *\n * @method onOpen\n * @param {Date[]} selectedDates an array of Date objects selected by the user. When there are\n * no dates selected, the array is empty.\n * @param {String} dateStr a string representation of the latest selected Date object by the\n * user. The string is formatted as per the dateFormat option\n * @param {Object} instance the flatpickr object, containing various methods and properties.\n * @type {Action}\n */\n\n onOpen() {\n // Intentionaly empty. This method should be overridden.\n }\n\n /**\n * Triggered once the calendar is in a ready state.\n *\n * @method onReady\n * @param {Date[]} selectedDates an array of Date objects selected by the user. When there are\n * no dates selected, the array is empty.\n * @param {String} dateStr a string representation of the latest selected Date object by the\n * user. The string is formatted as per the dateFormat option\n * @param {Object} instance the flatpickr object, containing various methods and properties.\n * @type {Action}\n */\n\n onReady() {\n // Intentionaly empty. This method should be overridden.\n }\n onAltFormatUpdated() {\n this.flatpickrRef?.set('altFormat', this.args.altFormat);\n }\n onAltInputClassUpdated() {\n const {\n altInputClass\n } = this.args;\n\n // updating config anyways, just to keep them in sync:\n this.flatpickrRef?.set('altInputClass', altInputClass || '');\n\n // https://github.com/flatpickr/flatpickr/issues/861\n const altInput = this.flatpickrRef?.altInput;\n if (altInput) {\n altInput.className = altInputClass || '';\n }\n }\n onDateUpdated() {\n const {\n date\n } = this.args;\n if (typeof date !== 'undefined') {\n this.flatpickrRef?.setDate(date);\n }\n }\n onDisabledUpdated() {\n const {\n disabled\n } = this.args;\n if (typeof disabled !== 'undefined') {\n this._setDisabled(disabled);\n }\n }\n onLocaleUpdated(element) {\n this.flatpickrRef?.destroy();\n this.setupFlatpickr(element);\n }\n onMaxDateUpdated() {\n this.flatpickrRef?.set('maxDate', this.args.maxDate);\n }\n onMinDateUpdated() {\n this.flatpickrRef?.set('minDate', this.args.minDate);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onInsert\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onWillDestroy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onWillDestroy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onAltFormatUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onAltFormatUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onAltInputClassUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onAltInputClassUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDateUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDateUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDisabledUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDisabledUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLocaleUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLocaleUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onMaxDateUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onMaxDateUpdated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onMinDateUpdated\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onMinDateUpdated\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, EmberFlatpickr);\n});","define(\"scaleflow/components/form/field-errors/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @errors}}\n
    \n {{#each (get @errors \"validation\") as |error|}}\n
  • {{error}}
  • \n {{else}}\n
  • {{get @errors \"validation\"}}
  • \n {{/each}}\n
\n {{/if}}\n */\n {\n \"id\": \"iu7wNC9z\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[28,[37,4],[[30,1],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n\\\"]],[2]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,4],[[30,1],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@errors\\\",\\\"error\\\"],[\\\"if\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"get\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/form/field-errors/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"field-errors\"));\n});","define(\"scaleflow/components/goals/delete-modal/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @record}}\n \n <:title>\n

{{if\n @title\n @title\n (t \"_goals.confirm-delete\" goal_name=@record.title)\n }}

\n \n <:body>\n \n
\n
\n \n \n
\n
\n \n \n <:footer>\n {{t \"dictionary.delete\"}}\n \n \n {{/if}}\n */\n {\n \"id\": \"/FeF8KNn\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],[[24,\\\"test-id\\\",\\\"goal-delete-modal\\\"],[4,[38,2],[[30,0,[\\\"dismissModal\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"dismissModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,3],[30,3],[28,[37,5],[\\\"_goals.confirm-delete\\\"],[[\\\"goal_name\\\"],[[30,1,[\\\"title\\\"]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\\n \\\"],[11,\\\"form\\\"],[4,[38,8],[\\\"submit\\\",[30,0,[\\\"confirmDelete\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"name\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium\\\"],[12],[1,[28,[35,5],[\\\"dictionary.type-delete-to-confirm\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"name\\\"],[24,0,\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 placeholder:italic\\\"],[16,\\\"placeholder\\\",[28,[37,13],[[28,[37,5],[\\\"dictionary.delete\\\"],null]],null]],[16,2,[30,0,[\\\"delete_confirmation_text\\\"]]],[17,4],[4,[38,14],null,null],[4,[38,8],[\\\"input\\\",[30,0,[\\\"setConfirmationText\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,\\\"test-id\\\",\\\"delete\\\"],[16,\\\"disabled\\\",[28,[37,17],[[30,0,[\\\"confirmTextIsValid\\\"]]],null]],[24,4,\\\"button\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"confirmDelete\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.delete\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@record\\\",\\\"@isOpen\\\",\\\"@title\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"input\\\",\\\"lowercase\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"not\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/delete-modal/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsDeleteModalIndexComponent = _exports.default = (_class = class GoalsDeleteModalIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"delete_confirmation_text\", _descriptor2, this);\n }\n dismissModal() {\n if (!this.args.closeModal) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"closeModal\" param'));\n this.delete_confirmation_text = '';\n this.args?.closeModal?.();\n }\n get confirmTextIsValid() {\n return this.delete_confirmation_text === this.intl.t('dictionary.delete').toLowerCase();\n }\n confirmDelete(e) {\n e?.preventDefault?.();\n if (!this.args.confirmDelete) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"confirmDelete\" param'));\n if (this.confirmTextIsValid) {\n this.args?.confirmDelete?.();\n this.delete_confirmation_text = '';\n }\n }\n focusInput(element) {\n element?.focus();\n }\n setConfirmationText(event) {\n this.delete_confirmation_text = event.target.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"delete_confirmation_text\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"dismissModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"dismissModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"focusInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"focusInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setConfirmationText\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setConfirmationText\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsDeleteModalIndexComponent);\n});","define(\"scaleflow/components/goals/goal-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n \n {{this.goal.title}}\n \n \n \n \n \n
\n \n */\n {\n \"id\": \"30LXyiZ9\",\n \"block\": \"[[[11,0],[24,0,\\\"relative flex w-full text-left\\\"],[17,1],[4,[38,1],[[28,[37,2],[[30,0,[\\\"toggleDropdown\\\"]],false],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-2xl leading-8 text-gray-900 font-semibold overflow-hidden whitespace-nowrap text-ellipsis\\\"],[15,\\\"title\\\",[29,[[30,0,[\\\"goal\\\",\\\"title\\\"]]]]],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"goal\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"trigger\\\"],[24,0,\\\"\\\"],[24,1,\\\"menu-button\\\"],[24,\\\"aria-expanded\\\",\\\"true\\\"],[24,\\\"aria-haspopup\\\",\\\"true\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleDropdown\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-8 h-8 text-white bg-indigo-500 rounded-full\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"max-h-[400px]\\\"]],[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@tippy\\\",\\\"@hideClearOption\\\",\\\"@options\\\",\\\"@searchPlaceholder\\\"],[[30,0,[\\\"goal\\\",\\\"id\\\"]],[30,0,[\\\"handleGoalSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",true,true,[30,0,[\\\"goals\\\"]],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,8],[\\\"_goals.title\\\"],[[\\\"num\\\"],[3]]]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"fn\\\",\\\"span\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/goal-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsGoalSelectorComponent = _exports.default = (_class = class GoalsGoalSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"showDropdown\", _descriptor2, this);\n }\n isSelected(goal) {\n return this.goal.id == goal.id;\n }\n toggleDropdown(val) {\n if (val === undefined) this.showDropdown = !this.showDropdown;else this.showDropdown = val;\n }\n handleGoalSelect(goal) {\n this.toggleDropdown(false);\n this.args?.propagateGoalSelect?.(goal);\n }\n get goal() {\n return this.args.goal;\n }\n get goals() {\n return this.store.peekAll('goal').map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDropdown\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"isSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsGoalSelectorComponent);\n});","define(\"scaleflow/components/goals/goal/summary-panel/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/goal\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _goal, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/goal\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n \n {{t \"dictionary.details\"}}\n \n
\n \n
\n \n \n \n \n
    \n \n {{!-- \n \n --}}\n
\n \n \n \n
\n \n \n \n
\n
\n {{t \"_goals.title\" num=1}}\n
\n
\n \n
\n
\n \n \n
\n {{t \"dictionary.status\"}}\n
\n
\n \n
\n \n \n \n
\n {{t \"dictionary.owner\"}}\n
\n
\n \n
\n \n \n \n */\n {\n \"id\": \"WaN+cU0l\",\n \"block\": \"[[[10,0],[14,0,\\\"flex gap-x-8 items-center h-10 bg-white px-4 shrink-0\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"pb-3 \\\",[52,true,\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,\\\"test-id\\\",\\\"details\\\"],[15,0,[29,[\\\"text-sm leading-5 capitalize\\\\n \\\",[52,true,\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"],\\\"\\\\n \\\"]]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.details\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex group items-center ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"list-title-dropdown transition px-2 text-gray-800 cursor-pointer\\\"],[14,\\\"test-id\\\",\\\"goal-action-menu-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShown\\\"],[\\\"bottom-end\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"tippy-dropdown !w-[240px]\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"edit\\\"],[4,[38,9],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"edit\\\",[28,[37,3],[\\\"dictionary.edit\\\"],null],[30,0,[\\\"editGoal\\\"]]]],null],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"grow px-4 py-2 space-y-1 overflow-y-auto border-t border-gray-300\\\"],[14,\\\"test-id\\\",\\\"title-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center py-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-sm font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\"],[[30,1],[30,0,[\\\"goalValidations\\\"]],\\\"title\\\",[29,[[28,[37,3],[\\\"_goals.title\\\"],[[\\\"num\\\"],[0]]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center py-2\\\"],[14,\\\"test-id\\\",\\\"status-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-sm font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-sm font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"w-fit\\\"]],[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center py-2\\\"],[14,\\\"test-id\\\",\\\"owner-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-sm font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.owner\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@goal\\\"],[\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"t\\\",\\\"atoms/icons/item-menu\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"molecules/menu-actions\\\",\\\"hide-tippy-on-click\\\",\\\"atoms/forms/clickable-input\\\",\\\"goals/table/status-selector\\\",\\\"goals/table/owner-selector\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/goal/summary-panel/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsGoalSummaryPanelComponent = _exports.default = (_class = class GoalsGoalSummaryPanelComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor2, this);\n _defineProperty(this, \"goalValidations\", _goal.default);\n }\n editGoal() {\n this.router.transitionTo('business.goals.goal.edit', this.args.goal.id);\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"editGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsGoalSummaryPanelComponent);\n});","define(\"scaleflow/components/goals/list-item/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:title>\n \n \n \n <:details>\n {{#if this.isExpanded}}\n {{#if @goal.children.length}}\n
    \n {{#each @goal.sortedChildren as |goal|}}\n \n {{/each}}\n
\n {{/if}}\n {{/if}}\n \n \n \n */\n {\n \"id\": \"HC4Q7l0Z\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@collapsible\\\",\\\"@isChild\\\",\\\"@toggleCollapse\\\",\\\"@isExpanded\\\",\\\"@matchesFilter\\\"],[[30,1,[\\\"children\\\",\\\"length\\\"]],[30,2],[30,0,[\\\"toggleCollapse\\\"]],[30,0,[\\\"isExpanded\\\"]],[30,0,[\\\"matchesFilter\\\"]]]],[[\\\"title\\\",\\\"details\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isExpanded\\\"]],[[[41,[30,1,[\\\"children\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[14,\\\"test-id\\\",\\\"gli-children\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,1,[\\\"sortedChildren\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@goal\\\",\\\"@isChild\\\",\\\"@matchChecker\\\"],[[30,3],\\\"true\\\",[30,0,[\\\"matchChecker\\\"]]]],null],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"]],[]]]]]],[\\\"@goal\\\",\\\"@isChild\\\",\\\"goal\\\"],[\\\"goals/list-item/wrapper\\\",\\\":title\\\",\\\"goals/list-item/title\\\",\\\":details\\\",\\\"if\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"goals/list-item\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/list-item/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsListItemComponent = _exports.default = (_class = class GoalsListItemComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"isExpanded\", _descriptor2, this);\n }\n toggleCollapse() {\n this.isExpanded = !this.isExpanded;\n }\n get matchesFilter() {\n const callback = this.matchChecker;\n return callback(this.args.goal);\n }\n get matchChecker() {\n if (this.args.matchChecker) return this.args.matchChecker;\n return () => {\n return true;\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isExpanded\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleCollapse\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCollapse\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsListItemComponent);\n});","define(\"scaleflow/components/goals/list-item/title/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{else}}\n \n {{/if}}\n {{@goal.title}}\n \n \n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n \n */\n {\n \"id\": \"i/kJX4hf\",\n \"block\": \"[[[11,0],[24,\\\"test-id\\\",\\\"goal\\\"],[16,0,[29,[\\\"inline-flex gap-x-2 items-center\\\\n \\\",[52,[30,1,[\\\"children\\\",\\\"length\\\"]],\\\"w-[98%]\\\",\\\"w-full\\\"]]]],[17,2],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"grow hover:underline\\\"],[24,\\\"test-id\\\",\\\"view\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"business.goals.goal.description\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"gli-title\\\"],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-4 h-4 text-gray-400 inline-block\\\"]],[[\\\"@withTarget\\\"],[[30,1,[\\\"targets\\\",\\\"length\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-4 h-4 text-gray-400 inline-block\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[10,1],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-[120px] whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"gli-status\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"!w-[180px] whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"gli-owner\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-[140px] whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"gli-initiatives\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@goal\\\",\\\"&attrs\\\"],[\\\"div\\\",\\\"if\\\",\\\"link-to\\\",\\\"span\\\",\\\"tailwind-icons/goal\\\",\\\"goals/table/status-selector\\\",\\\"goals/table/owner-selector\\\",\\\"goals/table/initiatives-selector\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/list-item/title/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsListItemTitleComponent = _exports.default = (_class = class GoalsListItemTitleComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsListItemTitleComponent);\n});","define(\"scaleflow/components/goals/list-item/wrapper/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @collapsible}}\n
\n \n \n {{yield to=\"title\"}}\n
\n
\n {{yield to=\"details\"}}\n
\n \n {{else}}\n \n {{yield to=\"title\"}}\n \n {{/if}}\n */\n {\n \"id\": \"goUBW+qg\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"h-full w-full \\\",[52,[30,2],\\\"border-l border-gray-300\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex items-center gap-x-1 font-medium text-sm py-3 pr-3 pl-2\\\\n \\\",[52,[30,3],\\\"hover:bg-gray-100\\\",\\\"opacity-40\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"text-gray-800\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[16,0,[29,[\\\"w-4 h-4 \\\",[52,[30,5],\\\"rotate-90\\\"]]]]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[18,6,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pl-5\\\"],[12],[1,\\\"\\\\n \\\"],[18,7,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"h-full w-full group text-sm font-medium pl-9 py-3 pr-3\\\\n \\\",[52,[30,3],\\\"hover:bg-gray-100\\\",\\\"opacity-40\\\"],\\\"\\\\n \\\",[52,[30,2],\\\"border-l border-gray-300\\\"]]]],[12],[1,\\\"\\\\n \\\"],[18,6,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@collapsible\\\",\\\"@isChild\\\",\\\"@matchesFilter\\\",\\\"@toggleCollapse\\\",\\\"@isExpanded\\\",\\\"&title\\\",\\\"&details\\\"],[\\\"if\\\",\\\"div\\\",\\\"button\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/chevron/right\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/list-item/wrapper/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"wrapper\"));\n});","define(\"scaleflow/components/goals/table/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/obj-append\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _objAppend, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/obj-append\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"xjw3pA5l\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@columns\\\",\\\"@rows\\\",\\\"@data-row\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],\\\"goal\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"showDeleteModal\\\"]],[30,0,[\\\"selectedGoal\\\"]],[30,0,[\\\"deleteGoal\\\"]],[30,0,[\\\"handleDismissDeleteModal\\\"]]]],null]],[],[\\\"table-v2\\\",\\\"goals/delete-modal\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/table/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsTableIndexComponent = _exports.default = (_class = class GoalsTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor2, this);\n _initializerDefineProperty(this, \"selectedGoal\", _descriptor3, this);\n }\n get columns() {\n if (this.args?.columns) return this.args?.columns;\n return [{\n name: this.intl.t('_goals.table.title'),\n valuePath: 'title',\n class: '!w-[80%]',\n key: 'title'\n }, {\n name: '',\n valuePath: 'edit',\n class: '!w-[10%]',\n key: 'edit',\n component: 'link',\n type: 'primary',\n test_id: 'edit-goal'\n }, {\n name: '',\n valuePath: 'delete',\n class: '!w-[10%]',\n key: 'delete',\n component: 'button',\n type: 'danger',\n test_id: 'delete'\n }];\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;\n const goals = this.args?.goals.map(item => (0, _objAppend.objectAppend)({\n title: item.title,\n edit: {\n label: this.intl.t('_goals.table.edit'),\n route: 'business.goals.goal.edit',\n model: item\n },\n delete: {\n label: this.intl.t('_goals.table.delete'),\n onClick: () => this.handleDeleteGoal(item)\n }\n }, {\n model: item\n }));\n return goals;\n }\n unselectGoal() {\n this.selectedGoal = null;\n }\n handleDeleteGoal(item) {\n this.selectedGoal = item;\n this.toggleDeleteModal(true);\n }\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n deleteGoal() {\n this.selectedGoal?.destroyRecord?.();\n this.unselectGoal();\n }\n handleDismissDeleteModal() {\n this.unselectGoal();\n this.toggleDeleteModal(false);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"unselectGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unselectGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDeleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDeleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsTableIndexComponent);\n});","define(\"scaleflow/components/goals/table/initiatives-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.goal.initiatives.content.length 0)}}\n \n +\n {{t\n \"_initiatives.title\"\n num=2\n }}\n \n {{else}}\n \n {{get this.goal.initiatives.content \"0.title\"}}\n \n \n {{get this.goal.initiatives.content \"0.title\"}}\n \n \n \n {{#if this.goal.hasMoreThanOneInitiative}}\n +{{this.goal.hasMoreThanOneInitiative}}\n {{/if}}\n \n {{/if}}\n \n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{!-- {{#if this.goalFormIsVisible}}\n \n {{/if}} --}}\n */\n {\n \"id\": \"xErpw9xn\",\n \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"it-goal\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"goal\\\",\\\"initiatives\\\",\\\"content\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[14,\\\"test-id\\\",\\\"add-initiative-text\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"goal leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"goal\\\",\\\"initiatives\\\",\\\"content\\\"]],\\\"0.title\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"goal\\\",\\\"initiatives\\\",\\\"content\\\"]],\\\"0.title\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"goal\\\",\\\"initiatives\\\",\\\"content\\\"]],\\\"0.title\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"goal\\\",\\\"hasMoreThanOneInitiative\\\"]],[[[1,\\\" \\\"],[10,1],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"goal\\\",\\\"hasMoreThanOneInitiative\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,9],[[24,\\\"test-id\\\",\\\"initiatives-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@label\\\",\\\"@placement\\\"],[[30,0,[\\\"initiativesList\\\"]],[30,0,[\\\"goal\\\",\\\"initiativeIds\\\"]],[28,[37,10],[[30,0,[\\\"handleInitiativesChange\\\"]],[30,0,[\\\"goal\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],\\\"bottom-end\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"]],[],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/table/initiatives-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsTableInitiativesSelectorComponent = _exports.default = (_class = class GoalsTableInitiativesSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedGoal\", null);\n }\n get goal() {\n return this.args.goal;\n }\n handleInitiativesChange(goal, e) {\n const initiatives = e.map(id => this.store.peekRecord('initiative', id));\n goal.initiatives = initiatives;\n goal.save();\n }\n toggleGoalForm(initiative, val) {\n if (initiative) this.selectedGoal = initiative;else this.selectedGoal = null;\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n async onGoalAdded(goal) {\n const goals = [...this.selectedGoal.goals.content];\n goals.push(goal);\n this.selectedGoal.goals = goals;\n await this.selectedGoal.save();\n }\n get initiativesList() {\n const initiatives = this.store.peekAll('initiative').map(item => ({\n value: item.id,\n label: item.title\n }));\n return initiatives;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativesChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleGoalForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGoalForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsTableInitiativesSelectorComponent);\n});","define(\"scaleflow/components/goals/table/owner-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.goal.owner}}\n \n \n {{get this.goal \"owner.abbreviation\"}}\n \n {{get\n this.goal\n \"owner.name\"\n }}\n \n \n {{else}}\n \n \n \n {{/if}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{#if this.personFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"NTW4etIU\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"goal\\\",\\\"owner\\\"]],\\\"\\\",\\\"border border-gray-300 bg-white flex items-center rounded-full border-dashed\\\"],\\\"\\\\n w-fit max-w-full\\\"]]],[24,\\\"test-id\\\",\\\"owner-selector\\\"],[17,1],[4,[38,2],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"goal\\\",\\\"owner\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[28,[37,5],[[30,0,[\\\"goal\\\"]],\\\"owner.color\\\"],null],[28,[37,5],[[30,0,[\\\"goal\\\"]],\\\"owner.name\\\"],null],true,\\\"top\\\",[28,[37,5],[[30,0,[\\\"goal\\\"]],\\\"owner.id\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[30,0,[\\\"goal\\\"]],\\\"owner.abbreviation\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"overflow-hidden text-ellipsis\\\"],[14,\\\"test-id\\\",\\\"owner-name\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"goal\\\"]],\\\"owner.name\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block p-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-4 h-4 text-gray-400\\\"],[24,\\\"test-id\\\",\\\"plus\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@value\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@handleUserSelect\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@onAddPersonClick\\\",\\\"@showClearSelectionButton\\\"],[[30,0,[\\\"goal\\\",\\\"owner\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",[28,[37,8],[[30,0,[\\\"handleUserClick\\\"]],[30,0,[\\\"goal\\\"]]],null],true,true,[28,[37,8],[[30,0,[\\\"togglePersonForm\\\"]],[30,0,[\\\"goal\\\"]]],null],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"personFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"togglePersonForm\\\"]],[30,0,[\\\"onPersonAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\"],[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"span\\\",\\\"avatar\\\",\\\"get\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/users\\\",\\\"fn\\\",\\\"quick-adds/person\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/table/owner-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsTableOwnerSelectorComponent = _exports.default = (_class = class GoalsTableOwnerSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"personFormIsVisible\", _descriptor, this);\n _defineProperty(this, \"selectedGoal\", null);\n }\n get goal() {\n return this.args.goal;\n }\n handleUserClick(goal, e) {\n if (e.id === 'clear') goal.owner = null;else goal.owner = e;\n goal.save();\n }\n togglePersonForm(goal, val) {\n if (goal) this.selectedGoal = goal;else this.selectedGoal = null;\n if (val !== undefined) this.personFormIsVisible = val;else this.personFormIsVisible = !this.personFormIsVisible;\n }\n async onPersonAdded(person) {\n this.selectedGoal.owner = person;\n await this.selectedGoal.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"personFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleUserClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUserClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePersonForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePersonForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPersonAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPersonAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsTableOwnerSelectorComponent);\n});","define(\"scaleflow/components/goals/table/status-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{label-extract this.betaToggle.goalStatusOptions this.goal.active}}\n \n \n \n {{#each this.betaToggle.goalStatusOptions as |item|}}\n \n {{item.label}}\n \n {{#if (eq item.value this.goal.active)}}\n \n {{/if}}\n \n \n {{/each}}\n \n \n \n */\n {\n \"id\": \"XzxzwELE\",\n \"block\": \"[[[10,\\\"button\\\"],[14,0,\\\"text-xs inline-block py-1 px-1.5 rounded-full text-gray-700 bg-gray-100\\\"],[14,\\\"test-id\\\",\\\"it-status\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]],[30,0,[\\\"goal\\\",\\\"active\\\"]]],null]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,6],null,[[\\\"@menuClick\\\"],[[28,[37,7],[[30,0,[\\\"handleStatusChange\\\"]],[30,0,[\\\"goal\\\"]],[30,1,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,[30,1,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,10],[[30,1,[\\\"value\\\"]],[30,0,[\\\"goal\\\",\\\"active\\\"]]],null],[[[1,\\\" \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"checked\\\"],[24,0,\\\"w-6 h-6 inline-block text-indigo-600 float-right\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],[\\\"button\\\",\\\"label-extract\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"span\\\",\\\"if\\\",\\\"eq\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/table/status-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsTableStatusSelectorComponent = _exports.default = (_class = class GoalsTableStatusSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n get goal() {\n return this.args.goal;\n }\n handleStatusChange(goal, e) {\n goal.active = e;\n goal.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleStatusChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsTableStatusSelectorComponent);\n});","define(\"scaleflow/components/goals/wizard/create/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/goal\", \"scaleflow/validators/target\", \"ember-changeset\", \"@ember/debug\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _tracking, _goal, _target, _emberChangeset, _debug, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/goal\",0,\"scaleflow/validators/goal\",0,\"scaleflow/validators/target\",0,\"ember-changeset\",0,\"@ember/debug\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n <:title>\n {{t\n \"dictionary.add-a-attribute\"\n attribute=(lowercase (t \"_goals.title\" num=1))\n }}\n \n <:steps>\n {{#if this.betaToggle.showMetrics}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n (t \"dictionary.link-to-metrics\")\n (t \"dictionary.set-targets\")\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n {{else}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{/if}}\n \n \n \n \n {{#if (eq this.activeStep 0)}}\n
\n

\n {{t \"dictionary.general-details\"}}\n

\n
\n \n {{! wizar content body }}\n {{#let this.goalChangeset as |changeset|}}\n \n
\n
\n \n
\n \n
\n
\n \n \n {{if\n changeset.owner\n changeset.owner.name\n \"Select\"\n }}\n \n \n {{#if changeset.owner}}\n \n {{/if}}\n {{#each this.personsList as |item|}}\n \n \n {{item.abbreviation}}\n \n \n {{item.name}}\n \n \n {{/each}}\n \n \n \n
\n \n
\n \n \n \n {{t (concat \"_goals.status.\" changeset.active)}}\n \n \n \n {{#each this.betaToggle.goalStatusOptions as |item|}}\n \n \n {{item.label}}\n \n \n {{/each}}\n \n \n \n
\n
\n \n
\n {{t \"_goals.title\" num=1}}\n {{lowercase (t \"dictionary.description\")}}\n \n \n
\n
\n \n
\n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.next\"}}\n \n
\n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n
\n

\n {{t\n \"_goals.wizard.link-to-parent-goal\"\n goal=(lowercase (t \"_goals.title\" num=1))\n }}\n

\n

{{t \"_goals.title\" num=1}}:\n {{this.goalChangeset.title}}

\n
\n
\n \n {{#if this.selectedGoals.length}}\n \n {{t \"dictionary.unlink\"}}\n \n {{/if}}\n
\n \n \n {{#if this.goalSearch}}\n {{#each\n (text-filtered\n this.goalSearch this.activeGoalsInOrganisation \"title\"\n )\n as |goal|\n }}\n \n {{/each}}\n \n {{else}}\n {{#each this.goals_without_parents as |goal|}}\n \n {{/each}}\n \n {{/if}}\n \n
\n \n {{t \"dictionary.go-back\"}}\n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{if\n this.selectedGoals.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n {{else}}\n \n {{t \"dictionary.save\"}}\n \n {{/if}}\n
\n \n {{else if (eq this.activeStep 2)}}\n
\n

\n {{t \"dictionary.link-to-metrics\"}}\n

\n

Goal:\n {{this.goalChangeset.title}}

\n
\n \n
\n \n Last\n measurement\n
\n \n
\n {{#each\n (text-filtered this.metricSearch this.metrics \"title\")\n as |metric|\n }}\n \n \n \n
\n

{{metric.title}}

\n

\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedRecordedDate\n \"n/a\"\n }}\n

\n
\n
\n {{/each}}\n \n \n
\n \n {{t \"dictionary.go-back\"}}\n \n \n \n {{if\n this.selectedMetrics.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n
\n \n {{else if (eq this.activeStep 3)}}\n \n
\n

\n {{t \"dictionary.set-targets\"}}\n

\n

Goal:\n {{this.goalChangeset.title}}

\n
\n {{#if this.selectedMetrics.length}}\n
\n {{#each this.selectedMetrics as |metric index|}}\n \n {{#let (get this.targetChangesets index) as |changeset|}}\n \n
\n

{{metric.title}}

\n

Last measurement:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n }}

\n
\n \n \n \n \n
\n {{/let}}\n \n {{/each}}\n \n
\n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
\n \n {{else}}\n \n <:message>You have no metrics to add targets to\n \n
\n \n Link a metric\n \n Skip and save\n \n
\n {{/if}}\n {{/if}}\n
\n \n */\n {\n \"id\": \"ktAMQRba\",\n \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"cancelForm\\\"]]],null],[4,[38,2],[[30,0,[\\\"initializeForm\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"cancelForm\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.add-a-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[44,[[28,[37,10],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]],[28,[37,5],[\\\"dictionary.link-to-metrics\\\"],null],[28,[37,5],[\\\"dictionary.set-targets\\\"],null]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[16,\\\"data-test-step\\\",[30,3]],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\"\\\\n\\\"]],[]],[[[44,[[28,[37,10],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[16,\\\"data-test-step\\\",[30,6]],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,6]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5,6]],null]],[4]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.general-details\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"goalChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What's your goal? *\\\",\\\"\\\",[30,7,[\\\"title\\\"]],[30,7],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[14,\\\"test-id\\\",\\\"owner-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.owner\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"owner-name\\\"],[12],[1,[52,[30,7,[\\\"owner\\\"]],[30,7,[\\\"owner\\\",\\\"name\\\"]],\\\"Select\\\"]],[13],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"owner\\\"]],[[[1,\\\" \\\"],[8,[39,26],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"clearOwner\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"personsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleOwnerSelect\\\"]],[30,7],[30,8]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,28],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,8,[\\\"color\\\"]],[30,8,[\\\"name\\\"]],false,[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[14,\\\"test-id\\\",\\\"status-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"status\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n *\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"status-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[28,[37,29],[\\\"_goals.status.\\\",[30,7,[\\\"active\\\"]]],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleStatusSelect\\\"]],[30,7],[30,9,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4 goal-description\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[28,[37,5],[\\\"dictionary.description\\\"],null]],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,30],[[24,0,\\\"textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto h-[200px] bg-white compressed-lines\\\"]],[[\\\"@bounds\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\".goal-description\\\",\\\"bubble\\\",[30,7,[\\\"description\\\"]],[28,[37,16],[[30,0,[\\\"onDescriptionChange\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"cancelForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"next\\\"],[16,\\\"disabled\\\",[30,7,[\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.wizard.link-to-parent-goal\\\"],[[\\\"goal\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\":\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,34],[[30,0,[\\\"goalSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-600 text-xs underline\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"unlinkParentGoal\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.unlink\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[14,\\\"test-id\\\",\\\"goals-list\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalSearch\\\"]],[[[42,[28,[37,12],[[28,[37,12],[[28,[37,35],[[30,0,[\\\"goalSearch\\\"]],[30,0,[\\\"activeGoalsInOrganisation\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[8,[39,36],[[24,\\\"test-id\\\",\\\"goal-item\\\"]],[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@hideChildren\\\"],[[30,10],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[10]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"goals_without_parents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,36],[[24,\\\"test-id\\\",\\\"goal-item\\\"]],[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\"],[[30,11],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]]]],null],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"skip\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,31],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.link-to-metrics\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,34],[[30,0,[\\\"metricSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0 whitespace-nowrap\\\"],[12],[1,\\\"Last\\\\n measurement\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,35],[[30,0,[\\\"metricSearch\\\"]],[30,0,[\\\"metrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex items-center gap-x-2 mb-2 b border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"inline-block\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,38],[[30,0,[\\\"selectedMetrics\\\"]],[30,12,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,16],[[30,0,[\\\"handleMetricSelect\\\"]],[30,12]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[12],[10,1],[12],[1,[30,12,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,12,[\\\"latestMeasurement\\\"]],[30,12,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]],\\\"n/a\\\"]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[12]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,31],[[16,\\\"test-id\\\",[29,[[52,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],\\\"save\\\",\\\"skip\\\"]]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],3],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],3],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.set-targets\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"selectedMetrics\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[44,[[28,[37,39],[[30,0,[\\\"targetChangesets\\\"]],[30,14]],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,13,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[52,[30,13,[\\\"latestMeasurement\\\"]],[30,13,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,15,[\\\"target_value\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[16,\\\"min\\\",[28,[37,40],[[28,[37,41],null,null],\\\"YYYY-MM-DD\\\"],null]],[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,15,[\\\"end_date\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[15]]],[1,\\\"\\\\n\\\"]],[13,14]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,42],null,null,[[\\\"message\\\"],[[[[1,\\\"You have no metrics to add targets to\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n Link a metric\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"Skip and save\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]],null]],[]]]],[]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"item\\\",\\\"item\\\",\\\"goal\\\",\\\"goal\\\",\\\"metric\\\",\\\"metric\\\",\\\"index\\\",\\\"changeset\\\"],[\\\"wizard\\\",\\\"on-escape\\\",\\\"render-modifiers/on-insert\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\"t\\\",\\\"lowercase\\\",\\\":steps\\\",\\\"if\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"atoms/forms/input\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"molecules/menu-actions\\\",\\\"avatar\\\",\\\"concat\\\",\\\"quill-editor\\\",\\\"atoms/buttons/action-button\\\",\\\"p\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"text-filtered\\\",\\\"goals/wizard/goals-checkbox-item\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"get\\\",\\\"moment-format\\\",\\\"now\\\",\\\"wizard/empty-state\\\",\\\":message\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/wizard/create/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsWizardCreateComponent = _exports.default = (_class = class GoalsWizardCreateComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _defineProperty(this, \"goalValidations\", _goal.default);\n _initializerDefineProperty(this, \"activeStep\", _descriptor4, this);\n _initializerDefineProperty(this, \"goalChangeset\", _descriptor5, this);\n _initializerDefineProperty(this, \"targetChangesets\", _descriptor6, this);\n _defineProperty(this, \"targetChangesetFactory\", void 0);\n _initializerDefineProperty(this, \"selectedGoals\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor8, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor9, this);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor0, this);\n _initializerDefineProperty(this, \"goal\", _descriptor1, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get activePeopleInOrganisation() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get activeGoalsInOrganisation() {\n return this.store.peekAll('goal').filter(g => !g.isNew);\n }\n get goals_without_parents() {\n return this.activeGoalsInOrganisation.filter(goal => !goal?.parent?.content);\n }\n get metrics() {\n return this.store.peekAll('metric');\n }\n get personsList() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n handleOwnerSelect(changeset, item) {\n changeset.set('owner', item);\n }\n clearOwner(changeset) {\n changeset.set('owner', null);\n }\n handleStatusSelect(changeset, val) {\n changeset.set('active', val);\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n closeGoalWizard() {\n if (this.args.closeWizard && typeof this.args.closeWizard === 'function') {\n this.args?.closeWizard?.();\n } else {\n (false && !(false) && (0, _debug.assert)(\"Please pass a prop named 'closeWizard' with a callback function to the Goals Wizard component\"));\n }\n }\n cancelForm() {\n this.goalChangeset.rollback();\n this.goal.deleteRecord();\n this.targetChangesets.forEach(target => {\n target.rollback();\n target.data.deleteRecord();\n });\n this.closeGoalWizard();\n }\n rollbackChanges(changeset) {\n changeset.rollback();\n }\n handleGoalsSelect(goal, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n if (checked) this.selectedGoals = [goal];else this.selectedGoals = [];\n }\n unlinkParentGoal() {\n this.selectedGoals = [];\n this.goalChangeset.set('parent', null);\n }\n handleMetricSelect(metric, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const metrics = this.selectedMetrics;\n const targetChangesets = this.targetChangesets;\n if (checked) {\n metrics.push(metric);\n targetChangesets.push(this.targetChangesetFactory());\n } else {\n const index = metrics.findIndex(_metric => _metric.id === metric.id);\n if (index < 0) return;else {\n metrics.splice(index, 1);\n targetChangesets.splice(index, 1);\n }\n }\n this.selectedMetrics = metrics;\n this.targetChangesets = targetChangesets;\n }\n async saveGoal() {\n const goal = this.goal;\n goal.mapChangesetToAttributes(this.goalChangeset.changes);\n if (this.selectedGoals.length) goal.set('parent', this.selectedGoals[0]);\n await goal.save();\n const promises = [];\n for (let i = 0; i < this.targetChangesets.length; i++) {\n const target = this.targetChangesets[i];\n target.set('goal', this.goal);\n target.set('metric', this.selectedMetrics[i]);\n promises.push(target.save());\n }\n await Promise.all(promises);\n this.closeGoalWizard();\n }\n goalValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_goal.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n targetValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_target.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n resetForm() {\n this.activeStep = 0;\n this.targetChangesets = [];\n this.selectedGoals = [];\n this.selectedMetrics = [];\n this.goalSearch = '';\n this.metricSearch = '';\n }\n initializeForm() {\n this.goal = this.store.createRecord('goal');\n const goalChangeset = (0, _emberChangeset.Changeset)(this.goal.changeset_object, this.goalValidator);\n const targetChangesetFactory = () => {\n const target = this.store.createRecord('target', {});\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n };\n this.goalChangeset = goalChangeset;\n this.targetChangesetFactory = targetChangesetFactory;\n if (this.args.parentGoal) this.selectedGoals = [this.args.parentGoal];\n }\n willDestroy() {\n super.willDestroy(...arguments);\n this.resetForm();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"goalChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"targetChangesets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"goal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleOwnerSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOwnerSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearOwner\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearOwner\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeGoalWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeGoalWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unlinkParentGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unlinkParentGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMetricSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMetricSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initializeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initializeForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsWizardCreateComponent);\n});","define(\"scaleflow/components/goals/wizard/edit/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/goal\", \"scaleflow/validators/target\", \"ember-changeset\", \"@ember/debug\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _tracking, _goal, _target, _emberChangeset, _debug, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/goal\",0,\"scaleflow/validators/target\",0,\"ember-changeset\",0,\"@ember/debug\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n <:title>\n {{t \"lists.edit-item\" item=(t \"_goals.title\" num=1)}}\n \n <:steps>\n {{#if this.betaToggle.showMetrics}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n (t \"dictionary.link-to-metrics\")\n (t \"dictionary.set-targets\")\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n {{else}}\n {{#let (array \"General details\" \"Link to other goals\") as |steps|}}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{/if}}\n \n \n \n \n {{#if (eq this.activeStep 0)}}\n
\n

\n {{t \"dictionary.general-details\"}}\n

\n
\n \n {{! wizar content body }}\n {{#let this.goalChangeset as |changeset|}}\n \n
\n
\n \n
\n \n
\n
\n \n \n \n {{if changeset.owner changeset.owner.name \"Select\"}}\n \n \n \n {{#if changeset.owner}}\n \n {{/if}}\n {{#each this.personsList as |item|}}\n \n \n {{item.abbreviation}}\n \n \n {{item.name}}\n \n \n {{/each}}\n \n \n \n
\n \n
\n \n \n \n {{t (concat \"_goals.status.\" changeset.active)}}\n \n \n \n {{#each this.betaToggle.goalStatusOptions as |item|}}\n \n \n {{item.label}}\n \n \n {{/each}}\n \n \n \n
\n
\n
\n {{t \"_goals.title\" num=1}}\n {{lowercase (t \"dictionary.description\")}}\n \n \n
\n
\n \n
\n {{t \"dictionary.delete\"}}\n {{t \"_goals.title\" num=1}}\n \n \n {{t \"dictionary.cancel\"}}\n \n {{#if changeset.isPristine}}\n \n {{t \"dictionary.next\"}}\n \n {{else}}\n \n {{t \"dictionary.next\"}}\n \n {{/if}}\n
\n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n
\n

\n {{t\n \"_goals.wizard.link-to-parent-goal\"\n goal=(lowercase (t \"_goals.title\" num=1))\n }}\n

\n

Goal:\n {{this.goalChangeset.title}}

\n
\n
\n \n {{#if this.selectedGoals.length}}\n \n {{t \"dictionary.unlink\"}}\n \n {{/if}}\n
\n
\n \n {{#if this.goalSearch}}\n {{#each\n (text-filtered\n this.goalSearch this.activeGoalsInOrganisation \"title\"\n )\n as |goal|\n }}\n \n {{/each}}\n \n {{else}}\n {{#each this.goals_without_parents as |goal|}}\n \n {{/each}}\n \n {{/if}}\n
\n
\n \n {{t \"dictionary.go-back\"}}\n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{if\n this.selectedGoals.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n {{else}}\n \n {{t \"dictionary.save\"}}\n \n {{/if}}\n
\n \n {{else if (eq this.activeStep 2)}}\n
\n

\n {{t \"dictionary.link-to-metrics\"}}\n

\n

Goal:\n {{this.goalChangeset.title}}

\n
\n \n
\n \n Last\n measurement\n
\n \n
\n {{#each\n (text-filtered this.metricSearch this.metrics \"title\")\n as |metric|\n }}\n \n \n \n
\n

{{metric.title}}

\n

\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedRecordedDate\n \"n/a\"\n }}\n

\n
\n
\n {{/each}}\n \n \n
\n \n {{t \"dictionary.go-back\"}}\n \n \n \n {{if\n this.selectedMetrics.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n
\n \n {{else if (eq this.activeStep 3)}}\n \n
\n

\n {{t \"dictionary.set-targets\"}}\n

\n

Goal:\n {{this.goalChangeset.title}}

\n
\n {{#if this.selectedMetrics.length}}\n
\n {{#each this.selectedMetrics as |metric index|}}\n \n {{#let (get this.targetChangesets index) as |changeset|}}\n \n \n
\n

{{metric.title}}

\n

Last measurement:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n }}

\n
\n \n \n \n \n
\n {{/let}}\n \n {{/each}}\n \n
\n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
\n \n {{else}}\n \n <:message>You have no metrics to add targets to\n \n
\n \n Link a metric\n \n {{t \"dictionary.save\"}}\n \n
\n {{/if}}\n {{/if}}\n \n \n
\n \n \n {{#if this.errorMessage}}\n \n {{/if}}\n */\n {\n \"id\": \"Zwg04obY\",\n \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"cancelForm\\\"]]],null],[4,[38,2],[[30,0,[\\\"initializeForm\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"cancelForm\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"lists.edit-item\\\"],[[\\\"item\\\"],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[44,[[28,[37,9],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,10],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]],[28,[37,5],[\\\"dictionary.link-to-metrics\\\"],null],[28,[37,5],[\\\"dictionary.set-targets\\\"],null]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\"\\\\n\\\"]],[]],[[[44,[[28,[37,9],[\\\"General details\\\",\\\"Link to other goals\\\"],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,6]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5,6]],null]],[4]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.general-details\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"goalChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What's your goal? *\\\",\\\"\\\",[30,7,[\\\"title\\\"]],[30,7],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[14,\\\"test-id\\\",\\\"owner-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.owner\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"owner-name\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,7,[\\\"owner\\\"]],[30,7,[\\\"owner\\\",\\\"name\\\"]],\\\"Select\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"owner\\\"]],[[[1,\\\" \\\"],[8,[39,26],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"clearOwner\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"personsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleOwnerSelect\\\"]],[30,7],[30,8]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,28],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,8,[\\\"color\\\"]],[30,8,[\\\"name\\\"]],false,[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[14,\\\"test-id\\\",\\\"status-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n *\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"status-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[28,[37,29],[\\\"_goals.status.\\\",[30,7,[\\\"active\\\"]]],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleStatusSelect\\\"]],[30,7],[30,9,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-4 goal-description\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[37,5],[\\\"dictionary.description\\\"],null]],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,30],[[24,0,\\\"textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto h-[200px] bg-white compressed-lines\\\"]],[[\\\"@bounds\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"goal-description\\\",\\\"bubble\\\",[30,7,[\\\"description\\\"]],[28,[37,16],[[30,0,[\\\"onDescriptionChange\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,31],[[24,0,\\\"!text-sm !rounded-md mr-auto\\\"],[24,\\\"test-id\\\",\\\"delete-goal\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"confirmDeleteGoal\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"cancel\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"cancelForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"isPristine\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"next\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"next\\\"],[16,\\\"disabled\\\",[28,[37,33],[[30,7,[\\\"isPristine\\\"]],[28,[30,0,[\\\"isInvalid\\\"]],[[30,7]],null]],null]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.wizard.link-to-parent-goal\\\"],[[\\\"goal\\\"],[[28,[37,10],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,36],[[30,0,[\\\"goalSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-600 text-xs underline\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"unlinkParentGoal\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.unlink\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalSearch\\\"]],[[[42,[28,[37,12],[[28,[37,12],[[28,[37,37],[[30,0,[\\\"goalSearch\\\"]],[30,0,[\\\"activeGoalsInOrganisation\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[8,[39,38],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@hideChildren\\\"],[[30,10],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[10]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"goals_without_parents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,38],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@disableDescendantsOfGoalId\\\"],[[30,11],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],[52,[28,[37,14],[[30,0,[\\\"goal\\\",\\\"id\\\"]],[30,11,[\\\"id\\\"]]],null],true,[30,0,[\\\"goal\\\",\\\"id\\\"]]]]],null],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,32],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isInvalid\\\"]]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.link-to-metrics\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,36],[[30,0,[\\\"metricSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0 whitespace-nowrap\\\"],[12],[1,\\\"Last\\\\n measurement\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,37],[[30,0,[\\\"metricSearch\\\"]],[30,0,[\\\"metrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex items-center gap-x-2 mb-2 b border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,39],[[24,0,\\\"inline-block\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,40],[[30,0,[\\\"selectedMetrics\\\"]],[30,12,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,16],[[30,0,[\\\"handleMetricSelect\\\"]],[30,12]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[12],[10,1],[12],[1,[30,12,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,12,[\\\"latestMeasurement\\\"]],[30,12,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]],\\\"n/a\\\"]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[12]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,32],[[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],3],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],3],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.set-targets\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"selectedMetrics\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[44,[[28,[37,41],[[30,0,[\\\"targetChangesets\\\"]],[30,14]],null]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,13,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[52,[30,13,[\\\"latestMeasurement\\\"]],[30,13,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,15,[\\\"target_value\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[16,\\\"min\\\",[28,[37,42],[[28,[37,43],null,null],\\\"YYYY-MM-DD\\\"],null]],[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,15,[\\\"end_date\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[15]]],[1,\\\"\\\\n\\\"]],[13,14]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,32],[[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,44],null,null,[[\\\"message\\\"],[[[[1,\\\"You have no metrics to add targets to\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n Link a metric\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,32],[[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]],null]],[]]]],[]]]],[]]],[1,\\\"\\\\n \\\"],[8,[39,46],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"showDeleteModal\\\"]],[30,0,[\\\"selectedGoal\\\"]],[30,0,[\\\"deleteGoal\\\"]],[30,0,[\\\"handleDismissDeleteModal\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"errorMessage\\\"]],[[[1,\\\" \\\"],[8,[39,47],null,[[\\\"@title\\\",\\\"@text\\\",\\\"@icon\\\",\\\"@willClose\\\"],[[28,[37,5],[\\\"dictionary.oh-no\\\"],null],[30,0,[\\\"errorMessage\\\"]],\\\"error\\\",[30,0,[\\\"handleAlertClose\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"item\\\",\\\"item\\\",\\\"goal\\\",\\\"goal\\\",\\\"metric\\\",\\\"metric\\\",\\\"index\\\",\\\"changeset\\\"],[\\\"wizard\\\",\\\"on-escape\\\",\\\"render-modifiers/on-insert\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\"t\\\",\\\":steps\\\",\\\"if\\\",\\\"let\\\",\\\"array\\\",\\\"lowercase\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"atoms/forms/input\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"molecules/menu-actions\\\",\\\"avatar\\\",\\\"concat\\\",\\\"quill-editor\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"p\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"text-filtered\\\",\\\"goals/wizard/goals-checkbox-item\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"get\\\",\\\"moment-format\\\",\\\"now\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"goals/delete-modal\\\",\\\"sweet-alert\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/wizard/edit/index.hbs\",\n \"isStrictMode\": false\n });\n let GoalsWizardEditComponent = _exports.default = (_class = class GoalsWizardEditComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"intl\", _descriptor4, this);\n _defineProperty(this, \"goalValidations\", _goal.default);\n _defineProperty(this, \"targetValidations\", _target.default);\n _initializerDefineProperty(this, \"activeStep\", _descriptor5, this);\n _initializerDefineProperty(this, \"goalChangeset\", _descriptor6, this);\n _initializerDefineProperty(this, \"targetChangesets\", _descriptor7, this);\n _defineProperty(this, \"targetChangesetFactory\", void 0);\n _initializerDefineProperty(this, \"selectedGoals\", _descriptor8, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor9, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor0, this);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor1, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor10, this);\n _initializerDefineProperty(this, \"selectedGoal\", _descriptor11, this);\n _initializerDefineProperty(this, \"errorMessage\", _descriptor12, this);\n }\n get goal() {\n return this.args.goal;\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get activePeopleInOrganisation() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get activeGoalsInOrganisation() {\n return this.store.peekAll('goal').filter(g => !g.isNew);\n }\n get metrics() {\n return this.store.peekAll('metric');\n }\n get personsList() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get goals_without_parents() {\n return this.activeGoalsInOrganisation.filter(goal => !goal.parent.content);\n }\n handleOwnerSelect(changeset, item) {\n changeset.set('owner', item);\n }\n clearOwner(changeset) {\n changeset.set('owner', null);\n }\n handleStatusSelect(changeset, val) {\n changeset.set('active', val);\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n goToListPage() {\n this.router.transitionTo('business.goals.list');\n }\n closeWizard() {\n if (this.args.closeWizard && typeof this.args.closeWizard === 'function') {\n this.args?.closeWizard?.();\n } else {\n (false && !(false) && (0, _debug.assert)(\"Please pass a prop named 'closeWizard' with a callback function to the Goals Wizard component\"));\n }\n }\n cancelForm() {\n if (this.showDeleteModal) return;\n this.goalChangeset?.rollback?.();\n this.targetChangesets.forEach(target => {\n target.rollback();\n });\n this.closeWizard();\n }\n rollbackChanges(changeset) {\n changeset.rollback();\n }\n handleGoalsSelect(goal, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n if (checked) this.selectedGoals = [goal];else this.selectedGoals = [];\n }\n unlinkParentGoal() {\n this.selectedGoals = [];\n this.goalChangeset.set('parent', null);\n }\n get targets() {\n return this.goal.targets.content ?? [];\n }\n handleMetricSelect(metric, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const metrics = this.selectedMetrics;\n const targetChangesets = this.targetChangesets;\n if (checked) {\n metrics.push(metric);\n const existingTarget = this.targets.find(t => {\n return t.metric.id === metric.id;\n });\n const targetChangeset = this.targetChangesetFactory(existingTarget);\n targetChangesets.push(targetChangeset);\n } else {\n const index = metrics.findIndex(_metric => _metric.id === metric.id);\n if (index < 0) return;else {\n metrics.splice(index, 1);\n targetChangesets.splice(index, 1);\n }\n }\n this.selectedMetrics = metrics;\n this.targetChangesets = targetChangesets;\n }\n async deleteDeselectedTargets() {\n const old_targets_by_metric_id = this.targets.reduce((acc, item) => {\n acc[item.metric.get('id')] = item;\n return acc;\n }, {});\n const current_metrics = this.selectedMetrics.reduce((acc, item) => {\n acc[item.id] = true;\n return acc;\n }, {});\n\n ///loop over old metrics, check if that metric is in the new list of metrics, if not delete the target linked to that metric\n const promises = [];\n const old_metrics = Object.keys(old_targets_by_metric_id);\n for (let i = 0; i < old_metrics.length; i++) {\n if (old_metrics[i] in current_metrics) continue;else promises.push(old_targets_by_metric_id[old_metrics[i]].destroyRecord());\n }\n await Promise.all(promises);\n }\n async saveGoal() {\n const goal = this.goal;\n goal.mapChangesetToAttributes(this.goalChangeset.changes);\n if (this.selectedGoals.length) goal.set('parent', this.selectedGoals[0]);\n await goal.save();\n await this.deleteDeselectedTargets();\n const promises = [];\n for (let i = 0; i < this.targetChangesets.length; i++) {\n const target = this.targetChangesets[i];\n target.set('goal', goal);\n target.set('metric', this.selectedMetrics[i]);\n promises.push(target.save());\n }\n await Promise.all(promises);\n this.closeWizard();\n }\n isInvalid(changeset) {\n return !changeset.get('title');\n }\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n confirmDeleteGoal() {\n this.selectedGoal = this.goal;\n this.toggleDeleteModal(true);\n }\n deleteGoal() {\n if (this.selectedGoal) {\n this.selectedGoal.destroyRecord().then(() => {\n this.goToListPage();\n this.handleDismissDeleteModal();\n }).catch(err => {\n const error = err.errors?.[0];\n if (!error?.detail) return;\n const message = JSON.parse(error.detail)?.[0]?.[1];\n if (!message) return;\n this.errorMessage = message;\n });\n }\n }\n handleAlertClose() {\n this.errorMessage = '';\n }\n unselectGoal() {\n this.selectedGoal = null;\n }\n handleDismissDeleteModal() {\n this.unselectGoal();\n this.toggleDeleteModal(false);\n }\n goalValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(this.goalValidations, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n targetValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(this.targetValidations, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n initializeForm() {\n const goalChangeset = (0, _emberChangeset.Changeset)(this.goal.changeset_object, this.goalValidator);\n const targetChangesetFactory = (targetModel = undefined) => {\n const target = targetModel ?? this.store.createRecord('target', {});\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n };\n this.goalChangeset = goalChangeset;\n this.selectedGoals = this.goal.parent?.content ? [this.goal.parent.content] : [];\n this.selectedMetrics = this.goal.metrics;\n this.targetChangesetFactory = targetChangesetFactory;\n const targets = this.goal.targets.content ?? [];\n const targetChangesets = targets.map(target => {\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n });\n this.targetChangesets = targetChangesets;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"goalChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return _object.default.create({});\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"targetChangesets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleOwnerSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOwnerSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearOwner\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearOwner\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unlinkParentGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unlinkParentGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMetricSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMetricSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteDeselectedTargets\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteDeselectedTargets\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isInvalid\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isInvalid\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDeleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDeleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAlertClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAlertClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unselectGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unselectGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goalValidator\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goalValidator\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"targetValidator\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"targetValidator\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initializeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initializeForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsWizardEditComponent);\n});","define(\"scaleflow/components/goals/wizard/goals-checkbox-item/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
\n \n \n
\n

{{@goal.title}}

\n \n Initiatives -\n {{@goal.initiatives.length}}\n

\n
\n
\n \n {{#if (has-block)}}\n
\n {{yield}}

\n
\n {{/if}}\n \n \n {{#if @hideChildren}}{{else}}\n {{#if @goal.children}}\n {{#each @goal.children as |child|}}\n \n {{#if (has-block)}}\n {{yield}}\n >\n {{/if}}\n \n {{#if (gte @goal.title.length 15)}}\n {{substring @goal.title 0 15}}…\n \n \n {{@goal.title}}\n \n \n {{else}}\n {{@goal.title}}\n {{/if}}\n \n \n {{/each}}\n {{/if}}\n {{/if}}\n */\n {\n \"id\": \"tVH0alLQ\",\n \"block\": \"[[[11,0],[24,0,\\\"p-4 bg-white rounded-lg mb-2 b border border-gray-200\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"inline-block\\\"],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,4],[30,3]],null]],null]],[[\\\"@value\\\",\\\"@disabled\\\"],[[28,[37,2],[[30,2],[30,3,[\\\"id\\\"]],\\\"id\\\"],null],[30,0,[\\\"isDisabled\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[12],[10,1],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,[30,3,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500 flex items-center gap-x-1 shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"Initiatives -\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[14,\\\"test-id\\\",\\\"initiatives\\\"],[12],[1,[30,3,[\\\"initiatives\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[48,[30,8]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pl-6 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[14,\\\"test-id\\\",\\\"parent\\\"],[12],[18,8,null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5],[[],[]],[[[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"children\\\"]],[[[42,[28,[37,12],[[28,[37,12],[[30,3,[\\\"children\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[24,\\\"test-id\\\",\\\"goal-checkbox\\\"]],[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@disableDescendantsOfGoalId\\\"],[[30,6],[30,2],[30,4],[52,[28,[37,14],[[30,7],[30,6,[\\\"id\\\"]]],null],true,[30,7]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[48,[30,8]],[[[1,\\\" \\\"],[18,8,null],[1,\\\"\\\\n >\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,3,[\\\"title\\\",\\\"length\\\"]],15],null],[[[1,\\\" \\\"],[1,[28,[35,16],[[30,3,[\\\"title\\\"]],0,15],null]],[1,\\\"…\\\\n \\\"],[8,[39,17],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null]],[]],null]],[]]]],[\\\"&attrs\\\",\\\"@selectedGoals\\\",\\\"@goal\\\",\\\"@handleGoalsSelect\\\",\\\"@hideChildren\\\",\\\"child\\\",\\\"@disableDescendantsOfGoalId\\\",\\\"&default\\\"],[\\\"div\\\",\\\"radio\\\",\\\"array-includes\\\",\\\"on\\\",\\\"fn\\\",\\\"p\\\",\\\"span\\\",\\\"atoms/icons/initiatives\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"each\\\",\\\"-track-array\\\",\\\"goals/wizard/goals-checkbox-item\\\",\\\"eq\\\",\\\"gte\\\",\\\"substring\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/goals/wizard/goals-checkbox-item/index.hbs\",\n \"isStrictMode\": false\n });\n class GoalsWizardGoalsCheckboxItemComponent extends _component2.default {\n get isDisabled() {\n return String(this.args.disableDescendantsOfGoalId) === 'true';\n }\n }\n _exports.default = GoalsWizardGoalsCheckboxItemComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GoalsWizardGoalsCheckboxItemComponent);\n});","define(\"scaleflow/components/groups/form/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/validators/group\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _group, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/group\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @group this.GroupValidations) as |changeset|}}\n \n <:title>\n

{{if\n this.isEdit\n (t \"dictionary.edit\")\n (t \"dictionary.add\")\n }}\n {{t \"group.title\" num=1}}

\n \n <:body>\n
\n
\n
\n \n
\n
\n
\n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"AOKFaJU8\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"GroupValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"group-form-modal\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,8],[\\\"dictionary.edit\\\"],null],[28,[37,8],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[4,[38,14],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\"],[\\\"title\\\",[28,[37,8],[\\\"dictionary.name\\\"],null],\\\"Product Team\\\",[30,2,[\\\"title\\\"]],[30,2],[28,[37,3],[[30,0,[\\\"handleBlur\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,1,\\\"save-group\\\"],[24,\\\"test-id\\\",\\\"save-group\\\"],[16,\\\"disabled\\\",[28,[37,17],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"submitForm\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@group\\\",\\\"changeset\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/groups/form/index.hbs\",\n \"isStrictMode\": false\n });\n let GroupsFormComponent = _exports.default = (_class = class GroupsFormComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"GroupValidations\", _group.default);\n _initializerDefineProperty(this, \"changeset\", _descriptor, this);\n }\n async submitForm(changeset, event) {\n event.preventDefault();\n const isValid = await changeset.validate();\n if (isValid) {\n // Apply changes to the model\n await changeset.save();\n\n // Call the parent's onSave action\n if (this.args.onSave) {\n await this.args.onSave(this.args.group);\n }\n }\n }\n handleBlur(changeset) {\n // This is for the Atoms::Forms::Input component\n changeset.validate();\n }\n get isEdit() {\n return !!this.args.group?.id;\n }\n cancelForm(changeset) {\n changeset.rollback();\n if (this.args.onCancel) {\n this.args.onCancel();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"submitForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GroupsFormComponent);\n});","define(\"scaleflow/components/ideas/comment-box/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
  • \n
    \n
    \n
    \n {{! template-lint-disable no-duplicate-id }}\n \n {{#if this.editMode}}\n {{#let (changeset this.comment) as |changeset|}}\n \n
    \n {{changeset.author.name}}\n commented\n {{#if changeset.isSaving}}\n \n {{/if}}\n
    \n {{from-now changeset.created_at}}\n \n \n {{moment-format changeset.created_at \"DD MMM, YYYY\"}}\n \n \n \n \n \n \n {{/let}}\n {{else}}\n \n
    \n
    {{this.comment.author.name}}\n commented
    \n {{from-now this.comment.created_at}}\n \n \n {{moment-format this.comment.created_at \"DD MMM, YYYY\"}}\n \n \n \n
    \n \n \n {{/if}}\n
  • \n */\n {\n \"id\": \"wM5k8ePz\",\n \"block\": \"[[[10,\\\"li\\\"],[15,0,[29,[\\\"relative flex gap-x-4 comment-\\\",[30,1]]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute -bottom-6 left-0 top-0 flex w-6 justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-px bg-gray-200\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,2],[[24,0,\\\"relative mt-3 flex-none\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"comment\\\",\\\"author\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[44,[[28,[37,5],[[30,0,[\\\"comment\\\"]]],null]],[[[1,\\\" \\\"],[11,0],[16,0,[29,[\\\"flex-auto rounded-md p-3 focus:ring-inset focus:ring-2 ring-2 ring-inset\\\\n \\\",[52,[30,0,[\\\"hasErrors\\\"]],\\\"ring-red-600\\\",\\\"ring-primary-600\\\"],\\\"\\\\n \\\",[52,[30,2,[\\\"isSaving\\\"]],\\\"opacity-50\\\"]]]],[4,[38,6],[[28,[37,7],[[30,0,[\\\"saveComment\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-0.5 text-xs/5 text-gray-500 flex items-center gap-x-2\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,2,[\\\"author\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"commented\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"isSaving\\\"]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"!w-4 !h-4 !border-2 !border-t-2 ml-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[15,\\\"datetime\\\",[29,[[30,2,[\\\"created_at\\\"]]]]],[14,0,\\\"flex-none py-0.5 text-xs/5 text-gray-500\\\"],[12],[1,[28,[35,11],[[30,2,[\\\"created_at\\\"]]],null]],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[30,2,[\\\"created_at\\\"]],\\\"DD MMM, YYYY\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"text-xs text-gray-500 leading-5 compressed-lines\\\"]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@theme\\\",\\\"@modules\\\",\\\"@bounds\\\",\\\"@onChange\\\"],[[30,0,[\\\"comment\\\",\\\"text_delta\\\"]],true,\\\"bubble\\\",[30,3],[29,[\\\".comment-\\\",[30,1]]],[28,[37,7],[[30,0,[\\\"setCommentTextDelta\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"flex-auto rounded-md p-3 ring-1 ring-inset ring-gray-200\\\\n \\\",[52,[30,0,[\\\"comment\\\",\\\"isMyComment\\\"]],\\\"\\\\n hover:bg-gray-300 cursor-pointer\\\",\\\"cursor-default\\\"]]]],[24,4,\\\"button\\\"],[4,[38,17],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-0.5 text-xs/5 text-gray-500\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,0,[\\\"comment\\\",\\\"author\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n commented\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[15,\\\"datetime\\\",[29,[[30,0,[\\\"comment\\\",\\\"created_at\\\"]]]]],[14,0,\\\"flex-none py-0.5 text-xs/5 text-gray-500\\\"],[12],[1,[28,[35,11],[[30,0,[\\\"comment\\\",\\\"created_at\\\"]]],null]],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,14],[[30,0,[\\\"comment\\\",\\\"created_at\\\"]],\\\"DD MMM, YYYY\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,15],[[16,0,[29,[\\\"text-xs text-gray-500 leading-5 compressed-lines\\\\n \\\",[52,[30,0,[\\\"comment\\\",\\\"isMyComment\\\"]],\\\"cursor-pointer\\\",\\\"cursor-default\\\"]]]]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@theme\\\",\\\"@modules\\\",\\\"@bounds\\\"],[[30,0,[\\\"comment\\\",\\\"text_delta\\\"]],false,\\\"bubble\\\",[30,3],[29,[\\\".comment-\\\",[30,1]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"@index\\\",\\\"changeset\\\",\\\"@editorModules\\\"],[\\\"li\\\",\\\"div\\\",\\\"avatar\\\",\\\"if\\\",\\\"let\\\",\\\"changeset\\\",\\\"on-click-outside\\\",\\\"fn\\\",\\\"span\\\",\\\"loader\\\",\\\"time\\\",\\\"from-now\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"moment-format\\\",\\\"quill-editor\\\",\\\"button\\\",\\\"on\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/comment-box/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasCommentBoxComponent = _exports.default = (_class = class IdeasCommentBoxComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"editMode\", _descriptor, this);\n _initializerDefineProperty(this, \"hasErrors\", _descriptor2, this);\n }\n get comment() {\n return this.args.comment;\n }\n toggleEditMode(val) {\n if (!this.args.comment.isMyComment) this.editMode = false;else if (val === undefined) this.editMode = !this.editMode;else this.editMode = val;\n }\n setCommentTextDelta(changeset, e) {\n changeset.set('text_delta', e);\n }\n async saveComment(changeset) {\n await changeset.validate();\n if (!changeset.get('isValid')) {\n this.hasErrors = true;\n return;\n } else {\n this.hasErrors = false;\n }\n changeset.set('idea', this.args.comment.idea.content);\n changeset.set('author', this.args.comment.author.content);\n changeset.save().catch(err => {\n console.debug(err);\n changeset.rollback();\n }).finally(() => {\n this.toggleEditMode();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"hasErrors\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setCommentTextDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setCommentTextDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveComment\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasCommentBoxComponent);\n});","define(\"scaleflow/components/ideas/idea-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n \n {{this.idea.title}}\n \n \n \n \n \n
    \n \n */\n {\n \"id\": \"DOVkQcMI\",\n \"block\": \"[[[11,0],[24,0,\\\"relative flex w-full text-left\\\"],[17,1],[4,[38,1],[[28,[37,2],[[30,0,[\\\"toggleDropdown\\\"]],false],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-2xl leading-8 text-gray-900 font-semibold whitespace-nowrap text-ellipsis overflow-hidden\\\"],[15,\\\"title\\\",[29,[[30,0,[\\\"idea\\\",\\\"title\\\"]]]]],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"idea\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"trigger\\\"],[24,0,\\\"\\\"],[24,1,\\\"menu-button\\\"],[24,\\\"aria-expanded\\\",\\\"true\\\"],[24,\\\"aria-haspopup\\\",\\\"true\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleDropdown\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-8 h-8 text-white bg-indigo-500 rounded-full\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@tippy\\\",\\\"@allowAllStatuses\\\"],[[30,0,[\\\"idea\\\"]],[30,0,[\\\"handleIdeaSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",true,\\\"true\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"fn\\\",\\\"span\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/ideas\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/idea-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasIdeaSelectorComponent = _exports.default = (_class = class IdeasIdeaSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"showDropdown\", _descriptor2, this);\n }\n isSelected(idea) {\n return this.idea.id == idea.id;\n }\n toggleDropdown(val) {\n if (val === undefined) this.showDropdown = !this.showDropdown;else this.showDropdown = val;\n }\n handleIdeaSelect(idea) {\n this.toggleDropdown(false);\n this.args?.propagateIdeaSelect?.(idea);\n }\n get idea() {\n return this.args.idea;\n }\n get ideas() {\n return this.store.peekAll('idea');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDropdown\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"isSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleIdeaSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleIdeaSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasIdeaSelectorComponent);\n});","define(\"scaleflow/components/ideas/idea/summary-panel/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/idea\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"scaleflow/utils/quill-extenstions/markdown-format\", \"quill-image-resize\", \"quill\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"aws-amplify\", \"uuid\", \"@ember/debug\", \"tippy.js\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _idea, _quill2ImageUploader, _imageFormat, _markdownFormat, _quillImageResize, _quill, _registerIfNotRegistered, _awsAmplify, _uuid, _debug, _tippy, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/idea\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"scaleflow/utils/quill-extenstions/markdown-format\",0,\"quill-image-resize\",0,\"quill\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"aws-amplify\",0,\"uuid\",0,\"@ember/debug\",0,\"tippy.js\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#each this.tabs as |tab|}}\n \n \n {{tab.label}}\n \n \n {{/each}}\n \n \n
    \n
    \n
    \n {{#if this.featureAccess.isAdmin}}\n \n \n \n \n
      \n \n
    \n \n
    \n \n {{/if}}\n
    \n \n \n \n \n {{#if (eq this.tab \"details\")}}\n
    \n
    \n {{t \"dictionary.title\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.status\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.source\" num=1}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.submitted-by\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.created-at\"}}\n
    \n
    \n \n {{moment-format @idea.created_at \"MMM DD, YYYY\"}}\n \n
    \n
    \n \n
    \n
    \n {{t \"department.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"area.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"idea.deadline\"}}\n
    \n
    \n \n {{#if @idea.deadline}}\n {{#if @idea.canEditIdea}}\n \n x\n \n {{/if}}\n {{/if}}\n
    \n
    \n \n
    \n
    \n {{t \"themes.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"customer.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"idea.revenue-existing\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"idea.revenue-existing\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n {{/if}}\n \n {{#if (eq this.tab \"comments\")}}\n
      \n \n \n \n \n \n \n {{t \"dictionary.save\"}}\n \n \n \n \n {{#each @idea.orderedComments as |comment index|}}\n {{#unless comment.isNew}}\n \n {{/unless}}\n {{else}}\n

      \n {{t \"dictionary.no\"}}\n {{t \"dictionary.comments\" num=2}}

      \n {{/each}}\n
    \n {{/if}}\n \n \n {{#if this.deleteConfirmationModalIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"uZAyHiA7\",\n \"block\": \"[[[10,0],[14,0,\\\"flex gap-x-8 items-center h-10 bg-white px-4 shrink-0\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[37,4],[[30,0,[\\\"tab\\\"]],[30,1,[\\\"key\\\"]]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"text-sm leading-5 capitalize whitespace-nowrap\\\\n \\\",[52,[28,[37,4],[[30,0,[\\\"tab\\\"]],[30,1,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"],\\\"\\\\n \\\"]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"setTab\\\"]],[30,1,[\\\"key\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-end ml-auto sidepanel-actions-container gap-x-2 pb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"sidepanel-actions\\\"],[14,0,\\\"ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex group items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"featureAccess\\\",\\\"isAdmin\\\"]],[[[1,\\\" \\\"],[10,\\\"button\\\"],[14,0,\\\"list-title-dropdown transition px-2 text-gray-800 cursor-pointer\\\"],[14,\\\"test-id\\\",\\\"idea-action-menu-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\"],[\\\"bottom-end\\\",\\\"click\\\",\\\"true\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"tippy-dropdown !w-[240px]\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"delete\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\",\\\"@labelClass\\\",\\\"@iconClasses\\\"],[\\\"delete\\\",[28,[37,13],[\\\"dictionary.delete\\\"],null],[30,0,[\\\"showDeleteConfirmationModal\\\"]],\\\"text-red-600\\\",\\\"text-red-600\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"grow px-4 py-2 space-y-1 overflow-y-auto border-t border-gray-300 sidepanel-content\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"tab\\\"]],\\\"details\\\"],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\",\\\"@disabled\\\"],[[30,2],[30,0,[\\\"ideaValidations\\\"]],\\\"title\\\",[29,[[28,[37,13],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]]],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,16],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditStatus\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.source\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@disabled\\\"],[[30,2],[30,0,[\\\"ideaValidations\\\"]],\\\"source\\\",[29,[[28,[37,13],[\\\"dictionary.source\\\"],[[\\\"num\\\"],[1]]]]],[28,[37,13],[\\\"dictionary.not-set\\\"],null],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.submitted-by\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,17],null,[[\\\"@createdBy\\\"],[[30,2,[\\\"submitter\\\",\\\"content\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.created-at\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"created-at text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"created-at\\\"],[16,\\\"title\\\",[29,[[30,2,[\\\"created_at\\\"]]]]],[17,3],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[[30,2,[\\\"created_at\\\"]],\\\"MMM DD, YYYY\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],[[24,0,\\\"!max-w-[200px]\\\"]],[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"idea.deadline\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,22],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"deadline\\\"]],[[[41,[30,2,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,23],[[24,0,\\\"shadow-sm bg-gray-200\\\"],[24,\\\"test-id\\\",\\\"clear-deadline\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"clearDeadline\\\"]],[30,2]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"w-4 h-4 text-gray-900 text-xs rounded-full inline-block\\\"],[12],[1,\\\"x\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"themes.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,25],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"idea.revenue-existing\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@disabled\\\"],[[30,2],[30,0,[\\\"ideaValidations\\\"]],\\\"revenue_existing\\\",[29,[[28,[37,13],[\\\"idea.revenue-existing\\\"],null]]],[28,[37,13],[\\\"dictionary.not-set\\\"],null],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"idea.revenue-existing\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@disabled\\\"],[[30,2],[30,0,[\\\"ideaValidations\\\"]],\\\"revenue_existing\\\",[29,[[28,[37,13],[\\\"idea.revenue-existing\\\"],null]]],[28,[37,13],[\\\"dictionary.not-set\\\"],null],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,26],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,2],[28,[37,15],[[30,2,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"tab\\\"]],\\\"comments\\\"],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[14,\\\"role\\\",\\\"list\\\"],[14,0,\\\"space-y-6 mt-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"new-comment-container mb-2 flex flex-col h-36\\\\n \\\",[52,[30,0,[\\\"comment\\\",\\\"isSaving\\\"]],\\\"opacity-50\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"comment\\\",\\\"isSaving\\\"]],[[[1,\\\" \\\"],[8,[39,28],[[24,0,\\\"!w-4 !h-4 !border-2 !border-t-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,29],[[24,0,\\\"grow textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto bg-white compressed-lines mb-2\\\"]],[[\\\"@bounds\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@modules\\\",\\\"@delta\\\",\\\"@placeholder\\\",\\\"@focused\\\"],[\\\".new-comment-container\\\",[30,0,[\\\"setComment\\\"]],\\\"bubble\\\",[30,0,[\\\"modules\\\"]],[30,0,[\\\"comment\\\",\\\"text_delta\\\"]],[28,[37,13],[\\\"dictionary.add-a-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,13],[\\\"dictionary.comments\\\"],[[\\\"num\\\"],[1]]]]]],true]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,30],[[24,0,\\\"w-fit ml-auto\\\"],[24,1,\\\"save-comment\\\"],[24,\\\"test-id\\\",\\\"save-comment\\\"],[16,\\\"disabled\\\",[28,[37,15],[[30,0,[\\\"comment\\\",\\\"text_delta\\\"]]],null]],[4,[38,6],[\\\"click\\\",[30,0,[\\\"saveComment\\\"]]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,13],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,31],[[24,0,\\\"!my-6\\\"]],null,null],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,2,[\\\"orderedComments\\\"]]],null]],null],null,[[[41,[51,[30,4,[\\\"isNew\\\"]]],[[[1,\\\" \\\"],[8,[39,33],null,[[\\\"@comment\\\",\\\"@editorModules\\\",\\\"@index\\\"],[[30,4],[30,0,[\\\"modules\\\"]],[30,5]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[4,5]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 italic text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.no\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,13],[\\\"dictionary.comments\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"deleteConfirmationModalIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,35],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@title\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"deleteConfirmationModalIsVisible\\\"]],[30,2],[28,[37,13],[\\\"dictionary.confirm-delete\\\"],[[\\\"resource_type\\\",\\\"resource_name\\\"],[[28,[37,13],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]],[30,2,[\\\"title\\\"]]]]],[30,0,[\\\"handleDeleteConfirmation\\\"]],[30,0,[\\\"closeDeleConfirmationModal\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"tab\\\",\\\"@idea\\\",\\\"&attrs\\\",\\\"comment\\\",\\\"index\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"eq\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/icons/item-menu\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"molecules/menu-actions\\\",\\\"t\\\",\\\"atoms/forms/clickable-input\\\",\\\"not\\\",\\\"ideas/table-cell/status\\\",\\\"ideas/table-cell/submitted-by\\\",\\\"span\\\",\\\"moment-format\\\",\\\"ideas/table-cell/department\\\",\\\"ideas/table-cell/area\\\",\\\"ideas/table-cell/deadline\\\",\\\"atoms/buttons/icon\\\",\\\"ideas/table-cell/themes\\\",\\\"ideas/table-cell/customers\\\",\\\"ideas/table-cell/initiatives\\\",\\\"label\\\",\\\"loader\\\",\\\"quill-editor\\\",\\\"atoms/buttons/action-button\\\",\\\"atoms/divider\\\",\\\"unless\\\",\\\"ideas/comment-box\\\",\\\"p\\\",\\\"goals/delete-modal\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/idea/summary-panel/index.hbs\",\n \"isStrictMode\": false\n });\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/markdown', _markdownFormat.default);\n let IdeasIdeaSummaryPanelComponent = _exports.default = (_class = class IdeasIdeaSummaryPanelComponent extends _component2.default {\n constructor(owner, args) {\n super(owner, args);\n _defineProperty(this, \"ideaValidations\", _idea.default);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor4, this);\n _initializerDefineProperty(this, \"featureAccess\", _descriptor5, this);\n _initializerDefineProperty(this, \"tab\", _descriptor6, this);\n _initializerDefineProperty(this, \"comment\", _descriptor7, this);\n _initializerDefineProperty(this, \"deleteConfirmationModalIsVisible\", _descriptor8, this);\n this.comment = this.initializeNewComment();\n }\n get tabs() {\n return [{\n label: this.intl.t('dictionary.comments', {\n num: 2\n }),\n key: 'comments'\n }, {\n label: this.intl.t('dictionary.details'),\n key: 'details'\n }];\n }\n initializeNewComment() {\n const comment = this.store.createRecord('comment', {\n author: this.currentUser._currentUser,\n created_at: new Date().toISOString()\n });\n return comment;\n }\n setTab(tab) {\n this.tab = tab;\n }\n deleteIdea() {\n try {\n this.router.replaceWith('backlog.ideas');\n void this.args.idea.destroyRecord();\n } catch (err) {\n console.log(err);\n }\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n void _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n modules.markdown = true;\n const toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n setComment(e) {\n if (!this.comment) (false && !(false) && (0, _debug.assert)('New comment object was not initialized'));\n this.comment.text_delta = e;\n }\n saveComment() {\n if (this.comment?.text_delta !== undefined && this.comment.author !== undefined) {\n this.comment.idea = this.args.idea;\n this.comment.save().then(() => {\n this.comment = this.initializeNewComment();\n }).catch(err => console.debug(err));\n }\n }\n clearDeadline(idea) {\n idea.deadline = undefined;\n void idea.save();\n }\n showDeleteConfirmationModal() {\n (0, _tippy.hideAll)();\n this.deleteConfirmationModalIsVisible = true;\n }\n handleDeleteConfirmation() {\n this.deleteConfirmationModalIsVisible = false;\n this.deleteIdea();\n }\n closeDeleConfirmationModal() {\n this.deleteConfirmationModalIsVisible = false;\n }\n willDestroy() {\n super.willDestroy();\n this.comment = null;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"featureAccess\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"tab\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'comments';\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"comment\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"deleteConfirmationModalIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setTab\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTab\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setComment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveComment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearDeadline\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearDeadline\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showDeleteConfirmationModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showDeleteConfirmationModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDeleteConfirmation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDeleteConfirmation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeDeleConfirmationModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeDeleConfirmationModal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasIdeaSummaryPanelComponent);\n});","define(\"scaleflow/components/ideas/table-cell/area/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.idea.areas.length 0)}}\n \n +\n \n {{t \"area.title\" num=2}}\n \n {{else}}\n \n {{get this.firstArea \"name\"}}\n \n \n {{get this.firstArea \"name\"}}\n \n \n \n {{#if this.idea.hasMoreThanOneArea}}\n \n +{{this.idea.hasMoreThanOneArea}}\n \n \n
      \n {{#each this.sortedAreas as |area|}}\n
    • {{area.name}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.areaFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"Bt9BVAJL\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"idea-area\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"idea\\\",\\\"areas\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"area leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"area-name\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"firstArea\\\"]],\\\"name\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"firstArea\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"firstArea\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneArea\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"area-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneArea\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedAreas\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"areas-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"areasList\\\"]],[30,0,[\\\"idea\\\",\\\"areaIds\\\"]],[28,[37,15],[[30,0,[\\\"handleAreasChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleAreaForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"areaFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleAreaForm\\\"]],[30,0,[\\\"onAreaAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"area\\\"],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"unless\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/area\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/area/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellAreaComponent = _exports.default = (_class = class IdeasTableCellAreaComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"areaFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleAreasChange(idea, e) {\n const areas = e.map(id => this.store.peekRecord('area', id));\n idea.areas = areas;\n idea.save();\n }\n toggleAreaForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.areaFormIsVisible = val;else this.areaFormIsVisible = !this.areaFormIsVisible;\n }\n async onAreaAdded(area) {\n const areas = [...this.selectedIdea.areas.content];\n areas.push(area);\n this.selectedIdea.areas = areas;\n await this.selectedIdea.save();\n }\n get areasList() {\n const areas = this.store.peekAll('area').map(item => ({\n value: item.id,\n label: item.name\n }));\n return areas;\n }\n get sortedAreas() {\n return this.idea.areas?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'));\n }\n get firstArea() {\n return this.sortedAreas?.[0];\n }\n willDestroy() {\n this.areaFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"areaFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleAreasChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAreasChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleAreaForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleAreaForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onAreaAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onAreaAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellAreaComponent);\n});","define(\"scaleflow/components/ideas/table-cell/customers/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.idea.customers.length 0)}}\n \n +\n \n {{t \"customer.title\" num=2}}\n \n {{else}}\n \n {{get this.firstCustomer \"name\"}}\n \n \n {{get this.firstCustomer \"name\"}}\n \n \n \n {{#if this.idea.hasMoreThanOneCustomer}}\n \n +{{this.idea.hasMoreThanOneCustomer}}\n \n \n
      \n {{#each this.sortedCustomers as |customer|}}\n
    • {{customer.name}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.customerFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"9lTShRpZ\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"idea-customer\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"idea\\\",\\\"customers\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"customer leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"customer-name\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"firstCustomer\\\"]],\\\"name\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"firstCustomer\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"firstCustomer\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneCustomer\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"customer-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneCustomer\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedCustomers\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"customers-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"customersList\\\"]],[30,0,[\\\"idea\\\",\\\"customerIds\\\"]],[28,[37,15],[[30,0,[\\\"handleCustomersChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleCustomerForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"customerFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleCustomerForm\\\"]],[30,0,[\\\"onCustomerAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"customer\\\"],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"unless\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/customer\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/customers/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellCustomersComponent = _exports.default = (_class = class IdeasTableCellCustomersComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"customerFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleCustomersChange(idea, e) {\n const customers = e.map(id => this.store.peekRecord('customer', id));\n idea.set('customers', customers);\n idea.save();\n }\n toggleCustomerForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.customerFormIsVisible = val;else this.customerFormIsVisible = !this.customerFormIsVisible;\n }\n async onCustomerAdded(customer) {\n const customers = [...this.selectedIdea.customers.content];\n customers.push(customer);\n this.selectedIdea.customers = customers;\n await this.selectedIdea.save();\n }\n get customersList() {\n const customers = this.store.peekAll('customer').map(item => ({\n value: item.id,\n label: item.name\n }));\n return customers;\n }\n get sortedCustomers() {\n return this.idea.customers?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'));\n }\n get firstCustomer() {\n return this.sortedCustomers?.[0];\n }\n willDestroy() {\n this.customerFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"customerFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleCustomersChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCustomersChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCustomerForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCustomerForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCustomerAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCustomerAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellCustomersComponent);\n});","define(\"scaleflow/components/ideas/table-cell/deadline/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n {{#if this.idea.deadline}}\n {{moment-format\n this.idea.deadline\n \"MMM DD, YYYY\"\n }}\n {{else}}\n {{t\n \"dictionary.choose-date\"\n }}\n {{/if}}\n \n {{#unless @disabled}}\n \n {{/unless}}\n \n \n \n */\n {\n \"id\": \"ZDL42Qgo\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 px-2 min-w-[140px]\\\"],[24,\\\"test-id\\\",\\\"idea-deadline-button\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"click\\\",[30,0,[\\\"openDatePicker\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"text-gray-400 w-4 h-4 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"deadline\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm\\\"],[14,\\\"test-id\\\",\\\"idea-deadline\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"idea\\\",\\\"deadline\\\"]],\\\"MMM DD, YYYY\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-500 italic text-sm\\\"],[12],[1,[28,[35,6],[\\\"dictionary.choose-date\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@onDateChange\\\",\\\"@onReady\\\",\\\"@allowAllDates\\\",\\\"@extraClass\\\"],[[28,[37,9],[[30,0,[\\\"handleDateChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[30,0,[\\\"onDatePickerReady\\\"]],true,\\\"invisible absolute\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-4 h-4 text-gray-500 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@disabled\\\",\\\"&attrs\\\"],[\\\"button\\\",\\\"on\\\",\\\"atoms/icons/calendar\\\",\\\"if\\\",\\\"span\\\",\\\"moment-format\\\",\\\"t\\\",\\\"unless\\\",\\\"planning-date-picker\\\",\\\"fn\\\",\\\"atoms/icons/chevron/down\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/deadline/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellDeadlineComponent = _exports.default = (_class = class IdeasTableCellDeadlineComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"datePickerInstance\", null);\n }\n get idea() {\n return this.args.idea;\n }\n onDatePickerReady(instance) {\n this.datePickerInstance = instance;\n }\n openDatePicker() {\n this.datePickerInstance?.open();\n }\n handleDateChange(idea, date) {\n idea.deadline = date;\n idea.save();\n }\n willDestroy() {\n this.datePickerInstance?.destroy();\n this.datePickerInstance = null;\n super.willDestroy(...arguments);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onDatePickerReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDatePickerReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDatePicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDatePicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDateChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellDeadlineComponent);\n});","define(\"scaleflow/components/ideas/table-cell/department/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.idea.departments.length 0)}}\n \n +\n \n {{t \"department.title\" num=2}}\n \n {{else}}\n \n {{get this.firstDepartment \"name\"}}\n \n \n {{get this.firstDepartment \"name\"}}\n \n \n \n {{#if this.idea.hasMoreThanOneDepartment}}\n \n +{{this.idea.hasMoreThanOneDepartment}}\n \n \n
      \n {{#each this.sortedDepartments as |department|}}\n
    • {{department.name}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.departmentFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"I5mg7Hyh\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"idea-department\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"idea\\\",\\\"departments\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"department leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"department-name\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"firstDepartment\\\"]],\\\"name\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"firstDepartment\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"firstDepartment\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneDepartment\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"department-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneDepartment\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedDepartments\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"departments-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"departmentsList\\\"]],[30,0,[\\\"idea\\\",\\\"departmentIds\\\"]],[28,[37,15],[[30,0,[\\\"handleDepartmentsChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleDepartmentForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"departmentFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleDepartmentForm\\\"]],[30,0,[\\\"onDepartmentAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"department\\\"],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"unless\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/department\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/department/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellDepartmentComponent = _exports.default = (_class = class IdeasTableCellDepartmentComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"departmentFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleDepartmentsChange(idea, e) {\n const departments = e.map(id => this.store.peekRecord('department', id));\n idea.departments = departments;\n idea.save();\n }\n toggleDepartmentForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.departmentFormIsVisible = val;else this.departmentFormIsVisible = !this.departmentFormIsVisible;\n }\n async onDepartmentAdded(department) {\n const departments = [...this.selectedIdea.departments.content];\n departments.push(department);\n this.selectedIdea.departments = departments;\n await this.selectedIdea.save();\n }\n get departmentsList() {\n const departments = this.store.peekAll('department').map(item => ({\n value: item.id,\n label: item.name\n }));\n return departments;\n }\n get sortedDepartments() {\n return this.idea.departments?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'));\n }\n get firstDepartment() {\n return this.sortedDepartments?.[0];\n }\n willDestroy() {\n this.departmentFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"departmentFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleDepartmentsChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDepartmentsChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDepartmentForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDepartmentForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDepartmentAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDepartmentAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellDepartmentComponent);\n});","define(\"scaleflow/components/ideas/table-cell/effort\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (or (is-null-or-undefined @value) (eq @value \"\"))}}\n
    {{t\n \"dictionary.not-set\"\n }}
    \n {{else}}\n
    \n {{@value}}\n pw\n
    \n {{/if}}\n */\n {\n \"id\": \"6z2lmA3K\",\n \"block\": \"[[[41,[28,[37,1],[[28,[37,2],[[30,1]],null],[28,[37,3],[[30,1],\\\"\\\"],null]],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 italic text-sm text-right\\\"],[12],[1,[28,[35,5],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-end text-sm\\\"],[14,\\\"test-id\\\",\\\"idea-effort\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,1]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 ml-1\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@value\\\"],[\\\"if\\\",\\\"or\\\",\\\"is-null-or-undefined\\\",\\\"eq\\\",\\\"div\\\",\\\"t\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/effort.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"effort\"));\n});","define(\"scaleflow/components/ideas/table-cell/group/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.idea.group}}\n \n {{this.idea.group.title}}\n \n \n {{this.idea.group.title}}\n \n \n \n \n {{else}}\n +\n {{t \"group.title\" num=1}}\n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.groupFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"DAC6eWjx\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"idea\\\",\\\"group\\\"]],\\\"\\\",\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],\\\"\\\\n w-fit max-w-[120px]\\\"]]],[24,\\\"test-id\\\",\\\"idea-group\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,2],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"group\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 text-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"group leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"group-title\\\"],[15,\\\"title\\\",[29,[[30,0,[\\\"idea\\\",\\\"group\\\",\\\"title\\\"]]]]],[12],[1,[30,0,[\\\"idea\\\",\\\"group\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"idea\\\",\\\"group\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"w-[280px]\\\"],[24,\\\"disabled\\\",\\\"false\\\"]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@options\\\",\\\"@searchPlaceholder\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@value\\\",\\\"@handleClearSelection\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"groupsList\\\"]],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]]]]],[28,[37,9],[[30,0,[\\\"handleGroupChange\\\"]],[30,0,[\\\"idea\\\"]]],null],true,[30,0,[\\\"idea\\\",\\\"group\\\",\\\"id\\\"]],[28,[37,9],[[30,0,[\\\"handleClearSelection\\\"]],[30,0,[\\\"idea\\\"]]],null],true,[28,[37,9],[[30,0,[\\\"toggleGroupForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"groupFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,10],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleGroupForm\\\"]],[30,0,[\\\"onGroupAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\"],[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"span\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"unless\\\",\\\"dropdowns/single-select\\\",\\\"fn\\\",\\\"quick-adds/group\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/group/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellGroupComponent = _exports.default = (_class = class IdeasTableCellGroupComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"groupFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleGroupChange(idea, group) {\n if (group) {\n const groupRecord = this.store.peekRecord('group', group.value);\n idea.set('group', groupRecord);\n } else {\n idea.set('group', null);\n }\n void idea.save();\n }\n handleClearSelection(idea) {\n idea.set('group', null);\n void idea.save();\n }\n toggleGroupForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.groupFormIsVisible = val;else this.groupFormIsVisible = !this.groupFormIsVisible;\n }\n async onGroupAdded(group) {\n if (this.selectedIdea) {\n this.selectedIdea.set('group', group);\n await this.selectedIdea.save();\n }\n }\n get groupsList() {\n const groups = this.store.peekAll('group').map(item => ({\n value: item.id,\n label: item.title\n }));\n return groups;\n }\n willDestroy() {\n this.groupFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"groupFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleGroupChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGroupChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleGroupForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGroupForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellGroupComponent);\n});","define(\"scaleflow/components/ideas/table-cell/initiatives/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.idea.initiatives.length 0)}}\n {{#if @disabled}}\n \n {{t \"dictionary.not-set\"}}\n \n {{else}}\n \n +\n \n {{t \"_initiatives.title\" num=2}}\n \n {{/if}}\n {{else}}\n \n {{get this.firstInitiative \"title\"}}\n \n \n {{get this.firstInitiative \"title\"}}\n \n \n \n {{#if this.idea.hasMoreThanOneInitiative}}\n \n +{{this.idea.hasMoreThanOneInitiative}}\n \n \n
      \n {{#each this.sortedInitiatives as |initiative|}}\n
    • {{initiative.title}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.initiativeFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"vVCZDbay\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px] whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"idea-initiative\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"idea\\\",\\\"initiatives\\\",\\\"length\\\"]],0],null],[[[41,[30,1],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.not-set\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"initiative leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"initiative-name\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"firstInitiative\\\"]],\\\"title\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"firstInitiative\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"firstInitiative\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneInitiative\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"initiative-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneInitiative\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedInitiatives\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"initiatives-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"initiativesList\\\"]],[30,0,[\\\"idea\\\",\\\"initiativeIds\\\"]],[28,[37,15],[[30,0,[\\\"handleInitiativesChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleInitiativeForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"initiativeFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleInitiativeForm\\\"]],[30,0,[\\\"onInitiativeAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"initiative\\\"],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"unless\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/initiative\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/initiatives/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellInitiativesComponent = _exports.default = (_class = class IdeasTableCellInitiativesComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleInitiativesChange(idea, e) {\n const initiatives = e.map(id => this.store.peekRecord('initiative', id));\n idea.set('initiatives', initiatives);\n void idea.save();\n }\n toggleInitiativeForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n async onInitiativeAdded(initiative) {\n const initiatives = await this.selectedIdea.initiatives;\n initiatives.pushObject(initiative);\n await this.selectedIdea.save();\n }\n get initiativesList() {\n const initiatives = this.store.peekAll('initiative').map(item => ({\n value: item.id,\n label: item.title\n }));\n return initiatives;\n }\n get sortedInitiatives() {\n const data = this.idea.initiatives?.content;\n return data.slice().sort((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'));\n }\n get firstInitiative() {\n return this.sortedInitiatives?.[0];\n }\n willDestroy() {\n this.initiativeFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativesChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellInitiativesComponent);\n});","define(\"scaleflow/components/ideas/table-cell/investment\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (or (eq @value undefined) (eq @value null) (eq @value \"\"))}}\n
    {{t\n \"dictionary.not-set\"\n }}
    \n {{else}}\n
    \n \n
    \n {{/if}}\n */\n {\n \"id\": \"5oJYLVaV\",\n \"block\": \"[[[41,[28,[37,1],[[28,[37,2],[[30,1],[27]],null],[28,[37,2],[[30,1],null],null],[28,[37,2],[[30,1],\\\"\\\"],null]],null],[[[1,\\\" \\\"],[11,0],[24,0,\\\"text-gray-500 italic text-right\\\"],[17,2],[12],[1,[28,[35,4],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-end\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[17,2]],[[\\\"@value\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@value\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"or\\\",\\\"eq\\\",\\\"div\\\",\\\"t\\\",\\\"localized-value\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/investment.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"investment\"));\n});","define(\"scaleflow/components/ideas/table-cell/product-area\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @value}}\n
    \n {{@value}}\n
    \n {{else}}\n
    {{t \"dictionary.not-set\"}}
    \n {{/if}}\n */\n {\n \"id\": \"MqlJSeHW\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-sm text-gray-700\\\"],[14,\\\"test-id\\\",\\\"idea-product-area\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 italic text-sm\\\"],[12],[1,[28,[35,2],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@value\\\"],[\\\"if\\\",\\\"div\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/product-area.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"product-area\"));\n});","define(\"scaleflow/components/ideas/table-cell/returns\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (or (eq @value undefined) (eq @value null) (eq @value \"\"))}}\n
    {{t \"dictionary.not-set\"}}
    \n {{else}}\n
    \n \n
    \n {{/if}}\n */\n {\n \"id\": \"iY1RP2V6\",\n \"block\": \"[[[41,[28,[37,1],[[28,[37,2],[[30,1],[27]],null],[28,[37,2],[[30,1],null],null],[28,[37,2],[[30,1],\\\"\\\"],null]],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 italic text-right\\\"],[12],[1,[28,[35,4],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-end\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@value\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@value\\\"],[\\\"if\\\",\\\"or\\\",\\\"eq\\\",\\\"div\\\",\\\"t\\\",\\\"localized-value\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/returns.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"returns\"));\n});","define(\"scaleflow/components/ideas/table-cell/source/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#if this.idea.source}}\n \n {{this.idea.source}}\n \n {{else}}\n \n {{t\n \"_initiatives.source\"\n num=0\n }}\n \n {{/if}}\n
    \n */\n {\n \"id\": \"6jRoidgo\",\n \"block\": \"[[[10,0],[14,0,\\\"\\\"],[14,\\\"test-id\\\",\\\"idea-source\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"source\\\"]],[[[1,\\\" \\\"],[11,1],[24,0,\\\"source text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"source-name\\\"],[16,\\\"title\\\",[29,[[30,0,[\\\"idea\\\",\\\"source\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"idea\\\",\\\"source\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,1],[24,0,\\\"flex items-center gap-x-1.5 py-1 px-2\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"_initiatives.source\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"&attrs\\\"],[\\\"div\\\",\\\"if\\\",\\\"span\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/source/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellSourceComponent = _exports.default = (_class = class IdeasTableCellSourceComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n get idea() {\n return this.args.idea;\n }\n handleSourceChange(idea, source) {\n idea.source = source.value;\n idea.save();\n }\n handleClearSource(idea) {\n idea.source = undefined;\n idea.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSourceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSourceChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClearSource\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClearSource\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellSourceComponent);\n});","define(\"scaleflow/components/ideas/table-cell/status/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.idea.status}}\n {{label-extract this.betaToggle.ideaStatusOptions this.idea.status}}\n {{else}}\n {{t \"dictionary.no\"}}\n {{t \"dictionary.status\"}}\n {{/if}}\n \n {{#unless @disabled}}\n \n {{/unless}}\n \n */\n {\n \"id\": \"qjm2lHE3\",\n \"block\": \"[[[10,\\\"button\\\"],[15,0,[29,[\\\"text-xs inline-block py-1 px-1.5 rounded-full\\\\n \\\",[28,[37,1],[[30,0,[\\\"idea\\\",\\\"status\\\"]]],null],\\\"\\\\n \\\"]]],[14,\\\"test-id\\\",\\\"idea-status\\\"],[15,\\\"disabled\\\",[30,1]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"status\\\"]],[[[1,\\\" \\\"],[1,[28,[35,3],[[30,0,[\\\"betaToggle\\\",\\\"ideaStatusOptions\\\"]],[30,0,[\\\"idea\\\",\\\"status\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,4],[\\\"dictionary.no\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"w-[280px]\\\"],[24,\\\"disabled\\\",\\\"false\\\"]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@options\\\",\\\"@searchPlaceholder\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@value\\\",\\\"@hideClearOption\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"betaToggle\\\",\\\"ideaStatusOptions\\\"]],[28,[37,4],[\\\"dictionary.search\\\"],null],[28,[37,7],[[30,0,[\\\"handleStatusChange\\\"]],[30,0,[\\\"idea\\\"]]],null],true,[30,0,[\\\"idea\\\",\\\"status\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@disabled\\\"],[\\\"button\\\",\\\"idea-status-color-class\\\",\\\"if\\\",\\\"label-extract\\\",\\\"t\\\",\\\"unless\\\",\\\"dropdowns/single-select\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/status/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellStatusComponent = _exports.default = (_class = class IdeasTableCellStatusComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n get idea() {\n return this.args.idea;\n }\n handleStatusChange(idea, status) {\n idea.status = status.value;\n idea.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleStatusChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellStatusComponent);\n});","define(\"scaleflow/components/ideas/table-cell/submitted-by/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.person}}\n
    \n \n
    \n {{else if this.isLoading}}\n
    \n
    \n
    \n {{else}}\n
    {{t \"dictionary.not-set\"}}
    \n {{/if}}\n \n */\n {\n \"id\": \"liyHeHes\",\n \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"loadPerson\\\"]]],null],[4,[38,2],[[30,0,[\\\"loadPerson\\\"]],[30,1]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"person\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"idea-submitted-by\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"person\\\",\\\"id\\\"]],true,\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"isLoading\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-6 h-6 rounded-full bg-gray-200 animate-pulse\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 italic text-sm\\\"],[12],[1,[28,[35,5],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]],[]]],[13]],[\\\"@createdBy\\\"],[\\\"div\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"if\\\",\\\"avatar\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/submitted-by/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellSubmittedByComponent = _exports.default = (_class = class IdeasTableCellSubmittedByComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"isLoading\", _descriptor2, this);\n _initializerDefineProperty(this, \"person\", _descriptor3, this);\n }\n async loadPerson() {\n if (!this.args?.createdBy?.id) {\n this.isLoading = false;\n return;\n }\n try {\n // First try to peek the record from the store\n let person = this.store.peekRecord('person', this.args.createdBy.id);\n if (person) {\n this.person = person;\n this.isLoading = false;\n } else {\n // If not in store, try to find it\n person = await this.store.findRecord('person', this.args.createdBy.id);\n this.person = person;\n this.isLoading = false;\n }\n } catch (error) {\n console.error('Error loading person:', error);\n this.isLoading = false;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"person\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadPerson\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadPerson\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellSubmittedByComponent);\n});","define(\"scaleflow/components/ideas/table-cell/themes/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.idea.themes.length 0)}}\n \n +\n \n {{t \"_initiatives.themes\" num=2}}\n \n {{else}}\n \n {{get this.firstTheme \"title\"}}\n \n \n {{get this.firstTheme \"title\"}}\n \n \n \n {{#if this.idea.hasMoreThanOneTheme}}\n \n +{{this.idea.hasMoreThanOneTheme}}\n \n \n
      \n {{#each this.sortedThemes as |theme|}}\n
    • {{theme.title}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#unless @disabled}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n {{/unless}}\n \n \n {{#if this.themeFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"v3U31Db6\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"idea-theme\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"idea\\\",\\\"themes\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"theme leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"theme-name\\\"],[15,\\\"title\\\",[29,[[28,[37,6],[[30,0,[\\\"firstTheme\\\"]],\\\"title\\\"],null]]]],[12],[1,[28,[35,6],[[30,0,[\\\"firstTheme\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"firstTheme\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneTheme\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"theme-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"idea\\\",\\\"hasMoreThanOneTheme\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedThemes\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"themes-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"themesList\\\"]],[30,0,[\\\"idea\\\",\\\"themeIds\\\"]],[28,[37,15],[[30,0,[\\\"handleThemesChange\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleThemeForm\\\"]],[30,0,[\\\"idea\\\"]]],null],[28,[37,5],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"themeFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleThemeForm\\\"]],[30,0,[\\\"onThemeAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"theme\\\"],[\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"unless\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/theme\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/themes/index.hbs\",\n \"isStrictMode\": false\n });\n let IdeasTableCellThemesComponent = _exports.default = (_class = class IdeasTableCellThemesComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"themeFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedIdea\", null);\n }\n get idea() {\n return this.args.idea;\n }\n handleThemesChange(idea, e) {\n const themes = e.map(id => this.store.peekRecord('theme', id));\n idea.themes = themes;\n idea.save();\n }\n toggleThemeForm(idea, val) {\n if (idea) this.selectedIdea = idea;else this.selectedIdea = null;\n if (val !== undefined) this.themeFormIsVisible = val;else this.themeFormIsVisible = !this.themeFormIsVisible;\n }\n async onThemeAdded(theme) {\n const themes = [...this.selectedIdea.themes.content];\n themes.push(theme);\n this.selectedIdea.themes = themes;\n await this.selectedIdea.save();\n }\n get themesList() {\n const themes = this.store.peekAll('theme').map(item => ({\n value: item.id,\n label: item.title\n }));\n return themes;\n }\n get sortedThemes() {\n return this.idea.themes?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'));\n }\n get firstTheme() {\n return this.sortedThemes?.[0];\n }\n willDestroy() {\n this.themeFormIsVisible = false;\n this.selectedIdea = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"themeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleThemesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemesChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleThemeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleThemeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasTableCellThemesComponent);\n});","define(\"scaleflow/components/ideas/table-cell/title\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @label}}\n \n {{@label}}\n \n {{else}}\n {{t \"dictionary.not-set\"}}\n {{/if}}\n */\n {\n \"id\": \"YPN9noMM\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center hover:underline no-underline\\\"],[14,\\\"test-id\\\",\\\"idea-title\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,1]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 italic hover:underline no-underline\\\"],[14,\\\"test-id\\\",\\\"idea-title\\\"],[12],[1,[28,[35,3],[\\\"dictionary.not-set\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@label\\\"],[\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/table-cell/title.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"title\"));\n});","define(\"scaleflow/components/ideas/wizard/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"ember-lifeline\", \"scaleflow/validators/idea\", \"ember-changeset\", \"aws-amplify\", \"uuid\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"quill\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _tracking, _emberLifeline, _idea, _emberChangeset, _awsAmplify, _uuid, _quill2ImageUploader, _imageFormat, _quill, _quillImageResize, _registerIfNotRegistered, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"ember-lifeline\",0,\"scaleflow/validators/idea\",0,\"ember-changeset\",0,\"aws-amplify\",0,\"uuid\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"quill\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n <:title>\n {{if this.isEdit (t \"dictionary.edit\") (t \"dictionary.add\")}}\n {{t \"idea.title\" num=1}}\n \n <:steps>\n {{#let (array \"Step 1\" \"Step 2\") as |steps|}}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n \n \n {{#if this.formIsInitialized}}\n \n {{#if (eq this.activeStep 0)}}\n
    \n

    \n Step 1\n

    \n
    \n \n {{#let this.ideaChangeset as |changeset|}}\n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {{! Status field commented out for now }}\n
    \n \n
    \n \n {{t \"dictionary.description\"}}\n *\n \n \n \n
    \n
    \n \n
    \n {{#if (and this.isEdit @idea.canEditIdea)}}\n \n {{t \"dictionary.delete\"}}\n {{t \"idea.title\" num=1}}\n \n {{/if}}\n \n \n {{t \"dictionary.cancel\"}}\n \n \n {{#if @idea.canEditIdea}}\n \n {{t \"dictionary.save-and-close\"}}\n \n {{/if}}\n \n {{t \"dictionary.next\"}}\n \n
    \n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n
    \n

    \n Step 2\n

    \n

    Idea:\n {{this.ideaChangeset.title}}

    \n
    \n \n {{#let this.ideaChangeset as |changeset|}}\n
    \n
    \n \n {{! Source field - NEW }}\n
    \n \n
    \n \n {{! Department field }}\n
    \n \n \n {{#if (eq this.selectedDepartments.length 0)}}\n {{t \"dictionary.select\"}}\n {{t \"department.title\" num=2}}\n {{else}}\n \n {{get this.firstDepartment \"name\"}}\n {{#if this.hasMoreThanOneDepartment}}\n +{{this.hasMoreThanOneDepartment}}\n {{/if}}\n {{/if}}\n \n \n {{#if @idea.canEditIdea}}\n \n {{/if}}\n \n
    \n \n {{! Customers field }}\n
    \n \n \n {{#if (eq this.selectedCustomers.length 0)}}\n {{t \"dictionary.select\"}}\n {{t \"customer.title\" num=2}}\n {{else}}\n \n {{get this.firstCustomer \"name\"}}\n {{#if this.hasMoreThanOneCustomer}}\n +{{this.hasMoreThanOneCustomer}}\n {{/if}}\n {{/if}}\n \n {{#if @idea.canEditIdea}}\n \n {{/if}}\n \n
    \n \n {{! Area field }}\n
    \n \n \n {{#if (eq this.selectedAreas.length 0)}}\n {{t\n \"dictionary.select\"\n }}\n {{t \"area.title\" num=2}}\n {{else}}\n \n {{get this.firstArea \"name\"}}\n {{#if this.hasMoreThanOneArea}}\n +{{this.hasMoreThanOneArea}}\n {{/if}}\n {{/if}}\n \n \n {{#if @idea.canEditIdea}}\n \n {{/if}}\n \n
    \n \n {{! Revenue existing }}\n
    \n \n
    \n \n {{! Revenue potential }}\n
    \n \n
    \n \n {{! Theme/Tags field }}\n
    \n \n \n {{#if (eq this.selectedThemes.length 0)}}\n {{t\n \"dictionary.select\"\n }}\n {{t \"dictionary.themes\" num=2}}\n {{else}}\n \n {{get this.firstTheme \"title\"}}\n {{#if this.hasMoreThanOneTheme}}\n +{{this.hasMoreThanOneTheme}}\n {{/if}}\n {{/if}}\n \n \n {{#if @idea.canEditIdea}}\n \n {{/if}}\n \n
    \n \n {{! Deadline field with clear button }}\n
    \n
    \n \n
    \n \n {{#if changeset.deadline}}\n {{moment-format\n changeset.deadline\n \"MMM DD,\n YYYY\"\n }}\n {{else}}\n {{t \"dictionary.choose-date\"}}\n {{/if}}\n \n {{#if @idea.canEditIdea}}\n \n {{/if}}\n \n \n {{#if changeset.deadline}}\n {{#if @idea.canEditIdea}}\n \n x\n \n {{/if}}\n {{/if}}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n \n {{t \"dictionary.go-back\"}}\n \n \n {{#if @idea.canEditIdea}}\n \n {{t \"dictionary.save-and-close\"}}\n \n {{/if}}\n
    \n {{/let}}\n \n {{#if this.departmentFormIsVisible}}\n \n {{/if}}\n \n {{#if this.customerFormIsVisible}}\n \n {{/if}}\n \n {{#if this.areaFormIsVisible}}\n \n {{/if}}\n \n {{#if this.themeFormisVisible}}\n \n {{/if}}\n \n {{/if}}\n \n
    \n {{/if}}\n \n \n \n \n {{#if this.errorMessage}}\n \n {{/if}}\n */\n {\n \"id\": \"CySz2/+k\",\n \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"cancelForm\\\"]]],null],[4,[38,2],[[30,0,[\\\"initializeForm\\\"]]],null]],[[\\\"@onClose\\\",\\\"@height\\\",\\\"@width\\\"],[[30,0,[\\\"cancelForm\\\"]],\\\"w-[1024px]\\\",\\\"h-[769px]\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,6],[\\\"dictionary.edit\\\"],null],[28,[37,6],[\\\"dictionary.add\\\"],null]]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[44,[[28,[37,9],[\\\"Step 1\\\",\\\"Step 2\\\"],null]],[[[42,[28,[37,11],[[28,[37,11],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,12],[[4,[38,14],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,13],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"formIsInitialized\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Step 1\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"ideaChangeset\\\"]]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow flex flex-col w-\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\",\\\"@disabled\\\"],[\\\"title\\\",[29,[[28,[37,6],[\\\"dictionary.title\\\"],null],\\\" *\\\"]],\\\"Enter idea title\\\",[30,4,[\\\"title\\\"]],[30,4],true,\\\"!normal-case\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4 idea-description grow flex flex-col\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.description\\\"],null]],[1,\\\"\\\\n *\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,22],[[24,0,\\\"grow textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto h-[200px] bg-white compressed-lines\\\"]],[[\\\"@bounds\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\",\\\"@modules\\\",\\\"@enabled\\\"],[\\\".idea-description\\\",\\\"bubble\\\",[30,4,[\\\"description\\\"]],[28,[37,15],[[30,0,[\\\"onDescriptionChange\\\"]],[30,4]],null],[30,0,[\\\"modules\\\"]],[30,5,[\\\"canEditIdea\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,23],[[30,0,[\\\"isEdit\\\"]],[30,5,[\\\"canEditIdea\\\"]]],null],[[[1,\\\" \\\"],[8,[39,24],[[24,0,\\\"text-sm mr-auto\\\"],[24,\\\"test-id\\\",\\\"delete-idea\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"startDeleteProcess\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"cancel\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"cancelForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,26],[[24,\\\"test-id\\\",\\\"save-and-close\\\"],[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"idea\\\",\\\"isSaving\\\"]],[28,[30,0,[\\\"isStep1Invalid\\\"]],[[30,4]],null]],null]],[24,4,\\\"submit\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"saveAndClose\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.save-and-close\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,26],[[24,\\\"test-id\\\",\\\"next\\\"],[4,[38,14],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,13],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Step 2\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Idea:\\\\n \\\"],[1,[30,0,[\\\"ideaChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"ideaChangeset\\\"]]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-6\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6 source-section\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@type\\\",\\\"@labelClass\\\",\\\"@disabled\\\"],[\\\"source\\\",[29,[[28,[37,6],[\\\"_initiatives.source\\\"],[[\\\"num\\\"],[1]]]]],\\\"Eg: Customer call, Support ticket \\\",[30,6,[\\\"source\\\"]],[30,6],\\\"text\\\",\\\"!normal-case\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6 department-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,6],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white mt-1 shadow-sm\\\"],[14,\\\"test-id\\\",\\\"department-value\\\"],[15,\\\"disabled\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"selectedDepartments\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-department\\\"],[12],[1,[28,[35,6],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,30],[[30,0,[\\\"firstDepartment\\\"]],\\\"name\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasMoreThanOneDepartment\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[14,\\\"test-id\\\",\\\"department-remaining-count\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"hasMoreThanOneDepartment\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"ml-auto w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"departments-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"departmentsList\\\"]],[30,0,[\\\"selectedDepartmentIds\\\"]],[30,0,[\\\"handleDepartmentsChange\\\"]],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"department.title\\\"],[[\\\"num\\\"],[2]]]]]],true,true,true,[30,0,[\\\"toggleDepartmentForm\\\"]],[28,[37,6],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"customers-section space-y-1 col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white shadow-sm\\\"],[15,\\\"disabled\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"selectedCustomers\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-customer\\\"],[12],[1,[28,[35,6],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[14,\\\"test-id\\\",\\\"customer-name\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,30],[[30,0,[\\\"firstCustomer\\\"]],\\\"name\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasMoreThanOneCustomer\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[14,\\\"test-id\\\",\\\"customer-remaining-count\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"hasMoreThanOneCustomer\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"ml-auto w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"customers-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@label\\\",\\\"@handleAddItem\\\"],[[30,0,[\\\"customersList\\\"]],[30,0,[\\\"selectedCustomerIds\\\"]],[30,0,[\\\"handleCustomersChange\\\"]],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[2]]]]]],true,true,true,[28,[37,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]],[30,0,[\\\"toggleCustomerForm\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6 area-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,6],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white mt-1 shadow-sm\\\"],[14,\\\"test-id\\\",\\\"area-value\\\"],[15,\\\"disabled\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"selectedAreas\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-area\\\"],[12],[1,[28,[35,6],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,30],[[30,0,[\\\"firstArea\\\"]],\\\"name\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasMoreThanOneArea\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[14,\\\"test-id\\\",\\\"area-remaining-count\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"hasMoreThanOneArea\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"ml-auto w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"areas-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@label\\\",\\\"@handleAddItem\\\"],[[30,0,[\\\"areasList\\\"]],[30,0,[\\\"selectedAreaIds\\\"]],[30,0,[\\\"handleAreasChange\\\"]],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"area.title\\\"],[[\\\"num\\\"],[2]]]]]],true,true,true,[28,[37,6],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]],[30,0,[\\\"toggleAreaForm\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@type\\\",\\\"@labelClass\\\",\\\"@disabled\\\"],[\\\"revenue_existing\\\",[29,[[28,[37,6],[\\\"idea.revenue-existing\\\"],null]]],\\\"Enter current revenue\\\",[30,6,[\\\"revenue_existing\\\"]],[30,6],\\\"text\\\",\\\"!normal-case\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@type\\\",\\\"@labelClass\\\",\\\"@disabled\\\"],[\\\"revenue_potential\\\",[29,[[28,[37,6],[\\\"idea.revenue-potential\\\"],null]]],\\\"Enter potential revenue\\\",[30,6,[\\\"revenue_potential\\\"]],[30,6],\\\"text\\\",\\\"!normal-case\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"themes-section space-y-1 col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,6],[\\\"dictionary.themes\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white shadow-sm\\\"],[15,\\\"disabled\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,13],[[30,0,[\\\"selectedThemes\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-goal\\\"],[12],[1,[28,[35,6],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.themes\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[14,\\\"test-id\\\",\\\"theme-title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,30],[[30,0,[\\\"firstTheme\\\"]],\\\"title\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasMoreThanOneTheme\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[14,\\\"test-id\\\",\\\"theme-remaining-count\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"hasMoreThanOneTheme\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"ml-auto w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[24,\\\"test-id\\\",\\\"themes-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@label\\\",\\\"@handleAddItem\\\"],[[30,0,[\\\"themesList\\\"]],[30,0,[\\\"selectedThemeIds\\\"]],[30,0,[\\\"handleThemesChange\\\"]],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"dictionary.themes\\\"],[[\\\"num\\\"],[2]]]]]],true,true,true,[28,[37,6],[\\\"dictionary.themes\\\"],[[\\\"num\\\"],[1]]],[30,0,[\\\"toggleThemeForm\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-6 deadline-section\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"idea.deadline\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white shadow-sm\\\"],[24,\\\"test-id\\\",\\\"idea-deadline\\\"],[16,\\\"disabled\\\",[28,[37,20],[[30,5,[\\\"canEditIdea\\\"]]],null]],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"openDatePicker\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"deadline\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm\\\"],[14,\\\"test-id\\\",\\\"deadline-value\\\"],[12],[1,[28,[35,33],[[30,6,[\\\"deadline\\\"]],\\\"MMM DD,\\\\n YYYY\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-deadline\\\"],[12],[1,[28,[35,6],[\\\"dictionary.choose-date\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,34],null,[[\\\"@onDateChange\\\",\\\"@onReady\\\",\\\"@allowAllDates\\\",\\\"@extraClass\\\",\\\"@value\\\"],[[28,[37,15],[[30,0,[\\\"handleDateChange\\\"]],[30,6]],null],[30,0,[\\\"onDatePickerReady\\\"]],true,\\\"w-full border-0 p-0 invisible absolute\\\",[30,6,[\\\"deadline\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"w-4 h-4 text-gray-500 ml-auto\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"deadline\\\"]],[[[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,35],[[24,0,\\\"shadow-sm bg-gray-200\\\"],[24,\\\"test-id\\\",\\\"clear-deadline\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"clearDeadline\\\"]],[30,6]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"w-4 h-4 text-gray-900 text-xs rounded-full inline-block\\\"],[12],[1,\\\"x\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"go-back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,5,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[8,[39,26],[[24,\\\"test-id\\\",\\\"save-and-close\\\"],[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"idea\\\",\\\"isSaving\\\"]],[28,[30,0,[\\\"isStep1Invalid\\\"]],[[30,6]],null]],null]],[24,4,\\\"submit\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"saveAndClose\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.save-and-close\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[6]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"departmentFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,36],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleDepartmentForm\\\"]],[30,0,[\\\"handleAddDepartmentToIdea\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"customerFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,37],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleCustomerForm\\\"]],[30,0,[\\\"handleAddCustomerToIdea\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"areaFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,38],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleAreaForm\\\"]],[30,0,[\\\"handleAddAreaToIdea\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"themeFormisVisible\\\"]],[[[1,\\\" \\\"],[8,[39,39],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleThemeForm\\\"]],[30,0,[\\\"handleAddThemeToIdea\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]],null]],[]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,40],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\",\\\"@title\\\"],[[30,0,[\\\"showDeleteModal\\\"]],[30,0,[\\\"selectedIdea\\\"]],[30,0,[\\\"deleteIdea\\\"]],[30,0,[\\\"handleDismissDeleteModal\\\"]],[28,[37,6],[\\\"dictionary.confirm-delete\\\"],[[\\\"resource_type\\\",\\\"resource_name\\\"],[[28,[37,6],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]],[30,0,[\\\"selectedIdea\\\",\\\"title\\\"]]]]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"errorMessage\\\"]],[[[1,\\\" \\\"],[8,[39,41],null,[[\\\"@title\\\",\\\"@text\\\",\\\"@icon\\\",\\\"@willClose\\\"],[[28,[37,6],[\\\"dictionary.oh-no\\\"],null],[30,0,[\\\"errorMessage\\\"]],\\\"error\\\",[30,0,[\\\"handleAlertClose\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"@idea\\\",\\\"changeset\\\"],[\\\"wizard\\\",\\\"on-escape\\\",\\\"render-modifiers/on-insert\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\"if\\\",\\\"t\\\",\\\":steps\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"atoms/forms/input\\\",\\\"not\\\",\\\"label\\\",\\\"quill-editor\\\",\\\"and\\\",\\\"atoms/buttons/button\\\",\\\"button\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"p\\\",\\\"span\\\",\\\"get\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/multi-select\\\",\\\"moment-format\\\",\\\"planning-date-picker\\\",\\\"atoms/buttons/icon\\\",\\\"quick-adds/department\\\",\\\"quick-adds/customer\\\",\\\"quick-adds/area\\\",\\\"quick-adds/theme\\\",\\\"goals/delete-modal\\\",\\\"sweet-alert\\\"]]\",\n \"moduleName\": \"scaleflow/components/ideas/wizard/index.hbs\",\n \"isStrictMode\": false\n });\n\n // Register Quill modules\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n const description_template = {\n ops: [{\n attributes: {\n bold: true\n },\n insert: 'How will this idea help?'\n }, {\n insert: '\\n\\n\\n'\n }, {\n attributes: {\n bold: true\n },\n insert: 'How should it work?'\n }, {\n insert: '\\n\\n\\n'\n }, {\n attributes: {\n bold: true\n },\n insert: 'Who will benefit from this idea?'\n }, {\n insert: '\\n\\n\\n\\n\\n'\n }]\n };\n let IdeasWizardComponent = _exports.default = (_class = class IdeasWizardComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"intl\", _descriptor4, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor5, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor6, this);\n _defineProperty(this, \"ideaValidations\", _idea.default);\n _initializerDefineProperty(this, \"activeStep\", _descriptor7, this);\n _defineProperty(this, \"ideaChangeset\", _object.default.create({}));\n _initializerDefineProperty(this, \"selectedDepartments\", _descriptor8, this);\n _initializerDefineProperty(this, \"selectedAreas\", _descriptor9, this);\n _initializerDefineProperty(this, \"errorMessage\", _descriptor0, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor1, this);\n _initializerDefineProperty(this, \"selectedIdea\", _descriptor10, this);\n _initializerDefineProperty(this, \"selectedThemes\", _descriptor11, this);\n _initializerDefineProperty(this, \"selectedCustomers\", _descriptor12, this);\n _initializerDefineProperty(this, \"formIsInitialized\", _descriptor13, this);\n _defineProperty(this, \"datePickerInstance\", null);\n /**\n * Quick add functions\n */\n _initializerDefineProperty(this, \"departmentFormIsVisible\", _descriptor14, this);\n _initializerDefineProperty(this, \"customerFormIsVisible\", _descriptor15, this);\n _initializerDefineProperty(this, \"areaFormIsVisible\", _descriptor16, this);\n _initializerDefineProperty(this, \"themeFormisVisible\", _descriptor17, this);\n }\n get idea() {\n return this.args.idea;\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n handleThemesChange(themeIds) {\n const themes = themeIds.map(id => this.store.peekRecord('theme', id));\n this.selectedThemes = themes;\n }\n handleDepartmentsChange(departmentIds) {\n const departments = departmentIds.map(id => this.store.peekRecord('department', id));\n this.selectedDepartments = departments;\n }\n handleAreasChange(areaIds) {\n const areas = areaIds.map(id => this.store.peekRecord('area', id));\n this.selectedAreas = areas;\n }\n handleCustomersChange(customerIds) {\n const customers = customerIds.map(id => this.store.peekRecord('customer', id));\n this.selectedCustomers = customers;\n }\n get themesList() {\n const themes = this.store.peekAll('theme').map(item => ({\n value: item.id,\n label: item.title,\n color: item.color\n }));\n return themes;\n }\n get selectedThemeIds() {\n return this.selectedThemes.map(goal => goal.id);\n }\n get firstTheme() {\n return this.selectedThemes?.[0];\n }\n get hasMoreThanOneTheme() {\n return this.selectedThemes.length > 1 ? this.selectedThemes.length - 1 : false;\n }\n get selectedDepartmentIds() {\n return this.selectedDepartments.map(department => department.id);\n }\n get firstDepartment() {\n return this.selectedDepartments?.[0];\n }\n get hasMoreThanOneDepartment() {\n return this.selectedDepartments.length > 1 ? this.selectedDepartments.length - 1 : false;\n }\n get selectedAreaIds() {\n return this.selectedAreas.map(area => area.id);\n }\n get firstArea() {\n return this.selectedAreas?.[0];\n }\n get hasMoreThanOneArea() {\n return this.selectedAreas.length > 1 ? this.selectedAreas.length - 1 : false;\n }\n get statusOptions() {\n return this.betaToggle.ideaStatusOptions;\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n handleStatusSelect(changeset, status) {\n changeset.set('status', status.value);\n }\n clearStatusSelect(changeset) {\n changeset.set('status', null);\n }\n onDescriptionChange(changeset, delta) {\n changeset.set('description', delta);\n }\n handleDateChange(changeset, date) {\n changeset.set('deadline', date);\n }\n onDatePickerReady(instance) {\n this.datePickerInstance = instance;\n }\n openDatePicker() {\n this.datePickerInstance?.open();\n }\n goToListPage() {\n this.router.transitionTo('backlog.ideas.list', {\n queryParams: {\n refresher: this.router.currentRoute?.queryParams.refresher ? !this.router.currentRoute.queryParams.refresher : true\n }\n });\n }\n closeWizard() {\n this.goToListPage();\n }\n cancelForm() {\n this.ideaChangeset?.rollback?.();\n if (!this.idea.id) {\n this.idea.deleteRecord();\n }\n this.closeWizard();\n }\n deleteIdea() {\n if (this.selectedIdea) {\n this.selectedIdea.destroyRecord().then(() => {\n this.goToListPage();\n this.handleDismissDeleteModal();\n }).catch(err => {\n const error = err.errors?.[0];\n if (!error?.detail) return;\n const message = JSON.parse(error.detail)?.[0]?.[1];\n if (!message) return;\n this.errorMessage = message;\n });\n }\n }\n async saveAndClose() {\n try {\n const idea = this.idea;\n idea.mapChangesetToAttributes(this.ideaChangeset.changes);\n // Set departments relationship\n if (this.selectedDepartments.length) {\n idea.set('departments', this.selectedDepartments);\n }\n // Set areas relationship\n if (this.selectedAreas.length) {\n idea.set('areas', this.selectedAreas);\n }\n\n // Set themes relationship\n if (this.selectedThemes.length) {\n idea.set('themes', this.selectedThemes);\n }\n\n // Set customers relationship\n if (this.selectedCustomers.length) {\n idea.set('customers', this.selectedCustomers);\n }\n idea.set('submitter', this.currentUser.currentUser);\n await idea.save();\n this.closeWizard();\n } catch (error) {\n console.error('Error saving idea:', error);\n this.errorMessage = 'Failed to save idea. Please try again.';\n }\n }\n isStep1Invalid(changeset) {\n // Check if title is empty or untouched AND description is empty/untouched\n const titleEmpty = !changeset.get('title') || changeset.get('title').trim() === '';\n const descriptionEmpty = !changeset.get('description') || !changeset.get('description').ops || changeset.get('description').ops.length === 0 || changeset.get('description').ops.length === 1 && changeset.get('description').ops[0].insert === '\\n';\n return titleEmpty || descriptionEmpty;\n }\n handleAlertClose() {\n this.errorMessage = '';\n }\n ideaValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(this.ideaValidations, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n get departmentsList() {\n const departments = this.store.peekAll('department').filter(d => !d.isNew).map(item => ({\n value: item.id,\n label: item.name\n }));\n return departments;\n }\n get areasList() {\n const areas = this.store.peekAll('area').filter(a => !a.isNew).map(item => ({\n value: item.id,\n label: item.name\n }));\n return areas;\n }\n get customersList() {\n const customers = this.store.peekAll('customer').filter(c => !c.isNew).map(item => ({\n value: item.id,\n label: item.name\n }));\n return customers;\n }\n get selectedCustomerIds() {\n return this.selectedCustomers.map(customer => customer.id);\n }\n get firstCustomer() {\n return this.selectedCustomers?.[0];\n }\n get hasMoreThanOneCustomer() {\n return this.selectedCustomers.length > 1 ? this.selectedCustomers.length - 1 : false;\n }\n clearDeadline(changeset) {\n changeset.set('deadline', null);\n }\n get isEdit() {\n return !!this.idea?.id;\n }\n prepopulateFields(changeset) {\n changeset.set('status', 'NEW');\n changeset.set('description', description_template);\n }\n initializeForm() {\n (0, _emberLifeline.scheduleTask)(this, 'actions', () => {\n const ideaChangeset = (0, _emberChangeset.Changeset)(this.idea.changeset_object, this.ideaValidator);\n this.ideaChangeset = ideaChangeset;\n if (!this.idea.id) this.prepopulateFields(ideaChangeset);\n this.selectedDepartments = this.idea.departments?.content || [];\n this.selectedAreas = this.idea.areas?.content || [];\n this.selectedThemes = this.idea.themes?.content || [];\n this.selectedCustomers = this.idea.customers?.content || [];\n this.formIsInitialized = true;\n });\n }\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n handleDismissDeleteModal() {\n this.selectedIdea = null;\n this.toggleDeleteModal(false);\n }\n setInvestmentValue(changeset, event) {\n const ppw = this.organisation.ppw;\n const effort = +event.target.value;\n if (isNaN(ppw) && isNaN(effort)) return;\n changeset.set('investment', ppw * effort);\n }\n startDeleteProcess() {\n this.toggleDeleteModal(true);\n this.selectedIdea = this.idea;\n }\n toggleDepartmentForm(val) {\n if (val !== undefined) this.departmentFormIsVisible = val;else this.departmentFormIsVisible = !this.departmentFormIsVisible;\n }\n handleAddDepartmentToIdea(department) {\n const departments = [...this.selectedDepartments];\n departments.push(department);\n this.selectedDepartments = departments;\n }\n toggleCustomerForm(val) {\n if (val !== undefined) this.customerFormIsVisible = val;else this.customerFormIsVisible = !this.customerFormIsVisible;\n }\n handleAddCustomerToIdea(customer) {\n const customers = [...this.selectedCustomers];\n customers.push(customer);\n this.selectedCustomers = customers;\n }\n toggleAreaForm(val) {\n if (val !== undefined) this.areaFormIsVisible = val;else this.areaFormIsVisible = !this.areaFormIsVisible;\n }\n handleAddAreaToIdea(area) {\n const areas = [...this.selectedAreas];\n areas.push(area);\n this.selectedAreas = areas;\n }\n toggleThemeForm(val) {\n if (val !== undefined) this.themeFormisVisible = val;else this.themeFormisVisible = !this.themeFormisVisible;\n }\n handleAddThemeToIdea(theme) {\n const themes = [...this.selectedThemes];\n themes.push(theme);\n this.selectedThemes = themes;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedDepartments\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selectedAreas\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"selectedIdea\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"selectedThemes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"selectedCustomers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"formIsInitialized\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleThemesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemesChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDepartmentsChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDepartmentsChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAreasChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAreasChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCustomersChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCustomersChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDateChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDatePickerReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDatePickerReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDatePicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDatePicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveAndClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveAndClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isStep1Invalid\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isStep1Invalid\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAlertClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAlertClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"ideaValidator\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"ideaValidator\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearDeadline\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearDeadline\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initializeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initializeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setInvestmentValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setInvestmentValue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startDeleteProcess\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"startDeleteProcess\"), _class.prototype), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"departmentFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"customerFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"areaFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"themeFormisVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleDepartmentForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDepartmentForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddDepartmentToIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddDepartmentToIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCustomerForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCustomerForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddCustomerToIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddCustomerToIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleAreaForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleAreaForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddAreaToIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddAreaToIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleThemeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleThemeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAddThemeToIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAddThemeToIdea\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IdeasWizardComponent);\n});","define(\"scaleflow/components/initiatives/card\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{if\n this.initiative.title\n (substring this.initiative.title 0 1 \"\")\n }}\n \n
    \n {{this.initiative.title}}\n \n
    \n {{#if this.fields.effort}}\n
    \n \n \n \n \n \n \n \n \n \n \n

    \n {{to-fixed this.initiative.person_weeks}}pw

    \n
    \n {{/if}}\n \n {{#if this.fields.uncertainties}}\n
    \n \n \n \n

    \n {{this.initiative.uncertainties.length}}\n

    \n
    \n {{/if}}\n {{#if this.fields.waiting}}\n
    \n \n \n \n

    \n {{this.initiative.wfas.length}}

    \n
    \n {{/if}}\n {{#if this.fields.tickets}}\n {{#unless (eq this.initiative.totalTickets 0)}}\n
    \n \n

    \n {{this.initiative.closedTicketsPercentage}}%\n

    \n
    \n {{/unless}}\n {{/if}}\n
    \n {{#if this.fields.updatedAt}}\n
    \n
    \n

    Last update:

    \n
    \n {{this.initiative.humanReadableUpdatedAt}}\n
    \n
    \n
    \n {{/if}}\n
    \n \n \n */\n {\n \"id\": \"wYvTVQEY\",\n \"block\": \"[[[11,\\\"li\\\"],[24,0,\\\"flex rounded-md shadow-sm relative\\\"],[17,1],[4,[38,1],[[30,0,[\\\"loadInitiativeIfAsync\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"flex w-3 flex-shrink-0 items-center justify-center\\\\n \\\",[28,[37,3],[[30,0,[\\\"initiative\\\",\\\"progress\\\"]]],null],\\\"\\\\n rounded-l-md text-sm font-medium text-white uppercase\\\"]]],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[28,[37,5],[[30,0,[\\\"openSlideover\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null]],null],[12],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[52,[30,0,[\\\"initiative\\\",\\\"title\\\"]],[28,[37,8],[[30,0,[\\\"initiative\\\",\\\"title\\\"]],0,1,\\\"\\\"],null]]],[13],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-1 items-center justify-between truncate rounded-r-md border-b border-r border-t border-gray-200 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 truncate px-4 py-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"font-medium text-gray-900 hover:text-gray-600 w-full text-left overflow-hidden pr-4 text-wrap\\\"],[24,\\\"test-id\\\",\\\"ic-title\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[28,[37,5],[[30,0,[\\\"openSlideover\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null]],null],[12],[1,[30,0,[\\\"initiative\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-4 mt-1.5\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fields\\\",\\\"effort\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex gap-2 justify-items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"width\\\",\\\"17\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"viewBox\\\",\\\"0 0 17 16\\\"],[14,\\\"fill\\\",\\\"none\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_381_1529)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M10.2439 4.80002C10.2439 5.9299 9.32792 6.84585 8.19804 6.84585C7.06816 6.84585 6.15221 5.9299 6.15221 4.80002C6.15221 3.67014 7.06816 2.75419 8.19804 2.75419C9.32792 2.75419 10.2439 3.67014 10.2439 4.80002ZM14.2439 6.40002C14.2439 7.08807 13.6861 7.64585 12.998 7.64585C12.31 7.64585 11.7522 7.08807 11.7522 6.40002C11.7522 5.71197 12.31 5.15419 12.998 5.15419C13.6861 5.15419 14.2439 5.71197 14.2439 6.40002ZM8.19804 9.15419C9.76975 9.15419 11.0439 10.4283 11.0439 12V14.0458H5.35221V12C5.35221 10.4283 6.62633 9.15419 8.19804 9.15419ZM4.64388 6.40002C4.64388 7.08807 4.0861 7.64585 3.39805 7.64585C2.70999 7.64585 2.15221 7.08807 2.15221 6.40002C2.15221 5.71197 2.70999 5.15419 3.39805 5.15419C4.0861 5.15419 4.64388 5.71197 4.64388 6.40002ZM13.3522 14.0458V12C13.3522 11.274 13.2019 10.5824 12.9306 9.95527C12.953 9.95455 12.9755 9.95418 12.998 9.95418C14.1279 9.95418 15.0439 10.8701 15.0439 12V14.0458H13.3522ZM3.04388 12V14.0458H1.35221V12C1.35221 10.8701 2.26816 9.95418 3.39805 9.95418C3.42062 9.95418 3.44311 9.95455 3.46549 9.95527C3.19418 10.5824 3.04388 11.274 3.04388 12Z\\\"],[14,\\\"fill\\\",\\\"#9CA3AF\\\"],[14,\\\"stroke\\\",\\\"#9CA3AF\\\"],[14,\\\"stroke-width\\\",\\\"0.708333\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_381_1529\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"16\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(0.199219)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs\\\"],[14,\\\"test-id\\\",\\\"ic-pw\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,17],[[30,0,[\\\"initiative\\\",\\\"person_weeks\\\"]]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fields\\\",\\\"uncertainties\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex gap-2 justify-items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"width\\\",\\\"17\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"viewBox\\\",\\\"0 0 17 16\\\"],[14,\\\"fill\\\",\\\"none\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M14.9992 8.00004C14.9992 11.5347 12.1338 14.4 8.59922 14.4C5.0646 14.4 2.19922 11.5347 2.19922 8.00004C2.19922 4.46541 5.0646 1.60004 8.59922 1.60004C12.1338 1.60004 14.9992 4.46541 14.9992 8.00004ZM8.59923 5.60004C8.30412 5.60004 8.0453 5.75941 7.90577 6.00062C7.68453 6.38307 7.19515 6.51376 6.8127 6.29252C6.43025 6.07129 6.29956 5.5819 6.5208 5.19946C6.93456 4.48418 7.70988 4.00004 8.59923 4.00004C9.92471 4.00004 10.9992 5.07455 10.9992 6.40004C10.9992 7.44501 10.3314 8.334 9.39923 8.66347V8.80004C9.39923 9.24186 9.04106 9.60004 8.59923 9.60004C8.1574 9.60004 7.79923 9.24186 7.79923 8.80004V8.00004C7.79923 7.55821 8.1574 7.20004 8.59923 7.20004C9.04106 7.20004 9.39923 6.84186 9.39923 6.40004C9.39923 5.95821 9.04106 5.60004 8.59923 5.60004ZM8.59922 12C9.04105 12 9.39922 11.6419 9.39922 11.2C9.39922 10.7582 9.04105 10.4 8.59922 10.4C8.15739 10.4 7.79922 10.7582 7.79922 11.2C7.79922 11.6419 8.15739 12 8.59922 12Z\\\"],[14,\\\"fill\\\",\\\"#F59E0B\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs\\\"],[14,\\\"test-id\\\",\\\"ic-unc\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"uncertainties\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"fields\\\",\\\"waiting\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex gap-2 justify-items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"width\\\",\\\"17\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"viewBox\\\",\\\"0 0 17 16\\\"],[14,\\\"fill\\\",\\\"none\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M8.59922 14.4C12.1338 14.4 14.9992 11.5347 14.9992 8.00004C14.9992 4.46541 12.1338 1.60004 8.59922 1.60004C5.0646 1.60004 2.19922 4.46541 2.19922 8.00004C2.19922 11.5347 5.0646 14.4 8.59922 14.4ZM6.99922 5.60004C6.55739 5.60004 6.19922 5.95821 6.19922 6.40004V9.60004C6.19922 10.0419 6.55739 10.4 6.99922 10.4H10.1992C10.641 10.4 10.9992 10.0419 10.9992 9.60004V6.40004C10.9992 5.95821 10.641 5.60004 10.1992 5.60004H6.99922Z\\\"],[14,\\\"fill\\\",\\\"#EF4444\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs\\\"],[14,\\\"test-id\\\",\\\"ic-wfa\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"wfas\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"fields\\\",\\\"tickets\\\"]],[[[41,[51,[28,[37,19],[[30,0,[\\\"initiative\\\",\\\"totalTickets\\\"]],0],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex gap-2 justify-items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs\\\"],[14,\\\"test-id\\\",\\\"ic-tickets\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"closedTicketsPercentage\\\"]]],[1,\\\"%\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fields\\\",\\\"updatedAt\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex space-x-4 mt-1.5 flex-row-reverse\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-2 justify-items-center text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[12],[1,\\\"Last update: \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,\\\"test-id\\\",\\\"ic-updated\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"humanReadableUpdatedAt\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"li\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"progress-to-bg\\\",\\\"on\\\",\\\"fn\\\",\\\"span\\\",\\\"if\\\",\\\"substring\\\",\\\"div\\\",\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"clipPath\\\",\\\"rect\\\",\\\"p\\\",\\\"to-fixed\\\",\\\"unless\\\",\\\"eq\\\",\\\"tailwind-icons/tickets\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/card.hbs\",\n \"isStrictMode\": false\n });\n let InitiativeCard = _exports.default = (_class = class InitiativeCard extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"_initiative\", _descriptor3, this);\n _defineProperty(this, \"defaultFields\", {\n uncertainties: true,\n waiting: true,\n effort: true,\n updatedAt: true,\n tickets: true\n });\n }\n get initiative() {\n if (this.args.async === true) return this._initiative;\n return this.args.initiative;\n }\n get fields() {\n return this.args.fields ?? this.defaultFields;\n }\n loadInitiativeIfAsync() {\n if (this.args.async !== true) return;\n this.store.findRecord('initiative', this.args.initiative.id, {\n reload: true\n }).then(initiative => {\n this._initiative = initiative;\n }).catch(error => {\n console.error('Error loading initiative:', error);\n });\n }\n openSlideover(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"_initiative\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadInitiativeIfAsync\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadInitiativeIfAsync\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSlideover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativeCard);\n});","define(\"scaleflow/components/initiatives/document/versions-slideover\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
    \n
    \n
    \n
    \n \n {{t \"_initiatives.versions\"}}\n \n
    \n
    \n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n {{#each @versions as |version|}}\n \n {{/each}}\n
    \n
    \n \n \n */\n {\n \"id\": \"zlYhuQSZ\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@overlay\\\",\\\"@isOpen\\\",\\\"@close\\\",\\\"@model\\\",\\\"@bounds\\\"],[false,[30,0,[\\\"isOpen\\\"]],[30,0,[\\\"closeSlideover\\\"]],[30,1],\\\".vs-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"vs-container flex flex-col h-full bg-white w-screen max-w-[348px] ml-auto shadow-md\\\"],[14,\\\"test-id\\\",\\\"versions-slideover\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"versions-slideover_header\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[14,1,\\\"vs-slide-over-title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.versions\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"closeSlideover\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"versions-slideover__body overflow-y-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"versions-slideover__list\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@onClick\\\",\\\"@actionLabel\\\",\\\"@itemClick\\\",\\\"@showLabelAlways\\\"],[[28,[37,3],[\\\"_initiatives.current-version\\\"],null],[30,2],[28,[37,3],[\\\"dictionary.save\\\"],null],[30,0,[\\\"revertToCurrentVersion\\\"]],true]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,3]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@version\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@actionLabel\\\",\\\"@itemClick\\\",\\\"@selectedVersion\\\"],[[30,4],[30,4,[\\\"formattedCreatedAt\\\"]],[28,[37,12],[[30,5],[30,4]],null],[28,[37,3],[\\\"_initiatives.restore\\\"],null],[28,[37,12],[[30,0,[\\\"handleVersionItemClick\\\"]],[30,4]],null],[30,6]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"@createVersion\\\",\\\"@versions\\\",\\\"version\\\",\\\"@restoreVersion\\\",\\\"@selectedVersion\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"initiatives/document/versions-slideover/version-item\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/document/versions-slideover.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesDocumentVersionsSlideoverComponent = _exports.default = (_class = class InitiativesDocumentVersionsSlideoverComponent extends _component2.default {\n get isOpen() {\n return this.args.isOpen;\n }\n onRender(element) {\n this.element = element;\n }\n closeSlideover() {\n this.args.closeSlideover();\n }\n onClick() {}\n revertToCurrentVersion() {\n this.args?.restoreToCurrentVersion?.();\n }\n handleVersionItemClick(version) {\n this.args?.onVersionItemClick?.(version);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revertToCurrentVersion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"revertToCurrentVersion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleVersionItemClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleVersionItemClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesDocumentVersionsSlideoverComponent);\n});","define(\"scaleflow/components/initiatives/document/versions-slideover/version-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{@label}}\n \n \n {{@actionLabel}}\n \n \n */\n {\n \"id\": \"BvwWiP/I\",\n \"block\": \"[[[10,0],[15,0,[29,[\\\"versions-slideover__item border-b border-gray-200 border-solid py-7 px-8 group hover:bg-gray-900/[0.04] relative h-[76px]\\\\n \\\",[52,[30,0,[\\\"isActive\\\"]],\\\"bg-indigo-600/[0.08]\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"versions-slideover_item-title h-full w-full text-left\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-normal text-sm text-gray-800\\\"],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"action-button\\\"],[16,0,[29,[[52,[30,3],\\\"block\\\",\\\"hidden group-hover:block\\\"],\\\"\\\\n text-xs leading-4 font-medium text-indigo-700 absolute right-6 top-[50%] -translate-y-[50%]\\\"]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@itemClick\\\",\\\"@label\\\",\\\"@showLabelAlways\\\",\\\"@onClick\\\",\\\"@actionLabel\\\"],[\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/document/versions-slideover/version-item.hbs\",\n \"isStrictMode\": false\n });\n class InitiativesDocumentVersionsSlideoverVersionItemComponent extends _component2.default {\n get isActive() {\n return this.args?.selectedVersion && this?.args?.selectedVersion?.id === this?.args?.version?.id;\n }\n }\n _exports.default = InitiativesDocumentVersionsSlideoverVersionItemComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesDocumentVersionsSlideoverVersionItemComponent);\n});","define(\"scaleflow/components/initiatives/forms/general-details\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n

    {{t\n \"_initiatives.general-details\"\n }}

    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n {{#if @changeset.id}}\n {{#if @changeset.summary}}\n \n \n \n
    \n {{else}}\n \n {{/if}}\n {{else}}\n
    \n \n \n
    \n {{/if}}\n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n \n
    \n
    \n {{t \"_initiatives.status\"}}

    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.source\" num=1}}

    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n \n {{#if (eq @changeset.goals.length 0)}}\n {{t\n \"dictionary.select\"\n }}\n {{t \"_initiatives.goals\" num=2}}\n {{else}}\n \n {{get (this.firstGoal @changeset) \"title\"}}\n {{#if (this.hasMoreThanOneGoal @changeset)}}\n +{{this.hasMoreThanOneGoal @changeset}}\n {{/if}}\n \n {{/if}}\n \n \n \n \n
    \n
    \n
    \n {{! Themes }}\n
    \n \n \n {{#if (get @changeset \"theme.id\")}}\n \n {{get @changeset \"theme.title\"}}\n {{else}}\n {{t\n \"dictionary.select\"\n }}\n {{t\n \"_initiatives.themes\"\n num=1\n }}\n {{/if}}\n \n \n \n \n \n
    \n
    \n
    \n \n
    \n \n \n */\n {\n \"id\": \"P+6gl0Fv\",\n \"block\": \"[[[10,0],[14,0,\\\"w-full space-y-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800 mb-8\\\"],[14,\\\"test-id\\\",\\\"form-title\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.general-details\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-2/3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,2],[\\\"_initiatives.table.title\\\"],null],[28,[37,2],[\\\"_initiatives.table.title\\\"],null],[30,1,[\\\"title\\\"]],[30,1],[30,0,[\\\"handleBlur\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 basis-1/3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@onBlur\\\",\\\"@autofocus\\\"],[\\\"abbreviation\\\",[28,[37,2],[\\\"_initiatives.abbreviation\\\"],null],[28,[37,2],[\\\"_initiatives.abbreviation\\\"],null],[30,1,[\\\"abbreviation\\\"]],[30,1],[30,0,[\\\"handleBlur\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"id\\\"]],[[[41,[30,1,[\\\"summary\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 summary-container\\\"],[15,1,[29,[\\\"description-\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.description\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!mt-0 block w-full rounded-md border-0 py-1.5 pl-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\"],[[29,[\\\"+ \\\",[28,[37,2],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,8],[[28,[37,2],[\\\"_initiatives.description\\\"],null]],null]]],[30,1,[\\\"summary\\\"]],\\\".summary-container\\\",\\\"bubble\\\",[28,[37,9],[[30,0,[\\\"setDelta\\\"]],[30,1]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"bg-white\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@changeset\\\",\\\"@value\\\",\\\"@onBlur\\\"],[\\\"description\\\",[28,[37,2],[\\\"_initiatives.description\\\"],null],[28,[37,2],[\\\"_initiatives.description\\\"],null],[30,1],[30,1,[\\\"description\\\"]],[30,0,[\\\"handleBlur\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 description\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"description\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.description\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"!mt-0 block w-full rounded-md border-0 py-1.5 pl-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\"],[[29,[\\\"+ \\\",[28,[37,2],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,8],[[28,[37,2],[\\\"_initiatives.description\\\"],null]],null]]],[30,1,[\\\"summary\\\"]],\\\".description\\\",\\\"bubble\\\",[28,[37,9],[[30,0,[\\\"setDelta\\\"]],[30,1]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@changeset\\\",\\\"@value\\\",\\\"@onBlur\\\"],[\\\"initiative_doc\\\",[28,[37,2],[\\\"_initiatives.document-link\\\"],null],[28,[37,2],[\\\"_initiatives.document-link\\\"],null],[30,1],[30,1,[\\\"initiative_doc\\\"]],[30,0,[\\\"handleBlur\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@changeset\\\",\\\"@value\\\",\\\"@onBlur\\\"],[\\\"approach\\\",[28,[37,2],[\\\"_initiatives.planning-link\\\"],null],[28,[37,2],[\\\"_initiatives.planning-link\\\"],null],[30,1],[30,1,[\\\"approach\\\"]],[30,0,[\\\"handleBlur\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"status-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-2\\\"],[14,\\\"data-toc\\\",\\\"status-settings\\\"],[14,1,\\\"status-settings\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col\\\"],[14,1,\\\"status-options\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@handleOptionSelect\\\",\\\"@name\\\"],[[30,0,[\\\"betaService\\\",\\\"statusOptions\\\"]],[30,1,[\\\"status\\\"]],[28,[37,9],[[30,0,[\\\"handleStatusSelect\\\"]],[30,1]],null],\\\"statusname\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2 pl-8 space-y-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"source-container space-y-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-2\\\"],[14,1,\\\"source-settings\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.source\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col\\\"],[14,1,\\\"source-options\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@handleOptionSelect\\\",\\\"@name\\\"],[[30,0,[\\\"sourceOptions\\\"]],[30,1,[\\\"source\\\"]],[28,[37,9],[[30,0,[\\\"handleSourceSelect\\\"]],[30,1]],null],\\\"sourcename\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,1,[\\\"goals\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-goal\\\"],[12],[1,[28,[35,2],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[14,\\\"test-id\\\",\\\"goal-title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[28,[30,0,[\\\"firstGoal\\\"]],[[30,1]],null],\\\"title\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[28,[30,0,[\\\"hasMoreThanOneGoal\\\"]],[[30,1]],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[14,\\\"test-id\\\",\\\"goal-remaining-count\\\"],[12],[1,\\\"+\\\"],[1,[28,[30,0,[\\\"hasMoreThanOneGoal\\\"]],[[30,1]],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"ml-auto w-6 h-6 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],[[24,\\\"test-id\\\",\\\"goals-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\"],[[30,0,[\\\"goalsList\\\"]],[28,[30,0,[\\\"initiativeGoalsIds\\\"]],[[30,1]],null],[28,[37,9],[[30,0,[\\\"handleSelect\\\"]],[30,1],\\\"goals\\\",\\\"goal\\\"],null],[28,[37,2],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,2],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]]]],true,true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,1],\\\"theme.id\\\"],null],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[28,[37,18],[[28,[37,15],[[30,1],\\\"theme.color\\\"],null],\\\"bg-white border border-gray-300\\\"],null]]]],[14,\\\"test-id\\\",\\\"theme-color\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[14,\\\"test-id\\\",\\\"theme-title\\\"],[12],[1,[28,[35,15],[[30,1],\\\"theme.title\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-theme\\\"],[12],[1,[28,[35,2],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"lowercase\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[1]]]],[13],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"ml-auto w-6 h-6 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@handleClearSelection\\\",\\\"@searchPlaceholder\\\",\\\"@icon\\\",\\\"@tippy\\\"],[[30,0,[\\\"themesList\\\"]],[28,[37,15],[[30,1],\\\"theme.id\\\"],null],[28,[37,9],[[30,0,[\\\"handleSelect\\\"]],[30,1],\\\"theme\\\",\\\"theme\\\"],null],[28,[37,9],[[30,0,[\\\"clearSelect\\\"]],[30,1],\\\"theme\\\"],null],[28,[37,2],[\\\"dictionary.search\\\"],null],\\\"theme\\\",true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@changeset\\\"],[\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"atoms/forms/input\\\",\\\"if\\\",\\\"label\\\",\\\"span\\\",\\\"quill-editor\\\",\\\"lowercase\\\",\\\"fn\\\",\\\"atoms/forms/textarea\\\",\\\"p\\\",\\\"organisms/radio-options\\\",\\\"button\\\",\\\"eq\\\",\\\"get\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/multi-select\\\",\\\"or\\\",\\\"dropdowns/single-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/forms/general-details.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesFormsGeneralDetailsComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _service.service)('beta-toggle'), _class = class InitiativesFormsGeneralDetailsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _defineProperty(this, \"initiativeValidations\", this.initiativeValidations);\n }\n handleSourceSelect(changeset, e) {\n changeset.set('source', e.value);\n }\n get sourceOptions() {\n const sourceOptions = this.betaService.sourceOptions;\n sourceOptions.push({\n label: 'None',\n value: undefined\n });\n return sourceOptions;\n }\n handleStatusSelect(changeset, e) {\n changeset.set('status', e.value);\n }\n setDelta(changeset, e) {\n changeset.set('summary', e);\n }\n handleBlur(changeset) {\n //if page is not navigating away\n if (changeset.get('isPristine') === true) {\n this.isDisabled = true;\n } else if (changeset.get('isValid') === true) {\n this.isDisabled = false;\n } else {\n this.isDisabled = true;\n }\n }\n get themesList() {\n const themes = this.store.peekAll('theme').map(item => ({\n value: item.id,\n label: item.title,\n color: item.color\n }));\n return themes;\n }\n initiativeGoalsIds(changeset) {\n const goals = changeset.get('goals');\n if (goals.isDestroying || goals.isDestroyed) return [];\n const isPromise = 'promise' in goals;\n if (isPromise && !goals?.content) return [];\n if (isPromise && goals?.content) return goals?.content.map(team => team.id);\n return goals.map(item => item.id) ?? [];\n }\n hasMoreThanOneGoal(changeset) {\n const goals = changeset.get('goals');\n if (goals.isDestroying || goals.isDestroyed) return [];\n return goals.length > 1 ? goals.length - 1 : false;\n }\n handleSelect(changeset, field, model, e) {\n let record = null;\n if (Array.isArray(e)) {\n record = e.map(id => this.store.peekRecord(model, id));\n } else record = this.store.peekRecord(model, e.value);\n changeset.set(field, record);\n }\n handleGoalsSelect(changeset, e) {\n console.debug(changeset.get('goals'), e);\n }\n clearSelect(changeset, field) {\n changeset.set(field, null);\n }\n get goalsList() {\n return this.store.peekAll('goal').map(goal => ({\n value: goal.id,\n label: goal.title\n }));\n }\n firstGoal(changeset) {\n const goals = changeset.get('goals');\n if ('promise' in goals) return goals?.content?.[0];\n return goals[0];\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiativeGoalsIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiativeGoalsIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hasMoreThanOneGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hasMoreThanOneGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"firstGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"firstGoal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesFormsGeneralDetailsComponent);\n});","define(\"scaleflow/components/initiatives/forms/planning-and-people\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"moment\", \"scaleflow/utils/is-object\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _moment, _isObject, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"moment\",0,\"scaleflow/utils/is-object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n {{t \"_initiatives.people\"}}\n \n
    \n
    \n {{! Project Manager }}\n
    \n \n \n {{#if (get @changeset \"productManager.id\")}}\n {{get @changeset \"productManager.abbreviation\"}}\n \n {{get @changeset \"productManager.name\"}}\n {{else}}\n \n {{t\n \"_initiatives.select-pm\"\n }}\n {{/if}}\n \n \n \n \n
    \n \n
    \n
    \n {{! Team }}\n
    \n \n {{t \"_initiatives.team-settings-relocation\"}}

    \n
    \n
    \n
    \n {{t \"_initiatives.planning\"}}\n \n
    \n
    \n {{! starting date }}\n
    \n \n \n \n \n \n \n \n
    \n \n
    \n
    \n {{! duration }}\n
    \n {{t \"_initiatives.duration\"}}\n ({{t \"dictionary.approximately\"}})\n
    \n \n \n {{t\n \"_initiatives.weeks\"\n num=2\n }}\n
    \n
    \n
    \n
    \n
    \n \n {{!-- --}}\n \n \n */\n {\n \"id\": \"FlZnxybT\",\n \"block\": \"[[[10,0],[14,0,\\\"w-full space-y-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800 mb-8\\\"],[14,\\\"test-id\\\",\\\"form-title-people\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.people\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 md:w-80\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.product-manager\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,6],[[30,1],\\\"productManager.id\\\"],null],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"],[24,\\\"test-id\\\",\\\"pm-avatar\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[28,[37,6],[[30,1],\\\"productManager.color\\\"],null],[28,[37,6],[[30,1],\\\"productManager.name\\\"],null],false,[28,[37,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.id\\\"],null]]],[[\\\"default\\\"],[[[[1,[28,[35,6],[[30,1],\\\"productManager.abbreviation\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[14,\\\"test-id\\\",\\\"pm-name\\\"],[12],[1,[28,[35,6],[[30,1],\\\"productManager.name\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"text-gray-400 w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[14,\\\"test-id\\\",\\\"no-pm\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.select-pm\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"ml-auto w-6 h-6 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@handleClearSelection\\\",\\\"@searchPlaceholder\\\",\\\"@icon\\\",\\\"@tippy\\\"],[[30,0,[\\\"personsList\\\"]],[28,[37,6],[[30,1],\\\"productManager.id\\\"],null],[28,[37,12],[[30,0,[\\\"handleSelect\\\"]],[30,1],\\\"productManager\\\",\\\"person\\\"],null],[28,[37,12],[[30,0,[\\\"clearSelect\\\"]],[30,1],\\\"productManager\\\"],null],[28,[37,2],[\\\"dictionary.search\\\"],null],\\\"person\\\",true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 md:w-80\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.teams\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"italic text-sm text-gray-400 font-semibold\\\"],[14,\\\"test-id\\\",\\\"teams-moved-msg\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.team-settings-relocation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800 mb-8\\\"],[14,\\\"test-id\\\",\\\"form-title-planning\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.planning\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex space-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 md:w-80\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.starting-week\\\"],null]],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 py-[9px] px-3 w-full bg-white\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"openDatePicker\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"text-gray-400 w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,16],null,[[\\\"@initiative\\\",\\\"@onDateChange\\\",\\\"@onReady\\\",\\\"@extraClass\\\"],[[30,1],[28,[37,12],[[30,0,[\\\"handleDateChange\\\"]],[30,1]],null],[30,0,[\\\"onDatePickerReady\\\"]],\\\"w-full border-0 p-0\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-6 h-6 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto basis-1/2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 md:w-80\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"duration\\\"],[14,0,\\\"block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.duration\\\"],null]],[1,\\\"\\\\n (\\\"],[1,[28,[35,2],[\\\"dictionary.approximately\\\"],null]],[1,\\\")\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative mt-2 rounded-md shadow-sm\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"duration\\\"],[16,2,[30,1,[\\\"duration\\\"]]],[24,1,\\\"duration\\\"],[24,0,\\\"block w-full border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none mt-1 rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"initiative-duration\\\"],[24,4,\\\"number\\\"],[4,[38,14],[\\\"change\\\",[30,0,[\\\"handleDurationChange\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"initiative-duration\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.weeks\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"\\\\n\\\"],[13]],[\\\"@changeset\\\"],[\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"label\\\",\\\"button\\\",\\\"if\\\",\\\"get\\\",\\\"avatar\\\",\\\"span\\\",\\\"atoms/icons/user\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\",\\\"fn\\\",\\\"p\\\",\\\"on\\\",\\\"atoms/icons/calendar\\\",\\\"planning-date-picker\\\",\\\"input\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/forms/planning-and-people.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesFormsPlanningAndPeopleComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _class = class InitiativesFormsPlanningAndPeopleComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"datePickerInstance\", null);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n }\n get tippyOffset() {\n return [0, 8];\n }\n handleBlur(changeset) {\n //if page is not navigating away\n if (changeset.get('isPristine') === true) {\n this.isDisabled = true;\n } else if (changeset.get('isValid') === true) {\n this.isDisabled = false;\n } else {\n this.isDisabled = true;\n }\n }\n onDatePickerReady(e) {\n this.datePickerInstance = e;\n }\n openDatePicker() {\n this.datePickerInstance?.open();\n }\n handleDateChange(changeset, e) {\n const date = e;\n const first_day_of_week = this.orgService?.first_day_of_week;\n let formattedDate;\n if (first_day_of_week) formattedDate = (0, _moment.default)(date).day(first_day_of_week);else formattedDate = (0, _moment.default)(date).startOf('week').add('1', 'week');\n const secondDate = formattedDate.clone().add(2, 'weeks');\n const starting_week = `${formattedDate.format('yyyy-WW')}:${secondDate.format('yyyy-WW')}`;\n changeset.set('starting_week', starting_week);\n }\n get personsList() {\n const pm = this.args.changeset.productManager;\n const persons = this.store.peekAll('person').filter(person => person.active || pm?.get?.('id') === person.id).map(item => ({\n color: item.color,\n abbreviation: item.abbreviation,\n value: item.id,\n label: item.name\n }));\n return persons;\n }\n handleSelect(changeset, field, model, e) {\n const record = this.store.peekRecord(model, e.value);\n changeset.set(field, record);\n }\n setTeams(changeset, e) {\n const teams = e.map(team_id => this.store.peekRecord('team', team_id));\n changeset.set('teams', teams);\n }\n clearSelect(changeset, field) {\n changeset.set(field, null);\n }\n teamIds(changeset) {\n const teams = changeset.get('teams');\n const isObject = (0, _isObject.default)(teams);\n const isPromise = !isObject ? false : 'promise' in teams;\n if (isPromise && !teams?.content) return [];\n if (isPromise && teams?.content) return teams?.content.map(team => team.id);\n return changeset.get('teams').map(team => team.id);\n }\n handleDurationChange(changeset, e) {\n const duration = e.target.value;\n changeset.set('duration', duration);\n }\n handleStartDateChange(changeset, e) {\n const date = e.target.value;\n if (date) {\n changeset.set('start_date', date);\n } else {\n changeset.set('start_date', null);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDatePickerReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDatePickerReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDatePicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDatePicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDateChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teamIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"teamIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDurationChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDurationChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStartDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStartDateChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesFormsPlanningAndPeopleComponent);\n});","define(\"scaleflow/components/initiatives/initiative-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n \n {{this.initiative.title}}\n \n \n \n \n \n
    \n \n */\n {\n \"id\": \"mrOerDEO\",\n \"block\": \"[[[11,0],[24,0,\\\"relative flex w-full text-left\\\"],[17,1],[4,[38,1],[[28,[37,2],[[30,0,[\\\"toggleDropdown\\\"]],false],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-2xl leading-8 text-gray-900 font-semibold whitespace-nowrap text-ellipsis overflow-hidden\\\"],[15,\\\"title\\\",[29,[[30,0,[\\\"initiative\\\",\\\"title\\\"]]]]],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"trigger\\\"],[24,0,\\\"\\\"],[24,1,\\\"menu-button\\\"],[24,\\\"aria-expanded\\\",\\\"true\\\"],[24,\\\"aria-haspopup\\\",\\\"true\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleDropdown\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-8 h-8 text-white bg-indigo-500 rounded-full\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@tippy\\\",\\\"@allowAllStatuses\\\"],[[30,0,[\\\"initiative\\\"]],[30,0,[\\\"handleInitiativeSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",true,\\\"true\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"fn\\\",\\\"span\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/initiatives\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/initiative-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesInitiativeSelectorComponent = _exports.default = (_class = class InitiativesInitiativeSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"showDropdown\", _descriptor2, this);\n }\n isSelected(initiative) {\n return this.initiative.id == initiative.id;\n }\n toggleDropdown(val) {\n if (val === undefined) this.showDropdown = !this.showDropdown;else this.showDropdown = val;\n }\n handleInitiativeSelect(initiative) {\n this.toggleDropdown(false);\n this.args?.propagateInitiativeSelect?.(initiative);\n }\n get initiative() {\n return this.args.initiative;\n }\n get initiatives() {\n return this.store.peekAll('initiative');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDropdown\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"isSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativeSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesInitiativeSelectorComponent);\n});","define(\"scaleflow/components/initiatives/initiative/summary-panel/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/initiative\", \"tippy.js\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _initiative, _tippy, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/initiative\",0,\"tippy.js\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#each this.tabs as |tab|}}\n \n \n {{tab.label}}\n \n \n {{/each}}\n \n \n \n
    \n \n
    \n
    \n {{#if this.betaToggle.showAiFeatures}}\n \n \n \n \n Talk to your Project\n \n \n \n {{/if}}\n \n \n \n \n
      \n
    • \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{#if (eq this.tab \"details\")}}\n
    \n
    \n {{t \"dictionary.title\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.grid\"}}\n
    \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.pm\" num=1}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_teams.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"roadmap.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.status\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.source\" num=1}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"dictionary.themes\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_goals.title\" num=2}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.starting-week\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.duration\"}}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.document-link\"}}\n
    \n
    \n {{#if @initiative.initiative_doc}}\n \n \n \n {{/if}}\n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.planning-link\"}}\n
    \n
    \n {{#if @initiative.approach}}\n \n \n \n {{/if}}\n \n
    \n
    \n \n {{/if}}\n \n {{#if (eq this.tab \"summary\")}}\n \n
    \n
    \n {{t \"_initiatives.investment\" num=1}}\n
    \n
    \n \n {{t \"currency.euro\"}}\n {{localize @initiative.formattedBonInvestment}}\n \n \n
    \n
    \n \n
    \n
    \n {{t \"_initiatives.returns\" num=2}}\n
    \n
    \n \n {{t \"currency.euro\"}}\n {{localize @initiative.formattedBonReturns}}\n \n \n
    \n
    \n \n
    \n
    \n Impact\n
    \n
    \n \n {{t \"currency.euro\"}}\n {{localize @initiative.formattedBonValue}}\n \n \n
    \n
    \n \n
    \n
    \n Effort\n
    \n
    \n \n {{if\n @initiative.person_weeks\n (to-fixed @initiative.person_weeks)\n \"-\"\n }}pw\n \n
    \n
    \n \n
    \n
    \n Uncertainty\n
    \n
    \n \n {{or @initiative.person_weeks_only_uncertainty \"-\"}}pw\n \n
    \n
    \n {{/if}}\n \n {{#if (eq this.tab \"activity\")}}\n \n \n \n \n \n \n
      \n {{#each @initiative.orderedUpdates as |update|}}\n \n
    • \n
      \n
      \n
      \n \n

      {{update.updatedByPerson.name}}\n updated the status to\n .\n

      \n \n {{from-now update.created_at}}\n \n \n {{moment-format update.created_at \"DD MMM, YYYY\"}}\n \n \n \n
    • \n
    • \n
      \n
      \n
      \n {{! template-lint-disable no-duplicate-id }}\n \n

      {{update.updatedByPerson.name}}\n updated the progress to\n .\n

      \n {{from-now update.created_at}}\n \n \n {{moment-format update.created_at \"DD MMM, YYYY\"}}\n \n \n \n
    • \n {{#unless (text-delta-is-empty update.text_delta)}}\n
    • \n \n
      \n \n {{! template-lint-disable no-duplicate-id }}\n \n \n
      \n
      {{update.updatedByPerson.name}}\n commented
      \n {{from-now update.created_at}}\n \n \n {{moment-format update.created_at \"DD MMM, YYYY\"}}\n \n \n \n
      \n \n \n
    • \n {{/unless}}\n {{else}}\n \n <:message>{{t \"_initiatives.no-activity\"}}\n <:other>\n \n {{t\n \"lists.add-item\"\n item=(lowercase (t \"dictionary.update\" num=1))\n }}\n \n \n \n {{/each}}\n
    \n {{/if}}\n \n \n {{#if this.deleteConfirmationModalIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"Iw3g4y1T\",\n \"block\": \"[[[10,0],[14,0,\\\"flex gap-x-8 items-center h-10 bg-white px-4 shrink-0\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[37,4],[[30,0,[\\\"tab\\\"]],[30,1,[\\\"key\\\"]]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"text-sm leading-5 capitalize whitespace-nowrap\\\\n \\\",[52,[28,[37,4],[[30,0,[\\\"tab\\\"]],[30,1,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"],\\\"\\\\n \\\"]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"setTab\\\"]],[30,1,[\\\"key\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-end ml-auto sidepanel-actions-container gap-x-2 pb-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,1,\\\"sidepanel-actions\\\"],[14,0,\\\"ml-auto\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex group items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showAiFeatures\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"border\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"handleChatToggle\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"text-gray-600 w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Talk to your Project\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,\\\"button\\\"],[14,0,\\\"list-title-dropdown transition px-2 text-gray-800 cursor-pointer\\\"],[14,\\\"test-id\\\",\\\"initiative-action-menu-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\"],[\\\"bottom-end\\\",\\\"click\\\",\\\"true\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"tippy-dropdown !w-[240px]\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"li\\\"],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex w-full items-center p-2 space-x-2 text-sm rounded transition text-gray-700 hover:bg-gray-100 whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,16],null,[[\\\"@showLabel\\\",\\\"@params\\\"],[true,[28,[37,17],null,[[\\\"model\\\"],[[30,2]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,18],[[24,\\\"test-id\\\",\\\"copy-link\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"copy\\\",[28,[37,19],[\\\"_initiatives.copy-link\\\"],[[\\\"initiative\\\"],[[28,[37,19],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]],[30,0,[\\\"copyInitiativeLink\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,18],[[24,\\\"test-id\\\",\\\"delete\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\",\\\"@labelClass\\\",\\\"@iconClasses\\\"],[\\\"delete\\\",[28,[37,19],[\\\"dictionary.delete\\\"],null],[30,0,[\\\"showDeleteConfirmationModal\\\"]],\\\"text-red-600\\\",\\\"text-red-600\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"grow px-4 py-2 space-y-1 overflow-y-auto border-t border-gray-300 sidepanel-content\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"tab\\\"]],\\\"details\\\"],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"dictionary.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"dictionary.grid\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"showActivityTabAndOpenUpdateWizard\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,22],[[24,0,\\\"w-fit\\\"]],[[\\\"@progress\\\"],[[30,2,[\\\"progress\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_teams.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,25],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,26],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"dictionary.source\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,27],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"dictionary.themes\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,28],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,29],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.starting-week\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,30],[[24,0,\\\"!mx-0 bg-white\\\"]],[[\\\"@initiative\\\",\\\"@extraClass\\\"],[[30,2],\\\"!text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.duration\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,31],null,[[\\\"@initiative\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.document-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[10,3],[15,6,[29,[[30,2,[\\\"initiative_doc\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"w-4 h-4 text-primary-600\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,34],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\"],[[30,2],[30,0,[\\\"initiativeValidations\\\"]],\\\"initiative_doc\\\",[29,[[28,[37,19],[\\\"_initiatives.document-link\\\"],null]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.planning-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"approach\\\"]],[[[1,\\\" \\\"],[10,3],[15,6,[29,[[30,2,[\\\"approach\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"w-4 h-4 text-primary-600\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,34],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\"],[[30,2],[30,0,[\\\"initiativeValidations\\\"]],\\\"approach\\\",[29,[[28,[37,19],[\\\"_initiatives.planning-link\\\"],null]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"tab\\\"]],\\\"summary\\\"],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"it-investment\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs\\\"],[12],[1,[28,[35,19],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,36],[[30,2,[\\\"formattedBonInvestment\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,19],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"it-return\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs\\\"],[12],[1,[28,[35,19],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,36],[[30,2,[\\\"formattedBonReturns\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n Impact\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"it-bon\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs\\\"],[12],[1,[28,[35,19],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,36],[[30,2,[\\\"formattedBonValue\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n Effort\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"it-person-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,2,[\\\"person_weeks\\\"]],[28,[37,37],[[30,2,[\\\"person_weeks\\\"]]],null],\\\"-\\\"]],[13],[10,1],[14,0,\\\"text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b border-gray-200 items-center h-12\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-3 text-gray-900 text-xs font-medium\\\"],[12],[1,\\\"\\\\n Uncertainty\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-9 text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"it-uncertianty-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,38],[[30,2,[\\\"person_weeks_only_uncertainty\\\"]],\\\"-\\\"],null]],[13],[10,1],[14,0,\\\"text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"tab\\\"]],\\\"activity\\\"],null],[[[1,\\\"\\\\n \\\"],[8,[39,39],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-full bg-indigo-500 w-8 h-8 flex items-center justify-center\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"initiativeSlideover\\\",\\\"openWizard\\\"]],[30,2,[\\\"id\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,40],[[24,0,\\\"w-5 h-5 text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,\\\"role\\\",\\\"list\\\"],[14,0,\\\"space-y-6 mt-2\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,2,[\\\"orderedUpdates\\\"]]],null]],null],null,[[[1,\\\"\\\\n \\\"],[10,\\\"li\\\"],[14,0,\\\"relative flex gap-x-4 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute -bottom-6 left-0 top-0 flex w-6 justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-px bg-gray-200\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,41],[[24,0,\\\"relative flex-none\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,3,[\\\"updatedByPerson\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"flex-auto py-0.5 text-xs/5 text-gray-500\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,3,[\\\"updatedByPerson\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n updated the status to\\\\n \\\"],[8,[39,22],[[24,0,\\\"shrink-0 !inline-flex\\\"]],[[\\\"@progress\\\"],[[30,3,[\\\"status\\\"]]]],null],[1,\\\".\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[15,\\\"datetime\\\",[29,[[30,3,[\\\"created_at\\\"]]]]],[14,0,\\\"flex-none py-0.5 text-xs/5 text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,44],[[30,3,[\\\"created_at\\\"]]],null]],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,45],[[30,3,[\\\"created_at\\\"]],\\\"DD MMM, YYYY\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"li\\\"],[14,0,\\\"relative flex gap-x-4 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute -bottom-6 left-0 top-0 flex w-6 justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-px bg-gray-200\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,41],[[24,0,\\\"relative flex-none\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,3,[\\\"updatedByPerson\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"flex-auto py-0.5 text-xs/5 text-gray-500\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,3,[\\\"updatedByPerson\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n updated the progress to\\\\n \\\"],[8,[39,46],[[24,0,\\\"w-[120px] !inline-flex shrink-0 pt-2\\\"]],[[\\\"@value\\\"],[[30,3,[\\\"reported_health\\\"]]]],null],[1,\\\".\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[15,\\\"datetime\\\",[29,[[30,3,[\\\"created_at\\\"]]]]],[14,0,\\\"flex-none py-0.5 text-xs/5 text-gray-500\\\"],[12],[1,[28,[35,44],[[30,3,[\\\"created_at\\\"]]],null]],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,45],[[30,3,[\\\"created_at\\\"]],\\\"DD MMM, YYYY\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[51,[28,[37,48],[[30,3,[\\\"text_delta\\\"]]],null]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"relative flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute -bottom-6 left-0 top-0 flex w-6 justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-px bg-gray-200\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,41],[[24,0,\\\"relative mt-3 flex-none\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,3,[\\\"updatedByPerson\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto rounded-md p-3 ring-1 ring-inset ring-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-0.5 text-xs/5 text-gray-500\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,3,[\\\"updatedByPerson\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n commented\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[15,\\\"datetime\\\",[29,[[30,3,[\\\"created_at\\\"]]]]],[14,0,\\\"flex-none py-0.5 text-xs/5 text-gray-500\\\"],[12],[1,[28,[35,44],[[30,3,[\\\"created_at\\\"]]],null]],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,45],[[30,3,[\\\"created_at\\\"]],\\\"DD MMM, YYYY\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,49],[[24,0,\\\"text-xs text-gray-500 leading-5 compressed-lines\\\"],[16,\\\"modules\\\",[30,0,[\\\"modules\\\"]]]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@theme\\\"],[[30,3,[\\\"text_delta\\\"]],false,\\\"bubble\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[3]],[[[1,\\\" \\\"],[8,[39,50],[[24,0,\\\"mt-16\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,19],[\\\"_initiatives.no-activity\\\"],null]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit flex items-center whitespace-nowrap\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"initiativeSlideover\\\",\\\"openWizard\\\"]],[30,2,[\\\"id\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,40],[[24,0,\\\"w-5 h-5 text-white\\\"]],null,null],[1,[28,[35,19],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,53],[[28,[37,19],[\\\"dictionary.update\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"deleteConfirmationModalIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,54],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@title\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"deleteConfirmationModalIsVisible\\\"]],[30,2],[28,[37,19],[\\\"dictionary.confirm-delete\\\"],[[\\\"resource_type\\\",\\\"resource_name\\\"],[[28,[37,19],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],[30,2,[\\\"title\\\"]]]]],[30,0,[\\\"handleDeleteConfirmation\\\"]],[30,0,[\\\"closeDeleteConfirmationModal\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"tab\\\",\\\"@initiative\\\",\\\"update\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"eq\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/buttons/icon\\\",\\\"tailwind-icons/sparkles\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"atoms/icons/item-menu\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"li\\\",\\\"molecules/favorite-icon\\\",\\\"hash\\\",\\\"molecules/menu-actions\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"initiatives/table/title\\\",\\\"initiatives/table/progress-pill\\\",\\\"initiatives/table/pm-selector\\\",\\\"initiatives/table/team-selector\\\",\\\"initiatives/table/roadmap-selector\\\",\\\"initiatives/table/status-selector\\\",\\\"initiatives/table/source-selector\\\",\\\"initiatives/table/theme-selector\\\",\\\"initiatives/table/goal-selector\\\",\\\"timeline/initiatives-table/date-picker\\\",\\\"initiatives/table/duration-selector\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"atoms/forms/clickable-input\\\",\\\"span\\\",\\\"localize\\\",\\\"to-fixed\\\",\\\"or\\\",\\\"page-headers/sidepanel-action\\\",\\\"atoms/icons/plus\\\",\\\"avatar\\\",\\\"p\\\",\\\"time\\\",\\\"from-now\\\",\\\"moment-format\\\",\\\"atoms/forms/range/pills\\\",\\\"unless\\\",\\\"text-delta-is-empty\\\",\\\"quill-editor\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"lowercase\\\",\\\"goals/delete-modal\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/initiative/summary-panel/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesInitiativeSummaryPanelComponent = _exports.default = (_class = class InitiativesInitiativeSummaryPanelComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"notifications\", _descriptor4, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor5, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor6, this);\n _defineProperty(this, \"tabs\", [{\n label: this.intl.t('dictionary.details'),\n key: 'details'\n }, {\n label: this.intl.t('dictionary.summary'),\n key: 'summary'\n }, {\n label: this.intl.t('dictionary.activity'),\n key: 'activity'\n }]);\n _initializerDefineProperty(this, \"tab\", _descriptor7, this);\n _initializerDefineProperty(this, \"deleteConfirmationModalIsVisible\", _descriptor8, this);\n }\n setTab(tab) {\n this.tab = tab;\n }\n deleteInitiative() {\n try {\n this.router.replaceWith('backlog.initiatives');\n this.args.initiative.destroyRecord();\n } catch (err) {\n console.log(err);\n }\n }\n copyInitiativeLink() {\n navigator.clipboard.writeText(`${window.location.origin}/backlog/initiatives/${this.args.initiative.id}/description`);\n this.notifications.toggleShowNotification(this.intl.t('_initiatives.initiative-link-copied', {\n initiative: this.intl.t('_initiatives.title', {\n num: 1\n })\n }));\n }\n showActivityTabAndOpenUpdateWizard() {\n this.setTab('activity');\n this.initiativeSlideover.openWizard(this.args.initiative.id);\n }\n showDeleteConfirmationModal() {\n (0, _tippy.hideAll)();\n this.deleteConfirmationModalIsVisible = true;\n }\n handleDeleteConfirmation() {\n this.deleteConfirmationModalIsVisible = false;\n this.deleteInitiative();\n }\n closeDeleteConfirmationModal() {\n this.deleteConfirmationModalIsVisible = false;\n }\n handleChatToggle() {\n this.chatv2.populateChatWindow();\n this.chatv2.toggleChatWindow();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"tab\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'details';\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"deleteConfirmationModalIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setTab\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTab\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"copyInitiativeLink\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyInitiativeLink\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showActivityTabAndOpenUpdateWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showActivityTabAndOpenUpdateWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showDeleteConfirmationModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showDeleteConfirmationModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDeleteConfirmation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDeleteConfirmation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeDeleteConfirmationModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeDeleteConfirmationModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleChatToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChatToggle\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesInitiativeSummaryPanelComponent);\n});","define(\"scaleflow/components/initiatives/list/filter-slideover\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{! }}\n
    \n \n {{!--
    \n {{#let 'status' as |key|}}\n \n <:label> {{t\n '_initiatives.status'\n }}\n \n <:filterCount>{{if @activeStatus.length @activeStatus.length}}\n \n <:options>\n \n \n \n {{/let}}\n
    --}}\n \n {{!-- {{#let 'theme' as |key|}}\n \n <:label> {{t\n '_initiatives.themes'\n num=1\n }}\n \n <:filterCount>{{if @activeThemes.length @activeThemes.length}}\n \n <:options>\n \n \n \n {{/let}} --}}\n \n {{!-- {{#let 'source' as |key|}}\n \n <:label>{{t\n '_initiatives.source'\n num=1\n }}\n \n <:filterCount>{{if @activeSources.length @activeSources.length}}\n \n <:options>\n \n \n \n {{/let}} --}}\n \n {{!-- {{#let 'productManager' as |key|}}\n \n <:label>{{t\n '_initiatives.product-manager'\n num=1\n }}\n \n <:filterCount>{{if @activePms.length @activePms.length}}\n \n <:options>\n \n \n \n {{/let}} --}}\n \n {{!-- {{#let 'team' as |key|}}\n \n <:label>{{t\n '_initiatives.teams'\n num=1\n }}\n \n <:filterCount>{{if @activePms.length @activePms.length}}\n \n <:options>\n \n \n \n {{/let}} --}}\n \n {{!-- {{#if @roadmapFilter}}\n {{#let 'roadmap' as |key|}}\n \n <:label>{{t\n '_initiatives.roadmap'\n num=1\n }}\n \n <:filterCount>{{if @activeRoadmaps.length @activeRoadmaps.length}}\n \n <:options>\n \n \n \n {{/let}}\n {{/if}} --}}\n \n {{#if @showColumns}}\n
    \n \n
    \n \n {{t \"dictionary.columns\"}}\n {{#if @activeColumns.length}}\n {{@activeColumns.length}}\n {{/if}}\n \n \n \n \n \n \n \n \n \n
    \n
    \n {{/if}}\n \n {{!-- {{#if @showGroupBy}}\n
    \n
    \n \n
    \n
    \n \n {{this.groupingLabel}}\n \n \n \n
    \n
    \n {{/if}} --}}\n \n
    \n */\n {\n \"id\": \"DjUPnzNE\",\n \"block\": \"[[[11,0],[24,0,\\\"flex items-center gap-y-4 gap-x-4\\\"],[17,1],[12],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-full\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"py-1 !px-1.5 whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"filter-column-trigger\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,4],[\\\"dictionary.columns\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,[30,3,[\\\"length\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@interactive\\\",\\\"@placement\\\",\\\"@trigger\\\"],[\\\"true\\\",\\\"bottom-start\\\",\\\"click\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"inner-tippy-dropdown teams max-h-[300px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\"],[[30,0,[\\\"columnOptions\\\"]],[30,3],[30,0,[\\\"onColumnSelect\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@showColumns\\\",\\\"@activeColumns\\\"],[\\\"div\\\",\\\"if\\\",\\\"atoms/buttons/secondary-button\\\",\\\"span\\\",\\\"t\\\",\\\"filter-badge\\\",\\\"atoms/icons/chevron/down\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"multiselect-pills\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/list/filter-slideover.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesListFilterSlideoverComponent = _exports.default = (_class = class InitiativesListFilterSlideoverComponent extends _component2.default {\n get columnOptions() {\n return this.args.columnOptions.map(item => ({\n label: item.label,\n value: item.label,\n show: item.show\n }));\n }\n onColumnSelect(values) {\n this.args?.onColumnSelect?.(values);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onColumnSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onColumnSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesListFilterSlideoverComponent);\n});","define(\"scaleflow/components/initiatives/metric-wizard/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"ember-changeset\", \"scaleflow/validators/metric\", \"scaleflow/validators/target\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _emberChangeset, _metric2, _target, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"ember-changeset\",0,\"scaleflow/validators/metric\",0,\"scaleflow/validators/target\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n <:title>\n Link a metric\n \n <:steps>\n {{#let (array \"General details\" \"Set target\") as |steps|}}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n \n \n \n {{! wizard content title }}\n {{#if (eq this.activeStep 0)}}\n
    \n
    \n

    \n Select metric\n

    \n {{#if this.isNewMetric}}\n \n Choose existing\n metrics\n \n {{/if}}\n
    \n {{this.metricChangeset.title}}

    \n
    \n \n {{#if this.isNewMetric}}\n {{! wizar content body }}\n {{#let this.metricChangeset as |changeset|}}\n
    \n
    \n
    \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.symbolOptions as |symbol|}}\n {{symbol.label}}\n {{/each}}\n \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.trendOptions as |trend|}}\n {{trend.label}}\n {{/each}}\n \n \n
    \n
    \n \n
    \n Display measurements per\n \n \n
    \n
    \n \n
    \n Metric description\n \n \n
    \n \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.save-and-continue\"}}\n \n
    \n {{/let}}\n \n {{else}}\n
    \n \n \n Create new metric\n \n
    \n \n
    \n {{#each\n (text-filtered this.metricsSearch this.metrics \"title\")\n as |metric|\n }}\n \n \n \n
    \n {{metric.title}}

    \n \n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedRecordedDate\n \"n/a\"\n }}\n

    \n
    \n
    \n \n {{else}}\n \n There are no metrics available to link\n

    \n {{/each}}\n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.next\"}}\n \n
    \n {{/if}}\n \n {{else if (eq this.activeStep 1)}}\n
    \n

    \n Set targets\n

    \n {{this.metricChangeset.title}}

    \n
    \n \n {{#if this.isNewMetric}}\n \n \n
    \n {{this.metricChangeset.title}}

    \n

    Last measurement: n/a

    \n
    \n \n \n \n \n \n \n {{else}}\n \n {{#each this.selectedMetrics as |metric index|}}\n \n {{#let (get this.targetChangesets index) as |changeset|}}\n \n
    \n

    {{metric.title}}

    \n

    Last measurement:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n }}

    \n
    \n \n \n \n \n \n {{/let}}\n {{else}}\n \n <:message>Please select metric(s) to add targets to\n \n {{/each}}\n \n {{/if}}\n
    \n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
    \n {{/if}}\n
    \n \n
    \n */\n {\n \"id\": \"rib4F8er\",\n \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"onFormCancel\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"onFormCancel\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n Link a metric\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[44,[[28,[37,6],[\\\"General details\\\",\\\"Set target\\\"],null]],[[[42,[28,[37,8],[[28,[37,8],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,10],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Select metric\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isNewMetric\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-xs text-indigo-500 flex items-center gap-x-1 whitespace-nowrap\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"hideMetricForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"w-4 h-4\\\"]],null,null],[10,1],[12],[1,\\\"Choose existing\\\\n metrics\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isNewMetric\\\"]],[[[44,[[30,0,[\\\"metricChangeset\\\"]]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[14,\\\"test-id\\\",\\\"new-metric-form\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What will you measure? *\\\",\\\"\\\",[30,4,[\\\"title\\\"]],[30,4],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,22],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"symbol\\\",\\\"Symbol\\\",\\\"!normal-case\\\",[30,4]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"betaToggle\\\",\\\"symbolOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,5,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,10],[[30,5,[\\\"value\\\"]],[30,4,[\\\"symbol\\\"]]],null]],[12],[1,[30,5,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,22],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"trend\\\",\\\"Trend\\\",[30,4,[\\\"trend\\\"]],\\\"!normal-case\\\",[30,4]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"betaToggle\\\",\\\"trendOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,6,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,10],[[30,6,[\\\"value\\\"]],[30,4,[\\\"trend\\\"]]],null]],[12],[1,[30,6,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"reporting_period\\\"],[14,3,\\\"reporting_period\\\"],[12],[1,\\\"Display measurements per\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between p-4 bg-white rounded-lg border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,26],[[24,0,\\\"!mb-0\\\"]],[[\\\"@options\\\",\\\"@value\\\",\\\"@name\\\",\\\"@changeset\\\"],[[30,0,[\\\"betaToggle\\\",\\\"reportingPeriodOptions\\\"]],[30,4,[\\\"reporting_period\\\"]],\\\"reporting_period\\\",[30,4]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,\\\"Metric description\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,27],[[24,0,\\\"textarea block h-[90px] leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto resize-y max-h-[160px] bg-white compressed-lines\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"metric-description\\\",\\\"#metric-description\\\",\\\"metric-description\\\",\\\"bubble\\\",[30,4,[\\\"description\\\"]],[28,[37,12],[[30,0,[\\\"onDescriptionChange\\\"]],[30,4]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"onFormCancel\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,28],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,29],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,30],[[30,4,[\\\"isInvalid\\\"]],[30,4,[\\\"isPristine\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,28],[\\\"dictionary.save-and-continue\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,31],null,[[\\\"@onSearch\\\"],[[28,[37,12],[[28,[37,32],[[30,0,[\\\"metricsSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"text-xs text-indigo-500 flex items-center gap-x-1 whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"new-metric\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"showMetricForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"w-4 h-4\\\"]],null,null],[10,1],[12],[1,\\\"Create new metric\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[28,[37,34],[[30,0,[\\\"metricsSearch\\\"]],[30,0,[\\\"metrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex gap-x-2 mb-2 items-center border border-gray-200\\\"],[14,\\\"test-id\\\",\\\"metric\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"inline-block\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,36],[[30,0,[\\\"selectedMetrics\\\"]],[30,7,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,12],[[30,0,[\\\"handleMetricSelect\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[14,\\\"test-id\\\",\\\"title\\\"],[12],[10,1],[12],[1,[30,7,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[14,\\\"test-id\\\",\\\"recorded-at\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,7,[\\\"latestMeasurement\\\"]],[30,7,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]],\\\"n/a\\\"]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[7]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500 text-center\\\"],[14,\\\"test-id\\\",\\\"recorded-at\\\"],[12],[1,\\\"\\\\n There are no metrics available to link\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"clearSelectedMetrics\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,28],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,29],[[24,\\\"test-id\\\",\\\"next\\\"],[16,\\\"disabled\\\",[28,[37,37],[[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,28],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Set targets\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isNewMetric\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 mt-4 grow overflow-y-auto relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement: n/a\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,0,[\\\"targetChangeset\\\",\\\"target_value\\\"]],[30,0,[\\\"targetChangeset\\\"]],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,0,[\\\"targetChangeset\\\",\\\"end_date\\\"]],[30,0,[\\\"targetChangeset\\\"]],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 mt-4 grow overflow-y-auto relative\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"selectedMetrics\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[44,[[28,[37,38],[[30,0,[\\\"targetChangesets\\\"]],[30,9]],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,8,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[52,[30,8,[\\\"latestMeasurement\\\"]],[30,8,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,10,[\\\"target_value\\\"]],[30,10],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,10,[\\\"end_date\\\"]],[30,10],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[10]]]],[8,9]],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"top-[50%] -translate-y-[50%] left-0 right-0 absolute\\\"]],null,[[\\\"message\\\"],[[[[1,\\\"Please select metric(s) to add targets to\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,28],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,29],[[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"submit\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"saveMetrics\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,28],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],null]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"symbol\\\",\\\"trend\\\",\\\"metric\\\",\\\"metric\\\",\\\"index\\\",\\\"changeset\\\"],[\\\"wizard\\\",\\\"on-escape\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\":steps\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"if\\\",\\\"div\\\",\\\"h3\\\",\\\"button\\\",\\\"atoms/icons/checklist\\\",\\\"span\\\",\\\"p\\\",\\\"atoms/forms/input\\\",\\\"atoms/forms/select\\\",\\\":options\\\",\\\"option\\\",\\\"label\\\",\\\"organisms/radio-options\\\",\\\"quill-editor\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"atoms/icons/edit\\\",\\\"text-filtered\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"not\\\",\\\"get\\\",\\\"wizard/empty-state\\\",\\\":message\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/metric-wizard/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesMetricWizardComponent = _exports.default = (_class = class InitiativesMetricWizardComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"activeStep\", _descriptor, this);\n _initializerDefineProperty(this, \"metricChangeset\", _descriptor2, this);\n _initializerDefineProperty(this, \"targetChangeset\", _descriptor3, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor4, this);\n _initializerDefineProperty(this, \"metricsSearch\", _descriptor5, this);\n _initializerDefineProperty(this, \"isNewMetric\", _descriptor6, this);\n _initializerDefineProperty(this, \"targetChangesets\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor8, this);\n _initializerDefineProperty(this, \"metric\", _descriptor9, this);\n _initializerDefineProperty(this, \"target\", _descriptor0, this);\n _defineProperty(this, \"MetricValidations\", _metric2.default);\n _defineProperty(this, \"TargetValidations\", _target.default);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor1, this);\n _initializerDefineProperty(this, \"store\", _descriptor10, this);\n _initializerDefineProperty(this, \"router\", _descriptor11, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get isDisabled() {\n if (this.isNewMetric) {\n return this.metricChangeset.isInvalid || this.metricChangeset.isPristine;\n } else {\n return !this.selectedMetrics.length;\n }\n }\n metricValidator({\n key,\n newValue\n }) {\n let validator = (0, _object.get)(_metric2.default, key);\n if (typeof validator === 'function') {\n return validator(key, newValue);\n }\n }\n targetValidator({\n key,\n newValue\n }) {\n let validator = (0, _object.get)(_target.default, key);\n if (typeof validator === 'function') {\n return validator(key, newValue);\n }\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n async saveMetrics() {\n if (this.isNewMetric) {\n this.metricChangeset.changes.forEach(change => {\n this.metric.set(change.key, change.value);\n });\n await this.metric.save();\n const target = this.store.createRecord('target', {\n target_value: this.targetChangeset.target_value,\n end_date: this.targetChangeset.end_date,\n initiative: this.args.initiative,\n metric: this.metric\n });\n await target.save();\n } else {\n for (let i = 0; i < this.selectedMetrics.length; i++) {\n const target = this.store.createRecord('target', {\n target_value: this.targetChangesets[i].target_value,\n end_date: this.targetChangesets[i].end_date,\n initiative: this.args.initiative,\n metric: this.selectedMetrics[i]\n });\n await target.save();\n }\n }\n this.args?.closeWizard();\n }\n rollbackChanges(changeset) {\n if (!changeset) {\n this.metricChangeset?.rollback?.();\n this.targetChangeset?.rollback?.();\n this.clearSelectedMetrics();\n } else changeset.rollback();\n }\n goToListPage() {\n this.router.transitionTo('business.metrics');\n }\n get metrics() {\n const initiativeMetrics = this.args.initiative.metrics.reduce((acc, item) => {\n acc[item.content.id] = true;\n return acc;\n }, {});\n return this.store.peekAll('metric').filter(metric => !initiativeMetrics[metric.id]);\n }\n targetChangesetFactory() {\n const target = this.store.createRecord('target', {});\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n }\n clearSelectedMetrics() {\n for (let i = 0; i < this.selectedMetrics.length; i++) {\n this.selectedMetrics[i].deleteRecord();\n this.targetChangesets[i].rollback();\n }\n this.selectedMetrics = [];\n this.targetChangesets = [];\n }\n handleMetricSelect(metric, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const metrics = this.selectedMetrics;\n const targetChangesets = this.targetChangesets;\n if (checked) {\n metrics.push(metric);\n targetChangesets.push(this.targetChangesetFactory());\n } else {\n const index = metrics.findIndex(_metric => _metric.id === metric.id);\n if (index < 0) return;else {\n metrics.splice(index, 1);\n targetChangesets.splice(index, 1);\n }\n }\n this.selectedMetrics = metrics;\n this.targetChangesets = targetChangesets;\n }\n showMetricForm() {\n this.isNewMetric = true;\n this.metric = this.store.createRecord('metric');\n this.metricChangeset = (0, _emberChangeset.Changeset)(this.metric, this.metricValidator);\n this.target = this.store.createRecord('target');\n this.targetChangeset = (0, _emberChangeset.Changeset)(this.target, this.targetValidator);\n }\n hideMetricForm() {\n this.isNewMetric = false;\n this.metricChangeset = null;\n this.metric?.deleteRecord();\n this.metric = null;\n this.targetChangeset = null;\n this.target?.deleteRecord();\n this.target = null;\n }\n onFormCancel() {\n this.rollbackChanges();\n this.metric?.deleteRecord?.();\n this.metric = null;\n this.target?.deleteRecord?.();\n this.target = null;\n this.activeStep = 0;\n this.isNewMetric = false;\n this.args?.closeWizard();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"metricChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"targetChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"metricsSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isNewMetric\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"targetChangesets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"metric\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"target\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveMetrics\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveMetrics\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"targetChangesetFactory\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"targetChangesetFactory\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearSelectedMetrics\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearSelectedMetrics\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMetricSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMetricSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showMetricForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showMetricForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideMetricForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideMetricForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFormCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFormCancel\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesMetricWizardComponent);\n});","define(\"scaleflow/components/initiatives/page-exit-warning-modal\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:title>{{t \"_initiatives.exit-warning-modal.title\" numMetrics=2}}\n <:body>

    {{t\n \"_initiatives.exit-warning-modal.explanation\"\n }}

    \n <:footer>\n \n {{t \"dictionary.cancel\"}}\n \n {{t \"dictionary.save\"}}\n \n
    \n */\n {\n \"id\": \"cWzMHOd6\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@toggleModal\\\",\\\"@hideCancel\\\"],[[30,1],[30,2],\\\"true\\\"]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[8,[39,2],[[24,0,\\\"w-8 h-8 !bg-indigo-50\\\"]],null,[[\\\"default\\\"],[[[[8,[39,3],[[24,0,\\\"w-6 h-6 text-indigo-600\\\"]],null,null]],[]]]]],[10,\\\"h3\\\"],[14,0,\\\"leading-7 text-base font-medium ml-2\\\"],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.exit-warning-modal.title\\\"],[[\\\"numMetrics\\\"],[2]]]],[13]],[]],[[[10,2],[14,0,\\\"text-sm leading-5 text-gray-500\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.exit-warning-modal.explanation\\\"],null]],[13]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,\\\"test-id\\\",\\\"cancel-button\\\"],[24,4,\\\"reset\\\"],[4,[38,10],[\\\"click\\\",[30,3]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"confirm-button\\\"],[4,[38,10],[\\\"click\\\",[30,4]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@toggleModal\\\",\\\"@onCancel\\\",\\\"@onConfirm\\\"],[\\\"modal\\\",\\\":title\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/alert\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"p\\\",\\\":footer\\\",\\\"atoms/buttons/button\\\",\\\"on\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/page-exit-warning-modal.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"page-exit-warning-modal\"));\n});","define(\"scaleflow/components/initiatives/popover/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/from-now\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _fromNow, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/from-now\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (and this.slideoverIsOpen this.initiative)}}\n \n
    \n \n \n \n \n \n
    \n
    \n

    {{t\n \"dictionary.initiatives\"\n num=1\n }}

    \n \n
    \n \n
    \n \n {{this.initiative.title}}\n \n \n
    \n \n
    \n
    \n \n {{t \"dictionary.pm\" num=1}}\n {{or\n this.initiative.productManager.name\n \"-\"\n }}\n
    \n \n {{#if this.initiative.initiative_doc}}\n
    \n \n {{t \"_initiatives.document-link\"}}\n \n
    \n {{/if}}\n \n
    \n \n {{t\n \"dictionary.status\"\n }}\n \n <:trigger>\n {{this.initiative.statusLabel}}\n \n \n <:menuItems>\n {{#each this.betaToggle.sortedStatusOptions as |status|}}\n \n {{status.label}}\n \n {{/each}}\n \n \n
    \n
    \n \n
    \n {{#if this.initiative.summary}}\n \n {{else}}\n {{this.initiative.description}}\n {{/if}}\n
    \n \n \n
    \n {{t\n \"_initiatives.starting-week\"\n }}\n {{this.initiative.startingDateDDMMMYYY}}\n
    \n
    \n {{t\n \"_initiatives.duration\"\n }}\n {{this.initiative.durationLabel}}\n
    \n \n
    \n {{t\n \"_initiatives.effort\"\n }}\n {{this.initiative.person_weeks_excluding_uncertainty}}pw\n
    \n {{!-- {{log this.initiative.bon}} --}}\n
    \n {{t\n \"_initiatives.uncertainty\"\n num=1\n }}\n {{this.initiative.person_weeks_only_uncertainty}}pw\n
    \n \n
    \n {{t\n \"_initiatives.teams\"\n num=2\n }}\n \n {{#each this.initiative.teams as |team|}}\n \n {{else}}\n -\n {{/each}}\n \n
    \n
    \n \n
    \n {{#let this.impact_widths as |widths|}}\n \n {{t \"_initiatives.investment\" num=1}}\n \n
    {{localize\n this.initiative.formattedBonInvestment\n \"\"\n (t \"currency.euro\")\n }}\n
    \n
    \n \n \n \n {{t \"dictionary.expected\"}}\n {{t \"dictionary.impact\"}}\n \n
    {{localize\n this.initiative.formattedBonValue\n \"\"\n (t \"currency.euro\")\n }}
    \n \n {{/let}}\n \n \n \n \n \n \n
    \n \n {{#if (eq this.activeTab \"progress\")}}\n \n {{/if}}\n \n {{#if (eq this.activeTab \"bon\")}}\n
    \n \n
    \n \n \n {{t\n \"dictionary.edit\"\n }}\n {{t \"dictionary.back-of-napkin\" num=1}}\n \n
    \n \n
    \n {{/if}}\n
    \n \n \n \n {{/if}}\n */\n {\n \"id\": \"HdOApsa/\",\n \"block\": \"[[[41,[28,[37,1],[[30,0,[\\\"slideoverIsOpen\\\"]],[30,0,[\\\"initiative\\\"]]],null],[[[1,\\\" \\\"],[10,0],[14,1,\\\"slideover-popover\\\"],[14,0,\\\"w-screen h-screen fixed left-0 right-0 top-0 flex items-center justify-center bg-black/80 z-50\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"bg-white rounded-full w-7 h-7 absolute -right-9 top-0 z-50 hover:bg-white\\\"],[24,\\\"test-id\\\",\\\"close-popover\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-6 h-6 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[11,0],[24,0,\\\"w-[600px] lg:w-[800px] rounded-[32px] h-[95vh] overflow-y-auto main-content\\\"],[4,[38,5],[[30,0,[\\\"initiativeSlideover\\\",\\\"close\\\"]]],null],[4,[38,6],[[30,0,[\\\"handleEscPress\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"top-container bg-white/[.85] backdrop-blur-sm rounded-t-[32px] px-6 pt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-summary bg-white rounded-2xl p-6 mb-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"uppercase text-sm text-gray-500 font-semibold\\\"],[12],[1,[28,[35,8],[\\\"dictionary.initiatives\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@progress\\\"],[[30,0,[\\\"initiative\\\",\\\"latestUpdate\\\",\\\"status\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"underline hover:no-underline\\\"]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.description\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]],[28,[37,11],null,[[\\\"initiative_id\\\"],[[27]]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl font-semibold text-gray-900\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@params\\\"],[[28,[37,11],null,[[\\\"model\\\"],[[30,0,[\\\"initiative\\\"]]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 mb-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"text-gray-400 w-4 h-4 mr-0.5\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"capitalize text-gray-500 text-xs inline-block mr-1\\\"],[12],[1,[28,[35,8],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs font-semibold\\\"],[12],[1,[28,[35,16],[[30,0,[\\\"initiative\\\",\\\"productManager\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[30,0,[\\\"initiative\\\",\\\"initiative_doc\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center text-indigo-500 text-xs font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"w-5 h-4 text-gray-500\\\"]],null,null],[1,[28,[35,8],[\\\"_initiatives.document-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"text-gray-400 w-4 h-4 mr-0.5 shrink-0\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs inline-block mr-1\\\"],[12],[1,[28,[35,8],[\\\"dictionary.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,20],null,[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center\\\",\\\"!top-4\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,0,[\\\"initiative\\\",\\\"statusLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,22],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,25],[[28,[37,25],[[30,0,[\\\"betaToggle\\\",\\\"sortedStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,26],null,[[\\\"@handleSelect\\\",\\\"@isSelected\\\"],[[28,[37,27],[[30,0,[\\\"setInitiativeStatus\\\"]],[30,1]],null],[28,[37,28],[[30,1,[\\\"value\\\"]],[30,0,[\\\"initiative\\\",\\\"status\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mb-6\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"summary\\\"]],[[[1,\\\" \\\"],[8,[39,29],[[24,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines\\\"]],[[\\\"@id\\\",\\\"@name\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\"],[\\\"initiative-panel-description\\\",\\\"initiative-panel-description\\\",\\\"#initiative-panel-description\\\",\\\"bubble\\\",[30,0,[\\\"initiative\\\",\\\"summary\\\"]],false,\\\"No description\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"pre\\\"],[14,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-3 flex items-center justify-between border-t border-b border-gray-200 mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.starting-week\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-900 font-semibold\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"startingDateDDMMMYYY\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"duration flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.duration\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-900 font-semibold\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"durationLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-900 font-semibold\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"person_weeks_excluding_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"uncertainty flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-900 font-semibold\\\"],[12],[1,[30,0,[\\\"initiative\\\",\\\"person_weeks_only_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"priority flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.teams\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-900 font-semibold flex items-center flex-row-reverse\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,25],[[28,[37,25],[[30,0,[\\\"initiative\\\",\\\"teams\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"relative -ml-2 last:ml-0\\\"]],[[\\\"@id\\\",\\\"@name\\\",\\\"@size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[[30,2,[\\\"id\\\"]],[30,2,[\\\"name\\\"]],\\\"extra-small\\\",\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n\\\"]],[2]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"flex items-center impact rounded-lg\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[30,0,[\\\"impact_widths\\\"]]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"inline-flex items-center gap-x-1 whitespace-nowrap\\\\n \\\",[52,[30,0,[\\\"initiative\\\",\\\"bon_investment\\\"]],\\\"bg-indigo-50\\\",\\\"bg-gray-200\\\"],\\\"\\\\n px-2 rounded-s-lg\\\\n \\\",[30,3,[\\\"investment_portion\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-sm text-gray-500 text-ellipsis overflow-hidden whitespace-nowrap\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-sm font-semibold\\\"],[12],[1,[28,[35,36],[[30,0,[\\\"initiative\\\",\\\"formattedBonInvestment\\\"]],\\\"\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"inline-flex items-center gap-x-1 whitespace-nowrap\\\\n \\\",[52,[30,0,[\\\"initiative\\\",\\\"bon_value\\\"]],\\\"bg-indigo-500\\\",\\\"bg-gray-400\\\"],\\\"\\\\n px-2 rounded-e-lg\\\\n \\\",[30,3,[\\\"impact_portion\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[15,0,[29,[\\\"text-sm\\\\n \\\",[52,[30,0,[\\\"initiative\\\",\\\"bon_value\\\"]],\\\"text-indigo-300\\\",\\\"text-gray-200\\\"],\\\"\\\\n text-ellipsis overflow-hidden whitespace-nowrap\\\"]]],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.expected\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.impact\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-white text-sm font-semibold\\\"],[12],[1,[28,[35,36],[[30,0,[\\\"initiative\\\",\\\"formattedBonValue\\\"]],\\\"\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"nav\\\"],[14,0,\\\"tabs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"flex gap-x-8\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,25],[[28,[37,25],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[30,4,[\\\"hide\\\"]],[[],[]],[[[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"popover\\\"]],[[[1,\\\" \\\"],[10,\\\"button\\\"],[14,0,\\\"capitalize text-sm pb-3 text-gray-400 font-normal\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,40],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"popover\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,4,[\\\"external_link\\\"]],[[[1,\\\" \\\"],[10,3],[15,6,[30,4,[\\\"external_link\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[15,\\\"test-id\\\",[29,[\\\"so-\\\",[30,4,[\\\"key\\\"]],\\\"-link\\\"]]],[15,0,[29,[\\\"capitalize text-sm pb-3 flex items-center gap-x-1\\\\n \\\",[52,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],[30,4,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold border-b-[3px] border-indigo-500\\\",\\\"text-gray-500 font-normal\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[10,1],[12],[1,[30,4,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,4,[\\\"link\\\"]],[[[41,[30,4,[\\\"open_separate\\\"]],[[[1,\\\" \\\"],[8,[39,10],[[24,\\\"target\\\",\\\"_blank\\\"],[24,\\\"rel\\\",\\\"noopener noreferrer\\\"],[16,\\\"test-id\\\",[29,[\\\"so-\\\",[30,4,[\\\"key\\\"]],\\\"-link\\\"]]],[16,0,[29,[\\\"capitalize text-sm pb-3 flex items-center gap-x-1\\\\n \\\",[52,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],[30,4,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold border-b-[3px] border-indigo-500\\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[[30,4,[\\\"link\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]],[28,[37,11],null,[[\\\"initiative_id\\\"],[[27]]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,4,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,10],[[16,\\\"test-id\\\",[29,[\\\"so-\\\",[30,4,[\\\"key\\\"]],\\\"-link\\\"]]],[16,0,[29,[\\\"capitalize text-sm pb-3 flex items-center gap-x-1\\\\n \\\",[52,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],[30,4,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold border-b-[3px] border-indigo-500\\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[[30,4,[\\\"link\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]],[28,[37,11],null,[[\\\"initiative_id\\\"],[[27]]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,4,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"capitalize text-sm pb-3\\\\n \\\",[52,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],[30,4,[\\\"key\\\"]]],null],\\\"text-gray-900 font-semibold border-b-[3px] border-indigo-500\\\",\\\"text-gray-500 font-normal\\\"]]]],[24,4,\\\"button\\\"],[4,[38,42],[\\\"click\\\",[28,[37,27],[[30,0,[\\\"setActiveTab\\\"]],[30,4]],null]],null],[12],[1,[30,4,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]],[]]]],[]]]],[]]]],[4]],null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"ml-auto\\\"],[24,\\\"test-id\\\",\\\"so-settings-link\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@model\\\"],[\\\"backlog.initiatives.initiative.description\\\",[28,[37,11],null,[[\\\"initiative_id\\\"],[[27]]]],[30,0,[\\\"initiative\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,43],[[24,0,\\\"w-5 h-5 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,40],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.view\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"body min-h-[500px] bg-white/90 p-4 rounded-b-[32px]\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],\\\"progress\\\"],null],[[[1,\\\" \\\"],[8,[39,44],null,[[\\\"@initiative\\\"],[[30,0,[\\\"initiative\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"activeTab\\\"]],\\\"bon\\\"],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-2xl bg-white p-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"text-right flex items-center justify-end\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"flex items-center gap-x-1\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@model\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[28,[37,11],null,[[\\\"initiative_id\\\",\\\"editMode\\\"],[[27],true]]],[30,0,[\\\"initiative\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,45],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-indigo-500 text-sm font-normal\\\"],[12],[1,[28,[35,8],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,46],null,[[\\\"@notes\\\",\\\"@text_delta\\\",\\\"@investments\\\",\\\"@returns\\\",\\\"@bonValue\\\"],[[30,0,[\\\"initiative\\\",\\\"bon\\\",\\\"notes\\\"]],[30,0,[\\\"initiative\\\",\\\"bon\\\",\\\"text_delta\\\"]],[30,0,[\\\"initiative\\\",\\\"bon\\\",\\\"investments\\\"]],[30,0,[\\\"initiative\\\",\\\"bon\\\",\\\"returns\\\"]],[30,0,[\\\"initiative\\\",\\\"bon\\\",\\\"value\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"status\\\",\\\"team\\\",\\\"widths\\\",\\\"tab\\\"],[\\\"if\\\",\\\"and\\\",\\\"div\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/close\\\",\\\"on-click-outside\\\",\\\"on-escape\\\",\\\"h3\\\",\\\"t\\\",\\\"initiatives/table/progress-pill\\\",\\\"link-to\\\",\\\"hash\\\",\\\"h1\\\",\\\"molecules/favorite-icon\\\",\\\"tailwind-icons/user\\\",\\\"span\\\",\\\"or\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"tailwind-icons/flag\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\",\\\"fn\\\",\\\"eq\\\",\\\"quill-editor\\\",\\\"pre\\\",\\\"atoms/avatar\\\",\\\"dl\\\",\\\"let\\\",\\\"dt\\\",\\\"dd\\\",\\\"localize\\\",\\\"nav\\\",\\\"ul\\\",\\\"button\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"on\\\",\\\"atoms/icons/eye-on\\\",\\\"initiatives/popover/progress\\\",\\\"atoms/icons/edit\\\",\\\"back-of-a-napkin/bon-preview\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/popover/index.hbs\",\n \"isStrictMode\": false\n });\n\n // import textDeltaIsEmpty from 'scaleflow/utils/text-delta-is-empty';\n let InitiativesPopoverIndexComponent = _exports.default = (_class = class InitiativesPopoverIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"activeTab\", _descriptor4, this);\n }\n get initiative() {\n return this.initiativeSlideover.initiative ?? {};\n }\n get slideoverIsOpen() {\n return this.initiativeSlideover.isOpen;\n }\n daysAgo(date) {\n return (0, _fromNow.default)(date);\n }\n setActiveTab(tab) {\n this.activeTab = tab.key;\n }\n setInitiativeStatus(e) {\n this.initiative.status = e.value;\n this.initiative.save();\n }\n get tabs() {\n // const showSetDocumentPopover =\n // !this.initiative.initiative_doc &&\n // textDeltaIsEmpty(this.initiative.text_delta);\n return [{\n label: this.intl.t('_initiatives.update', {\n num: 2\n }),\n key: 'progress'\n },\n // {\n // label: this.intl.t('_initiatives.document'),\n // key: 'document',\n // link: 'backlog.initiatives.initiative.document',\n // external_link: this.initiative.initiative_doc,\n // open_separate: true,\n // popover: showSetDocumentPopover\n // ? this.intl.t('_initiatives.set-document')\n // : false,\n // },\n {\n label: this.intl.t('dictionary.back-of-napkin', {\n num: 1\n }),\n key: 'bon'\n // link: 'backlog.initiatives.initiative.back-of-a-napkin',\n }, {\n label: this.intl.t('dictionary.tasks'),\n key: 'tasks',\n link: 'backlog.initiatives.initiative.workstreams',\n // open_separate: true,\n hide: this.initiative.workstreams?.content?.length < 1 || !this.betaToggle.showWorkstreams\n }];\n }\n get impact_widths() {\n const investment = this.initiative.bon_investment;\n const impact = this.initiative.bon_value;\n if (!investment && !impact) {\n return {\n investment_portion: `w-1/2`,\n impact_portion: `w-1/2`\n };\n }\n if (+investment > +impact) {\n return {\n investment_portion: `w-4/5`,\n impact_portion: `w-1/5`\n };\n }\n let investment_portion = Math.ceil(+investment / +impact * 5);\n investment_portion = investment_portion === 5 ? 4 : investment_portion;\n const impact_portion = 5 - investment_portion;\n return {\n investment_portion: `w-${investment_portion}/5`,\n impact_portion: `w-${impact_portion}/5`\n };\n }\n handleEscPress() {\n if (this.initiativeSlideover.updateWizardIsOpen) return;\n this.initiativeSlideover.close();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeTab\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'progress';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveTab\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveTab\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setInitiativeStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setInitiativeStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleEscPress\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleEscPress\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesPopoverIndexComponent);\n});","define(\"scaleflow/components/initiatives/popover/initiative-update/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"scaleflow/models/initiative-update\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _initiativeUpdate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"scaleflow/models/initiative-update\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @isNew}}\n \n
    \n \n {{t\n \"dictionary.update\"\n }}\n
    \n \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n
    \n \n
    \n \n \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n Cancel\n Save\n
    \n
    \n \n \n {{else}}\n \n
    \n \n \n {{t \"dictionary.update\"}}\n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n
    \n \n {{from-now\n @item.created_at\n }}\n
    \n \n \n {{/if}}\n */\n {\n \"id\": \"ueT5zP+a\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,0],[24,0,\\\"bg-white rounded-2xl p-4 compressed-lines mb-2 is-new progress\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 pb-2 border-b-gray-200 border-b mb-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-4 h-4 text-gray-900\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-xs font-semibold\\\"],[12],[1,[28,[35,4],[\\\"dictionary.update\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-4 sm:flex sm:items-center sm:space-x-10 sm:space-y-0 mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[16,\\\"checked\\\",[28,[37,6],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,7],[\\\"change\\\",[28,[37,8],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[16,\\\"checked\\\",[28,[37,6],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,7],[\\\"change\\\",[28,[37,8],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[16,\\\"checked\\\",[28,[37,6],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,7],[\\\"change\\\",[28,[37,8],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[16,\\\"checked\\\",[28,[37,6],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,7],[\\\"change\\\",[28,[37,8],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"popover-new-update\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,4],[\\\"dictionary.comments\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"textarea block h-[90px] leading-4 w-full pl-2 mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@delta\\\"],[\\\"popover-new-update\\\",\\\"#popover-new-update\\\",\\\"popover-new-update\\\",[30,0,[\\\"setProgressComments\\\"]],\\\"bubble\\\",[30,3,[\\\"text_delta\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"py-4 px-4 bg-gray-50 rounded-lg\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mb-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,\\\"What is the\\\\n progress of this initiative\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"mt-4 w-full\\\"]],[[\\\"@value\\\",\\\"@onInputChange\\\"],[[30,3,[\\\"reported_health\\\"]],[30,0,[\\\"setReportedHealth\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"py-2 px-3 text-indigo-700 bg-indigo-100 text-sm rounded-lg\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"cancel\\\"]]],null],[12],[1,\\\"Cancel\\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"py-2 px-3 text-white bg-indigo-500 text-sm rounded-lg disabled:bg-gray-100 disabled:text-gray-400 disabled:border-0\\\"],[16,\\\"disabled\\\",[28,[37,14],[[30,3,[\\\"status\\\"]]],null]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"button\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"save\\\"]]],null],[12],[1,\\\"Save\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,0],[24,0,\\\"bg-white rounded-2xl p-4 compressed-lines mb-2 group\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-xs font-semibold flex items-center gap-x-1\\\"],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,4],[\\\"dictionary.update\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"invisible group-hover:visible\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"deleteItem\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-4 h-4 text-red-600\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex\\\\n \\\",[52,[30,4],\\\"flex-col-reverse gap-y-2 items-start\\\",\\\"items-start justify-between\\\"],\\\"\\\\n mb-2\\\"]]],[12],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"text-sm text-gray-900 leading-5\\\"]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@theme\\\",\\\"@id\\\",\\\"@name\\\",\\\"@bounds\\\"],[[30,3,[\\\"text_delta\\\"]],false,\\\"bubble\\\",[29,[[28,[37,17],[[30,5],\\\"pop\\\"],null],\\\"-update-\\\",[30,3,[\\\"id\\\"]]]],[29,[[28,[37,17],[[30,5],\\\"pop\\\"],null],\\\"-update-\\\",[30,3,[\\\"id\\\"]]]],[29,[\\\"#\\\",[28,[37,17],[[30,5],\\\"pop\\\"],null],\\\"-update-\\\",[30,3,[\\\"id\\\"]]]]]],null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"shrink-0\\\"]],[[\\\"@progress\\\"],[[30,3,[\\\"status\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"border-t border-gray-200 py-4 flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"w-[90px]\\\"]],[[\\\"@value\\\",\\\"@readOnly\\\"],[[30,3,[\\\"reported_health\\\"]],true]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,3,[\\\"updatedByPerson\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"from-now\\\"],[14,0,\\\"text-gray-500 text-xs\\\"],[12],[1,[28,[35,19],[[30,3,[\\\"created_at\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@isNew\\\",\\\"&attrs\\\",\\\"@item\\\",\\\"@small\\\",\\\"@prefix\\\"],[\\\"if\\\",\\\"div\\\",\\\"tailwind-icons/comment\\\",\\\"span\\\",\\\"t\\\",\\\"input\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"label\\\",\\\"initiatives/table/progress-pill\\\",\\\"quill-editor\\\",\\\"atoms/forms/range/pills\\\",\\\"button\\\",\\\"not\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/delete\\\",\\\"or\\\",\\\"avatar\\\",\\\"from-now\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/popover/initiative-update/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesPopoverInitiativeUpdateIndexComponent = _exports.default = (_class = class InitiativesPopoverInitiativeUpdateIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"status_keys\", _initiativeUpdate.STATUS_KEYS);\n }\n setProgressStatus(status) {\n this.args.item.status = status;\n }\n setProgressComments(e) {\n this.args.item.text_delta = e;\n }\n setReportedHealth(val) {\n this.args.item.reported_health = val;\n }\n cancel() {\n this.args.item.deleteRecord();\n this.args?.deactivateCreatingNew?.();\n }\n save() {\n this.args.item.save().then(() => {\n this.args?.deactivateCreatingNew?.();\n });\n }\n deleteItem() {\n this.args.item.destroyRecord();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"setProgressStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setProgressStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setProgressComments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setProgressComments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setReportedHealth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setReportedHealth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"save\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"save\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteItem\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesPopoverInitiativeUpdateIndexComponent);\n});","define(\"scaleflow/components/initiatives/popover/list-item/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/text-delta-is-empty\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _textDeltaIsEmpty, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/text-delta-is-empty\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @isNew}}\n \n
    \n \n {{#let (component @icon) as |Icon|}}\n \n {{/let}}\n {{@label}}\n {{#if @item.isSaving}}\n \n {{/if}}\n \n
    \n
    \n \n \n
    \n \n Press\n Cmd\n +\n Enter\n to\n save\n Press\n Esc\n to\n cancel\n \n \n {{else}}\n \n
    \n \n {{#let (component @icon) as |Icon|}}\n \n {{/let}}\n {{@label}}\n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n {{!--\n --}}\n \n
    \n \n {{from-now @item.created_at}}\n
    \n
    \n \n {{/if}}\n */\n {\n \"id\": \"SN00s8jY\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,0],[16,0,[29,[\\\"bg-white rounded-2xl p-4 compressed-lines mb-5 is-new\\\\n \\\",[52,[30,2,[\\\"isSaving\\\"]],\\\"opacity-50\\\"]]]],[24,1,\\\"new-remark-container\\\"],[17,3],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-xs font-semibold flex items-center gap-x-1\\\"],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[50,[30,4],0,null,null]],[[[1,\\\" \\\"],[8,[30,5],[[24,0,\\\"w-4 h-4\\\"]],null,null],[1,\\\"\\\\n\\\"]],[5]]],[1,\\\" \\\"],[10,1],[12],[1,[30,6]],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"isSaving\\\"]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"!w-4 !h-4 !border-2 !border-t-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"flex-shrink-0 mt-0.5\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,2,[\\\"completed\\\"]],[30,0,[\\\"toggleCheckbox\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"text-sm text-gray-900 leading-5 mb-2 flex-1\\\"]],[[\\\"@theme\\\",\\\"@id\\\",\\\"@name\\\",\\\"@bounds\\\",\\\"@onChange\\\",\\\"@modules\\\",\\\"@focused\\\"],[\\\"bubble\\\",[29,[\\\"new-\\\",[30,7]]],[29,[\\\"new-\\\",[30,7]]],[29,[\\\"#new-\\\",[30,7]]],[30,0,[\\\"handleTextDeltaChange\\\"]],[30,0,[\\\"modules\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"border-t border-gray-200 py-4 flex items-center justify-between gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"em\\\"],[14,0,\\\"text-gray-500 text-xs\\\"],[12],[1,\\\"Press\\\\n \\\"],[10,\\\"kbd\\\"],[12],[1,\\\"Cmd\\\"],[13],[1,\\\"\\\\n +\\\\n \\\"],[10,\\\"kbd\\\"],[12],[1,\\\"Enter\\\"],[13],[1,\\\"\\\\n to\\\\n \\\"],[10,\\\"strong\\\"],[12],[1,\\\"save\\\"],[13],[13],[1,\\\"\\\\n \\\"],[10,\\\"em\\\"],[14,0,\\\"text-gray-500 text-xs\\\"],[12],[1,\\\"Press\\\\n \\\"],[10,\\\"kbd\\\"],[12],[1,\\\"Esc\\\"],[13],[1,\\\"\\\\n to\\\\n \\\"],[10,\\\"strong\\\"],[12],[1,\\\"cancel\\\"],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,0],[24,0,\\\"bg-white rounded-2xl p-4 compressed-lines mb-5 group\\\"],[17,3],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-xs font-semibold flex items-center gap-x-1\\\"],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[50,[30,4],0,null,null]],[[[1,\\\" \\\"],[8,[30,8],[[24,0,\\\"w-4 h-4\\\"]],[[\\\"@filled\\\"],[\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[8]]],[1,\\\" \\\"],[10,1],[12],[1,[30,6]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"invisible group-hover:visible\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"deleteItem\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-4 h-4 text-red-600\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"flex-shrink-0 mt-0.5\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,2,[\\\"completed\\\"]],[30,0,[\\\"toggleCheckbox\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"text-sm text-gray-900 leading-5 mb-2\\\"]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@theme\\\",\\\"@id\\\",\\\"@name\\\",\\\"@bounds\\\"],[[30,2,[\\\"text_delta\\\"]],false,\\\"bubble\\\",[29,[[28,[37,14],[[30,9],\\\"pop\\\"],null],\\\"-update-\\\",[30,2,[\\\"id\\\"]]]],[29,[[28,[37,14],[[30,9],\\\"pop\\\"],null],\\\"-update-\\\",[30,2,[\\\"id\\\"]]]],[29,[\\\"#\\\",[28,[37,14],[[30,9],\\\"pop\\\"],null],\\\"-update-\\\",[30,2,[\\\"id\\\"]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"border-t border-gray-200 py-4 flex items-center justify-end\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@size\\\",\\\"@text-size\\\",\\\"@id\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,2,[\\\"author\\\",\\\"id\\\"]],\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs\\\"],[12],[1,[28,[35,16],[[30,2,[\\\"created_at\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@isNew\\\",\\\"@item\\\",\\\"&attrs\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"Icon\\\",\\\"@prefix\\\"],[\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"let\\\",\\\"component\\\",\\\"loader\\\",\\\"checkbox\\\",\\\"quill-editor\\\",\\\"em\\\",\\\"kbd\\\",\\\"strong\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/delete\\\",\\\"or\\\",\\\"avatar\\\",\\\"from-now\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/popover/list-item/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesPopoverListItemIndexComponent = _exports.default = (_class = class InitiativesPopoverListItemIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"confetti\", _descriptor, this);\n }\n toggleCheckbox() {\n if (!this.args.item.completed) {\n this.confetti.play();\n }\n }\n showInvalidAnimation() {\n const element = document.querySelector('#new-remark-container');\n element.classList.add('wiggle-box');\n setTimeout(() => {\n element.classList.remove('wiggle-box');\n }, 300);\n }\n saveItem() {\n if (this.args.item.isSaving) return;\n if ((0, _textDeltaIsEmpty.default)(this.args.item.text_delta)) {\n this.showInvalidAnimation();\n return;\n }\n this.args.item.save().then(() => {\n this.args?.onSave?.();\n });\n }\n handleTextDeltaChange(e) {\n this.args.item.text_delta = e;\n }\n cancelItem() {\n this.args.item.deleteRecord();\n this.args?.onCancel?.();\n }\n deleteItem() {\n this.args.item.destroyRecord();\n }\n get modules() {\n const modules = {};\n modules.keyboard = {\n bindings: this.keyBindings\n };\n return modules;\n }\n get keyBindings() {\n const that = this;\n return {\n submit: {\n key: 13,\n // Enter key code\n shortKey: true,\n // For cmd key\n handler: function () {\n that.saveItem();\n }\n },\n escape: {\n key: 'Escape',\n handler: function () {\n that.remarks = undefined;\n that.cancelItem();\n }\n }\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"confetti\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleCheckbox\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCheckbox\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showInvalidAnimation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showInvalidAnimation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTextDeltaChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTextDeltaChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteItem\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesPopoverListItemIndexComponent);\n});","define(\"scaleflow/components/initiatives/popover/progress/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/dateSort\", \"scaleflow/utils/generate-position-from-time\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _dateSort, _generatePositionFromTime, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dateSort\",0,\"scaleflow/utils/generate-position-from-time\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n {{#each this.tabs as |tab|}}\n {{#if tab.isVisibleToBetaUsers}}\n \n {{#if tab.count}}\n {{tab.count}}\n {{/if}}\n {{tab.label}}\n \n {{/if}}\n {{/each}}\n
    \n \n \n \n \n \n
    \n
    \n {{#each this.items as |item|}}\n {{#unless item.isNew}}\n {{#if (eq item.constructor.modelName \"initiative-update\")}}\n \n {{/if}}\n \n {{#if (eq item.constructor.modelName \"wfa\")}}\n \n {{/if}}\n \n {{#if (eq item.constructor.modelName \"uncertainty\")}}\n \n {{/if}}\n {{#if (eq item.content.constructor.modelName \"metric\")}}\n
    \n \n

    \n {{item.content.title}}\n

    \n {{#let\n (item.content.targetForInitiative this.initiative.id)\n as |target|\n }}\n

    Target:\n {{or\n (get target \"formattedTargetValue\")\n \"None\"\n }}

    \n {{! template-lint-disable no-array-prototype-extensions }}\n {{/let}}\n \n

    Current:\n {{item.content.latestMeasurement.formattedValue}}

    \n
    \n
    \n {{/if}}\n {{/unless}}\n {{/each}}\n \n \n \n */\n {\n \"id\": \"BMiJYqZH\",\n \"block\": \"[[[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 mt-4 mb-6 shrink-0\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[41,[30,1,[\\\"isVisibleToBetaUsers\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"px-3 py-2 text-xs flex items-center gap-x-1\\\\n \\\",[52,[28,[37,5],[[30,1,[\\\"key\\\"]],[30,0,[\\\"activeTab\\\"]]],null],\\\"bg-indigo-500 text-white rounded-lg font-semibold\\\",\\\"text-gray-500\\\"]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"setActiveTab\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"count\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"badge \\\",[30,1,[\\\"key\\\"]]]]],[12],[1,[30,1,[\\\"count\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[12],[1,[30,1,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-full bg-indigo-500 w-8 h-8 flex items-center justify-center\\\"],[24,\\\"test-id\\\",\\\"new\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"initiativeSlideover\\\",\\\"openWizard\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"w-5 h-5 text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[15,0,[29,[\\\"updates grid grid-cols-12 \\\",[52,[30,0,[\\\"creatingNew\\\"]],\\\"creating-new\\\"]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"items\\\"]]],null]],null],null,[[[41,[51,[30,2,[\\\"isNew\\\"]]],[[[41,[28,[37,5],[[30,2,[\\\"constructor\\\",\\\"modelName\\\"]],\\\"initiative-update\\\"],null],[[[1,\\\" \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"progress-item\\\"],[24,0,\\\"col-span-12\\\"]],[[\\\"@item\\\",\\\"@isNew\\\",\\\"@deactivateCreatingNew\\\"],[[30,2],[30,2,[\\\"isNew\\\"]],[30,0,[\\\"deactivateCreatingNew\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"constructor\\\",\\\"modelName\\\"]],\\\"wfa\\\"],null],[[[1,\\\" \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"progress-item\\\"],[24,0,\\\"col-span-12\\\"]],[[\\\"@item\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"@isNew\\\",\\\"@deactivateCreatingNew\\\"],[[30,2],\\\"tailwind-icons/waiting\\\",[28,[37,13],[\\\"dictionary.waiting-for-answers\\\"],[[\\\"num\\\"],[1]]],\\\"wfa\\\",[30,2,[\\\"isNew\\\"]],[30,0,[\\\"deactivateCreatingNew\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"constructor\\\",\\\"modelName\\\"]],\\\"uncertainty\\\"],null],[[[1,\\\" \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"progress-item\\\"],[24,0,\\\"col-span-12\\\"]],[[\\\"@item\\\",\\\"@type\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@isNew\\\",\\\"@deactivateCreatingNew\\\"],[[30,2],\\\"uncertainty\\\",\\\"tailwind-icons/uncertainty\\\",[28,[37,13],[\\\"dictionary.uncertainty\\\"],[[\\\"num\\\"],[1]]],[30,2,[\\\"isNew\\\"]],[30,0,[\\\"deactivateCreatingNew\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,5],[[30,2,[\\\"content\\\",\\\"constructor\\\",\\\"modelName\\\"]],\\\"metric\\\"],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-4 mb-2 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white rounded-2xl p-4 space-y-1 compressed-lines group\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"flex gap-x-1 items-center text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,[30,2,[\\\"content\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[44,[[28,[30,2,[\\\"content\\\",\\\"targetForInitiative\\\"]],[[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 text-sm\\\"],[12],[1,\\\"Target:\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,17],[[28,[37,18],[[30,3],\\\"formattedTargetValue\\\"],null],\\\"None\\\"],null]],[13],[13],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-sm\\\"],[12],[1,\\\"Current:\\\\n \\\"],[1,[30,2,[\\\"content\\\",\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null]],[2]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,19],null,null,null]],[\\\"tab\\\",\\\"item\\\",\\\"target\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"button\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"span\\\",\\\"atoms/icons/plus\\\",\\\"unless\\\",\\\"initiatives/popover/initiative-update\\\",\\\"initiatives/popover/list-item\\\",\\\"t\\\",\\\"p\\\",\\\"tailwind-icons/target\\\",\\\"let\\\",\\\"or\\\",\\\"get\\\",\\\"initiatives/update-wizard\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/popover/progress/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesPopoverProgressIndexComponent = _exports.default = (_class = class InitiativesPopoverProgressIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor5, this);\n _initializerDefineProperty(this, \"activeTab\", _descriptor6, this);\n _initializerDefineProperty(this, \"creatingNew\", _descriptor7, this);\n }\n get tabs() {\n return [{\n label: `${this.intl.t('dictionary.all')} ${this.intl.t('_initiatives.update', {\n num: 2\n })}`,\n key: 'all',\n isVisibleToBetaUsers: true\n }, {\n label: this.intl.t('dictionary.uncertainty', {\n num: 2\n }),\n key: 'uncertainty',\n count: this.initiative?.unarchivedUncertaintiesDetailed?.open ?? 0,\n isVisibleToBetaUsers: true\n }, {\n label: this.intl.t('dictionary.waiting-for-answers'),\n key: 'waiting',\n count: this.initiative?.unarchivedWfasDetailed?.open ?? 0,\n isVisibleToBetaUsers: true\n }, {\n label: this.intl.t('dictionary.metrics'),\n key: 'metrics',\n isVisibleToBetaUsers: this.betaToggle.showMetrics\n }];\n }\n get uncertainties() {\n return this.initiative?.uncertainties?.content ?? [];\n }\n get wfas() {\n return this.initiative?.wfas?.content ?? [];\n }\n get initiativeUpdates() {\n return this.initiative?.['initiative-updates']?.content ?? [];\n }\n setActiveTab(tab) {\n this.activeTab = tab.key;\n }\n get initiative() {\n return this.args.initiative;\n }\n allItemsSortedByDate() {\n const uncertainties = this.uncertainties;\n const wfas = this.wfas;\n const updates = this.initiativeUpdates;\n const allItems = [...uncertainties, ...wfas, ...updates];\n allItems.sort((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n return allItems;\n }\n get items() {\n switch (this.activeTab) {\n case 'all':\n return this.allItemsSortedByDate();\n case 'uncertainty':\n return this.uncertainties.toSorted((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n case 'waiting':\n return this.wfas.toSorted((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n case 'metrics':\n return this.initiative.metrics;\n default:\n return [];\n }\n }\n setActiveTabToAll() {\n this.setActiveTab({\n key: 'all'\n });\n }\n createNewUncertainty() {\n this.setActiveTabToAll();\n const uncertainty = this.store.createRecord('uncertainty');\n uncertainty.author = this.currentUser.currentUser;\n uncertainty.assignees = [this.currentUser.currentUser];\n uncertainty.initiative = this.initiative;\n uncertainty.position = (0, _generatePositionFromTime.default)();\n this.creatingNew = true;\n }\n createNewWaiting() {\n this.setActiveTabToAll();\n const wfa = this.store.createRecord('wfa');\n wfa.author = this.currentUser.currentUser;\n wfa.assignees = [this.currentUser.currentUser];\n wfa.initiative = this.initiative;\n wfa.position = (0, _generatePositionFromTime.default)();\n this.creatingNew = true;\n }\n createNewUpdate() {\n this.setActiveTabToAll();\n const update = this.store.createRecord('initiative-update');\n update.initiative = this.initiative;\n update.initiative_id = this.initiative.id;\n update.created_at = new Date().toISOString();\n update.updated_by = {\n type: 'PERSON',\n id: this.currentUser.id\n };\n this.creatingNew = true;\n }\n deactivateCreatingNew() {\n this.creatingNew = false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"activeTab\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'all';\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"creatingNew\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveTab\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveTab\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewUncertainty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewUncertainty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewWaiting\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewWaiting\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deactivateCreatingNew\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deactivateCreatingNew\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesPopoverProgressIndexComponent);\n});","define(\"scaleflow/components/initiatives/popover/progress/new/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:trigger>\n \n \n \n <:menuItems>\n \n \n {{t \"dictionary.new\"}} {{t \"dictionary.update\"}}\n \n \n \n {{t \"dictionary.new\"}} {{t \"dictionary.uncertainty\" num=1}}\n \n \n \n {{t \"dictionary.new\"}} {{t \"dictionary.waiting-for-answers\"}}\n \n \n \n */\n {\n \"id\": \"gjA8nj+8\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"!w-fit\\\"],[24,\\\"test-id\\\",\\\"new\\\"],[17,1]],[[\\\"@triggerClass\\\",\\\"@emitDropdownState\\\",\\\"@disabled\\\"],[\\\"rounded-full bg-indigo-500 w-8 h-8 flex items-center justify-center\\\",[30,0,[\\\"setIsOpen\\\"]],[30,2]]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[16,0,[29,[\\\"w-5 h-5 text-white transition-transform\\\\n \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"rotate-45\\\",\\\"\\\"]]]]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"gap-x-2\\\"]],[[\\\"@handleSelect\\\"],[[30,3]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-6 h-6 text-gray-900\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.new\\\"],null]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"dictionary.update\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"gap-x-2\\\"]],[[\\\"@handleSelect\\\"],[[30,4]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.new\\\"],null]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"dictionary.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"gap-x-2\\\"]],[[\\\"@handleSelect\\\"],[[30,5]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.new\\\"],null]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"dictionary.waiting-for-answers\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]]],[\\\"&attrs\\\",\\\"@creatingNew\\\",\\\"@createNewUpdate\\\",\\\"@createNewUncertainty\\\",\\\"@createNewWaiting\\\"],[\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/plus\\\",\\\"if\\\",\\\":menuItems\\\",\\\"tailwind-components/dropdown/option\\\",\\\"tailwind-icons/comment\\\",\\\"span\\\",\\\"t\\\",\\\"tailwind-icons/uncertainty\\\",\\\"tailwind-icons/waiting\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/popover/progress/new/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesPopoverProgressNewComponent = _exports.default = (_class = class InitiativesPopoverProgressNewComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n }\n setIsOpen(val) {\n this.isOpen = val;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setIsOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIsOpen\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesPopoverProgressNewComponent);\n});","define(\"scaleflow/components/initiatives/progress-card/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n

    \n {{@initiative.title}}\n

    \n
    \n \n
    \n
    \n
    \n
    \n
    {{t \"dictionary.status\"}}
    \n
    \n {{@initiative.statusLabel}}\n
    \n
    \n \n
    \n
    {{t\n \"dictionary.reported\"\n }}
    \n
    \n \n
    \n
    \n \n
    \n
    {{t\n \"_initiatives.progress\"\n }}
    \n
    \n \n
    \n
    \n \n
    \n
    {{t\n \"dictionary.last-updated\"\n }}
    \n {{@initiative.latestUpdate.humanReadableUpdatedAt}}\n
    \n
    \n \n
    \n
    \n
    {{t\n \"_initiatives.uncertainty\"\n num=2\n }}
    \n
    \n {{#let @initiative.unarchivedUncertaintiesDetailed as |tickets|}}\n {{tickets.closed}}/{{tickets.total}}\n {{/let}}\n
    \n
    \n \n
    \n
    {{t \"_initiatives.wfa\"}}
    \n
    \n {{#let @initiative.unarchivedWfasDetailed as |tickets|}}\n {{tickets.closed}}/{{tickets.total}}\n {{/let}}\n
    \n
    \n \n
    \n
    {{t \"dictionary.tasks\"}}
    \n
    \n {{#if (eq @initiative.totalTickets 0)}}\n -\n {{else}}\n {{@initiative.closedTickets}}/{{@initiative.totalTickets}}\n {{/if}}\n
    \n
    \n \n
    \n \n
    \n
    \n \n */\n {\n \"id\": \"iYaKfW1C\",\n \"block\": \"[[[10,0],[14,0,\\\"w-full shadow rounded-md h-fit\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"card-heading flex items-center justify-between py-2 px-4 bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"\\\"],[12],[11,\\\"button\\\"],[24,0,\\\"text-sm flex items-center gap-x-2\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"openInitiativePanel\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@name\\\"],[[30,1,[\\\"title\\\"]]]],null],[10,1],[14,0,\\\"hover:underline whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"pc-title\\\"],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"card-body px-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"grid md:grid-cols-2 py-6 gap-y-4 gap-x-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col gap-y-4 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"dictionary.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[14,\\\"test-id\\\",\\\"pc-status\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"statusLabel\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"dictionary.reported\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@readOnly\\\",\\\"@value\\\"],[true,[30,1,[\\\"latestUpdate\\\",\\\"reported_health\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.progress\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"whitespace-nowrap\\\"]],[[\\\"@progress\\\"],[[30,1,[\\\"latestUpdate\\\",\\\"status\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"dictionary.last-updated\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[12],[1,[30,1,[\\\"latestUpdate\\\",\\\"humanReadableUpdatedAt\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col gap-y-4 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[14,\\\"test-id\\\",\\\"pc-uncertainties\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[30,1,[\\\"unarchivedUncertaintiesDetailed\\\"]]],[[[1,\\\" \\\"],[1,[30,2,[\\\"closed\\\"]]],[1,\\\"/\\\"],[1,[30,2,[\\\"total\\\"]]],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.wfa\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[30,1,[\\\"unarchivedWfasDetailed\\\"]]],[[[1,\\\" \\\"],[1,[30,3,[\\\"closed\\\"]]],[1,\\\"/\\\"],[1,[30,3,[\\\"total\\\"]]],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500 text-xs w-1/2\\\"],[12],[1,[28,[35,8],[\\\"dictionary.tasks\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900 text-xs\\\"],[14,\\\"test-id\\\",\\\"pc-tasks\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,1,[\\\"totalTickets\\\"]],0],null],[[[1,\\\" -\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,1,[\\\"closedTickets\\\"]]],[1,\\\"/\\\"],[1,[30,1,[\\\"totalTickets\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@initiative\\\",\\\"tickets\\\",\\\"tickets\\\"],[\\\"div\\\",\\\"h3\\\",\\\"button\\\",\\\"on\\\",\\\"molecules/initiative-avatar\\\",\\\"span\\\",\\\"dl\\\",\\\"dt\\\",\\\"t\\\",\\\"dd\\\",\\\"atoms/forms/range/dots\\\",\\\"initiatives/table/progress-pill\\\",\\\"let\\\",\\\"if\\\",\\\"eq\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/progress-card/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesProgressCardIndexComponent = _exports.default = (_class = class InitiativesProgressCardIndexComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n if (!this.args.initiative) (false && !(false) && (0, _debug.assert)('An Initiative needs to be passed to this component'));\n }\n openInitiativePanel() {\n this.initiativeSlideover.open(this.args.initiative.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"openInitiativePanel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openInitiativePanel\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesProgressCardIndexComponent);\n});","define(\"scaleflow/components/initiatives/progress-filter-slideover/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/models/initiative-update\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _initiativeUpdate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/models/initiative-update\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n
    \n \n
    \n
    \n \n {{#if @activeSortFilter}}\n {{label-extract this.sortOptions @activeSortFilter}}\n {{else}}\n {{t \"dictionary.select\"}}\n {{/if}}\n \n \n \n
    \n
    \n \n {{!--
    \n
    \n \n
    \n
    \n \n {{#if @activeStatusFilters.length}}\n {{t 'dictionary.selected'}}\n {{@activeStatusFilters.length}}\n {{else}}\n {{t 'dictionary.select'}}\n {{/if}}\n \n \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n {{#if @activeHealthFilters.length}}\n {{t 'dictionary.selected'}}\n {{@activeHealthFilters.length}}\n {{else}}\n {{t 'dictionary.select'}}\n {{/if}}\n \n \n \n
    \n
    --}}\n \n \n */\n {\n \"id\": \"imePLQDO\",\n \"block\": \"[[[10,0],[14,0,\\\"py-6 sm:space-y-0 sm:py-0 flex flex-wrap items-center gap-y-2 gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center space-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"title\\\"],[14,0,\\\"text-sm font-semibold text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"dictionary.group-by\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-[140px] py-2 px-3\\\"],[24,\\\"test-id\\\",\\\"filter-sort-trigger\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,6],[[30,0,[\\\"sortOptions\\\"]],[30,1]],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,2],[\\\"dictionary.select\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"status-dropdown\\\"]],[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@hideClearOption\\\"],[[30,0,[\\\"sortOptions\\\"]],[30,1],[30,0,[\\\"propagateSortFilterSelect\\\"]],\\\"tableOrder\\\",true,true,true]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"\\\\n\\\"],[13]],[\\\"@activeSortFilter\\\"],[\\\"div\\\",\\\"label\\\",\\\"t\\\",\\\"atoms/buttons/secondary-button\\\",\\\"if\\\",\\\"span\\\",\\\"label-extract\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/progress-filter-slideover/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesProgressFilterSlideoverIndexComponent = _exports.default = (_class = class InitiativesProgressFilterSlideoverIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n }\n get healthOptions() {\n return Object.values(_initiativeUpdate.STATUS_KEYS).map(item => {\n return {\n value: item,\n label: this.intl.t(`_initiatives.updates_${item.toLowerCase()}`)\n };\n });\n }\n get roadmaps() {\n return this.args.roadmaps;\n }\n propagateHealthFilterSelect(e) {\n if (!this.args?.onHealthFilterSelect) (false && !(false) && (0, _debug.assert)('Pass a callback function for the \"onHealthFiltersSelect\" param to propagate Health filter changes'));\n this.args.onHealthFilterSelect(e);\n }\n propagateStatusFilterSelect(e) {\n if (!this.args?.onStatusFilterSelect) (false && !(false) && (0, _debug.assert)('Pass a callback function for the \"onStatusFilterSelect\" param to propagate Status filter changes'));\n this.args.onStatusFilterSelect(e);\n }\n propagateSortFilterSelect(e) {\n if (!this.args?.onSortFilterSelect) (false && !(false) && (0, _debug.assert)('Pass a callback function for the \"onSortFilterSelect\" param to propagate Sort filter changes'));\n this.args.onSortFilterSelect(e.value);\n }\n propagateRoadmapFilterSelect(e) {\n if (!this.args?.onRoadmapFilterSelect) (false && !(false) && (0, _debug.assert)('Pass a callback function for the \"onRoadmapFilterSelect\" param to propagate Roadmap filter changes'));\n this.args.onRoadmapFilterSelect(e);\n }\n get sortOptions() {\n return [{\n label: this.intl.t('dictionary.status'),\n value: 'status'\n }, {\n label: this.intl.t('_initiatives.progress'),\n value: 'health'\n }];\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"propagateHealthFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateHealthFilterSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateStatusFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateStatusFilterSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateSortFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateSortFilterSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateRoadmapFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateRoadmapFilterSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesProgressFilterSlideoverIndexComponent);\n});","define(\"scaleflow/components/initiatives/progress-panel/feed-item/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @update.id}}\n
  • \n \n \n {{#if this.editorEnabled}}\n {{else}}\n \n {{/if}}\n \n
    \n
    \n
    \n \n \n
    \n {{@update.updatedByPerson.name}}\n \n {{#if @update.updated_at}}\n {{t\n \"dictionary.edited\"\n }}\n {{/if}}\n
    \n {{this.daysAgo}}\n \n \n \n \n
  • \n {{/if}}\n */\n {\n \"id\": \"yVhLBnni\",\n \"block\": \"[[[41,[30,1,[\\\"id\\\"]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"relative flex gap-x-4 group\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 absolute right-2 invisible group-hover:visible bottom-2 z-10\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"border-0 hover:!rounded-full !p-1\\\"],[4,[38,4],[\\\"click\\\",[28,[37,5],[[30,0,[\\\"deleteUpdate\\\"]],[30,1]],null]],null]],[[\\\"@type\\\"],[\\\"secondary\\\"]],[[\\\"default\\\"],[[[[8,[39,6],[[24,0,\\\"w-5 h-5 text-red-600\\\"]],null,null]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"editorEnabled\\\"]],[[[1,\\\" \\\"],[8,[39,3],[[24,0,\\\"border-0 hover:!rounded-full !p-1\\\"],[4,[38,4],[\\\"click\\\",[28,[37,5],[[30,0,[\\\"saveUpdateAndDisableEditor\\\"]],[30,1]],null]],null]],[[\\\"@type\\\"],[\\\"secondary\\\"]],[[\\\"default\\\"],[[[[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null]],[]]]]]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"border-0 hover:!rounded-full !p-1\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"enableEditor\\\"]]],null]],[[\\\"@type\\\"],[\\\"secondary\\\"]],[[\\\"default\\\"],[[[[8,[39,8],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute left-0 top-0 flex w-6 justify-center -bottom-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-px bg-gray-200\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"relative mt-3 shrink-0\\\"]],[[\\\"@size\\\",\\\"@id\\\",\\\"@text-size\\\"],[\\\"6\\\",[30,1,[\\\"updated_by\\\",\\\"id\\\"]],\\\"xs\\\"]],null],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex-auto rounded-md p-3 pb-6 ring-1\\\\n \\\",[52,[30,0,[\\\"editorEnabled\\\"]],\\\"ring-indigo-600 ring-offset-2 rounded\\\",\\\"ring-inset ring-gray-200\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-0.5 text-xs leading-5 text-gray-500 flex gap-x-2 items-center\\\"],[12],[10,1],[14,0,\\\"font-medium text-gray-900\\\"],[12],[1,[30,1,[\\\"updatedByPerson\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@progress\\\"],[[30,1,[\\\"status\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"updated_at\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"italic text-gray-400 text-xs\\\"],[14,\\\"test-id\\\",\\\"fi-edited\\\"],[12],[1,[28,[35,12],[\\\"dictionary.edited\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"time\\\"],[14,\\\"datetime\\\",\\\"2023-01-23T15:56\\\"],[14,0,\\\"flex-none py-0.5 text-xs leading-5 text-gray-500\\\"],[12],[1,[30,0,[\\\"daysAgo\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"mt-2 mb-4\\\"]],[[\\\"@value\\\",\\\"@onInputChange\\\",\\\"@readOnly\\\"],[[30,1,[\\\"reported_health\\\"]],[30,0,[\\\"handleReportedHealthChange\\\"]],[28,[37,15],[[30,0,[\\\"editorEnabled\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"text-sm text-gray-600\\\"]],[[\\\"@delta\\\",\\\"@enabled\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@id\\\",\\\"@name\\\",\\\"@bounds\\\"],[[30,1,[\\\"text_delta\\\"]],[30,0,[\\\"editorEnabled\\\"]],[30,0,[\\\"setDelta\\\"]],\\\"bubble\\\",[29,[[30,2],\\\"-\\\",[30,1,[\\\"id\\\"]]]],[29,[[30,2],\\\"-\\\",[30,1,[\\\"id\\\"]]]],[29,[\\\"#p-\\\",[30,3],\\\"-\\\",[30,1,[\\\"id\\\"]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@update\\\",\\\"@prefix\\\",\\\"@index\\\"],[\\\"if\\\",\\\"li\\\",\\\"div\\\",\\\"atoms/buttons/button\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/icons/delete\\\",\\\"atoms/icons/save\\\",\\\"atoms/icons/edit\\\",\\\"avatar\\\",\\\"span\\\",\\\"initiatives/table/progress-pill\\\",\\\"t\\\",\\\"time\\\",\\\"atoms/forms/range/dots\\\",\\\"not\\\",\\\"quill-editor\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/progress-panel/feed-item/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesProgressPanelFeedItemIndexComponent = _exports.default = (_class = class InitiativesProgressPanelFeedItemIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"editorEnabled\", _descriptor2, this);\n }\n get daysAgo() {\n return (0, _moment.default)(this.args.update.created_at).fromNow();\n }\n deleteUpdate(update) {\n update.destroyRecord();\n }\n enableEditor() {\n this.editorEnabled = true;\n }\n deactivate() {}\n saveUpdateAndDisableEditor(update) {\n update.save().then(() => {\n this.editorEnabled = false;\n });\n }\n setDelta(e) {\n this.args.update.text_delta = e;\n }\n handleReportedHealthChange(e) {\n if (!this.editorEnabled) return false;else this.args.update.reported_health = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editorEnabled\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"enableEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"enableEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deactivate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deactivate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveUpdateAndDisableEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveUpdateAndDisableEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleReportedHealthChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleReportedHealthChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesProgressPanelFeedItemIndexComponent);\n});","define(\"scaleflow/components/initiatives/progress-panel/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/models/initiative-update\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _initiativeUpdate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/models/initiative-update\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
    \n {{! }}\n
    \n
    \n
    \n \n {{this.initiative.title}}\n \n \n
    \n
    \n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n \n
    \n \n
      \n {{#each this.sortedUpdates as |update index|}}\n \n {{/each}}\n
    \n
    \n \n \n \n \n \n */\n {\n \"id\": \"6dsNQL2r\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@model\\\",\\\"@bounds\\\"],[[30,0,[\\\"isOpen\\\"]],[30,0,[\\\"closeSlideover\\\"]],[30,0,[\\\"initiative\\\"]],\\\".progress-panel\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex h-full flex-col overflow-y-scroll bg-white shadow-xl progress-panel\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[14,1,\\\"slide-over-title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-indigo-300\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"closeSlideover\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,6],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"py-8 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"card-section p-4 space-y-[18px] border border-solid border-gray-200 rounded-lg\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@editorId\\\",\\\"@initiative\\\"],[\\\"current-update\\\",[30,0,[\\\"initiative\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"px-6 pb-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-base font-semibold text-gray-900 pb-4 block\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"_initiatives.progress\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"_initiatives.update\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,\\\"role\\\",\\\"list\\\"],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"sortedUpdates\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,14],null,[[\\\"@update\\\",\\\"@prefix\\\"],[[30,1],[29,[\\\"pp-\\\",[30,2]]]]],null],[1,\\\"\\\\n\\\"]],[1,2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"update\\\",\\\"index\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"t\\\",\\\"svg\\\",\\\"path\\\",\\\"initiatives/progress-panel/progress-form\\\",\\\"label\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"initiatives/progress-panel/feed-item\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/progress-panel/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesProgressPanelIndexComponent = _exports.default = (_class = class InitiativesProgressPanelIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor4, this);\n _defineProperty(this, \"status_keys\", _initiativeUpdate.STATUS_KEYS);\n _initializerDefineProperty(this, \"progress\", _descriptor5, this);\n }\n get isOpen() {\n return this.initiativeSlideover.progressPanelIsOpen;\n }\n get initiative() {\n return this.initiativeSlideover.initiative;\n }\n closeSlideover() {\n this.initiativeSlideover.closeProgressPanel();\n }\n get sortedUpdates() {\n return this.initiative?.orderedUpdates;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"progress\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.store.createRecord('initiative-update');\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"closeSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeSlideover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesProgressPanelIndexComponent);\n});","define(\"scaleflow/components/initiatives/progress-panel/progress-form/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/models/initiative-update\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _initiativeUpdate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/models/initiative-update\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n
    \n \n {{t \"_initiatives.update\" num=1}}\n {{lowercase (t \"_initiatives.progress\")}}\n
    \n
    \n \n \n
    \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n \n

    {{t\n \"_initiatives.reported-health-description\"\n initiative=(t \"_initiatives.title\" num=1)\n }}

    \n \n
    \n
    \n \n \n \n
    \n
    \n
    \n {{#if @showCancel}}\n \n {{t \"dictionary.cancel\"}}\n \n {{/if}}\n {{t \"dictionary.save\"}}\n {{t\n \"dictionary.progress-hint\"\n }}\n \n
    \n \n
    \n */\n {\n \"id\": \"sVrX4dph\",\n \"block\": \"[[[11,\\\"form\\\"],[24,\\\"test-id\\\",\\\"progress-form\\\"],[4,[38,1],[\\\"submit\\\",[30,0,[\\\"submitUpdate\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-base font-semibold text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.progress\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"fieldset\\\"],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"legend\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.update\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[28,[37,3],[\\\"_initiatives.progress\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-4 sm:flex sm:items-center sm:space-x-10 sm:space-y-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[16,\\\"checked\\\",[28,[37,9],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,1],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[8,[39,11],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]]],null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[16,\\\"checked\\\",[28,[37,9],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,1],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[8,[39,11],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]]],null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[16,\\\"checked\\\",[28,[37,9],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,1],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[8,[39,11],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]]],null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[24,3,\\\"progress\\\"],[16,2,[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[16,\\\"checked\\\",[28,[37,9],[[30,0,[\\\"progress\\\",\\\"status\\\"]],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null]],[24,0,\\\"h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600\\\"],[24,4,\\\"radio\\\"],[4,[38,1],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"setProgressStatus\\\"]],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],[14,0,\\\"ml-3 block text-sm font-medium leading-6 text-gray-900\\\"],[12],[8,[39,11],null,[[\\\"@progress\\\"],[[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]]],null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"range-dots\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,[28,[35,3],[\\\"_initiatives.reported-health-title\\\"],[[\\\"initiative\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-600 italic\\\"],[12],[1,[28,[35,3],[\\\"_initiatives.reported-health-description\\\"],[[\\\"initiative\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"mt-4\\\"]],[[\\\"@value\\\",\\\"@onInputChange\\\"],[[30,0,[\\\"progress\\\",\\\"reported_health\\\"]],[30,0,[\\\"setReportedHealth\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[29,[[30,1]]]],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,3],[\\\"dictionary.comments\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"textarea block leading-4 w-full pl-2 mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@placeholder\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@delta\\\"],[[29,[[30,1]]],[29,[\\\"#\\\",[30,1]]],[29,[[30,1]]],[28,[37,3],[\\\"_initiatives.context-to-update\\\"],null],[30,0,[\\\"setProgressComments\\\"]],\\\"bubble\\\",[30,0,[\\\"progress\\\",\\\"text_delta\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 mt-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[8,[39,17],[[4,[38,1],[\\\"click\\\",[30,0,[\\\"cancelProgressUpdate\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,18],[[24,0,\\\"\\\"],[16,\\\"disabled\\\",[30,0,[\\\"isDisabled\\\"]]],[24,4,\\\"submit\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,3],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-normal text-gray-500 text-xs\\\"],[12],[1,[28,[35,3],[\\\"dictionary.progress-hint\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@editorId\\\",\\\"@showCancel\\\"],[\\\"form\\\",\\\"on\\\",\\\"label\\\",\\\"t\\\",\\\"fieldset\\\",\\\"legend\\\",\\\"lowercase\\\",\\\"div\\\",\\\"input\\\",\\\"eq\\\",\\\"fn\\\",\\\"initiatives/table/progress-pill\\\",\\\"span\\\",\\\"p\\\",\\\"atoms/forms/range/dots\\\",\\\"quill-editor\\\",\\\"if\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/progress-panel/progress-form/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesProgressPanelProgressFormIndexComponent = _exports.default = (_class = class InitiativesProgressPanelProgressFormIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"status_keys\", _initiativeUpdate.STATUS_KEYS);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"progress\", _descriptor3, this);\n }\n get initiative() {\n if (!this.args.initiative) (false && !(false) && (0, _debug.assert)('An initiative needs to be passed to the progress form', false));\n return this.args?.initiative;\n }\n get isDisabled() {\n return !this.progress.status;\n }\n submitUpdate(e) {\n e.preventDefault();\n this.progress.initiative_id = this.initiative.id;\n this.progress.created_at = new Date().toISOString();\n this.progress.updated_by = {\n type: 'PERSON',\n id: this.currentUser.id\n };\n this.progress.initiative = this.initiative;\n this.progress.save().then(() => {\n this.progress = this.store.createRecord('initiative-update');\n this?.args?.afterSave?.();\n });\n }\n setProgressStatus(status) {\n this.progress.status = status;\n }\n setProgressComments(e) {\n this.progress.text_delta = e;\n }\n setReportedHealth(val) {\n this.progress.reported_health = val;\n }\n cancelProgressUpdate() {\n this.progress?.deleteRecord?.();\n this.args?.onCancel?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"progress\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.store.createRecord('initiative-update');\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"submitUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setProgressStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setProgressStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setProgressComments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setProgressComments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setReportedHealth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setReportedHealth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelProgressUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelProgressUpdate\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesProgressPanelProgressFormIndexComponent);\n});","define(\"scaleflow/components/initiatives/status-pill/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if @initiative.status}} {{@initiative.statusLabel}} {{else}}\n {{t \"dictionary.no\"}}\n {{t \"_initiatives.status\"}}\n {{/if}}\n \n */\n {\n \"id\": \"FSOF38yS\",\n \"block\": \"[[[11,1],[16,0,[29,[\\\"text-sm inline-block py-1 px-1.5 rounded-full\\\\n \\\",[52,[30,1,[\\\"status\\\"]],\\\"\\\",\\\"text-gray-700\\\"],\\\"\\\\n \\\",[28,[37,2],[[30,1,[\\\"status\\\"]]],null]]]],[24,\\\"test-id\\\",\\\"it-status\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[41,[30,1,[\\\"status\\\"]],[[[1,\\\" \\\"],[1,[30,1,[\\\"statusLabel\\\"]]],[1,\\\" \\\"]],[]],[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.no\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.status\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"@initiative\\\",\\\"&attrs\\\"],[\\\"span\\\",\\\"if\\\",\\\"status-color-class\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/status-pill/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesStatusPillIndexComponent = _exports.default = (_class = class InitiativesStatusPillIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesStatusPillIndexComponent);\n});","define(\"scaleflow/components/initiatives/table/duration-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n <:trigger>\n {{#if this.initiative.duration}}\n ~\n {{this.initiative.duration}}\n {{t \"_initiatives.weeks\" num=this.initiative.duration}}\n {{else}}\n {{t \"dictionary.select\"}} {{t \"dictionary.duration\"}}\n {{/if}}\n \n \n <:menuItems>\n {{#if this.initiative.duration}}\n \n {{/if}}\n \n {{#each this.betaToggle.durationOptions as |duration|}}\n \n {{duration.label}}\n \n {{/each}}\n \n \n */\n {\n \"id\": \"WdP7plDB\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"!w-fit\\\"]],[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center\\\",\\\"!top-4 !w-[150px] !rounded-md\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"duration\\\"]],[[[1,\\\" ~\\\\n \\\"],[1,[30,0,[\\\"initiative\\\",\\\"duration\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.weeks\\\"],[[\\\"num\\\"],[[30,0,[\\\"initiative\\\",\\\"duration\\\"]]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,3],[\\\"dictionary.select\\\"],null]],[1,\\\" \\\"],[1,[28,[35,3],[\\\"dictionary.duration\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"duration\\\"]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@menuClick\\\"],[[28,[37,8],[[30,0,[\\\"setDuration\\\"]],[30,0,[\\\"initiative\\\"]],[28,[37,9],null,[[\\\"value\\\"],[[27]]]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"betaToggle\\\",\\\"durationOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,12],null,[[\\\"@handleSelect\\\"],[[28,[37,8],[[30,0,[\\\"setDuration\\\"]],[30,0,[\\\"initiative\\\"]],[30,1]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]]],[\\\"duration\\\"],[\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"if\\\",\\\"t\\\",\\\"span\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"fn\\\",\\\"hash\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/duration-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableDurationSelectorComponent = _exports.default = (_class = class InitiativesTableDurationSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n get initiative() {\n return this.args.initiative;\n }\n setDuration(initiative, duration) {\n initiative.duration = duration.value;\n initiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setDuration\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDuration\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableDurationSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/goal-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if (eq this.initiative.goals.content.length 0)}}\n \n +\n {{t \"_initiatives.strategic\"}}\n {{t \"_initiatives.goals\" num=2}}\n \n {{else}}\n \n {{get this.firstGoal \"title\"}}\n \n \n {{get this.firstGoal \"title\"}}\n \n \n \n {{#if this.initiative.hasMoreThanOneGoal}}\n \n +{{this.initiative.hasMoreThanOneGoal}}\n \n \n
      \n {{#each this.sortedGoals as |goal|}}\n
    • {{goal.title}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{/if}}\n \n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{#if this.goalFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"TfC/jDHh\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[24,\\\"test-id\\\",\\\"it-goal\\\"],[17,1],[4,[38,1],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[4,[38,2],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"initiative\\\",\\\"goals\\\",\\\"content\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"+\\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,[28,[35,6],[\\\"_initiatives.strategic\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"goal leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white items-center gap-x-1.5 py-1 px-2 border-solid inline-block overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"goal-name\\\"],[15,\\\"title\\\",[29,[[28,[37,7],[[30,0,[\\\"firstGoal\\\"]],\\\"title\\\"],null]]]],[12],[1,[28,[35,7],[[30,0,[\\\"firstGoal\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[[30,0,[\\\"firstGoal\\\"]],\\\"title\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"hasMoreThanOneGoal\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"goal-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[30,0,[\\\"initiative\\\",\\\"hasMoreThanOneGoal\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"sortedGoals\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,2,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"goals-dropdown\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@sortKey\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\",\\\"@label\\\"],[[30,0,[\\\"goalsList\\\"]],[30,0,[\\\"initiative\\\",\\\"goalIds\\\"]],[28,[37,15],[[30,0,[\\\"handleGoalsChange\\\"]],[30,0,[\\\"initiative\\\"]]],null],[28,[37,6],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]]]],\\\"tableOrder\\\",true,true,true,[28,[37,15],[[30,0,[\\\"toggleGoalForm\\\"]],[30,0,[\\\"initiative\\\"]]],null],[28,[37,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleGoalForm\\\"]],[30,0,[\\\"onGoalAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"goal\\\"],[\\\"button\\\",\\\"amplitude/initiatives-interaction\\\",\\\"on\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"t\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"dropdowns/multi-select\\\",\\\"fn\\\",\\\"quick-adds/goal\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/goal-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableGoalSelectorComponent = _exports.default = (_class = class InitiativesTableGoalSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"goalFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedInitiative\", null);\n }\n get initiative() {\n return this.args.initiative;\n }\n handleGoalsChange(initiative, e) {\n const goals = e.map(id => this.store.peekRecord('goal', id));\n initiative.goals = goals;\n initiative.save();\n }\n toggleGoalForm(initiative, val) {\n if (initiative) this.selectedInitiative = initiative;else this.selectedInitiative = null;\n if (val !== undefined) this.goalFormIsVisible = val;else this.goalFormIsVisible = !this.goalFormIsVisible;\n }\n async onGoalAdded(goal) {\n const goals = [...this.selectedInitiative.goals.content];\n goals.push(goal);\n this.selectedInitiative.goals = goals;\n await this.selectedInitiative.save();\n }\n get goalsList() {\n const goals = this.store.peekAll('goal').map(item => ({\n value: item.id,\n label: item.title\n }));\n return goals;\n }\n get sortedGoals() {\n return this.initiative.goals?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'));\n }\n get firstGoal() {\n return this.sortedGoals?.[0];\n }\n willDestroy() {\n this.goalFormIsVisible = false;\n this.selectedInitiative = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"goalFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleGoalForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGoalForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableGoalSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/header-filter-dropdown/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"scaleflow/components/dropdowns/tippy-dropdown\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _tippyDropdown, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"scaleflow/components/dropdowns/tippy-dropdown\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n {{yield to=\"label\"}}\n {{#if @filterCount}}\n {{@filterCount}}\n {{/if}}\n \n {{#if @groupingIsActive}}\n \n {{/if}}\n \n {{#if @ascSortIsActive}}\n \n {{/if}}\n \n {{#if @descSortIsActive}}\n \n {{/if}}\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n \n \n \n {{#if @allowVisibilityToggle}}\n \n {{t\n \"dictionary.visibility\"\n }}\n \n \n \n {{t \"dictionary.hide-column\"}}\n \n \n {{/if}}\n \n {{#if @showGroupBy}}\n \n {{t\n \"dictionary.grouping\"\n }}\n \n \n \n {{t \"dictionary.group-by\"}}\n {{yield to=\"label\"}}\n {{#if @groupingIsActive}}\n \n {{/if}}\n \n {{/if}}\n \n {{#if @showSortOptions}}\n \n {{t\n \"dictionary.sorting\"\n }}\n \n \n \n \n {{#if (eq @sortType \"numeric\")}}\n {{t \"sorting.low-to-high\"}}\n {{else if (eq @sortType \"date\")}}\n {{t \"sorting.old-to-new\"}}\n {{else}}\n {{t \"sorting.a-z\"}}\n {{/if}}\n \n {{#if @ascSortIsActive}}\n \n {{/if}}\n \n \n {{#if (eq @sortType \"numeric\")}}\n {{t \"sorting.high-to-low\"}}\n {{else if (eq @sortType \"date\")}}\n {{t \"sorting.new-to-old\"}}\n {{else}}\n {{t \"sorting.z-a\"}}\n {{/if}}\n \n {{#if @descSortIsActive}}\n \n {{/if}}\n \n \n {{/if}}\n \n {{#if (and (has-block \"options\") @dataKey)}}\n \n {{t\n \"dictionary.filtering\"\n }}\n \n \n {{yield to=\"options\"}}\n {{/if}}\n \n \n {{/let}}\n \n */\n {\n \"id\": \"OzOyoTyz\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[\\\"gap-x-2 w-full flex items-center rounded text-gray-700 font-medium text-sm whitespace-nowrap border-none bg-transparent hover:bg-gray-300 focus:bg-gray-300 hover:text-gray-900 disabled:hover:bg-transparent px-2 py-3\\\\n \\\",[52,[28,[37,2],[[30,1],\\\"right\\\"],null],\\\"justify-end\\\"]]]],[17,2],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"font-medium text-gray-500 uppercase text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[18,14,null],[13],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,[30,3]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"w-5 h-5 text-gray-500 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-500 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"w-5 h-5 text-gray-500 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\"\\\\n \\\"],[8,[30,7],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@onShow\\\",\\\"@onShown\\\",\\\"@appendTo\\\"],[[30,0,[\\\"placement\\\"]],[30,0,[\\\"trigger\\\"]],[30,0,[\\\"interactive\\\"]],[30,0,[\\\"setTippyInstance\\\"]],[30,0,[\\\"focusSearch\\\"]],[30,0,[\\\"tableSelector\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[16,0,[29,[[30,8],\\\" max-h-[60vh] overflow-y-auto !w-fit\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[30,9],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"hover:!bg-transparent\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,13],[\\\"dictionary.visibility\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"w-full justify-start gap-x-1\\\"]],[[\\\"@menuClick\\\"],[[30,0,[\\\"onHideColumn\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,13],[\\\"dictionary.hide-column\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-5 h-5 text-gray-500 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,10],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"hover:!bg-transparent\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,13],[\\\"dictionary.grouping\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"w-full justify-between\\\"]],[[\\\"@menuClick\\\"],[[30,0,[\\\"onGroupingSelect\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,13],[\\\"dictionary.group-by\\\"],null]],[1,\\\"\\\\n \\\"],[18,14,null],[13],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"],[24,\\\"test-id\\\",\\\"value-check\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,11],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"hover:!bg-transparent\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,13],[\\\"dictionary.sorting\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],[[24,0,\\\"\\\"]],[[\\\"@menuClick\\\"],[[28,[37,17],[[30,0,[\\\"onSortSelect\\\"]],\\\"asc\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,2],[[30,12],\\\"numeric\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.low-to-high\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,12],\\\"date\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.old-to-new\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.a-z\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"],[24,\\\"test-id\\\",\\\"value-check\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"\\\"]],[[\\\"@menuClick\\\"],[[28,[37,17],[[30,0,[\\\"onSortSelect\\\"]],\\\"desc\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,2],[[30,12],\\\"numeric\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.high-to-low\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,12],\\\"date\\\"],null],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.new-to-old\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,13],[\\\"sorting.z-a\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"],[24,\\\"test-id\\\",\\\"value-check\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,18],[[48,[30,15]],[30,13]],null],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"hover:!bg-transparent\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,13],[\\\"dictionary.filtering\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[18,15,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[7]]],[13]],[\\\"@textAlignment\\\",\\\"&attrs\\\",\\\"@filterCount\\\",\\\"@groupingIsActive\\\",\\\"@ascSortIsActive\\\",\\\"@descSortIsActive\\\",\\\"MaybeToolTip\\\",\\\"@dropdownContainerClass\\\",\\\"@allowVisibilityToggle\\\",\\\"@showGroupBy\\\",\\\"@showSortOptions\\\",\\\"@sortType\\\",\\\"@dataKey\\\",\\\"&label\\\",\\\"&options\\\"],[\\\"button\\\",\\\"if\\\",\\\"eq\\\",\\\"span\\\",\\\"yield\\\",\\\"filter-badge\\\",\\\"tailwind-icons/grouping\\\",\\\"tailwind-icons/sort-up\\\",\\\"tailwind-icons/sort-down\\\",\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"molecules/menu-actions\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"tailwind-icons/eye-slash\\\",\\\"atoms/icons/check\\\",\\\"fn\\\",\\\"and\\\",\\\"has-block\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/header-filter-dropdown/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableHeaderFilterDropdownComponent = _exports.default = (_class = class InitiativesTableHeaderFilterDropdownComponent extends _tippyDropdown.default {\n get ComponentName() {\n return this.args.tippy ? 'Tippy' : 'empty-component';\n }\n onGroupingSelect() {\n if (!this.args?.onGroupingSelect) (false && !(false) && (0, _debug.assert)('Please pass a \"onGroupingSelect\" callback to InitiativesTableHeaderFilterDropdownComponent'));\n this.args.onGroupingSelect({\n value: this.args.groupingKey\n });\n }\n get tableSelector() {\n if (this.args.tableSelector) return document.querySelector(this.args.tableSelector);\n return document.querySelector('#initiatives-table');\n }\n onSortSelect(...args) {\n if (!this.args?.onSort) (false && !(false) && (0, _debug.assert)('Please pass a \"onSort\" callback to InitiativesTableHeaderFilterDropdownComponent'));\n this.args.onSort(...args);\n }\n onHideColumn() {\n this.args?.onHideColumn();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSortSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSortSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onHideColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onHideColumn\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableHeaderFilterDropdownComponent);\n});","define(\"scaleflow/components/initiatives/table/index\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"ember-concurrency\", \"moment\", \"scaleflow/utils/nameSort\", \"scaleflow/utils/numberSort\", \"ember-inflector\", \"ember-lifeline\", \"scaleflow/utils/dateSort\", \"@ember/template-factory\"], function (_exports, _asyncArrowRuntime, _component, _object, _service, _component2, _tracking, _emberConcurrency, _moment, _nameSort, _numberSort, _emberInflector, _emberLifeline, _dateSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n _exports.objectExtract = objectExtract;\n _exports.sortInitiatives = sortInitiatives;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"ember-concurrency\",0,\"moment\",0,\"scaleflow/utils/nameSort\",0,\"scaleflow/utils/numberSort\",0,\"ember-inflector\",0,\"ember-lifeline\",0,\"scaleflow/utils/dateSort\",0,\"@ember/template-factory\",0,\"@ember/component\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n \n {{#if this.search}}\n
    \n {{/if}}\n \n \n \n \n {{#unless @externallyControlledSearch}}\n \n {{t\n \"dictionary.search\"\n }}\n \n \n \n {{/unless}}\n \n \n {{t\n \"dictionary.columns\"\n }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <:label>{{t \"_initiatives.title\" num=2}}\n \n <:options>\n \n \n \n \n {{#each this.columnOptions as |column|}}\n {{#if column.show}}\n \n \n {{#if (this.anyDropdownFeatureIsAvailable column)}}\n \n \n <:label>{{column.label}}\n \n <:options>\n {{#if column.dropdownDataKey}}\n \n {{/if}}\n \n \n {{else}}\n {{column.label}}\n {{/if}}\n \n \n {{/if}}\n {{/each}}\n \n \n \n \n {{#if (not-eq this.grouping \"none\")}}\n {{#each-in this.groupedInitiatives key=@identity as |key value|}}\n {{#if value.content}}\n \n {{!\n }}\n \n {{value.title}} \n {{value.content.length}}\n \n \n {{#each value.content as |initiative|}}\n \n {{! \n \n }}\n \n
    \n \n {{initiative.title}}\n \n \n \n
    \n
    \n \n {{! Abbreviation }}\n {{#if (get this.columnOptions \"0.show\")}}\n \n \n \n {{/if}}\n \n {{! Progress }}\n {{#if (get this.columnOptions \"1.show\")}}\n \n \n \n {{initiative.title}}\n \n \n {{/if}}\n \n {{! PRODUCT MANAGER}}\n {{#if (get this.columnOptions \"2.show\")}}\n \n \n \n {{/if}}\n \n {{! Teams}}\n {{#if (get this.columnOptions \"3.show\")}}\n \n \n \n {{/if}}\n \n {{! Roadmaps }}\n {{#if (get this.columnOptions \"4.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"5.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"6.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"7.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"8.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"9.show\")}}\n \n {{#if initiative.bon_value}}\n \n {{t \"dictionary.edit\"}}\n \n \n {{t\n \"_initiatives.go-to-bon\"\n bon=(t \"financials.bon\")\n }}\n \n \n \n \n {{t\n \"currency.euro\"\n }}{{localize\n initiative.formattedBonValue\n }}\n \n \n \n {{else}}\n \n {{t \"_initiatives.calculate\"}}\n \n \n {{t\n \"_initiatives.go-to-bon\"\n bon=(t \"financials.bon\")\n }}\n \n \n \n \n {{/if}}\n \n {{/if}}\n \n {{#if (get this.columnOptions \"10.show\")}}\n \n \n {{t\n \"currency.euro\"\n }}\n {{localize initiative.formattedBonInvestment}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"11.show\")}}\n \n \n {{t\n \"currency.euro\"\n }}{{localize\n initiative.formattedBonReturns\n }}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"12.show\")}}\n \n \n {{if\n initiative.person_weeks\n (to-fixed initiative.person_weeks)\n \"-\"\n }}pw\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"13.show\")}}\n \n \n {{or\n initiative.person_weeks_only_uncertainty\n \"-\"\n }}pw\n \n \n {{/if}}\n \n {{! Team effort }}\n {{#if (get this.columnOptions \"14.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"15.show\")}}\n \n {{#each\n initiative.personWeekInvestments\n as |investment index|\n }}\n {{#if (gt index 0)}}\n
    \n {{/if}}\n \n {{investment.people}}p x\n {{investment.weeks}}w x\n {{investment.confidence_value}}\n =\n {{this.calculateInvestmentInPersonWeeks investment}}\n pw\n \n {{/each}}\n
    \n {{/if}}\n \n {{#if (get this.columnOptions \"16.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"17.show\")}}\n \n \n \n {{/if}}\n \n \n {{/each}}\n {{/if}}\n {{/each-in}}\n {{else}}\n {{#each this.groupedInitiatives key=@identity as |initiative|}}\n \n {{! \n \n }}\n \n
    \n \n {{initiative.title}}\n \n \n \n
    \n
    \n \n {{! Abbreviation }}\n {{#if (get this.columnOptions \"0.show\")}}\n \n \n \n {{/if}}\n \n {{! Progress }}\n {{#if (get this.columnOptions \"1.show\")}}\n \n \n \n {{initiative.title}}\n \n \n {{/if}}\n \n {{! PRODUCT MANAGER}}\n {{#if (get this.columnOptions \"2.show\")}}\n \n \n \n {{/if}}\n \n {{! Teams}}\n {{#if (get this.columnOptions \"3.show\")}}\n \n \n \n {{/if}}\n \n {{! Roadmaps }}\n {{#if (get this.columnOptions \"4.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"5.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"6.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"7.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"8.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"9.show\")}}\n \n {{#if initiative.bon_value}}\n \n {{t \"dictionary.edit\"}}\n \n \n {{t\n \"_initiatives.go-to-bon\"\n bon=(t \"financials.bon\")\n }}\n \n \n \n \n {{t\n \"currency.euro\"\n }}{{localize\n initiative.formattedBonValue\n }}\n \n \n \n {{else}}\n \n {{t \"_initiatives.calculate\"}}\n \n \n {{t\n \"_initiatives.go-to-bon\"\n bon=(t \"financials.bon\")\n }}\n \n \n \n \n {{/if}}\n \n {{/if}}\n \n {{#if (get this.columnOptions \"10.show\")}}\n \n \n {{t\n \"currency.euro\"\n }}\n {{localize initiative.formattedBonInvestment}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"11.show\")}}\n \n \n {{t\n \"currency.euro\"\n }}{{localize\n initiative.formattedBonReturns\n }}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"12.show\")}}\n \n \n {{if\n initiative.person_weeks\n (to-fixed initiative.person_weeks)\n \"-\"\n }}pw\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"13.show\")}}\n \n \n {{or\n initiative.person_weeks_only_uncertainty\n \"-\"\n }}pw\n \n \n {{/if}}\n \n {{! Team effort }}\n {{#if (get this.columnOptions \"14.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"15.show\")}}\n \n {{#each\n initiative.personWeekInvestments\n as |investment index|\n }}\n {{#if (gt index 0)}}\n
    \n {{/if}}\n \n {{investment.people}}p x\n {{investment.weeks}}w x\n {{investment.confidence_value}}\n =\n {{this.calculateInvestmentInPersonWeeks investment}}\n pw\n \n {{/each}}\n
    \n {{/if}}\n \n {{#if (get this.columnOptions \"16.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"17.show\")}}\n \n \n \n {{/if}}\n \n \n {{/each}}\n {{/if}}\n
    \n \n \n {{#if this.initiativeFormIsVisible}}\n \n {{/if}}\n \n {{#if this.processOngoing}}\n \n \n \n {{/if}}\n \n \n */\n {\n \"id\": \"sb7pj5rM\",\n \"block\": \"[[[11,0],[24,0,\\\"relative grow overflow-hidden pt-2\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-[45px] absolute right-0 z-50 flex items-center justify-center top-2 pb-[1px]\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,\\\"test-id\\\",\\\"table-menu\\\"],[14,0,\\\"bg-gray-300 rounded-s-md p-1\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"search\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-primary-600 w-3 h-3 absolute -left-1 -top-1 rounded-full\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@interactive\\\",\\\"@trigger\\\"],[\\\"true\\\",\\\"click\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"!w-[220px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"hover:!bg-transparent\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,9],[\\\"dictionary.search\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"max-w-xs bg-white !mb-0 !py-1 border-0 ring-1 ring-gray-300 shrink-0 text-sm text-gray-500\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSearch\\\",\\\"@delay\\\"],[[28,[37,9],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,9],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]],[30,0,[\\\"search\\\"]],[30,0,[\\\"setSearch\\\"]],500]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"hover:!bg-transparent\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,9],[\\\"dictionary.columns\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"column-pills\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\"],[[30,0,[\\\"columnOptions\\\"]],[30,0,[\\\"columns\\\"]],[30,0,[\\\"onColumnSelect\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"w-full\\\\n \\\",[52,[30,0,[\\\"processOngoing\\\"]],\\\"overflow-hidden\\\",\\\"overflow-x-auto\\\"],\\\"\\\\n whitespace-nowrap table-container min-h-[500px] h-full relative\\\"]]],[15,1,[29,[[30,0,[\\\"tableId\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[16,0,[29,[\\\"table-auto w-full border-separate border-spacing-0 initiatives-table bg-white\\\\n \\\",[52,[30,0,[\\\"processOngoing\\\"]],\\\"\\\\n opacity-50\\\"]]]],[4,[38,14],[[30,0,[\\\"fetchInitiatives\\\",\\\"perform\\\"]]],null],[4,[38,15],[[30,0,[\\\"fetchInitiatives\\\",\\\"perform\\\"]],[30,0,[\\\"filters\\\"]]],null],[4,[38,15],[[30,0,[\\\"setFilters\\\"]],[30,3,[\\\"themes\\\"]],[30,3,[\\\"statuses\\\"]],[30,3,[\\\"sources\\\"]],[30,3,[\\\"productManagers\\\"]],[30,3,[\\\"teams\\\"]],[30,3,[\\\"roadmaps\\\"]],[30,3,[\\\"goals\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"text-left\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"!px-4 !py-1 min-w-[320px] w-full border-b border-gray-300\\\"]],[[\\\"@sticky\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,19],[[24,\\\"test-id\\\",\\\"filter-title-trigger\\\"]],[[\\\"@showSortOptions\\\",\\\"@sortType\\\",\\\"@tippy\\\",\\\"@onSort\\\",\\\"@ascSortIsActive\\\",\\\"@descSortIsActive\\\"],[true,\\\"alphabetic\\\",true,[28,[37,20],[[30,0,[\\\"onSortSelect\\\"]],\\\"title\\\"],null],[28,[37,21],[[28,[37,22],[\\\"title\\\",[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,22],[\\\"asc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null],[28,[37,21],[[28,[37,22],[\\\"title\\\",[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,22],[\\\"desc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null]]],[[\\\"label\\\",\\\"options\\\"],[[[[1,[28,[35,9],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]],[]],[[[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,26],[[28,[37,26],[[30,0,[\\\"columnOptions\\\"]]],null]],null],null,[[[41,[30,4,[\\\"show\\\"]],[[[1,\\\" \\\"],[8,[39,18],[[16,0,[29,[\\\"!p-0\\\\n \\\",[52,[30,4,[\\\"class\\\"]],[30,4,[\\\"class\\\"]],\\\"min-w-[120px] max-w-[200px]\\\"],\\\"\\\\n border-b border-gray-300\\\"]]]],[[\\\"@showSort\\\",\\\"@sticky\\\"],[false,true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[28,[30,0,[\\\"anyDropdownFeatureIsAvailable\\\"]],[[30,4]],null],[[[1,\\\" \\\"],[8,[39,19],[[16,\\\"test-id\\\",[29,[\\\"filter-\\\",[30,4,[\\\"dropdownDataKey\\\"]],\\\"-trigger\\\"]]],[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"disabledColumns\\\"]],[30,4,[\\\"dropdownDataKey\\\"]]],null]]],[[\\\"@showGroupBy\\\",\\\"@showSortOptions\\\",\\\"@sortType\\\",\\\"@tippy\\\",\\\"@onGroupingSelect\\\",\\\"@dataKey\\\",\\\"@groupingKey\\\",\\\"@groupingIsActive\\\",\\\"@dropdownContainerClass\\\",\\\"@onSort\\\",\\\"@ascSortIsActive\\\",\\\"@descSortIsActive\\\",\\\"@textAlignment\\\",\\\"@filterCount\\\",\\\"@allowVisibilityToggle\\\",\\\"@onHideColumn\\\"],[[30,4,[\\\"showGrouping\\\"]],[30,4,[\\\"showSorting\\\"]],[30,4,[\\\"sortType\\\"]],true,[30,0,[\\\"onGroupingSelect\\\"]],[30,4,[\\\"dropdownDataKey\\\"]],[30,4,[\\\"groupingKey\\\"]],[28,[37,22],[[30,0,[\\\"grouping\\\"]],[30,4,[\\\"groupingKey\\\"]]],null],\\\"!w-[240px]\\\",[28,[37,20],[[30,0,[\\\"onSortSelect\\\"]],[30,4,[\\\"sortKey\\\"]]],null],[28,[37,21],[[28,[37,22],[[30,4,[\\\"sortKey\\\"]],[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,22],[\\\"asc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null],[28,[37,21],[[28,[37,22],[[30,4,[\\\"sortKey\\\"]],[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,22],[\\\"desc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null],[30,4,[\\\"textAlignment\\\"]],[28,[37,28],[[28,[37,28],[[30,0],[30,4,[\\\"dropdownDataKey\\\"]]],null],\\\"length\\\"],null],[30,4,[\\\"showVisibilityToggle\\\"]],[28,[37,20],[[30,0,[\\\"hideColumn\\\"]],[30,4,[\\\"value\\\"]],[30,0,[\\\"columns\\\"]]],null]]],[[\\\"label\\\",\\\"options\\\"],[[[[1,[30,4,[\\\"label\\\"]]]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"dropdownDataKey\\\"]],[[[1,\\\" \\\"],[8,[39,29],[[16,\\\"test-id\\\",[29,[[30,4,[\\\"dropdownDataKey\\\"]],\\\"-dropdown\\\"]]]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@icon\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@dropdownContainerClass\\\"],[[28,[37,28],[[30,0,[\\\"dropdownService\\\"]],[28,[37,30],[[30,4,[\\\"dropdownDataKey\\\"]],\\\"List\\\"],null]],null],[28,[37,28],[[30,0],[30,4,[\\\"dropdownDataKey\\\"]]],null],[28,[37,20],[[30,0,[\\\"onFilterSelect\\\"]],[30,4,[\\\"dropdownDataKey\\\"]]],null],[28,[37,31],[[30,4,[\\\"dropdownDataKey\\\"]]],null],[28,[37,9],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[30,4,[\\\"label\\\"]]]]],true,false,\\\"\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,4,[\\\"label\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[4]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,32],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,33],[[30,0,[\\\"grouping\\\"]],\\\"none\\\"],null],[[[42,[28,[37,34],[[30,0,[\\\"groupedInitiatives\\\"]]],null],[30,5],[[[41,[30,6,[\\\"content\\\"]],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"text-left\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,18],[[16,\\\"colspan\\\",[28,[37,35],[[30,0,[\\\"columnOptions\\\",\\\"length\\\"]],1],null]],[24,\\\"scope\\\",\\\"colgroup\\\"],[16,1,[29,[[30,6,[\\\"title\\\"]]]]],[24,0,\\\"bg-gray-100 text-left !text-sm !text-gray-700 !normal-case border-b border-gray-200 !py-1\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,6,[\\\"title\\\"]]],[13],[1,\\\" \\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block min-w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,6,[\\\"content\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[42,[28,[37,26],[[28,[37,26],[[30,6,[\\\"content\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,17],[[24,\\\"data-cy\\\",\\\"initiative\\\"],[24,0,\\\"text-left group hover:bg-gray-50 relative h-11\\\"],[16,\\\"data-initiative\\\",[30,8,[\\\"id\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"relative !pl-6\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,\\\"test-id\\\",\\\"initiative-slideover-trigger\\\"],[4,[38,39],[\\\"click\\\",[30,8,[\\\"id\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.description\\\",[30,8,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[false]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hover:underline\\\"],[14,\\\"test-id\\\",\\\"it-title\\\"],[12],[1,[30,8,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,40],[[16,0,[29,[\\\"!ml-auto\\\\n \\\",[52,[30,8,[\\\"favorite\\\"]],\\\"\\\",\\\"lg:opacity-0\\\"],\\\"\\\\n group-hover:opacity-100\\\"]]]],[[\\\"@params\\\"],[[28,[37,38],null,[[\\\"model\\\"],[[30,8]]]]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"0.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,[[\\\"@field\\\",\\\"@model\\\",\\\"@textSize\\\",\\\"@label\\\",\\\"@placeholder\\\"],[\\\"abbreviation\\\",[30,8],\\\"sm\\\",[28,[37,9],[\\\"_initiatives.abbreviation\\\"],null],[28,[37,9],[\\\"dictionary.not-set\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"1.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"text-gray-500\\\"],[24,\\\"test-id\\\",\\\"progress\\\"],[24,4,\\\"button\\\"],[4,[38,42],[\\\"click\\\",[28,[37,20],[[30,0,[\\\"initiativeSlideover\\\",\\\"open\\\"]],[30,8,[\\\"id\\\"]]],null]],null],[4,[38,39],[\\\"click\\\"],null],[12],[1,\\\"\\\\n \\\"],[8,[39,43],null,[[\\\"@progress\\\"],[[30,8,[\\\"progress\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,8,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"2.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,44],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"3.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,45],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"4.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,46],[[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"disabledColumns\\\"]],\\\"roadmaps\\\"],null]]],[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"5.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,\\\"test-id\\\",\\\"status-cell\\\"],[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,47],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"6.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,48],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"7.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,49],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"8.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,50],[[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"disabledColumns\\\"]],\\\"goals\\\"],null]]],[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"9.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,8,[\\\"bon_value\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center justify-end\\\"],[14,\\\"test-id\\\",\\\"it-bon\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"opacity-0 group-hover:opacity-100 relative whitespace-nowrap text-indigo-600 hover:text-indigo-900 py-0.5 pr-2 text-right text-sm font-medium\\\"],[24,\\\"test-id\\\",\\\"edit-bon\\\"],[4,[38,39],[\\\"click\\\",[30,8,[\\\"id\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,8,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[true]]]]],[[\\\"default\\\"],[[[[1,[28,[35,9],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,9],[\\\"_initiatives.go-to-bon\\\"],[[\\\"bon\\\"],[[28,[37,9],[\\\"financials.bon\\\"],null]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-800 flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,[28,[35,52],[[30,8,[\\\"formattedBonValue\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,37],null,[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,8,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[true]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,53],[[24,\\\"test-id\\\",\\\"calculate-bon\\\"],[24,0,\\\"text-xs ml-auto\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,9],[\\\"_initiatives.calculate\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,9],[\\\"_initiatives.go-to-bon\\\"],[[\\\"bon\\\"],[[28,[37,9],[\\\"financials.bon\\\"],null]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"10.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-investment\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,52],[[30,8,[\\\"formattedBonInvestment\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"11.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-return\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,[28,[35,52],[[30,8,[\\\"formattedBonReturns\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"12.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-person-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,8,[\\\"person_weeks\\\"]],[28,[37,54],[[30,8,[\\\"person_weeks\\\"]]],null],\\\"-\\\"]],[13],[10,1],[14,0,\\\"text-gray-400 text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"13.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-person-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,55],[[30,8,[\\\"person_weeks_only_uncertainty\\\"]],\\\"-\\\"],null]],[13],[10,1],[14,0,\\\"text-gray-400 text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"14.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,56],[[24,\\\"test-id\\\",\\\"it-team-effort\\\"]],[[\\\"@initiative\\\",\\\"@team_id\\\"],[[30,8],[52,[28,[37,21],[[28,[37,22],[[30,0,[\\\"grouping\\\"]],\\\"teams\\\"],null],[28,[37,33],[[30,7],\\\"NONE\\\"],null]],null],[30,7],[27]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"15.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,26],[[28,[37,26],[[30,8,[\\\"personWeekInvestments\\\"]]],null]],null],null,[[[41,[28,[37,57],[[30,10],0],null],[[[1,\\\" \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-investment\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"people\\\"]]],[1,\\\"p x\\\\n \\\"],[1,[30,9,[\\\"weeks\\\"]]],[1,\\\"w x\\\\n \\\"],[1,[30,9,[\\\"confidence_value\\\"]]],[1,\\\"\\\\n =\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInvestmentInPersonWeeks\\\"]],[[30,9]],null]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[9,10]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"16.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,59],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"17.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,60],null,[[\\\"@initiative\\\"],[[30,8]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null]],[]],null]],[6,7]],null]],[]],[[[42,[28,[37,26],[[28,[37,26],[[30,0,[\\\"groupedInitiatives\\\"]]],null]],null],[30,5],[[[1,\\\" \\\"],[8,[39,17],[[24,\\\"data-cy\\\",\\\"initiative\\\"],[24,0,\\\"text-left group hover:bg-gray-50 relative h-11\\\"],[16,\\\"data-initiative\\\",[30,11,[\\\"id\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"relative !pl-6\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,\\\"test-id\\\",\\\"initiative-slideover-trigger\\\"],[4,[38,39],[\\\"click\\\",[30,11,[\\\"id\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.description\\\",[30,11,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[false]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hover:underline\\\"],[14,\\\"test-id\\\",\\\"it-title\\\"],[12],[1,[30,11,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,40],[[16,0,[29,[\\\"!ml-auto\\\\n \\\",[52,[30,11,[\\\"favorite\\\"]],\\\"\\\",\\\"lg:opacity-0\\\"],\\\"\\\\n group-hover:opacity-100\\\"]]]],[[\\\"@params\\\"],[[28,[37,38],null,[[\\\"model\\\"],[[30,11]]]]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"0.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,[[\\\"@field\\\",\\\"@model\\\",\\\"@textSize\\\",\\\"@label\\\",\\\"@placeholder\\\"],[\\\"abbreviation\\\",[30,11],\\\"sm\\\",[28,[37,9],[\\\"_initiatives.abbreviation\\\"],null],[28,[37,9],[\\\"dictionary.not-set\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"1.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"text-gray-500\\\"],[24,\\\"test-id\\\",\\\"progress\\\"],[24,4,\\\"button\\\"],[4,[38,42],[\\\"click\\\",[28,[37,20],[[30,0,[\\\"initiativeSlideover\\\",\\\"open\\\"]],[30,11,[\\\"id\\\"]]],null]],null],[4,[38,39],[\\\"click\\\"],null],[12],[1,\\\"\\\\n \\\"],[8,[39,43],null,[[\\\"@progress\\\"],[[30,11,[\\\"progress\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,11,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"2.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,44],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"3.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,45],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"4.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,46],[[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"disabledColumns\\\"]],\\\"roadmaps\\\"],null]]],[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"5.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,\\\"test-id\\\",\\\"status-cell\\\"],[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,47],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"6.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,48],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"7.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,49],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"8.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,50],[[16,\\\"disabled\\\",[28,[37,27],[[30,0,[\\\"disabledColumns\\\"]],\\\"goals\\\"],null]]],[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"9.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,11,[\\\"bon_value\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center justify-end\\\"],[14,\\\"test-id\\\",\\\"it-bon\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"opacity-0 group-hover:opacity-100 relative whitespace-nowrap text-indigo-600 hover:text-indigo-900 py-0.5 pr-2 text-right text-sm font-medium\\\"],[24,\\\"test-id\\\",\\\"edit-bon\\\"],[4,[38,39],[\\\"click\\\",[30,11,[\\\"id\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,11,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[true]]]]],[[\\\"default\\\"],[[[[1,[28,[35,9],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,9],[\\\"_initiatives.go-to-bon\\\"],[[\\\"bon\\\"],[[28,[37,9],[\\\"financials.bon\\\"],null]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-800 flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,[28,[35,52],[[30,11,[\\\"formattedBonValue\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,37],null,[[\\\"@route\\\",\\\"@model\\\",\\\"@query\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,11,[\\\"id\\\"]],[28,[37,38],null,[[\\\"editMode\\\"],[true]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,53],[[24,\\\"test-id\\\",\\\"calculate-bon\\\"],[24,0,\\\"text-xs ml-auto\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,9],[\\\"_initiatives.calculate\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\",\\\"@trigger\\\"],[\\\"top\\\",\\\"mouseenter focus\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,9],[\\\"_initiatives.go-to-bon\\\"],[[\\\"bon\\\"],[[28,[37,9],[\\\"financials.bon\\\"],null]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"10.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-investment\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,52],[[30,11,[\\\"formattedBonInvestment\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"11.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-return\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-400 text-sm\\\"],[12],[1,[28,[35,9],[\\\"currency.euro\\\"],null]],[13],[10,1],[12],[1,[28,[35,52],[[30,11,[\\\"formattedBonReturns\\\"]]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"12.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-person-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,11,[\\\"person_weeks\\\"]],[28,[37,54],[[30,11,[\\\"person_weeks\\\"]]],null],\\\"-\\\"]],[13],[10,1],[14,0,\\\"text-gray-400 text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"13.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-person-weeks\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,55],[[30,11,[\\\"person_weeks_only_uncertainty\\\"]],\\\"-\\\"],null]],[13],[10,1],[14,0,\\\"text-gray-400 text-xs\\\"],[12],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"14.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,56],[[24,\\\"test-id\\\",\\\"it-team-effort\\\"]],[[\\\"@initiative\\\",\\\"@team_id\\\"],[[30,11],[27]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"15.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,26],[[28,[37,26],[[30,11,[\\\"personWeekInvestments\\\"]]],null]],null],null,[[[41,[28,[37,57],[[30,13],0],null],[[[1,\\\" \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center justify-end text-gray-400\\\"],[14,\\\"test-id\\\",\\\"it-investment\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,12,[\\\"people\\\"]]],[1,\\\"p x\\\\n \\\"],[1,[30,12,[\\\"weeks\\\"]]],[1,\\\"w x\\\\n \\\"],[1,[30,12,[\\\"confidence_value\\\"]]],[1,\\\"\\\\n =\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInvestmentInPersonWeeks\\\"]],[[30,12]],null]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[12,13]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"16.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,59],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,0,[\\\"columnOptions\\\"]],\\\"17.show\\\"],null],[[[1,\\\" \\\"],[8,[39,36],[[24,0,\\\"min-w-[120px] max-w-[200px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,60],null,[[\\\"@initiative\\\"],[[30,11]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[11]],null]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"initiativeFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,61],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleInitiativeForm\\\"]],[30,0,[\\\"onInitiativeAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"processOngoing\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"absolute w-full h-full top-[50%] -translate-y-[50%] left-0 right-0 flex items-center justify-center bg-white/50\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,62],[[24,0,\\\"!h-6 !w-6 !border-gray-700 !border-2 !border-t-2 !border-t-white inline-block\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@externallyControlledSearch\\\",\\\"@filters\\\",\\\"column\\\",\\\"@identity\\\",\\\"value\\\",\\\"key\\\",\\\"initiative\\\",\\\"investment\\\",\\\"index\\\",\\\"initiative\\\",\\\"investment\\\",\\\"index\\\"],[\\\"div\\\",\\\"button\\\",\\\"if\\\",\\\"tailwind-icons/bars\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"unless\\\",\\\"molecules/menu-actions\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/divider\\\",\\\"wizard/search\\\",\\\"multiselect-pills\\\",\\\"table/table\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"table/table-head\\\",\\\"table/table-row\\\",\\\"table/th\\\",\\\"initiatives/table/header-filter-dropdown\\\",\\\"fn\\\",\\\"and\\\",\\\"eq\\\",\\\":label\\\",\\\":options\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array-includes\\\",\\\"get\\\",\\\"dropdowns/multi-select\\\",\\\"concat\\\",\\\"singularize\\\",\\\"table/table-body\\\",\\\"not-eq\\\",\\\"-each-in\\\",\\\"add\\\",\\\"table/td\\\",\\\"link-to\\\",\\\"hash\\\",\\\"amplitude/initiatives-interaction\\\",\\\"molecules/favorite-icon\\\",\\\"atoms/forms/clickable-input\\\",\\\"on\\\",\\\"initiatives/table/progress-pill\\\",\\\"initiatives/table/pm-selector\\\",\\\"initiatives/table/team-selector\\\",\\\"initiatives/table/roadmap-selector\\\",\\\"initiatives/table/status-selector\\\",\\\"initiatives/table/source-selector\\\",\\\"initiatives/table/theme-selector\\\",\\\"initiatives/table/goal-selector\\\",\\\"atoms/tooltip\\\",\\\"localize\\\",\\\"atoms/buttons/secondary-button\\\",\\\"to-fixed\\\",\\\"or\\\",\\\"initiatives/table/team-effort\\\",\\\"gt\\\",\\\"br\\\",\\\"timeline/initiatives-table/date-picker\\\",\\\"initiatives/table/duration-selector\\\",\\\"quick-adds/initiative\\\",\\\"loader\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/index.hbs\",\n \"isStrictMode\": false\n });\n function objectExtract(options, value) {\n return options.find(option => option.value === value) ?? null;\n }\n\n /**\n * @param {Array} list\n * @param {string} none_label\n * @param {string} identifier_key - Dot notation path (e.g., \"team.id\")\n * @param {string} group_label_key - Dot notation path (e.g., \"team.name\")\n * @param {Function} object_modifier\n * @param {string} groupingSortKey\n * @param {boolean} hasMany - Whether the relationship is one-to-many\n * @returns {Object}\n */\n function sortInitiatives(list, none_label, identifier_key, group_label_key, object_modifier, groupingSortKey = '', hasMany = false) {\n const groupedList = {};\n const NONE = {\n title: none_label,\n content: []\n };\n\n // Helper function to get value using dot notation\n const getValueByPath = (obj, path) => {\n if (!obj) return null;\n return path.split('.').reduce((o, key) => o && o.get ? o.get(key) : null, obj);\n };\n\n // Helper function to get pluralized relationship name\n const getPluralizedRelationship = (item, singularKey) => {\n if (!hasMany) return null;\n\n // Get the base relationship name before the dot\n const baseKey = singularKey.split('.')[0];\n\n // Ember's convention: pluralize the relationship name for hasMany\n const pluralKey = (0, _emberInflector.pluralize)(baseKey);\n\n // Get the collection\n return item.get(pluralKey);\n };\n list.forEach(item => {\n if (hasMany) {\n // Get the hasMany relationship collection\n const relatedCollection = getPluralizedRelationship(item, identifier_key);\n // If no related items or empty collection, add to NONE group\n if (!relatedCollection || relatedCollection.length === 0) {\n NONE.content.push(item);\n return;\n }\n\n // Track if the item was added to at least one group\n let addedToGroup = false;\n\n // For each related item in the collection\n relatedCollection.forEach(relatedItem => {\n // Get the rest of the path after the relationship name\n const idPathRest = identifier_key.split('.').slice(1).join('.');\n const labelPathRest = group_label_key.split('.').slice(1).join('.');\n\n // Get ID and label using the rest of the path\n const id = idPathRest ? relatedItem.get(idPathRest) : relatedItem.get('id');\n const label = labelPathRest ? relatedItem.get(labelPathRest) : relatedItem.get('name');\n if (!id) return;\n addedToGroup = true;\n\n // Check if this group already exists\n if (!groupedList[id]) {\n groupedList[id] = {\n title: object_modifier ? object_modifier(relatedItem) : label,\n content: [],\n ...(object_modifier && groupingSortKey && {\n [groupingSortKey]: object_modifier(relatedItem)[groupingSortKey] ?? Infinity\n })\n };\n }\n\n // Only add the item if it's not already in the group\n if (!groupedList[id].content.includes(item)) {\n groupedList[id].content.push(item);\n }\n });\n\n // If item wasn't added to any group, add to NONE\n if (!addedToGroup) {\n NONE.content.push(item);\n }\n } else {\n // Original one-to-one logic using dot notation\n const id = getValueByPath(item, identifier_key);\n if (!id) {\n NONE.content.push(item);\n return;\n }\n const label = getValueByPath(item, group_label_key);\n const ref = groupedList[id];\n if (ref && ref.content) {\n ref.content.push(item);\n } else {\n groupedList[id] = {\n title: object_modifier ? object_modifier(id) : label,\n content: [item],\n ...(object_modifier && groupingSortKey && {\n [groupingSortKey]: object_modifier(id)[groupingSortKey] ?? Infinity\n })\n };\n }\n }\n });\n\n // Sorting logic remains the same\n const sortedGroupList = {};\n if (groupingSortKey) {\n const sorted = Object.keys(groupedList).sort((a, b) => (0, _numberSort.default)(groupedList[a][groupingSortKey], groupedList[b][groupingSortKey], 'asc'));\n sorted.forEach(key => {\n sortedGroupList[key] = groupedList[key];\n });\n } else {\n const sorted = Object.keys(groupedList).sort((a, b) => (0, _nameSort.default)(groupedList[a]['title'], groupedList[b]['title']));\n sorted.forEach(key => {\n sortedGroupList[key] = groupedList[key];\n });\n }\n if (NONE.content.length !== 0) {\n sortedGroupList.NONE = NONE;\n }\n return sortedGroupList;\n }\n let InitiativesTableComponent = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _dec3 = (0, _service.service)('dropdown'), _class = class InitiativesTableComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"favorite\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor5, this);\n _initializerDefineProperty(this, \"intl\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"dropdownService\", _descriptor8, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor9, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT']);\n _initializerDefineProperty(this, \"list\", _descriptor0, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor1, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor10, this);\n _initializerDefineProperty(this, \"themes\", _descriptor11, this);\n _initializerDefineProperty(this, \"sources\", _descriptor12, this);\n _initializerDefineProperty(this, \"productManagers\", _descriptor13, this);\n _initializerDefineProperty(this, \"teams\", _descriptor14, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor15, this);\n _initializerDefineProperty(this, \"goals\", _descriptor16, this);\n _initializerDefineProperty(this, \"search\", _descriptor17, this);\n _initializerDefineProperty(this, \"columns\", _descriptor18, this);\n _initializerDefineProperty(this, \"tableSort\", _descriptor19, this);\n _initializerDefineProperty(this, \"processOngoing\", _descriptor20, this);\n _defineProperty(this, \"tableId\", 'initiatives-table');\n _defineProperty(this, \"fetchInitiatives\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* () {\n this.scrollTableToTop();\n this.processOngoing = true;\n yield (0, _emberConcurrency.timeout)(500);\n let initiatives = [];\n const params = {\n ...this.filters\n };\n delete params['columns'];\n delete params['grouping'];\n let status = params.statuses;\n delete params.statuses;\n if (status == undefined || status.length === 0) status = this.defaultStatus;\n initiatives = yield this.store.query('initiative', {\n ...params,\n status,\n include: 'workstream'\n });\n this.list = initiatives;\n this.processOngoing = false;\n }\n }), {\n restartable: true,\n maxConcurrency: 1\n }, \"fetchInitiatives\", null));\n }\n get filters() {\n return {\n statuses: this.statuses,\n sources: this.sources,\n theme: this.themes,\n product_managers: this.productManagers,\n teams: this.teams,\n roadmaps: this.roadmaps,\n goals: this.goals\n };\n }\n get initiativeFormIsVisible() {\n return this.args.initiativeFormIsVisible;\n }\n toggleInitiativeForm() {\n this.args.toggleInitiativeForm();\n this.fetchInitiatives.perform();\n }\n get initiatives() {\n const search = this.args.externallyControlledSearch ? this.args.search : this.search;\n let initiatives = this.list.filter(item => !item.isNew).filter(item => item.title.toLowerCase().includes((search ?? '').toLowerCase()) || item?.abbreviation?.toLowerCase?.().includes?.((search ?? '').toLowerCase())).sort((a, b) => this.startingDateSort(a.starting_week, b.starting_week));\n return initiatives;\n }\n get sortSettings() {\n const [sortKey = '', sortOrder = ''] = this.tableSort.split('|');\n return {\n sortKey,\n sortOrder\n };\n }\n get groupedInitiatives() {\n let list = this.initiatives;\n let groupedSort = this.grouping !== 'none' ? this.handleGrouping(list, this.grouping) : null;\n const {\n sortKey,\n sortOrder\n } = this.sortSettings;\n switch (sortKey) {\n case 'title':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.title, b.title, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.title, b.title, sortOrder));\n break;\n }\n case 'abbreviation':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.abbreviation, b.abbreviation, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.abbreviation, b.abbreviation, sortOrder));\n break;\n }\n case 'source':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.sourceLabel, b.sourceLabel, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.sourceLabel, b.sourceLabel, sortOrder));\n break;\n }\n case 'status':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.statusLabel, b.statusLabel, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.statusLabel, b.statusLabel, sortOrder));\n break;\n }\n case 'bon_investment':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.bon_investment ?? 0), +(b?.bon_investment ?? 0), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.bon_investment ?? 0), +(b?.bon_investment ?? 0), sortOrder));\n break;\n }\n case 'bon_value':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.bon_value ?? -1), +(b?.bon_value ?? -1), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.bon_value ?? -1), +(b?.bon_value ?? -1), sortOrder));\n break;\n }\n case 'bon_returns':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.bon_returns ?? -1), +(b?.bon_returns ?? -1), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.bon_returns ?? -1), +(b?.bon_returns ?? -1), sortOrder));\n break;\n }\n case 'person_weeks':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks ?? -1), +(b?.person_weeks ?? -1), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks ?? -1), +(b?.person_weeks ?? -1), sortOrder));\n break;\n }\n case 'person_weeks_only_uncertainty':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks_only_uncertainty ?? -1), +(b?.person_weeks_only_uncertainty ?? -1), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks_only_uncertainty ?? -1), +(b?.person_weeks_only_uncertainty ?? -1), sortOrder));\n break;\n }\n case 'productManager':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('productManager.name') ?? '', b?.get('productManager.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('productManager.name') ?? '', b?.get('productManager.name') ?? '', sortOrder));\n break;\n }\n case 'team':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstTeam.name') ?? '', b?.get('firstTeam.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstTeam.name') ?? '', b?.get('firstTeam.name') ?? '', sortOrder));\n break;\n }\n case 'roadmap':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstRoadmap.title') ?? '', b?.get('firstRoadmap.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstRoadmap.title') ?? '', b?.get('firstRoadmap.title') ?? '', sortOrder));\n break;\n }\n case 'goal':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstGoal.title') ?? '', b?.get('firstGoal.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstGoal.title') ?? '', b?.get('firstGoal.title') ?? '', sortOrder));\n break;\n }\n case 'theme':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('theme.title') ?? '', b?.get('theme.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('theme.title') ?? '', b?.get('theme.title') ?? '', sortOrder));\n break;\n }\n case 'starting_week':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _dateSort.default)(a?.get('startingDateObject') ?? '', b?.get('startingDateObject') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _dateSort.default)(a?.get('startingDateObject') ?? '', b?.get('startingDateObject') ?? '', sortOrder));\n break;\n }\n case 'duration':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(a?.get('duration') ?? 0, b?.get('duration') ?? 0, sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(a?.get('duration') ?? 0, b?.get('duration') ?? 0, sortOrder));\n break;\n }\n case 'progress':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('progressLabel') ?? '', b?.get('progressLabel') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('progressLabel') ?? '', b?.get('progressLabel') ?? '', sortOrder));\n break;\n }\n case 'team_effort':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks ?? -1), +(b?.person_weeks ?? -1), sortOrder));\n }) : list.sort((a, b) => (0, _numberSort.default)(+(a?.person_weeks ?? -1), +(b?.person_weeks ?? -1), sortOrder));\n break;\n }\n default:\n list.sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n break;\n }\n return groupedSort ? groupedSort : list;\n }\n startingDateSort(a_starting_date, b_starting_date) {\n // Type checking to prevent split() errors\n if (!a_starting_date || typeof a_starting_date !== 'string') return 1;\n if (!b_starting_date || typeof b_starting_date !== 'string') return 1;\n let aDate = null;\n let bDate = null;\n const aParsed = a_starting_date.split(':')[0];\n const bParsed = b_starting_date.split(':')[0];\n aDate = (0, _moment.default)(aParsed, 'yyyy-WW').startOf('week');\n bDate = (0, _moment.default)(bParsed, 'yyyy-WW').startOf('week');\n if (aDate.isAfter(bDate)) return 1;\n if (bDate.isAfter(aDate)) return -1;\n return 0;\n }\n get statusMap() {\n return this.betaService.statusOptions.reduce((acc, item) => {\n acc[item.value] = item.tableOrder;\n return acc;\n }, {});\n }\n sortStatus(a, b) {\n return this.statusMap[a] - this.statusMap[b]; // Sort alphabetically for other elements\n }\n handleGrouping(list, groupKey) {\n switch (groupKey) {\n case 'statuses':\n {\n const initiatives = sortInitiatives(list, 'No Status', 'status', 'status', value => {\n return objectExtract(this.betaService.statusOptions, value)?.label;\n }, 'tableOrder');\n const sortedRows = Object.keys(initiatives).sort(this.sortStatus).map(item => {\n return initiatives[item];\n });\n return sortedRows;\n }\n case 'sources':\n {\n return sortInitiatives(list, 'No Source', 'source', 'source', value => objectExtract(this.betaService.sourceOptions, value)?.label, 'tableOrder');\n }\n case 'productManagers':\n {\n return sortInitiatives(list, 'No PM', 'productManager.id', 'productManager.name');\n }\n case 'teams':\n {\n return sortInitiatives(list, 'No Team', 'team.id', 'team.name', undefined, undefined, true);\n }\n case 'themes':\n {\n return sortInitiatives(list, 'No Theme', 'theme.id', 'theme.title');\n }\n case 'progress':\n {\n return sortInitiatives(list, 'No Update', 'progress', 'progressLabel', val => this.intl.t(`_initiatives.updates_${val?.toLowerCase()}`));\n }\n case 'roadmaps':\n {\n return sortInitiatives(list, 'No Roadmap', 'roadmap.id', 'roadmap.title', undefined, undefined, true);\n }\n case 'goals':\n {\n return sortInitiatives(list, 'No Goal', 'goal.id', 'goal.title', undefined, undefined, true);\n }\n case 'durations':\n {\n return sortInitiatives(list, 'No Duration', 'duration', 'durationLabel', undefined, undefined);\n }\n default:\n {\n return sortInitiatives(list, 'No Status', 'status', 'status');\n }\n }\n }\n onSortSelect(key, order) {\n const sort = `${key}|${order}`;\n this.tableSort = this.tableSort === sort ? '' : sort;\n this.pushToUrlParams('tableSort', this.tableSort);\n this.emitTableInteractionEvent();\n }\n scrollTableToTop() {\n document.querySelector(`#${this.tableId}`).scrollTop = 0;\n }\n emitTableInteractionEvent() {\n this.tracker.trackInitiativesTableInteractionEvent();\n }\n showColumn(column) {\n if ((this.columns?.length ?? 0) === 0) {\n if (column.show !== undefined) return column.show;\n return true;\n } else {\n return this.columns.includes(column.label);\n }\n }\n get columnOptions() {\n const columns = this.dropdownService.columnsList;\n columns.forEach(item => {\n item.show = this.showColumn(item);\n });\n return columns.slice();\n }\n calculateInvestmentInPersonWeeks(investment) {\n if (investment.people == undefined || investment.weeks == undefined || investment.confidence_value == undefined) return;\n return (investment.people * investment.weeks * investment.confidence_value).toFixed(1);\n }\n onInitiativeAdded(initiative) {\n this.args?.onInitiativeAdded?.(initiative);\n }\n onFilterSelect(key, e) {\n this[key] = e;\n (0, _emberLifeline.debounceTask)(this, 'pushToUrlParams', key, e, 1500);\n }\n setFilters() {\n const filters = this.args.filters ?? {};\n console.log('Setting filters:', filters);\n Object.keys(filters).forEach(key => {\n if (filters[key]) this[key] = filters[key];\n });\n }\n onGroupingSelect(e) {\n this.grouping = this.grouping === e.value ? 'none' : e.value;\n (0, _emberLifeline.debounceTask)(this, 'pushToUrlParams', 'grouping', this.grouping, 1500);\n }\n get disabledColumns() {\n return this.args?.disabledColumns ?? [];\n }\n setSearch(e) {\n this.search = e;\n (0, _emberLifeline.debounceTask)(this, 'pushToUrlParams', 'search', e, 1500);\n }\n hideColumn(column, allColumns) {\n let values = [...allColumns];\n if (values.includes(column)) {\n values = values.filter(_column => _column !== column);\n } else {\n values.push(column);\n }\n this.onColumnSelect(values);\n }\n onColumnSelect(values) {\n this.columns = values;\n (0, _emberLifeline.debounceTask)(this, 'pushToUrlParams', 'columns', values, 500);\n }\n pushToUrlParams(key, value) {\n this.router.transitionTo({\n queryParams: {\n [key]: value\n }\n });\n }\n anyDropdownFeatureIsAvailable(column) {\n return column.showGrouping || column.showSorting || column.dropdownDataKey || column.showVisibilityToggle;\n }\n willDestroy() {\n this.list = [];\n this.processOngoing = false;\n this.tableSort = '';\n this.fetchInitiatives.cancelAll();\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"dropdownService\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"list\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.list ?? [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.grouping ?? 'none';\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.statuses ?? this.defaultStatus;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.themes ?? [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.sources ?? [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"productManagers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.product_managers ?? [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.teams ?? [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.roadmaps ?? [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"goals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters?.goals ?? [];\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.search ?? '';\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.filters.columns?.length ? this.args.filters.columns : [];\n }\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"tableSort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.tableSort ?? '';\n }\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"processOngoing\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startingDateSort\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"startingDateSort\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sortStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGrouping\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSortSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSortSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"scrollTableToTop\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"scrollTableToTop\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"emitTableInteractionEvent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"emitTableInteractionEvent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateInvestmentInPersonWeeks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateInvestmentInPersonWeeks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeAdded\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFilterSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setFilters\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setFilters\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onColumnSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onColumnSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"pushToUrlParams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"pushToUrlParams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"anyDropdownFeatureIsAvailable\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"anyDropdownFeatureIsAvailable\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableComponent);\n});","define(\"scaleflow/components/initiatives/table/pm-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.initiative.productManager}}\n \n \n {{get this.initiative \"productManager.abbreviation\"}}\n \n {{get\n this.initiative\n \"productManager.name\"\n }}\n \n \n {{else}}\n \n \n \n {{/if}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{#if this.personFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"pxp303sn\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"initiative\\\",\\\"productManager\\\"]],\\\"\\\",\\\"border border-gray-300 bg-white flex items-center rounded-full border-dashed\\\"],\\\"\\\\n w-fit max-w-full\\\"]]],[24,\\\"test-id\\\",\\\"it-product-manager\\\"],[17,1],[4,[38,2],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[4,[38,3],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"productManager\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[28,[37,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.color\\\"],null],[28,[37,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.name\\\"],null],true,\\\"top\\\",[28,[37,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.id\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.abbreviation\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"overflow-hidden text-ellipsis\\\"],[14,\\\"test-id\\\",\\\"pm-name\\\"],[12],[1,[28,[35,6],[[30,0,[\\\"initiative\\\"]],\\\"productManager.name\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block p-1\\\"],[14,\\\"test-id\\\",\\\"empty-state\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-4 h-4 text-gray-400\\\"],[24,\\\"test-id\\\",\\\"plus\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@value\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@handleUserSelect\\\",\\\"@tippy\\\",\\\"@showAddOption\\\",\\\"@onAddPersonClick\\\",\\\"@showClearSelectionButton\\\"],[[30,0,[\\\"initiative\\\",\\\"productManager\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",[28,[37,9],[[30,0,[\\\"handleUserClick\\\"]],[30,0,[\\\"initiative\\\"]]],null],true,true,[28,[37,9],[[30,0,[\\\"togglePersonForm\\\"]],[30,0,[\\\"initiative\\\"]]],null],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"personFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,10],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"togglePersonForm\\\"]],[30,0,[\\\"onPersonAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\"],[\\\"button\\\",\\\"if\\\",\\\"amplitude/initiatives-interaction\\\",\\\"on\\\",\\\"span\\\",\\\"avatar\\\",\\\"get\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/users\\\",\\\"fn\\\",\\\"quick-adds/person\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/pm-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTablePmSelectorComponent = _exports.default = (_class = class InitiativesTablePmSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"personFormIsVisible\", _descriptor, this);\n _defineProperty(this, \"selectedInitiative\", null);\n }\n get initiative() {\n return this.args.initiative;\n }\n handleUserClick(initiative, e) {\n if (e.id === 'clear') initiative.productManager = null;else initiative.productManager = e;\n initiative.save();\n }\n togglePersonForm(initiative, val) {\n if (initiative) this.selectedInitiative = initiative;else this.selectedInitiative = null;\n if (val !== undefined) this.personFormIsVisible = val;else this.personFormIsVisible = !this.personFormIsVisible;\n }\n async onPersonAdded(person) {\n this.selectedInitiative.productManager = person;\n await this.selectedInitiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"personFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleUserClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUserClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePersonForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePersonForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPersonAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPersonAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTablePmSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/progress-pill/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"scaleflow/models/initiative-update\", \"@ember/template-factory\"], function (_exports, _component, _component2, _initiativeUpdate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"scaleflow/models/initiative-update\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if @progress}}\n {{t (concat \"_initiatives.updates_\" (lowercase @progress))}}\n {{else}}\n {{t \"_initiatives.no-records\"}}\n {{/if}}\n {{#if @showChevron}}\n \n {{/if}}\n \n \n */\n {\n \"id\": \"isu0vj4j\",\n \"block\": \"[[[11,1],[16,0,[29,[\\\"text-xs rounded-2xl flex items-center px-2 py-1 font-medium\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null],\\\" bg-green-100 text-green-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null],\\\"bg-blue-100 text-blue-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null],\\\"bg-amber-100 text-amber-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null],\\\"bg-red-100 text-red-600\\\"],\\\"\\\\n \\\",[52,[30,1],\\\"\\\",\\\"bg-gray-200 text-gray-500 border\\\"],\\\"\\\\n \\\"]]],[24,\\\"test-id\\\",\\\"progress\\\"],[17,2],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[1,[28,[35,3],[[28,[37,4],[\\\"_initiatives.updates_\\\",[28,[37,5],[[30,1]],null]],null]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,3],[\\\"_initiatives.no-records\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[41,[30,3],[[[1,\\\" \\\"],[8,[39,6],[[16,0,[29,[\\\"w-5 h-5\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"ON_TRACK\\\"]]],null],\\\"text-green-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"NEEDS_REVIEW\\\"]]],null],\\\"text-blue-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"AT_RISK\\\"]]],null],\\\"text-amber-600\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,1],[30,0,[\\\"status_keys\\\",\\\"DELAYED\\\"]]],null],\\\"text-red-600\\\"],\\\"\\\\n \\\",[52,[30,1],\\\"\\\",\\\" text-gray-500\\\"],\\\"\\\\n '\\\"]]]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@progress\\\",\\\"&attrs\\\",\\\"@showChevron\\\"],[\\\"span\\\",\\\"if\\\",\\\"eq\\\",\\\"t\\\",\\\"concat\\\",\\\"lowercase\\\",\\\"atoms/icons/chevron/down\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/progress-pill/index.hbs\",\n \"isStrictMode\": false\n });\n class InitiativesTableProgressPillIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"status_keys\", _initiativeUpdate.STATUS_KEYS);\n }\n }\n _exports.default = InitiativesTableProgressPillIndexComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableProgressPillIndexComponent);\n});","define(\"scaleflow/components/initiatives/table/roadmap-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.initiative.roadmaps.length}}\n \n {{this.firstRoadmap.title}}\n {{#if (gte this.initiative.roadmaps.length 2)}}\n \n +{{subtract this.initiative.roadmaps.length 1}}\n \n \n
      \n {{#each this.sortedRoadmaps as |roadmap|}}\n
    • {{roadmap.title}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n {{else}}\n \n \n \n {{/if}}\n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{#if this.roadmapFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"5pewcna6\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"initiative\\\",\\\"roadmaps\\\",\\\"length\\\"]],\\\"\\\",\\\"border border-gray-300 bg-white flex items-center rounded-full border-dashed\\\"],\\\"\\\\n w-fit max-w-full\\\"]]],[24,\\\"test-id\\\",\\\"it-roadmap\\\"],[17,1],[4,[38,2],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[4,[38,3],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"roadmaps\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"leading-4 text-xs text-gray-700 rounded-2xl border border-gray-300 bg-white flex items-center gap-x-1.5 py-1 px-2 border-solid\\\"],[14,\\\"test-id\\\",\\\"roadmap-name\\\"],[12],[1,[30,0,[\\\"firstRoadmap\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,0,[\\\"initiative\\\",\\\"roadmaps\\\",\\\"length\\\"]],2],null],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"roadmap-count\\\"],[12],[1,\\\"\\\\n +\\\"],[1,[28,[35,6],[[30,0,[\\\"initiative\\\",\\\"roadmaps\\\",\\\"length\\\"]],1],null]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"sortedRoadmaps\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,2,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block p-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-4 h-4 text-gray-400\\\"],[24,\\\"test-id\\\",\\\"plus\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,14],null,[[\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@type\\\",\\\"@showClearSelectionButton\\\",\\\"@onAddRoadmapClick\\\",\\\"@showAddOption\\\"],[\\\"true\\\",[30,0,[\\\"initiative\\\",\\\"roadmapIds\\\"]],[28,[37,15],[[30,0,[\\\"handleRoadmapClick\\\"]],[30,0,[\\\"initiative\\\"]]],null],\\\"multiselect\\\",true,[28,[37,15],[[30,0,[\\\"toggleRoadmapForm\\\"]],[30,0,[\\\"initiative\\\"]]],null],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"roadmapFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,16],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleRoadmapForm\\\"]],[30,0,[\\\"onRoadmapAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"roadmap\\\"],[\\\"button\\\",\\\"if\\\",\\\"amplitude/initiatives-interaction\\\",\\\"on\\\",\\\"span\\\",\\\"gte\\\",\\\"subtract\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/roadmap\\\",\\\"fn\\\",\\\"quick-adds/roadmap\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/roadmap-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableRoadmapSelectorComponent = _exports.default = (_class = class InitiativesTableRoadmapSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmapFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"selectedInitiative\", null);\n }\n get initiative() {\n return this.args.initiative;\n }\n handleRoadmapClick(initiative, e = []) {\n try {\n initiative.roadmaps = e.map(id => this.store.peekRecord('roadmap', id)).filter(item => item);\n initiative.save();\n } catch (err) {\n console.log(err);\n }\n }\n toggleRoadmapForm(initiative, val) {\n if (initiative) this.selectedInitiative = initiative;else this.selectedInitiative = null;\n if (val !== undefined) this.roadmapFormIsVisible = val;else this.roadmapFormIsVisible = !this.roadmapFormIsVisible;\n }\n async onRoadmapAdded(roadmap) {\n const roadmaps = [...this.selectedInitiative.roadmaps.content];\n roadmaps.push(roadmap);\n this.selectedInitiative.roadmaps = roadmaps;\n await this.selectedInitiative.save();\n }\n get sortedRoadmaps() {\n return this.initiative.roadmaps?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'));\n }\n get firstRoadmap() {\n return this.sortedRoadmaps?.[0];\n }\n willDestroy() {\n this.roadmapFormIsVisible = false;\n this.selectedInitiative = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmapFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleRoadmapClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRoadmapClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleRoadmapForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleRoadmapForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRoadmapAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRoadmapAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableRoadmapSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/source-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.initiative.source}}\n \n {{label-extract\n this.betaToggle.sourceOptions\n this.initiative.source\n }}\n {{else}}\n \n {{t \"_initiatives.source\" num=1}}\n {{/if}}\n \n \n {{#each this.sourceOptions as |item|}}\n \n {{item.label}}\n \n \n \n \n {{/each}}\n \n {{#if this.initiative.source}}\n \n \n {{t\n \"_initiatives.clear-attribute\"\n attribute=(t \"_initiatives.source\" num=1)\n }}\n \n \n {{/if}}\n \n \n \n \n */\n {\n \"id\": \"1aG3IO3x\",\n \"block\": \"[[[11,\\\"button\\\"],[16,0,[29,[\\\"bg-white\\\\n \\\",[52,[30,0,[\\\"initiative\\\",\\\"source\\\"]],\\\"rounded-2xl\\\",\\\"rounded-full border-dashed\\\"],\\\"\\\\n flex items-center border border-gray-300\\\"]]],[24,\\\"test-id\\\",\\\"it-source\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"source\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs px-2 py-1 text-gray-700\\\"],[14,\\\"test-id\\\",\\\"source-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[[30,0,[\\\"betaToggle\\\",\\\"sourceOptions\\\"]],[30,0,[\\\"initiative\\\",\\\"source\\\"]]],null]],[13],[1,\\\"\\\\n \\\"]],[]],[[[10,1],[14,0,\\\"text-xs px-2 py-1 text-gray-400 flex items-center\\\"],[14,\\\"test-id\\\",\\\"empty-state\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-4 h-4 text-gray-400 mr-1\\\"],[24,\\\"test-id\\\",\\\"plus\\\"]],null,null],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"_initiatives.source\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13]],[]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"sourceOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,11],[[4,[38,13],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleSourceChange\\\"]],[30,0,[\\\"initiative\\\"]],[30,1,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[10,1],[14,0,\\\"flex-grow text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[12],[1,[30,1,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"checked\\\"],[16,0,[29,[\\\"w-6 h-6 inline-block text-indigo-600 float-right shrink-0\\\\n \\\",[52,[28,[37,15],[[28,[37,16],[[30,1,[\\\"value\\\"]]],null],[28,[37,16],[[30,0,[\\\"initiative\\\",\\\"source\\\"]]],null]],null],\\\"\\\\n opacity-100\\\",\\\"opacity-0\\\"]]]]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"source\\\"]],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,11],[[4,[38,13],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"handleSourceChange\\\"]],[30,0,[\\\"initiative\\\"]],\\\"clear\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[10,1],[14,0,\\\"flex-grow text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[12],[1,[28,[35,6],[\\\"_initiatives.clear-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"_initiatives.source\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],[\\\"button\\\",\\\"if\\\",\\\"amplitude/initiatives-interaction\\\",\\\"span\\\",\\\"label-extract\\\",\\\"atoms/icons/plus\\\",\\\"t\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"hide-tippy-on-click\\\",\\\"atoms/icons/check\\\",\\\"eq\\\",\\\"lowercase\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/source-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableSourceSelectorComponent = _exports.default = (_class = class InitiativesTableSourceSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor3, this);\n }\n setTippyInstance(e) {\n this.tippyInstance = e;\n }\n get initiative() {\n return this.args.initiative;\n }\n get sourceOptions() {\n return this.betaToggle.sourceOptions;\n }\n handleSourceChange(initiative, e) {\n if (e === 'clear') initiative.source = null;else initiative.source = e;\n initiative.save();\n }\n get sourceOptionsLastIndex() {\n return this.sourceOptions.length - 1;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSourceChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSourceChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableSourceSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/status-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.initiative.status}}\n {{label-extract this.betaToggle.statusOptions this.initiative.status}}\n {{else}}\n {{t \"dictionary.no\"}}\n {{t \"_initiatives.status\"}}\n {{/if}}\n \n \n \n {{#each this.betaToggle.statusOptions as |item|}}\n \n {{item.label}}\n \n {{#if (eq item.value this.initiative.status)}}\n \n {{/if}}\n \n \n {{/each}}\n \n \n \n */\n {\n \"id\": \"h54PWeYs\",\n \"block\": \"[[[11,\\\"button\\\"],[16,0,[29,[\\\"text-xs inline-block py-1 px-1.5 rounded-full text-gray-700\\\\n \\\",[28,[37,1],[[30,0,[\\\"initiative\\\",\\\"status\\\"]]],null],\\\"\\\\n \\\"]]],[24,\\\"test-id\\\",\\\"it-status\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[12],[41,[30,0,[\\\"initiative\\\",\\\"status\\\"]],[[[1,\\\"\\\\n \\\"],[1,[28,[35,4],[[30,0,[\\\"betaToggle\\\",\\\"statusOptions\\\"]],[30,0,[\\\"initiative\\\",\\\"status\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.no\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_initiatives.status\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@onShown\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"statusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],[[4,[38,12],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@menuClick\\\"],[[28,[37,11],[[30,0,[\\\"handleStatusChange\\\"]],[30,0,[\\\"initiative\\\"]],[30,1,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,[30,1,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,14],[[30,1,[\\\"value\\\"]],[30,0,[\\\"initiative\\\",\\\"status\\\"]]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"checked\\\"],[24,0,\\\"w-6 h-6 inline-block text-indigo-600 float-right\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],[\\\"button\\\",\\\"status-color-class\\\",\\\"amplitude/initiatives-interaction\\\",\\\"if\\\",\\\"label-extract\\\",\\\"t\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"hide-tippy-on-click\\\",\\\"span\\\",\\\"eq\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/status-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableStatusSelectorComponent = _exports.default = (_class = class InitiativesTableStatusSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor2, this);\n }\n get initiative() {\n return this.args.initiative;\n }\n handleStatusChange(initiative, e) {\n initiative.status = e;\n initiative.save();\n }\n setTippyInstance(e) {\n this.tippyInstance = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleStatusChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableStatusSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/team-effort/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @initiative}}\n \n {{#each this.teamEffort as |effort|}}\n \n \n {{to-fixed effort.pw}}\n pw\n \n {{/each}}\n \n {{else}}\n {{t \"_initiatives.title\" num=0}}\n {{/if}}\n */\n {\n \"id\": \"5uk2+lBn\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,0],[24,0,\\\"flex flex-col gap-y-2 text-gray-500\\\"],[24,\\\"test-id\\\",\\\"team-effort\\\"],[17,2],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,0,[\\\"teamEffort\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[[30,3,[\\\"name\\\"]],[30,3,[\\\"id\\\"]],\\\"small\\\",true,\\\"top\\\"]],null],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[30,3,[\\\"pw\\\"]]],null]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,7],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[0]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@initiative\\\",\\\"&attrs\\\",\\\"effort\\\"],[\\\"if\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"span\\\",\\\"atoms/avatar\\\",\\\"to-fixed\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/team-effort/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableTeamEffortComponent = _exports.default = (_class = class InitiativesTableTeamEffortComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get teamEffort() {\n const initiative = this.args.initiative;\n if (this.args.team_id) {\n const team_id = this.args.team_id;\n const team = this.store.peekRecord('team', team_id);\n const team_pw = initiative.person_weeks_for_team(team_id, initiative);\n return [{\n id: team_id,\n name: team?.name ?? 'Unknown',\n pw: team_pw\n }];\n } else {\n const efforts = initiative.teams.content.reduce((acc, item) => {\n const team_id = item.id;\n const team_pw = initiative.person_weeks_for_team(team_id, initiative);\n acc.push({\n id: team_id,\n name: item.name,\n pw: team_pw\n });\n return acc;\n }, []);\n return efforts;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableTeamEffortComponent);\n});","define(\"scaleflow/components/initiatives/table/team-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{#if this.initiative.teams.length}}\n \n {{else}}\n \n \n \n {{/if}}\n \n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{#if this.teamFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"YzgXCgK0\",\n \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"w-fit max-w-full group flex items-center gap-x-2\\\"],[24,\\\"test-id\\\",\\\"it-team\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null],[4,[38,2],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"teams\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,4],null,[[\\\"@teams\\\",\\\"@size\\\"],[[30,0,[\\\"initiative\\\",\\\"teams\\\"]],\\\"extra-small\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"p-1 border border-gray-300 bg-white flex items-center rounded-full border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@type\\\",\\\"@initiative\\\",\\\"@showAddOption\\\",\\\"@onAddTeamClick\\\",\\\"@interactive\\\"],[\\\"true\\\",[30,0,[\\\"initiative\\\",\\\"teamIds\\\"]],[28,[37,8],[[30,0,[\\\"handleTeamClick\\\"]],[30,0,[\\\"initiative\\\"]]],null],\\\"multiselect\\\",[30,0,[\\\"initiative\\\"]],true,[28,[37,8],[[30,0,[\\\"toggleTeamForm\\\"]],[30,0,[\\\"initiative\\\"]]],null],[28,[37,9],[[30,0,[\\\"processOngoing\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"teamFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,10],null,[[\\\"@handleFormDismiss\\\",\\\"@isOpen\\\",\\\"@onItemSaved\\\"],[[30,0,[\\\"toggleTeamForm\\\"]],true,[30,0,[\\\"onTeamAdded\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[],[\\\"button\\\",\\\"amplitude/initiatives-interaction\\\",\\\"on\\\",\\\"if\\\",\\\"teams/multi-avatar-preview\\\",\\\"span\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/teams\\\",\\\"fn\\\",\\\"not\\\",\\\"quick-adds/team\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/team-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableTeamSelectorComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _class = class InitiativesTableTeamSelectorComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"teamFormIsVisible\", _descriptor3, this);\n _defineProperty(this, \"selectedInitiative\", null);\n }\n get initiative() {\n return this.args.initiative;\n }\n toggleTeamForm(initiative, val) {\n if (initiative) this.selectedInitiative = initiative;else this.selectedInitiative = null;\n if (val !== undefined) this.teamFormIsVisible = val;else this.teamFormIsVisible = !this.teamFormIsVisible;\n }\n async onTeamAdded(team) {\n const initiative = this.selectedInitiative;\n const teams = (initiative.teams?.content ?? []).map(item => item.id);\n teams.push(team.id);\n await this.handleTeamClick(initiative, teams);\n }\n async handleTeamClick(initiative, team_ids) {\n let bon = await initiative.bon.catch(() => null);\n if (!bon) bon = await this.createNewBonWithProvidedTeams(initiative, team_ids);else bon = this.updateExistingBonWithProvidedTeams(bon, team_ids);\n await bon.save();\n const teams = team_ids.map(id => this.store.peekRecord('team', id));\n initiative.teams = teams.filter(item => !!item);\n initiative.reload();\n }\n async createNewBonWithProvidedTeams(initiative, team_ids) {\n //create a bon\n const bon = this.store.createRecord('bon');\n bon.initiative = initiative;\n bon.investments = {\n value: 0,\n calculations: []\n };\n bon.returns = {\n value: 0,\n calculations: []\n };\n bon.value = 0;\n\n //for each team create an empty calculation and attach a team\n team_ids.map(team_id => {\n bon.investments.calculations.push({\n type: 'person-weeks-role',\n confidence_label: 'Medium',\n confidence_value: this.orgService.bon_investment_confidences['medium'],\n team_id,\n weeks: 0,\n people: 0,\n value: 0,\n price_person_week: this.orgService.ppw\n });\n });\n return bon;\n }\n updateExistingBonWithProvidedTeams(bon, team_ids) {\n const team_map = team_ids.reduce((acc, team_id) => {\n acc[team_id] = {\n checked: false\n };\n return acc;\n }, {});\n if (!bon?.investments) bon.investments = {\n value: 0,\n calculations: []\n };\n for (let i = 0; i < bon.investments?.calculations?.length; i++) {\n const calculation = bon.investments.calculations[i];\n if (calculation.type !== 'person-weeks-role') continue;\n if (!calculation.team_id) continue;\n //if team in calculation exists in new team map, all good, set checked attribute to true in map\n if (team_map[calculation.team_id]) {\n team_map[calculation.team_id].checked = true;\n } else {\n //else remove the team attachment, keep calculation\n calculation.team_id = undefined;\n }\n }\n //loop over remaining teams in map with checked false\n Object.entries(team_map).forEach(([team_id, {\n checked\n }]) => {\n if (checked) ;else {\n //add calculation for each\n bon.investments.calculations.push({\n type: 'person-weeks-role',\n confidence_label: 'Medium',\n confidence_value: this.orgService.bon_investment_confidences['medium'],\n team_id,\n weeks: 0,\n people: 0,\n value: 0,\n price_person_week: this.orgService.ppw\n });\n }\n });\n return bon;\n }\n willDestroy() {\n this.selectedInitiative = null;\n this.teamFormIsVisible = false;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"teamFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleTeamForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleTeamForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamAdded\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTeamClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTeamClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewBonWithProvidedTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewBonWithProvidedTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateExistingBonWithProvidedTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateExistingBonWithProvidedTeams\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableTeamSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/theme-selector/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if this.themeFormIsVisible}}\n \n {{/if}}\n */\n {\n \"id\": \"Vr2Bgw80\",\n \"block\": \"[[[8,[39,0],[[24,\\\"test-id\\\",\\\"it-theme\\\"],[24,0,\\\"w-fit max-w-[120px]\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"initiative\\\",\\\"id\\\"]]],null]],[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@showAddOption\\\",\\\"@handleAddItem\\\"],[[28,[37,1],[[30,0,[\\\"handleThemeChange\\\"]],[30,0,[\\\"initiative\\\"]]],null],[28,[37,2],[[30,0,[\\\"initiative\\\"]],\\\"theme\\\"],null],true,[28,[37,1],[[30,0,[\\\"toggleThemeForm\\\"]],[30,0,[\\\"initiative\\\"]]],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"themeFormIsVisible\\\"]],[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@handleFormDismiss\\\",\\\"@onItemSaved\\\",\\\"@isOpen\\\"],[[30,0,[\\\"toggleThemeForm\\\"]],[30,0,[\\\"onThemeAdded\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[],[\\\"dropdowns/themes\\\",\\\"fn\\\",\\\"get\\\",\\\"amplitude/initiatives-interaction\\\",\\\"if\\\",\\\"quick-adds/theme\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/theme-selector/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableThemeSelectorComponent = _exports.default = (_class = class InitiativesTableThemeSelectorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"themeFormIsVisible\", _descriptor, this);\n _defineProperty(this, \"selectedInitiative\", null);\n }\n get initiative() {\n return this.args.initiative;\n }\n handleThemeChange(initiative, e) {\n if (e.id === 'clear') {\n initiative.theme = undefined;\n } else initiative.theme = e;\n initiative.save();\n }\n toggleThemeForm(initiative, val) {\n if (initiative) this.selectedInitiative = initiative;else this.selectedInitiative = null;\n if (val !== undefined) this.themeFormIsVisible = val;else this.themeFormIsVisible = !this.themeFormIsVisible;\n }\n async onThemeAdded(theme) {\n this.selectedInitiative.theme = theme;\n await this.selectedInitiative.save();\n }\n willDestroy() {\n this.themeFormIsVisible = false;\n this.selectedInitiative = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"themeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleThemeChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemeChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleThemeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleThemeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeAdded\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeAdded\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableThemeSelectorComponent);\n});","define(\"scaleflow/components/initiatives/table/title/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/initiative\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _initiative, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/initiative\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"zmZXY5Il\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@model\\\",\\\"@validator\\\",\\\"@field\\\",\\\"@label\\\"],[[30,1],[30,0,[\\\"initiativeValidations\\\"]],\\\"title\\\",[29,[[28,[37,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],null]],[\\\"@initiative\\\"],[\\\"atoms/forms/clickable-input\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/table/title/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesTableTitleComponent = _exports.default = (_class = class InitiativesTableTitleComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isEditMode\", _descriptor, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n }\n toggleEditMode() {\n this.isEditMode = !this.isEditMode;\n }\n async saveTitle(changeset, e) {\n e?.preventDefault?.();\n await changeset.validate();\n if (!changeset.get('isValid')) return;\n changeset.save().catch(err => {\n console.debug(err);\n changeset.rollback();\n });\n this.toggleEditMode();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isEditMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveTitle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveTitle\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesTableTitleComponent);\n});","define(\"scaleflow/components/initiatives/update-wizard/general-remarks/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/models/initiative-update\", \"scaleflow/utils/text-delta-is-empty\", \"aws-amplify\", \"quill\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"quill-image-resize\", \"uuid\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _initiativeUpdate, _textDeltaIsEmpty, _awsAmplify, _quill, _registerIfNotRegistered, _quill2ImageUploader, _imageFormat, _quillImageResize, _uuid, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/models/initiative-update\",0,\"scaleflow/utils/text-delta-is-empty\",0,\"aws-amplify\",0,\"quill\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"quill-image-resize\",0,\"uuid\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n

    \n {{@initiative.title}}\n

    \n

    General remarks

    \n
    \n \n
    \n
    \n \n \n <:trigger>\n \n \n <:menuItems>\n {{#each this.betaToggle.healthOptions as |health|}}\n \n {{health.label}}\n \n {{/each}}\n \n \n
    \n \n
    \n \n
    \n \n \n {{#if this.editorIsVisible}}\n \n \n \n {{!
    \n Press Cmd + Enter to save\n Press Esc to cancel\n
    }}\n {{else}}\n \n Add a remark\n \n {{/if}}\n
    \n \n {{!-- {{#each @initiative.orderedUpdates as |update|}}\n {{#unless update.isNew}}\n \n {{/unless}}\n {{/each}} --}}\n \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n {{#if this.isDirty}}\n {{t \"dictionary.save-and-continue\"}}\n \n {{else}}\n {{t\n \"dictionary.next\"\n }}\n \n {{/if}}\n
    \n */\n {\n \"id\": \"NX4pekOn\",\n \"block\": \"[[[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"General remarks\\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"py-4 px-4 bg-gray-50 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between h-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,\\\"Overall progress? *\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"!w-fit\\\"]],[[\\\"@dropdownContainerClass\\\"],[\\\"!top-4\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"shrink-0\\\"]],[[\\\"@progress\\\",\\\"@showChevron\\\"],[[30,0,[\\\"healthStatus\\\"]],\\\"true\\\"]],null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"healthOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],null,[[\\\"@handleSelect\\\",\\\"@isSelected\\\"],[[28,[37,11],[[30,0,[\\\"setHealthStatus\\\"]],[30,2]],null],[28,[37,12],[[30,2,[\\\"value\\\"]],[30,0,[\\\"healthStatus\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"mt-4 w-full\\\"]],[[\\\"@value\\\",\\\"@onInputChange\\\"],[[30,0,[\\\"healthScore\\\"]],[30,0,[\\\"setHealthScore\\\"]]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"py-4 px-4 bg-gray-50 rounded-lg overflow-y-auto grow\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"new-update-container mb-2 flex flex-col h-full\\\\n \\\",[52,[30,0,[\\\"update\\\",\\\"isSaving\\\"]],\\\"opacity-50\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"editorIsVisible\\\"]],[[[1,\\\" \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium\\\"],[12],[1,\\\"Add a remark\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"update\\\",\\\"isSaving\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"!w-4 !h-4 !border-2 !border-t-2\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],[[24,0,\\\"grow textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto bg-white compressed-lines mb-2\\\"]],[[\\\"@bounds\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@modules\\\",\\\"@delta\\\",\\\"@focused\\\"],[\\\".new-update-container\\\",[30,0,[\\\"setRemarks\\\"]],\\\"bubble\\\",[30,0,[\\\"modules\\\"]],[30,0,[\\\"remarks\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-full flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"show-editor\\\"],[24,4,\\\"button\\\"],[4,[38,19],[\\\"click\\\",[30,0,[\\\"showEditor\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"Add a remark\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"reset\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,19],[\\\"click\\\",[30,0,[\\\"handleCancel\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,21],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDirty\\\"]],[[[1,\\\" \\\"],[8,[39,22],[[24,\\\"test-id\\\",\\\"save\\\"],[4,[38,19],[\\\"click\\\",[30,0,[\\\"saveForm\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,21],[\\\"dictionary.save-and-continue\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,22],[[24,\\\"test-id\\\",\\\"next\\\"],[4,[38,19],[\\\"click\\\",[30,0,[\\\"next\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,21],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"@initiative\\\",\\\"health\\\"],[\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"label\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"initiatives/table/progress-pill\\\",\\\":menuItems\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\",\\\"fn\\\",\\\"eq\\\",\\\"atoms/forms/range/pills\\\",\\\"if\\\",\\\"span\\\",\\\"loader\\\",\\\"quill-editor\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/update-wizard/general-remarks/index.hbs\",\n \"isStrictMode\": false\n });\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n let InitiativesUpdateWizardGeneralRemarksComponent = _exports.default = (_class = class InitiativesUpdateWizardGeneralRemarksComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"healthScore\", _descriptor4, this);\n _initializerDefineProperty(this, \"healthStatus\", _descriptor5, this);\n _initializerDefineProperty(this, \"editorIsVisible\", _descriptor6, this);\n _initializerDefineProperty(this, \"remarks\", _descriptor7, this);\n _initializerDefineProperty(this, \"activeStep\", _descriptor8, this);\n _initializerDefineProperty(this, \"update\", _descriptor9, this);\n }\n setActiveStep(step) {\n this.activeStep = step;\n }\n setHealthScore(e) {\n this.healthScore = e;\n }\n showEditor() {\n this.editorIsVisible = true;\n }\n hideEditor() {\n this.editorIsVisible = false;\n }\n setHealthStatus(health) {\n this.healthStatus = health.value;\n }\n setRemarks(e) {\n this.remarks = e;\n }\n cancel() {\n this.hideEditor();\n }\n resetForm() {\n this.healthScore = undefined;\n this.healthStatus = null;\n this.remarks = undefined;\n this.update = '';\n // this.hideEditor();\n }\n get isDirty() {\n return !!this.healthStatus || !!this.healthScore || !(0, _textDeltaIsEmpty.default)(this.remarks);\n }\n async saveForm() {\n await this.save();\n this.next();\n }\n async save() {\n if (!this.healthStatus && !this.healthScore && (0, _textDeltaIsEmpty.default)(this.remarks) || !this.args.initiative) return;\n this.update = this.store.createRecord('initiative-update');\n this.update.initiative = this.args.initiative;\n this.update.initiative_id = this.args.initiative.id;\n this.update.status = this.healthStatus;\n this.update.reported_health = this.healthScore;\n this.update.text_delta = this.remarks;\n this.update.created_at = new Date().toISOString();\n this.update.updated_by = {\n type: 'PERSON',\n id: this.currentUser.id\n };\n await this.update.save();\n this.remarks = undefined;\n this.args.initiative.progress = this.update.status;\n this.hideEditor();\n }\n next() {\n if (!this.args?.next) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"next\" param'));else this.args?.next();\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n get keyBindings() {\n const that = this;\n return {\n submit: {\n key: 13,\n // Enter key code\n shortKey: true,\n // For cmd key\n handler: function () {\n that.save();\n }\n },\n escape: {\n key: 'Escape',\n handler: function () {\n that.remarks = undefined;\n that.hideEditor();\n }\n }\n };\n }\n handleCancel() {\n this.resetForm();\n this.args?.onCancel?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"healthScore\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.initiative?.latestUpdate?.reported_health ?? undefined;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"healthStatus\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.initiative?.latestUpdate?.status ?? _initiativeUpdate.STATUS_KEYS.ON_TRACK;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"editorIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"remarks\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return undefined;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"update\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setHealthScore\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setHealthScore\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setHealthStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setHealthStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRemarks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRemarks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"save\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"save\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"next\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"next\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCancel\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesUpdateWizardGeneralRemarksComponent);\n});","define(\"scaleflow/components/initiatives/update-wizard/impediments/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/generate-position-from-time\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _generatePositionFromTime, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/generate-position-from-time\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n

    \n {{@initiative.title}}\n

    \n

    Impediments

    \n
    \n \n {{#if @initiative.wfas.length}}\n \n
    \n {{#unless this.isShowingForm}}\n \n Add an impediment\n \n {{/unless}}\n \n {{#each @initiative.orderedWfas as |wfa|}}\n \n {{/each}}\n
    \n {{else}}\n \n <:message>This initiative has no impediments\n <:other>\n \n Add an impediment\n \n \n \n {{/if}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n {{t\n \"dictionary.finish\"\n }}\n \n
    \n */\n {\n \"id\": \"jkRIMP95\",\n \"block\": \"[[[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Impediments\\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"wfas\\\",\\\"length\\\"]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-auto\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isShowingForm\\\"]]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-full flex items-center justify-center gap-x-1 py-2.5 shadow-sm mb-5\\\"],[24,\\\"test-id\\\",\\\"add-wfa\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"createWfa\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"Add an impediment\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,1,[\\\"orderedWfas\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"progress-item\\\"],[24,0,\\\"shadow-sm border border-gray-200\\\"]],[[\\\"@item\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"@isNew\\\",\\\"@prefix\\\",\\\"@deactivateCreatingNew\\\",\\\"@onSave\\\",\\\"@onCancel\\\"],[[30,2],\\\"tailwind-icons/waiting\\\",[28,[37,12],[\\\"dictionary.waiting-for-answers\\\"],[[\\\"num\\\"],[1]]],\\\"wfa\\\",[30,2,[\\\"isNew\\\"]],\\\"wizard\\\",[30,0,[\\\"showNewButton\\\"]],[30,0,[\\\"createWfa\\\"]],[30,0,[\\\"showNewButton\\\"]]]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,13],null,null,[[\\\"message\\\",\\\"other\\\"],[[[[1,\\\"This initiative has no impediments\\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-wfa\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"createWfa\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"Add an impediment\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"back\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,12],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,\\\"test-id\\\",\\\"next\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"next\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,12],[\\\"dictionary.finish\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@initiative\\\",\\\"wfa\\\"],[\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"if\\\",\\\"unless\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"each\\\",\\\"-track-array\\\",\\\"initiatives/popover/list-item\\\",\\\"t\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/update-wizard/impediments/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesUpdateWizardImpedimentsComponent = _exports.default = (_class = class InitiativesUpdateWizardImpedimentsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"isShowingForm\", _descriptor3, this);\n }\n createWfa() {\n const uncertainty = this.store.createRecord('wfa');\n uncertainty.author = this.currentUser.currentUser;\n uncertainty.assignees = [this.currentUser.currentUser];\n uncertainty.initiative = this.args.initiative;\n uncertainty.position = (0, _generatePositionFromTime.default)();\n this.isShowingForm = true;\n }\n next() {\n if (!this.args?.next) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"next\" param'));else this.args?.next();\n }\n back() {\n if (!this.args?.back) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"back\" param'));else this.args?.back();\n }\n showNewButton() {\n this.isShowingForm = false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isShowingForm\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createWfa\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createWfa\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"next\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"next\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"back\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"back\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showNewButton\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showNewButton\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesUpdateWizardImpedimentsComponent);\n});","define(\"scaleflow/components/initiatives/update-wizard/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.initiativeSlideover.updateWizardIsOpen}}\n \n \n \n <:title>\n Update initiative\n \n <:steps>\n {{#if this.betaToggle.showMetrics}}\n {{#let\n (array \"General Remarks\" \"Metrics\" \"Uncertainties\" \"Impediments\")\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{else}}\n {{#let\n (array \"General Remarks\" \"Uncertainties\" \"Impediments\")\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{/if}}\n \n \n \n \n {{! wizard content title }}\n {{#if this.betaToggle.showMetrics}}\n {{#if (eq this.activeStep 0)}}\n General Remarks\n \n {{else if (eq this.activeStep 1)}}\n Metrics\n \n \n {{else if (eq this.activeStep 2)}}\n Uncertainties\n \n \n {{else if (eq this.activeStep 3)}}\n Impediments\n \n {{/if}}\n {{else}}\n {{#if (eq this.activeStep 0)}}\n General Remarks\n \n {{else if (eq this.activeStep 1)}}\n Uncertainties\n \n \n {{else if (eq this.activeStep 2)}}\n Impediments\n \n {{/if}}\n {{/if}}\n \n \n \n {{/if}}\n */\n {\n \"id\": \"YH+z60Bl\",\n \"block\": \"[[[41,[30,0,[\\\"initiativeSlideover\\\",\\\"updateWizardIsOpen\\\"]],[[[1,\\\" \\\"],[8,[39,1],null,[[\\\"@onClose\\\"],[[30,0,[\\\"closeWizard\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n Update initiative\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[44,[[28,[37,6],[\\\"General Remarks\\\",\\\"Metrics\\\",\\\"Uncertainties\\\",\\\"Impediments\\\"],null]],[[[42,[28,[37,8],[[28,[37,8],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,10],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]]],[]],[[[44,[[28,[37,6],[\\\"General Remarks\\\",\\\"Uncertainties\\\",\\\"Impediments\\\"],null]],[[[42,[28,[37,8],[[28,[37,8],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],[30,6]],null]],null]],[[\\\"@active\\\"],[[28,[37,10],[[30,0,[\\\"activeStep\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5,6]],null]],[4]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,13],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"General Remarks\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@initiative\\\",\\\"@next\\\",\\\"@onCancel\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null],[30,0,[\\\"closeWizard\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Metrics\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,16],null,[[\\\"@initiative\\\",\\\"@back\\\",\\\"@next\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],0],null],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],2],null]]],null],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Uncertainties\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,17],null,[[\\\"@initiative\\\",\\\"@back\\\",\\\"@next\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],3],null]]],null],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],3],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Impediments\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@initiative\\\",\\\"@back\\\",\\\"@next\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],2],null],[30,0,[\\\"closeWizard\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]],null]],[]]]],[]]]],[]]]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"General Remarks\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@initiative\\\",\\\"@next\\\",\\\"@onCancel\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null],[30,0,[\\\"closeWizard\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Uncertainties\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,17],null,[[\\\"@initiative\\\",\\\"@back\\\",\\\"@next\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],0],null],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],2],null]]],null],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Impediments\\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@initiative\\\",\\\"@back\\\",\\\"@next\\\"],[[30,0,[\\\"initiative\\\"]],[28,[37,12],[[30,0,[\\\"setActiveStep\\\"]],1],null],[30,0,[\\\"closeWizard\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]],null]],[]]]],[]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\"],[\\\"if\\\",\\\"wizard\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\":steps\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"span\\\",\\\"initiatives/update-wizard/general-remarks\\\",\\\"initiatives/update-wizard/link-metrics\\\",\\\"initiatives/update-wizard/uncertainties\\\",\\\"initiatives/update-wizard/impediments\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/update-wizard/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesUpdateWizardComponent = _exports.default = (_class = class InitiativesUpdateWizardComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"activeStep\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor4, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n closeWizard() {\n this.activeStep = 0;\n this.initiativeSlideover.closeWizard();\n }\n get initiative() {\n return this.initiativeSlideover.initiative;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeWizard\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesUpdateWizardComponent);\n});","define(\"scaleflow/components/initiatives/update-wizard/link-metrics/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n

    \n {{@initiative.title}}\n

    \n

    Choose metrics to update

    \n
    \n \n {{#if @initiative.metrics.length}}\n
    \n \n Last\n measurement\n
    \n
    \n {{#each\n (text-filtered this.metricSearch this.orderedMetrics \"title\")\n as |metric index|\n }}\n \n
    \n

    {{metric.title}}

    \n

    Last measurement:\n {{or\n metric.latestMeasurement.formattedValue\n \"n/a\"\n }}

    \n
    \n \n
    \n {{/each}}\n \n \n {{else}}\n \n <:message>This initiative has no metrics linked to it\n <:other>\n

    You can link\n metrics to this initiative in the\n Business Case\n page

    \n \n
    \n {{/if}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n {{t \"dictionary.save-and-continue\"}}\n \n \n
    \n */\n {\n \"id\": \"nUswUjyo\",\n \"block\": \"[[[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Choose metrics to update\\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"metrics\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,\\\"test-id\\\",\\\"search\\\"]],[[\\\"@onSearch\\\"],[[28,[37,5],[[28,[37,6],[[30,0,[\\\"metricSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0 whitespace-nowrap\\\"],[12],[1,\\\"Last\\\\n measurement\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[28,[37,10],[[30,0,[\\\"metricSearch\\\"]],[30,0,[\\\"orderedMetrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[14,\\\"test-id\\\",\\\"metric\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[14,\\\"test-id\\\",\\\"title\\\"],[12],[1,[30,2,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[14,\\\"test-id\\\",\\\"last-value\\\"],[12],[1,[28,[35,11],[[30,2,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]],\\\"n/a\\\"],null]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,0,\\\"px-3 input block mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\"],[24,4,\\\"number\\\"],[16,2,[28,[37,13],[[30,0,[\\\"measurements\\\"]],[30,3]],null]],[17,4],[4,[38,14],[\\\"change\\\",[28,[37,5],[[30,0,[\\\"setMeasurementAtIndex\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2,3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,15],null,null,[[\\\"message\\\",\\\"other\\\"],[[[[1,\\\"This initiative has no metrics linked to it\\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-400 font-normal text-sm\\\"],[14,\\\"test-id\\\",\\\"other\\\"],[12],[1,\\\"You can link\\\\n metrics to this initiative in the\\\\n \\\"],[8,[39,18],[[24,0,\\\"text-indigo-600 underline\\\"],[24,\\\"test-id\\\",\\\"link\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"closePopovers\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"Business Case\\\"]],[]]]]],[1,\\\"\\\\n page\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"back\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,20],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,\\\"test-id\\\",\\\"save\\\"],[4,[38,14],[\\\"click\\\",[30,0,[\\\"saveMeasurements\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,20],[\\\"dictionary.save-and-continue\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@initiative\\\",\\\"metric\\\",\\\"index\\\",\\\"&attrs\\\"],[\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"if\\\",\\\"wizard/search\\\",\\\"fn\\\",\\\"mut\\\",\\\"span\\\",\\\"each\\\",\\\"-track-array\\\",\\\"text-filtered\\\",\\\"or\\\",\\\"input\\\",\\\"get\\\",\\\"on\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"link-to\\\",\\\"button\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/update-wizard/link-metrics/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesUpdateWizardLinkMetricsComponent = _exports.default = (_class = class InitiativesUpdateWizardLinkMetricsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor3, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor4, this);\n _initializerDefineProperty(this, \"measurementsAreVisible\", _descriptor5, this);\n _initializerDefineProperty(this, \"measurements\", _descriptor6, this);\n }\n next() {\n if (!this.args?.next) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"next\" param'));else this.args?.next();\n }\n back() {\n if (!this.args?.back) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"back\" param'));else this.args?.back();\n }\n closePopovers() {\n this.initiativeSlideover.closeWizard();\n this.initiativeSlideover.close();\n }\n async saveMeasurements() {\n const promises = [];\n for (let i = 0; i < this.measurements.length; i++) {\n if (this.measurements[i] === undefined) continue;\n const measurement = this.store.createRecord('measurement', {\n value: this.measurements[i],\n metric: this.orderedMetrics[i].content\n });\n promises.push(measurement.save());\n }\n await Promise.all(promises);\n this.next();\n }\n get orderedMetrics() {\n return this.args.initiative.metrics.toSorted((a, b) => (0, _nameSort.default)(a.get('title'), b.get('title')));\n }\n setMeasurementAtIndex(index, e) {\n const measurements = [...this.measurements];\n measurements[index] = parseInt(e.target.value);\n this.measurements = measurements;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"measurementsAreVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"measurements\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Array(this.args.initiative.metrics.length);\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"next\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"next\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"back\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"back\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closePopovers\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closePopovers\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveMeasurements\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveMeasurements\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"orderedMetrics\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class.prototype, \"orderedMetrics\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setMeasurementAtIndex\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setMeasurementAtIndex\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesUpdateWizardLinkMetricsComponent);\n});","define(\"scaleflow/components/initiatives/update-wizard/uncertainties/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/generate-position-from-time\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _generatePositionFromTime, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/generate-position-from-time\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{!-- {{#let this.targetChangeset as |changeset|}} --}}\n
    \n

    \n {{@initiative.title}}\n

    \n

    Uncertainties

    \n
    \n \n {{#if @initiative.uncertainties.length}}\n
    \n {{#unless this.isShowingForm}}\n \n Add an uncertainty\n \n {{/unless}}\n \n {{#each @initiative.orderedUncertainties as |uncertainty|}}\n \n {{/each}}\n
    \n {{else}}\n \n <:message>This initiative has no uncertainties\n <:other>\n \n Add an uncertainty\n \n \n \n {{/if}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n {{t\n \"dictionary.next\"\n }}\n \n
    \n */\n {\n \"id\": \"StajuHpp\",\n \"block\": \"[[[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Uncertainties\\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"uncertainties\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-auto\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isShowingForm\\\"]]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-full flex items-center justify-center gap-x-1 py-2.5 shadow-sm mb-5\\\"],[24,\\\"test-id\\\",\\\"add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"createUncertainty\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"Add an uncertainty\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,1,[\\\"orderedUncertainties\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,11],[[24,\\\"test-id\\\",\\\"progress-item\\\"],[24,0,\\\"shadow-sm border border-gray-200\\\"]],[[\\\"@item\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"@isNew\\\",\\\"@prefix\\\",\\\"@onSave\\\",\\\"@onCancel\\\"],[[30,2],\\\"tailwind-icons/uncertainty\\\",[28,[37,12],[\\\"dictionary.uncertainty\\\"],[[\\\"num\\\"],[1]]],\\\"uncertainty\\\",[30,2,[\\\"isNew\\\"]],\\\"wizard\\\",[30,0,[\\\"createUncertainty\\\"]],[30,0,[\\\"showNewButton\\\"]]]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,13],null,null,[[\\\"message\\\",\\\"other\\\"],[[[[1,\\\"This initiative has no uncertainties\\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"createUncertainty\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"Add an uncertainty\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"back\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,12],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,\\\"test-id\\\",\\\"next\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"next\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,12],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@initiative\\\",\\\"uncertainty\\\"],[\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"if\\\",\\\"unless\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"each\\\",\\\"-track-array\\\",\\\"initiatives/popover/list-item\\\",\\\"t\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"atoms/buttons/action-button\\\"]]\",\n \"moduleName\": \"scaleflow/components/initiatives/update-wizard/uncertainties/index.hbs\",\n \"isStrictMode\": false\n });\n let InitiativesUpdateWizardUncertaintiesComponent = _exports.default = (_class = class InitiativesUpdateWizardUncertaintiesComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"isShowingForm\", _descriptor3, this);\n }\n createUncertainty() {\n const uncertainty = this.store.createRecord('uncertainty');\n uncertainty.author = this.currentUser.currentUser;\n uncertainty.assignees = [this.currentUser.currentUser];\n uncertainty.initiative = this.args.initiative;\n uncertainty.position = (0, _generatePositionFromTime.default)();\n this.isShowingForm = true;\n }\n next() {\n if (!this.args?.next) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"next\" param'));else this.args?.next();\n }\n back() {\n if (!this.args?.back) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"back\" param'));else this.args?.back();\n }\n showNewButton() {\n this.isShowingForm = false;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isShowingForm\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createUncertainty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createUncertainty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"next\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"next\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"back\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"back\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showNewButton\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showNewButton\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitiativesUpdateWizardUncertaintiesComponent);\n});","define(\"scaleflow/components/layouts/page-full\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{yield}}\n
    \n */\n {\n \"id\": \"s2q6XcTs\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full mb-16 max-w-8xl mx-auto px-6\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/layouts/page-full.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"page-full\"));\n});","define(\"scaleflow/components/layouts/page-padded\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{yield}}\n
    \n */\n {\n \"id\": \"f5K4tkV4\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full px-6 mx-auto mb-16 max-w-8xl fade-up\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/layouts/page-padded.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"page-padded\"));\n});","define(\"scaleflow/components/list/assignee-badge\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/swapArrayItem\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _swapArrayItem, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/swapArrayItem\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{! Assignee dropdown}}\n \n {{#if this.showMultipleAvatars}}\n {{this.displayAvatar.abbreviation}}\n \n {{/if}}\n \n \n {{get\n this.firstAssignee\n \"abbreviation\"\n }}\n {{#unless @disabled}}\n {{#unless this.showMultipleAvatars}}\n \n \n {{get this.firstAssignee \"name\"}}\n {{t \"dictionary.tap-to-edit\"}}\n \n \n {{/unless}}\n {{/unless}}\n \n \n \n {{#if this.showMultipleAvatars}}\n \n \n
      \n {{#each this.multipleAssigneesLabel as |name|}}\n
    • {{name}}
    • \n {{/each}}\n
    \n {{t\n \"dictionary.tap-to-edit\"\n }}\n
    \n
    \n {{/if}}\n \n \n \n {{! Assignee dropdown}}\n */\n {\n \"id\": \"Lw4xh8cs\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"flex cursor-pointer w-[45px] items-center justify-center\\\"],[16,\\\"disabled\\\",[30,1]],[17,2],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showMultipleAvatars\\\"]],[[[1,\\\" \\\"],[8,[39,2],[[24,0,\\\"flex-shrink-0 relative left-1 border border-solid border-white box-content roboto-mono text-gray-800 pointer\\\"],[24,\\\"data-cy\\\",\\\"avatar\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"displayAvatar\\\",\\\"color\\\"]],[30,0,[\\\"displayAvatar\\\",\\\"name\\\"]],false,\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,[30,0,[\\\"displayAvatar\\\",\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex justify-center items-center text-center h-6 w-6 rounded-full bg-\\\",[28,[37,4],[[30,0,[\\\"firstAssignee\\\"]],\\\"color\\\"],null],\\\"-100 flex-shrink-0\\\"]]],[14,\\\"data-cy\\\",\\\"avatar\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"uppercase text-xs roboto-mono text-gray-800\\\"],[12],[1,[28,[35,4],[[30,0,[\\\"firstAssignee\\\"]],\\\"abbreviation\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[51,[30,1]],[[[41,[51,[30,0,[\\\"showMultipleAvatars\\\"]]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,4],[[30,0,[\\\"firstAssignee\\\"]],\\\"name\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"block text-[10px] text-gray-300 mx-auto font-normal\\\"],[12],[1,[28,[35,9],[\\\"dictionary.tap-to-edit\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showMultipleAvatars\\\"]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"multipleAssigneesLabel\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"block text-[10px] text-gray-300 mx-auto font-normal\\\"],[12],[1,[28,[35,9],[\\\"dictionary.tap-to-edit\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@values\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@onSelect\\\",\\\"@authorCheck\\\",\\\"@tippy\\\",\\\"@multiselect\\\"],[[30,0,[\\\"assignees\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"handleSelect\\\"]],[30,4],true,\\\"true\\\"]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"@disabled\\\",\\\"&attrs\\\",\\\"name\\\",\\\"@item\\\"],[\\\"button\\\",\\\"if\\\",\\\"avatar\\\",\\\"div\\\",\\\"get\\\",\\\"span\\\",\\\"unless\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"dropdowns/users\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/assignee-badge.hbs\",\n \"isStrictMode\": false\n });\n let ListAssigneeBadgeComponent = _exports.default = (_class = class ListAssigneeBadgeComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n }\n get showMultipleAvatars() {\n return this.assignees.length > 1;\n }\n get assignees() {\n if (this.args.item.id === null) return [];\n let _assignees = this.args?.item?.get('assignees')?.content?.slice() ?? [];\n const currentUserIndex = _assignees.findIndex(item => item.id === this.currentUser.id);\n if (currentUserIndex >= 0) {\n _assignees = _swapArrayItem.default.call(_assignees, 0, currentUserIndex);\n }\n return _assignees;\n }\n get displayAvatar() {\n const assignees = this.assignees;\n const assigneeLength = assignees.length;\n if (assigneeLength === 2) {\n return assignees.at(1);\n } else {\n return {\n color: 'gray',\n abbreviation: `+${assigneeLength - 1}`,\n name: ''\n };\n }\n }\n get assigneeIds() {\n return this.assignees.map(item => item.id);\n }\n get multipleAssigneesLabel() {\n const assignees = this.assignees;\n return assignees.map(item => item.name);\n }\n get firstAssignee() {\n return this.assignees[0] ?? this.args.item.author;\n }\n handleSelect(values) {\n this.args?.onSelect?.(values);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class.prototype, \"assignees\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListAssigneeBadgeComponent);\n});","define(\"scaleflow/components/list/group-title\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n

    {{@label}}

    \n \n \n \n \n */\n {\n \"id\": \"CNcXqJmF\",\n \"block\": \"[[[10,0],[14,0,\\\"list-group-title-container flex items-center justify-between pr-2 border-b border-gray-200 h-[40px]\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-sm font-semibold\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"w-[45px] flex items-center justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"!text-gray-400 hover:!text-gray-600\\\"],[24,\\\"test-id\\\",\\\"new-item-button\\\"],[4,[38,4],[\\\"click\\\",[30,2]],null]],null,[[\\\"default\\\"],[[[[8,[39,5],[[24,0,\\\"w-6 h-6\\\"]],null,null]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@label\\\",\\\"@onNewItemClick\\\"],[\\\"div\\\",\\\"h3\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/plus\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/group-title.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"group-title\"));\n});","define(\"scaleflow/components/list/initiatives-badge\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"scaleflow/utils/colorClasses\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _colorClasses, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"scaleflow/utils/colorClasses\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"Zal7X/H/\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"initiative-badge\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"text-xs block text-white max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-solid\\\\n \\\",[30,0,[\\\"initiativeColorClass\\\"]],\\\"\\\\n py-1 px-2 rounded-2xl\\\"]]],[12],[1,[28,[35,3],[[28,[37,4],[[30,0,[\\\"value\\\"]],\\\"abbreviation\\\"],null],[28,[37,4],[[30,0,[\\\"value\\\"]],\\\"title\\\"],null]],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs block text-gray-400 max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-gray-200 border-dashed rounded-2xl py-1 px-2\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[1,[30,0,[\\\"value\\\",\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,5],[\\\"dictionary.add-to-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@showClearSelectionButton\\\",\\\"@handleClearSelection\\\",\\\"@tippy\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"onInitiativeSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",\\\"true\\\",[30,2],true]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@handleClearSelection\\\"],[\\\"button\\\",\\\"if\\\",\\\"span\\\",\\\"or\\\",\\\"get\\\",\\\"t\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"dropdowns/initiatives\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/initiatives-badge.hbs\",\n \"isStrictMode\": false\n });\n let ListInitiativesBadgeComponent = _exports.default = (_class = class ListInitiativesBadgeComponent extends _component2.default {\n get value() {\n return this.args.value ?? undefined;\n }\n onInitiativeSelect(team) {\n this.args?.onSelect?.(team);\n }\n get initiativeColorClass() {\n return (0, _colorClasses.getColorFromInitiativeTitle)(this.args.value.get('title') ?? '');\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListInitiativesBadgeComponent);\n});","define(\"scaleflow/components/list/list-item\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/active-item-cache\", \"uuid\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _activeItemCache, _uuid, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/active-item-cache\",0,\"uuid\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n {{#if this.showDelayBadge}}\n \n {{/if}}\n \n \n \n \n \n \n \n \n \n {{#if this.showWorkstreamsBadge}}\n \n {{/if}}\n \n {{#if this.showInitiativesBadge}}\n \n {{/if}}\n \n {{#if this.showTeamsBadge}}\n \n {{/if}}\n \n {{#if this.showWeeksBadge}}\n \n {{/if}}\n \n \n {{#if this.isInteractive}}\n \n {{/if}}\n \n \n \n \n \n \n */\n {\n \"id\": \"NnK7Bz/A\",\n \"block\": \"[[[11,0],[24,0,\\\"border-b border-gray-200 w-full group\\\"],[16,1,[29,[\\\"item--\\\",[30,1,[\\\"id\\\"]]]]],[17,2],[4,[38,1],[[30,0,[\\\"deactivate\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"tfo-item bg-white flex items-start justify-between relative\\\\n \\\",[52,[30,0,[\\\"editorActive\\\"]],\\\"z-10\\\"],\\\"\\\\n hover:bg-gray-900/[.04]\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"tfo-item__content flex items-center flex-grow gap-x-2 py-1 pr-6\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"w-5 inline-block shrink-0 self-start mt-2.5 ml-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showDelayBadge\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[24,\\\"test-id\\\",\\\"delay-badge\\\"],[24,0,\\\"!translate-y-0 flex-shrink-0\\\"]],[[\\\"@value\\\"],[[30,1,[\\\"age_in_days\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"flex-shrink-0 self-start mt-2.5 -ml-1\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"isChecked\\\"]],[30,0,[\\\"toggleCompletedStatus\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],[[24,0,\\\"flex-grow break-words text-gray-900 text-sm\\\"],[24,\\\"data-cy\\\",\\\"editor\\\"],[16,\\\"data-cyeditor\\\",[52,[30,0,[\\\"editorActive\\\"]],\\\"focus\\\",\\\"\\\"]],[16,\\\"data-item-type\\\",[29,[[30,0,[\\\"itemType\\\"]]]]],[16,\\\"data-item-id\\\",[29,[[30,1,[\\\"id\\\"]]]]]],[[\\\"@item\\\",\\\"@active\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@onTab\\\",\\\"@onDelete\\\",\\\"@onActivate\\\",\\\"@onUp\\\",\\\"@onDown\\\",\\\"@singleLineMode\\\",\\\"@source\\\",\\\"@syntax\\\",\\\"@id\\\"],[[30,1],[30,0,[\\\"editorActive\\\"]],[28,[37,7],[[30,3],[30,1]],null],[30,4],[30,0,[\\\"openComments\\\"]],[30,0,[\\\"onDelete\\\"]],[30,0,[\\\"onActivate\\\"]],[30,0,[\\\"moveFocusUpByOneItem\\\"]],[30,0,[\\\"moveFocusDownByOneItem\\\"]],true,[30,5],false,[30,0,[\\\"uniqueId\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"tfo-item__relations flex items-center justify-end gap-x-2 mt-2.5 pr-2\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showWorkstreamsBadge\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"hidden sm:block\\\"]],[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@initiative\\\",\\\"@handleClearSelection\\\"],[[30,0,[\\\"handleWorkstreamSelect\\\"]],[30,1,[\\\"workstream\\\"]],[28,[37,9],[[30,1],\\\"initiative.id\\\"],null],[30,0,[\\\"clearWorkstream\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showInitiativesBadge\\\"]],[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"hidden md:block\\\"]],[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@handleClearSelection\\\"],[[30,0,[\\\"handleInitiativeSelect\\\"]],[30,1,[\\\"initiative\\\"]],[30,0,[\\\"clearInitiative\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showTeamsBadge\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"hidden sm:block\\\"]],[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@handleClearSelection\\\"],[[30,0,[\\\"handleTeamSelect\\\"]],[30,1,[\\\"team\\\"]],[30,0,[\\\"clearTeam\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showWeeksBadge\\\"]],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"hidden sm:block\\\"]],[[\\\"@onSelect\\\",\\\"@value\\\",\\\"@initiative\\\",\\\"@handleClearSelection\\\"],[[30,0,[\\\"handleWeekSelect\\\"]],[30,1,[\\\"week\\\"]],[28,[37,9],[[30,1],\\\"initiative.id\\\"],null],[30,0,[\\\"clearWeek\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@item\\\",\\\"@onSelect\\\"],[[30,1],[30,0,[\\\"handleAssigneesSelect\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isInteractive\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"p-2 self-start -right-8 top-1.5 absolute\\\"]],[[\\\"@item\\\",\\\"@onNewComment\\\",\\\"@onDelete\\\",\\\"@onActivate\\\",\\\"@disableComments\\\",\\\"@parentType\\\",\\\"@type\\\",\\\"@initiativeTags\\\",\\\"@source\\\"],[[30,1],[30,0,[\\\"openComments\\\"]],[30,0,[\\\"onDelete\\\"]],[30,0,[\\\"onActivate\\\"]],[30,6],[30,7],[30,8],[30,0,[\\\"initiativeTags\\\"]],[30,5]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],null,[[\\\"@item\\\",\\\"@onActivate\\\",\\\"@activeComment\\\",\\\"@newComment\\\",\\\"@showComments\\\",\\\"@openList\\\",\\\"@closeList\\\",\\\"@allCommentsOpen\\\",\\\"@itemActive\\\",\\\"@deactivate\\\",\\\"@interactive\\\"],[[30,1],[30,0,[\\\"activateComment\\\"]],[30,0,[\\\"activeComment\\\"]],[30,0,[\\\"newComment\\\"]],[30,0,[\\\"showComments\\\"]],[30,0,[\\\"openComments\\\"]],[30,0,[\\\"closeComments\\\"]],[52,[30,0,[\\\"isInteractive\\\"]],[30,9],true],[30,0,[\\\"itemActive\\\"]],[30,10],[30,0,[\\\"isInteractive\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@item\\\",\\\"&attrs\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@source\\\",\\\"@disableComments\\\",\\\"@parentType\\\",\\\"@type\\\",\\\"@allCommentsOpen\\\",\\\"@deactivate\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"if\\\",\\\"span\\\",\\\"atoms/label\\\",\\\"checkbox\\\",\\\"molecules/editor\\\",\\\"fn\\\",\\\"list/workstreams-badge\\\",\\\"get\\\",\\\"list/initiatives-badge\\\",\\\"list/teams-badge\\\",\\\"list/weeks-badge\\\",\\\"list/assignee-badge\\\",\\\"organisms/list-item-dropdown\\\",\\\"organisms/comment-list\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/list-item.hbs\",\n \"isStrictMode\": false\n });\n let ListListItemComponent = _exports.default = (_dec = (0, _service.service)('current-user'), _dec2 = (0, _service.service)('editor-active'), _class = class ListListItemComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"editorActiveService\", _descriptor4, this);\n _initializerDefineProperty(this, \"confetti\", _descriptor5, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor6, this);\n _initializerDefineProperty(this, \"_activeComment\", _descriptor7, this);\n _initializerDefineProperty(this, \"showComments\", _descriptor8, this);\n _defineProperty(this, \"uniqueId\", `quill-${(0, _uuid.v4)()}`);\n }\n get isChecked() {\n return this.args.item.completed;\n }\n get visibleBadges() {\n return this.args.visibleBadges ?? [];\n }\n get editorActive() {\n if (!this.isInteractive) return false;\n return this.itemActive && this._activeComment.get() === undefined;\n }\n get isInteractive() {\n return this.args.interactive !== false;\n }\n get routeIsApproach() {\n return this.router.currentRouteName?.includes('approach');\n }\n get showTeamsBadge() {\n return (this.visibleBadges?.includes('teams') && this.betaToggle.showCheckin) ?? false;\n }\n get showDelayBadge() {\n return this.visibleBadges?.includes('delay') ?? false;\n }\n get showInitiativesBadge() {\n return this.visibleBadges?.includes('initiatives') ?? false;\n }\n get showWorkstreamsBadge() {\n return this.visibleBadges?.includes('workstreams') ?? false;\n }\n get showWeeksBadge() {\n if (!this.betaToggle.showPlanning) return false;\n return this.visibleBadges?.includes('weeks');\n }\n get itemActive() {\n if (this.routeIsApproach) {\n if (['wfa', 'uncertainty'].includes(this.args.type)) {\n if (this.args.item.assignees.length < 2) {\n return this.args.item.id == this.editorActiveService.activeItem;\n } else {\n return this.editorActiveService.activeEditorId === this.uniqueId;\n }\n }\n if (this.args.item.assignees.length >= 2) return this.editorActiveService.activeEditorId === this.uniqueId;\n\n //is planned and is not other means will appear in two spots atleast\n if (this.args.item.get('week').isTruthy && this.args.item.get('workstream').isTruthy) {\n return this.editorActiveService.activeEditorId === this.uniqueId;\n } else return this.args.item.id == this.editorActiveService.activeItem;\n }\n\n // else if(){}\n if (this.args.item.assignees.length < 2) {\n return this.args.item.id == this.editorActiveService.activeItem;\n } else {\n return this.editorActiveService.activeEditorId === this.uniqueId;\n }\n }\n get activeComment() {\n return this._activeComment.get();\n }\n get initiativeTags() {\n const initiative = this.args.item.get('initiative.id');\n const tags = this.checkForInitiativeTags(this.args.item.text_delta);\n if (initiative) return [initiative];\n return tags;\n }\n get parentType() {\n return this.args.item.constructor.modelName;\n }\n async saveItem() {\n await this.args.item.save();\n }\n openComments() {\n this.newComment();\n this.showComments = true;\n }\n get itemType() {\n return this.args.item.get('constructor.modelName');\n }\n async newComment() {\n let comments = (await this.args.item.comments) || [];\n // debugger;\n let new_and_empty_items = comments.filter(item => item['isNew'] === true).filter(item => item['text_delta'] == undefined);\n if (new_and_empty_items.length == 0) {\n let itemType = this.args.item.get('constructor.modelName');\n const parentType = this.args.parent.constructor.modelName;\n const parentItem = this.args.parent;\n let new_comment = this.store.createRecord('comment', {\n [itemType]: this.args.item,\n [parentType]: parentItem,\n author: await this.currentUser.getActiveUser()\n });\n this.activateComment(new_comment);\n } else {\n this.activateComment(new_and_empty_items[new_and_empty_items.length - 1]);\n }\n }\n activateComment(comment) {\n this._activeComment.set(comment);\n this.editorActiveService.setActiveEditor(this.uniqueId);\n this.editorActiveService.setActiveItem(this.args.item.id);\n this.args?.onActivate?.(this.uniqueId, this.args.item);\n }\n onDelete() {\n this.args.item?.deleteRecord();\n this.args.item?.destroyRecord();\n }\n toggleCheckbox() {\n if (!this.args.item.completed) {\n this.confetti.play();\n }\n }\n onActivate() {\n this.editorActiveService.setActiveEditor(this.uniqueId);\n this.editorActiveService.setActiveItem(this.args.item.id);\n this.activateComment(undefined);\n this.closeComments();\n if (this.args.onActivate) {\n this.args.onActivate(this.uniqueId, this.args.item);\n }\n }\n closeComments() {\n this.showComments = false;\n }\n deactivate() {\n if (!this.itemActive) return;\n this.editorActiveService.clearActiveEditor();\n this.closeComments();\n this.args?.deactivate?.(this.args.item);\n }\n async handleTeamSelect(team) {\n this.args.item.team = team;\n if (this.args.parentType === 'workstream') {\n const weeks = await this.args.parent.get('initiative.weeks');\n const current_week = weeks.slice().filter(item => item.is_current_week == true);\n if (current_week.length !== 0) this.args.item.week = current_week[0];\n }\n this.saveItem();\n }\n async handleInitiativeSelect(initiative) {\n const belongsToInitiative = this.args.item.initiative?.content;\n if (belongsToInitiative?.id === initiative.id) return;\n this.args.item.initiative = initiative;\n const weeks = initiative.weeks.content;\n const current_week = weeks.filter(item => item.is_current_week);\n if (current_week.length !== 0) this.args.item.week = current_week[0];else this.args.item.week = null;\n this.args.item.workstream = null;\n this.saveItem();\n }\n handleWorkstreamSelect(initiative) {\n this.args.item.workstream = initiative;\n this.saveItem();\n }\n handleAssigneesSelect(assignees) {\n this.args.item.assignees = assignees;\n this.saveItem();\n }\n handleWeekSelect(week) {\n this.args.item.week = week;\n this.saveItem();\n }\n checkForInitiativeTags(text_delta) {\n let arr = [];\n if (!text_delta) return;\n for (let i = 0; i < text_delta.ops.length; i++) {\n const item = text_delta.ops[i];\n if (item?.insert?.['initiative-tag']) arr.push(item.insert['initiative-tag'].id);\n }\n return arr;\n }\n clearTeam() {\n this.args.item.team = null;\n this.saveItem();\n }\n clearWeek() {\n this.args.item.week = null;\n this.saveItem();\n }\n clearWorkstream() {\n this.args.item.workstream = null;\n this.saveItem();\n }\n clearInitiative() {\n this.args.item.workstream = null;\n this.args.item.week = null;\n this.args.item.initiative = null;\n this.saveItem();\n }\n async toggleCompletedStatus() {\n this.args.item.completed = !this.isChecked;\n await this.saveItem();\n }\n moveFocusUpByOneItem() {\n this.editorActiveService.moveFocusUpByOneItem();\n }\n moveFocusDownByOneItem() {\n this.editorActiveService.moveFocusDownByOneItem();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"editorActiveService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"confetti\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"_activeComment\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new _activeItemCache.ActiveItemCache();\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showComments\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"saveItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openComments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openComments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"newComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"newComment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"activateComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"activateComment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCheckbox\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCheckbox\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onActivate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onActivate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeComments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeComments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deactivate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deactivate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleWorkstreamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleWorkstreamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAssigneesSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAssigneesSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleWeekSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleWeekSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearTeam\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearWeek\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearWeek\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearWorkstream\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearWorkstream\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCompletedStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCompletedStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"moveFocusUpByOneItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"moveFocusUpByOneItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"moveFocusDownByOneItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"moveFocusDownByOneItem\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListListItemComponent);\n});","define(\"scaleflow/components/list/list\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@sentry/ember\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, Sentry, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@sentry/ember\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if @title}}\n
    \n {{#if (has-block \"title\")}}\n {{yield to=\"title\"}}\n {{else}}\n {{@title}}\n {{/if}}\n {{#if @showDropdown}}\n \n {{/if}}\n
    \n {{/if}}\n \n
    \n {{#if this.groupBy}}\n {{#each-in this.groupedItems key=\"key\" as |key group|}}\n \n {{#each group.items key=@attribute as |item|}}\n {{#unless item.isDeleted}}\n \n {{/unless}}\n {{/each}}\n {{/each-in}}\n {{else}}\n {{#each this.groupedItems as |item|}}\n {{#unless item.isDeleted}}\n \n {{/unless}}\n {{/each}}\n {{/if}}\n \n {{#unless @hideAddNewButton}}\n {{#if this.emptyList}}\n \n \n {{@placeholderText}}\n \n {{else}}\n \n \n {{@placeholderText}}\n {{/if}}\n {{/unless}}\n
    \n \n \n */\n {\n \"id\": \"taWqtm5B\",\n \"block\": \"[[[11,\\\"article\\\"],[16,\\\"data-cy\\\",[29,[[30,1],\\\"-list\\\"]]],[24,0,\\\"!max-w-5xl\\\"],[16,\\\"test-list-type\\\",[29,[[30,2],\\\"-list\\\"]]],[17,3],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1],[[[1,\\\" \\\"],[10,0],[14,0,\\\"list-title-container flex items-center gap-x-2 group relative\\\"],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,18]],[[[1,\\\" \\\"],[18,18,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-800 text-xl font-semibold leading-7 h-11 flex items-center\\\"],[14,\\\"test-id\\\",\\\"list-title\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[30,4],[[[1,\\\" \\\"],[8,[39,6],[[16,0,[29,[[30,5]]]]],[[\\\"@type\\\",\\\"@parentId\\\",\\\"@source\\\",\\\"@parentType\\\",\\\"@editParentTitle\\\"],[[30,6],[30,7,[\\\"id\\\"]],[30,2],[30,8],[30,0,[\\\"editParentTitle\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"list-body\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"groupBy\\\"]],[[[42,[28,[37,8],[[30,0,[\\\"groupedItems\\\"]]],null],\\\"key\\\",[[[1,\\\" \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@onNewItemClick\\\"],[[30,9,[\\\"title\\\"]],[28,[37,10],[[30,0,[\\\"addNewItem\\\"]],[30,9]],null]]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,9,[\\\"items\\\"]]],null]],null],[30,11],[[[41,[51,[30,12,[\\\"isDeleted\\\"]]],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@visibleBadges\\\",\\\"@item\\\",\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@parentType\\\",\\\"@type\\\",\\\"@interactive\\\"],[[30,13],[30,12],[30,2],[28,[37,10],[[30,0,[\\\"addNewItem\\\"]],[30,9]],null],\\\"\\\",[30,7],[30,8],[30,6],[30,14]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[12]],null]],[9,10]],null]],[]],[[[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"groupedItems\\\"]]],null]],null],null,[[[41,[51,[30,15,[\\\"isDeleted\\\"]]],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"ungrouped first:border-t\\\"]],[[\\\"@visibleBadges\\\",\\\"@item\\\",\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@parentType\\\",\\\"@type\\\",\\\"@interactive\\\"],[[30,13],[30,15],[30,2],[28,[37,10],[[30,0,[\\\"addNewItem\\\"]],[27]],null],\\\"\\\",[30,7],[30,8],[30,6],[30,14]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[15]],null]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,16]],[[[41,[30,0,[\\\"emptyList\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"w-full px-5 py-2 flex items-start gap-x-2 group border-t border-b border-gray-200 new-\\\",[30,6],\\\"-button\\\"]]],[16,\\\"test-id\\\",[29,[\\\"new-\\\",[30,6],\\\"-button\\\"]]],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"addNewItem\\\"]],[27]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"group-hover:opacity-100 transition-all text-sm font-normal text-gray-400 text-left\\\"],[12],[1,[30,17]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"w-full px-5 py-2 flex items-start gap-x-2 group new-\\\",[30,6],\\\"-button\\\"]]],[16,\\\"test-id\\\",[29,[\\\"new-\\\",[30,6],\\\"-button\\\"]]],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"addNewItem\\\"]],[27]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"group-hover:opacity-100 opacity-0 transition-all text-sm font-normal text-gray-400 text-left\\\"],[12],[1,[30,17]],[13],[1,\\\"\\\\n \\\"],[13]],[]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@title\\\",\\\"@source\\\",\\\"&attrs\\\",\\\"@showDropdown\\\",\\\"@titleDropdownClass\\\",\\\"@type\\\",\\\"@parent\\\",\\\"@parentType\\\",\\\"group\\\",\\\"key\\\",\\\"@attribute\\\",\\\"item\\\",\\\"@visibleBadges\\\",\\\"@interactive\\\",\\\"item\\\",\\\"@hideAddNewButton\\\",\\\"@placeholderText\\\",\\\"&title\\\"],[\\\"article\\\",\\\"if\\\",\\\"div\\\",\\\"has-block\\\",\\\"yield\\\",\\\"h2\\\",\\\"organisms/list-title-dropdown\\\",\\\"each\\\",\\\"-each-in\\\",\\\"list/group-title\\\",\\\"fn\\\",\\\"-track-array\\\",\\\"unless\\\",\\\"list/list-item\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/list.hbs\",\n \"isStrictMode\": false\n });\n let ListListComponent = _exports.default = (_dec = (0, _service.service)('editor-active'), _class = class ListListComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"editorActiveService\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"router\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n }\n get groupBy() {\n return this.args.groupBy ?? 'assignee';\n }\n get groupedItems() {\n let itemsWithoutPosition = [];\n let itemsWithPosition = [];\n this.args.items.forEach(item => {\n if (item['position'] == undefined) itemsWithoutPosition.push(item);else itemsWithPosition.push(item);\n });\n itemsWithPosition.sort((a, b) => a['position'] - b['position']);\n let allItems = itemsWithPosition.concat(itemsWithoutPosition);\n if (this.groupBy) allItems = this.groupItemsBy(allItems, this.groupBy);\n return allItems;\n }\n get emptyList() {\n return this.groupBy ? Object.keys(this.groupedItems).length === 0 : this.groupedItems.length === 0;\n }\n groupItemsBy(items, groupBy) {\n if (groupBy === 'assignee') return this.groupItemsByAssignee(items);\n if (groupBy === 'workstream') return this.groupItemsByWorkstream(items);\n return items;\n }\n groupItemsByWorkstream(items) {\n // debugger;\n const identifier_key = 'workstream.id';\n const group_label_key = 'workstream.title';\n const groupedList = {};\n const NONE = {\n title: this.intl.t('dictionary.unfiled'),\n items: [],\n type: {\n id: null,\n type: 'worsktream'\n }\n };\n items.forEach(item => {\n if (!item.get(identifier_key)) return NONE.items.push(item);\n const ref = groupedList[item.get(identifier_key)];\n if (ref && ref.items) return ref.items.push(item);else {\n groupedList[item.get(identifier_key)] = {\n title: item.get(group_label_key),\n items: [item],\n meta: {\n id: item.get(identifier_key),\n type: 'workstream'\n }\n };\n }\n });\n const sortedGroupList = {};\n const sorted = Object.keys(groupedList).sort((a, b) => (0, _nameSort.default)(groupedList[a]['title'], groupedList[b]['title']));\n sorted.forEach(key => {\n sortedGroupList[key] = groupedList[key];\n });\n if (NONE.items.length !== 0) {\n sortedGroupList['NONE'] = NONE;\n }\n return sortedGroupList;\n }\n groupItemsByAssignee(items) {\n const names = [];\n const data = items.reduce((acc, item) => {\n const assignees = item.id !== null ? item.get('assignees') : [];\n let name = '';\n let id = '';\n if (assignees.length === 0) {\n name = item.get('author.name');\n id = item.get('author.id');\n if (acc[id]) acc[id].items.push(item);else {\n acc[id] = {\n title: name,\n items: [item],\n meta: {\n id,\n type: 'person'\n }\n };\n }\n names.push({\n name,\n id\n });\n } else {\n assignees.forEach(assignee => {\n name = assignee.get('name');\n id = assignee.get('id');\n if (acc[id]) acc[id].items.push(item);else {\n acc[id] = {\n title: name,\n items: [item],\n meta: {\n id,\n type: 'person'\n }\n };\n }\n names.push({\n name,\n id\n });\n });\n }\n // }\n\n return acc;\n }, {});\n const sortedNames = names.sort((a, b) => (a?.name || '').localeCompare?.(b?.name || ''));\n const list = sortedNames.reduce((acc, {\n id\n }) => {\n acc[id] = data[id];\n return acc;\n }, {});\n return list;\n }\n onFastExit() {}\n addNewItem(group = undefined, item = undefined) {\n let belongsTo = this.args.parent;\n const parentType = belongsTo.constructor.modelName;\n let position = this.determinePosition(item, group);\n if (isNaN(position)) {\n Sentry.captureException('undefined position detected');\n return;\n }\n const author = this.currentUser.currentUser;\n let obj = {\n [parentType]: belongsTo,\n author,\n position: position\n };\n if (this.groupBy === 'assignee') {\n if (group?.meta?.id && group.meta.id !== this.currentUser.id) {\n obj.assignees = [this.store.peekRecord('person', group.meta.id)];\n } else obj.assignees = [author];\n }\n if (this.groupBy === 'workstream') {\n if (group?.meta?.id) {\n obj.workstream = this.store.peekRecord('workstream', group.meta.id);\n }\n obj.assignees = [author];\n }\n if (!this.groupBy) {\n obj.assignees = [author];\n }\n if (parentType === 'week' || parentType === 'workstream') {\n obj.initiative = this.router.currentRoute.attributes;\n }\n let newItem = this.store.createRecord(this.args.type, obj);\n newItem.save().then(item => {\n this.activate(item);\n if (item.id) document.querySelector(`#item--${item.id}`)?.scrollIntoView?.({\n block: 'nearest'\n });\n });\n }\n removeEmptyItems(item_to_keep) {\n this.args.items.slice().forEach(element => {\n if (element.id === item_to_keep.id) {\n return;\n }\n if ((element.text_delta == undefined || element?.text_delta?.ops?.length == 0) && element.author.get('id') === this.currentUser.id && !element.currentState.stateName.includes('inFlight')) {\n element.destroyRecord();\n }\n });\n }\n activate(item) {\n this.removeEmptyItems(item);\n this.editorActiveService.setActiveItem(item ? item.id : null);\n }\n getRandomNumberBetween(min, max) {\n return Math.floor(Math.random() * (max - min + 1) + min);\n }\n determinePosition(item, group) {\n // debugger;\n const msNow = new Date().getTime();\n const increment = this.getRandomNumberBetween(100, 200);\n // if no base item given, put new item at the end of the list\n if (item?.position === undefined) {\n let positionArray = this.args.items.slice().filter(item => !isNaN(item['position'])).map(item => item.position);\n if (positionArray.length == 0) {\n return increment + msNow;\n } else {\n let max = Math.max(...positionArray);\n return max + increment;\n }\n }\n let relevant_group = group;\n\n //if ungrouped\n if (!this.groupBy) relevant_group = undefined;\n if (group) relevant_group = group;\n\n //if new item from an author without a list yet\n if (this.groupBy && !group) relevant_group = {\n title: group.title,\n items: [],\n meta: {\n id: group?.meta?.id ?? null\n }\n };\n\n // a base item is given, find the position in the list\n let items = relevant_group ? relevant_group.items : this.groupedItems;\n let base_index = items.indexOf(item);\n if (items.length == 1 || item.position == -Infinity) {\n return item.position + increment;\n }\n\n //not found - to end of list\n if (base_index == -1) {\n return Math.max(...this.args.items.mapBy('position')) + increment;\n }\n\n //end of list - add 20\n if (base_index == items.length - 1) {\n return items[base_index].position + increment;\n }\n\n //middle of list\n if (base_index < items.length - 1) {\n return parseInt((items[base_index].position + items[base_index + 1].position) / 2);\n }\n }\n get currentUserHasNoItems() {\n return this.groupBy === 'assignee' && (this.groupedItems[this.currentUser.id] == undefined || this.groupedItems[this.currentUser.id]?.items?.length == 0);\n }\n editParentTitle() {\n this.args?.editParentTitle?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editorActiveService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"groupedItems\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class.prototype, \"groupedItems\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFastExit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFastExit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addNewItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addNewItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editParentTitle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editParentTitle\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListListComponent);\n});","define(\"scaleflow/components/list/teams-badge\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"6nvVmWeI\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"team-badge\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"team-avatar\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\"],[[28,[37,3],[[30,0,[\\\"value\\\"]],\\\"name\\\"],null],[28,[37,3],[[30,0,[\\\"value\\\"]],\\\"id\\\"],null],\\\"small\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-6 h-6 text-gray-400\\\"],[24,\\\"test-id\\\",\\\"check-in-icon\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[1,[30,0,[\\\"value\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,7],[\\\"dictionary.add-to-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,7],[\\\"_teams.check-in\\\"],null]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@showClearSelectionButton\\\",\\\"@handleClearSelection\\\",\\\"@tippy\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"onTeamSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",\\\"true\\\",[30,2],true]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@handleClearSelection\\\"],[\\\"button\\\",\\\"if\\\",\\\"atoms/avatar\\\",\\\"get\\\",\\\"atoms/icons/check-in\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"dropdowns/teams\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/teams-badge.hbs\",\n \"isStrictMode\": false\n });\n let ListTeamsBadgeComponent = _exports.default = (_class = class ListTeamsBadgeComponent extends _component2.default {\n get value() {\n return this.args.value ?? undefined;\n }\n onTeamSelect(team) {\n this.args?.onSelect?.(team);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListTeamsBadgeComponent);\n});","define(\"scaleflow/components/list/weeks-badge\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"uTD2fx9W\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"week-badge\\\"],[24,0,\\\"min-w-[44px]\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs block text-gray-600 max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-solid border-gray-200 bg-white hover:bg-gray-100 py-1 px-2 rounded-2xl\\\"],[14,\\\"test-id\\\",\\\"week-position\\\"],[12],[1,\\\"#\\\"],[1,[28,[35,3],[[30,0,[\\\"value\\\"]],\\\"position\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs block text-gray-400 max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-gray-200 border-dashed rounded-2xl py-1 px-2 font-semibold\\\"],[12],[1,\\\"W#\\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[1,[30,0,[\\\"value\\\",\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,6],[\\\"dictionary.add-to-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@initiative\\\",\\\"@showClearSelectionButton\\\",\\\"@handleClearSelection\\\",\\\"@tippy\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"onWeekSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[30,2],\\\"true\\\",[30,3],true]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@initiative\\\",\\\"@handleClearSelection\\\"],[\\\"button\\\",\\\"if\\\",\\\"span\\\",\\\"get\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"dropdowns/weeks\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/weeks-badge.hbs\",\n \"isStrictMode\": false\n });\n let ListWeeksBadgeComponent = _exports.default = (_class = class ListWeeksBadgeComponent extends _component2.default {\n get value() {\n return this.args.value ?? undefined;\n }\n onWeekSelect(week) {\n this.args?.onSelect?.(week);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onWeekSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onWeekSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListWeeksBadgeComponent);\n});","define(\"scaleflow/components/list/workstreams-badge\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @initiative}}\n \n {{/if}}\n */\n {\n \"id\": \"B76dVM1x\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"workstream-badge\\\"],[17,2],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs block text-gray-600 max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-solid border-gray-200 bg-white hover:bg-gray-100 py-1 px-2 rounded-2xl\\\"],[12],[1,[28,[35,3],[[30,0,[\\\"value\\\"]],\\\"title\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs block text-gray-400 max-w-[180px] text-ellipsis overflow-hidden whitespace-nowrap border border-gray-200 border-dashed rounded-2xl py-1 px-2\\\"],[12],[1,[28,[35,4],[\\\"_initiatives.workstream\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"value\\\"]],[[[1,\\\" \\\"],[1,[30,0,[\\\"value\\\",\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,4],[\\\"dictionary.add-to-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,4],[\\\"_initiatives.workstream\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[51,[30,3]],[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@initiative\\\",\\\"@showClearSelectionButton\\\",\\\"@handleClearSelection\\\",\\\"@shouldLoadWorkstreams\\\",\\\"@tippy\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"onWorkstreamSelect\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[30,1],\\\"true\\\",[30,4],true,true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@initiative\\\",\\\"&attrs\\\",\\\"@hideOptions\\\",\\\"@handleClearSelection\\\"],[\\\"if\\\",\\\"button\\\",\\\"span\\\",\\\"get\\\",\\\"t\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"unless\\\",\\\"dropdowns/workstreams\\\"]]\",\n \"moduleName\": \"scaleflow/components/list/workstreams-badge.hbs\",\n \"isStrictMode\": false\n });\n let ListWorkstreamsBadgeComponent = _exports.default = (_class = class ListWorkstreamsBadgeComponent extends _component2.default {\n get value() {\n return this.args.value ?? undefined;\n }\n onWorkstreamSelect(workstream) {\n this.args?.onSelect?.(workstream);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"onWorkstreamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onWorkstreamSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ListWorkstreamsBadgeComponent);\n});","define(\"scaleflow/components/loader\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"mYZvX+s+\",\n \"block\": \"[[[11,0],[24,0,\\\"loader rounded-full animate-spin w-[60px] h-[60px] border-4 border-t-4 border-solid border-gray-200 border-t-primary-600\\\"],[24,\\\"test-id\\\",\\\"loader\\\"],[17,1],[12],[13]],[\\\"&attrs\\\"],[\\\"div\\\"]]\",\n \"moduleName\": \"scaleflow/components/loader.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"loader\"));\n});","define(\"scaleflow/components/localized-value\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{t \"currency.euro\"}}\n {{#if (is-null-or-undefined @value)}}\n -\n {{else}}\n {{localize @value \",-\" \"\"}}\n {{/if}}\n \n */\n {\n \"id\": \"CjjIozLe\",\n \"block\": \"[[[11,1],[24,0,\\\"text-sm\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"currency.euro\\\"],null]],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,2]],null],[[[1,\\\" -\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,4],[[30,2],\\\",-\\\",\\\"\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"&attrs\\\",\\\"@value\\\"],[\\\"span\\\",\\\"t\\\",\\\"if\\\",\\\"is-null-or-undefined\\\",\\\"localize\\\"]]\",\n \"moduleName\": \"scaleflow/components/localized-value.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"localized-value\"));\n});","define(\"scaleflow/components/markdown-renderer/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template\", \"@glimmer/tracking\", \"marked\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _template, _tracking, _marked, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template\",0,\"@glimmer/tracking\",0,\"marked\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{this.renderedContent}}\n \n */\n {\n \"id\": \"u25/c3Th\",\n \"block\": \"[[[11,0],[24,0,\\\"markdown-content\\\"],[17,1],[4,[38,1],[[30,0,[\\\"renderMarkdown\\\"]],[30,2]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"renderedContent\\\"]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@content\\\"],[\\\"div\\\",\\\"render-modifiers/on-update\\\"]]\",\n \"moduleName\": \"scaleflow/components/markdown-renderer/index.hbs\",\n \"isStrictMode\": false\n });\n let MarkdownRendererComponent = _exports.default = (_class = class MarkdownRendererComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"renderedContent\", _descriptor, this);\n this.setupMarked();\n this.renderMarkdown();\n }\n setupMarked() {\n // Configure marked with custom renderer for Tailwind classes\n const renderer = new _marked.marked.Renderer();\n\n // Override heading rendering to add Tailwind classes\n renderer.heading = (text, level) => {\n const classes = {\n 1: 'text-2xl font-bold my-1',\n 2: 'text-xl font-semibold my-1',\n 3: 'text-lg font-semibold my-1',\n 4: 'text-base font-semibold my-1',\n 5: 'text-sm font-semibold my-1',\n 6: 'text-xs font-semibold my-1'\n };\n return `${text}`;\n };\n\n // Override paragraph rendering\n renderer.paragraph = text => {\n return `

    ${text}

    `;\n };\n\n // Override link rendering\n renderer.link = (href, title, text) => {\n const titleAttr = title ? ` title=\"${title}\"` : '';\n return `${text}`;\n };\n\n // Override list rendering\n renderer.list = (body, ordered) => {\n const tag = ordered ? 'ol' : 'ul';\n const classes = ordered ? 'list-inside mb-4 pl-4' : 'list-disc list-inside mb-4 pl-4 text-sm';\n return `<${tag} class=\"${classes}\">\\n${body}\\n`;\n };\n renderer.listitem = text => {\n return `
  • ${text}
  • \\n`;\n };\n\n // Override blockquote rendering\n renderer.blockquote = quote => {\n return `
    ${quote}
    `;\n };\n\n // Override table rendering\n renderer.table = (header, body) => {\n return `\n ${header}\n ${body}\n
    `;\n };\n renderer.tablerow = content => {\n return `${content}\\n`;\n };\n renderer.tablecell = (content, flags) => {\n const tag = flags.header ? 'th' : 'td';\n const classes = flags.header ? 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider' : 'px-6 py-4 whitespace-nowrap text-sm text-gray-900';\n return `<${tag} class=\"${classes}\">${content}\\n`;\n };\n\n // Set marked options\n _marked.marked.setOptions({\n renderer: renderer,\n breaks: true,\n // Convert \\n to
    \n gfm: true,\n // GitHub Flavored Markdown\n pedantic: false,\n sanitize: false,\n // Set to true for user-generated content\n smartypants: false\n });\n }\n renderMarkdown() {\n const content = this.args.content || '';\n if (!content.trim()) {\n this.renderedContent = (0, _template.htmlSafe)('');\n return;\n }\n try {\n const html = _marked.marked.parse(content);\n this.renderedContent = (0, _template.htmlSafe)(html);\n } catch (error) {\n console.error('Error rendering markdown:', error);\n this.renderedContent = (0, _template.htmlSafe)(`

    Error rendering markdown

    `);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"renderedContent\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"renderMarkdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"renderMarkdown\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MarkdownRendererComponent);\n});","define(\"scaleflow/components/modal\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n
    \n \n \n \n \n {{yield to=\"title\"}}\n
    \n
    \n
    \n {{yield to=\"body\"}}\n
    \n
    \n \n {{#unless @hideCancel}}\n \n {{t \"dictionary.cancel\"}}\n \n {{/unless}}\n \n {{yield to=\"footer\"}}\n \n \n \n \n */\n {\n \"id\": \"LYKj8pCn\",\n \"block\": \"[[[10,0],[14,0,\\\"w-screen h-screen fixed top-0 left-0 z-10 flex items-center justify-center bg-black/50\\\"],[14,\\\"test-id\\\",\\\"modal\\\"],[12],[1,\\\"\\\\n \\\"],[11,0],[24,0,\\\"w-3/3 md:w-1/3 max-w-4xl rounded-[32px] p-6 bg-gray-300 relative\\\"],[16,\\\"data-isopen\\\",[30,1]],[17,2],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full h-full bg-white rounded-2xl flex flex-col\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"bg-white rounded-full w-7 h-7 absolute -right-9 top-0 z-50 hover:bg-white\\\"],[24,\\\"test-id\\\",\\\"close-popover\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"toggleModal\\\"]],false],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-6 h-6 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"modal-title px-8 pt-8 pb-6 flex items-center justify-between shrink-0\\\"],[14,\\\"test-id\\\",\\\"modal-title\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[12],[18,4,null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-8 pb-6 grow overflow-y-auto\\\"],[14,\\\"test-id\\\",\\\"modal-body\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"modal-body grow\\\"],[12],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-end space-x-3 mt-5 px-6 py-3 bg-gray-50 modal-footer shrink-0\\\"],[14,\\\"test-id\\\",\\\"modal-footer\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,3]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"cancel\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"toggleModal\\\"]],false],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,9],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[18,6,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@isOpen\\\",\\\"&attrs\\\",\\\"@hideCancel\\\",\\\"&title\\\",\\\"&body\\\",\\\"&footer\\\"],[\\\"div\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/icons/close\\\",\\\"span\\\",\\\"yield\\\",\\\"unless\\\",\\\"button\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/modal.hbs\",\n \"isStrictMode\": false\n });\n let ModalComponent = _exports.default = (_class = class ModalComponent extends _component2.default {\n constructor() {\n super(...arguments);\n // console.log(this.args);\n }\n toggleModal(val) {\n this.args?.toggleModal?.(val);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"toggleModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleModal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ModalComponent);\n});","define(\"scaleflow/components/molecules/approach-create-week\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n

    {{t\n \"lists.add-item\"\n item=(t \"_initiatives.weeks\" num=1)\n }}

    \n \n */\n {\n \"id\": \"7YBWwfsR\",\n \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"flex space-x-2 h-9 items-center text-left text-gray-500 cursor-pointer transition ease-in hover:opacity-100 w-fit\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"approach-create-week\\\"],[17,1],[4,[38,1],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-4 h-4 tedt-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm\\\"],[12],[1,[28,[35,4],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,4],[\\\"_initiatives.weeks\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@createWeek\\\"],[\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"p\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/approach-create-week.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"approach-create-week\"));\n});","define(\"scaleflow/components/molecules/approach-plan-header\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/service\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _service, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/service\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n {{t \"dictionary.drag\"}}\n \n \n \n \n {{#if @week.weekOpen}}\n \n {{else}}\n \n {{/if}}\n \n {{#if @week.weekOpen}}\n \n \n {{t \"dictionary.collapse\"}}\n \n \n {{else}}\n \n \n {{t \"dictionary.expand\"}}\n \n \n {{/if}}\n \n \n {{#if @week.position}}\n {{@index_position}}.\n {{/if}}\n
    \n \n \n
    \n {{!--

    {{@week.ISOWeek}}

    --}}\n {{this.weekDate}}

    \n \n \n \n \n */\n {\n \"id\": \"YmQCZM2p\",\n \"block\": \"[[[10,0],[14,0,\\\"flex group text-base font-medium text-gray-800 flex-row flex-grow space-x-2 px-1 planning-header-container -ml-2 relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"approach-plan-header group absolute top-[12px] -left-9 -translate-y-[50%] opacity-0 group-hover:opacity-100 transition-opacity\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-6 h-6 text-gray-400 hover:text-gray-600 sort-icon\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.drag\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"approach-plan-header static lg:absolute lg:-left-6 self-start\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"weekOpen\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[16,0,[29,[\\\"w-6 h-6 text-gray-400 hover:text-gray-600\\\",[52,[30,2,[\\\"is_current_week\\\"]],\\\"text-teal-600\\\"]]]]],null,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,9],[[16,0,[29,[\\\"w-6 h-6 text-gray-400 hover:text-gray-600\\\",[52,[30,2,[\\\"is_current_week\\\"]],\\\"text-teal-600\\\"]]]]],null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"weekOpen\\\"]],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.collapse\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.expand\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2,[\\\"position\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[[52,[30,2,[\\\"is_current_week\\\"]],\\\"text-teal-600\\\"]]]],[12],[1,[30,3]],[1,\\\".\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"flex-grow flex items-start justify-start\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],[[16,0,[29,[\\\"outline-none mr-2 \\\",[52,[30,2,[\\\"is_current_week\\\"]],\\\"text-teal-600\\\"]]]],[4,[38,6],[\\\"blur\\\",[30,0,[\\\"onBlur\\\"]]],null]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onChange\\\"],[\\\"...\\\",[30,2,[\\\"title\\\"]],[28,[37,12],[[28,[37,13],[[30,2,[\\\"title\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,2],[14,0,\\\"text-xs leading-7 font-normal text-gray-500 flex-shrink-0 !mr-2\\\"],[12],[1,[30,0,[\\\"weekDate\\\"]]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"items-start mt-2\\\"]],[[\\\"@menuOptions\\\",\\\"@item\\\"],[[30,0,[\\\"dropDownOptions\\\"]],[30,2]]],null],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@toggleWeek\\\",\\\"@week\\\",\\\"@index_position\\\"],[\\\"div\\\",\\\"button\\\",\\\"atoms/icons/drag\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"on\\\",\\\"if\\\",\\\"atoms/icons/chevron/up\\\",\\\"atoms/icons/chevron/down\\\",\\\"span\\\",\\\"content-editable\\\",\\\"fn\\\",\\\"mut\\\",\\\"p\\\",\\\"organisms/initiative-list-item-dropdown\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/approach-plan-header.hbs\",\n \"isStrictMode\": false\n });\n let MoleculesApproachPlanListItemComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _service.service)('beta-toggle'), _class = class MoleculesApproachPlanListItemComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _defineProperty(this, \"dropDownOptions\", [{\n title: 'Flag as current',\n icon: 'flag',\n menuFunction: () => {\n let weeks = this.store.peekRecord('initiative', this.args.initiativeId).get('weeks');\n weeks.forEach(week => {\n let peekRecord = this.store.peekRecord('week', week.id);\n if (peekRecord.id !== this.args.week.id && peekRecord.is_current_week) {\n peekRecord.is_current_week = false;\n peekRecord.save();\n }\n if (peekRecord.id === this.args.week.id && !peekRecord.is_current_week) {\n peekRecord.is_current_week = true;\n peekRecord.save();\n }\n });\n }\n }, {\n title: 'Delete Week',\n icon: 'delete',\n menuFunction: () => {\n this.args.week.destroyRecord();\n }\n }]);\n }\n get weekDate() {\n const starting_week = this.router.currentRoute.attributes.starting_week;\n if (!starting_week) return '';\n const [year, week] = starting_week?.split?.(':')?.[0]?.split?.('-') ?? [undefined, undefined];\n const currentWeek = +week + +this.args.index_position - 1;\n const weekMod = currentWeek % 52;\n const adjustedWeek = currentWeek <= 52 ? currentWeek : weekMod;\n const first_day_of_week = this.orgService?.organisation?.get('first_day_of_week');\n if (first_day_of_week) return `W${(0, _moment.default)(`${year}-${adjustedWeek}`, 'yyyy-WW').day(first_day_of_week).format('WW, Do MMM')}`;else return `W${(0, _moment.default)(`${year}-${adjustedWeek}`, 'yyyy-WW').format('WW, Do MMM')}`;\n }\n async onBlur() {\n this.args.week.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onBlur\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MoleculesApproachPlanListItemComponent);\n});","define(\"scaleflow/components/molecules/approach-plan-list-item\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"quill\", \"quill-magic-url\", \"scaleflow/utils/quill-extenstions/clipboard\", \"scaleflow/utils/quill-extenstions/custom-icons\", \"scaleflow/utils/quill-extenstions/hr\", \"scaleflow/utils/quill-extenstions/image-format\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _quill, _quillMagicUrl, _clipboard, _customIcons, _hr, _imageFormat, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"quill\",0,\"quill-magic-url\",0,\"scaleflow/utils/quill-extenstions/clipboard\",0,\"scaleflow/utils/quill-extenstions/custom-icons\",0,\"scaleflow/utils/quill-extenstions/hr\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{!-- {{#if this.show}} --}}\n \n
    \n
    \n \n \n \n \n \n \n
    \n \n {{!-- {{/if}} --}}\n
    \n {{!
    }}\n \n \n \n {{!-- {{/if}} --}}\n */\n {\n \"id\": \"egUj8Alr\",\n \"block\": \"[[[11,0],[16,0,[29,[\\\"approach-plan-list rounded-lg\\\\n \\\",[52,[30,0,[\\\"showEditor\\\"]],\\\"bg-white border border-gray-300\\\",\\\"bg-gray-100 cursor-pointer\\\"]]]],[4,[38,2],[[30,0,[\\\"startNotesUpdateInterval\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"approach-plan-list-group mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex item-start flex-row flex-grow space-x-2 rounded\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-translate-y-[3px] flex flex-grow items-center w-full relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,0],[24,0,\\\"w-full flex flex-col\\\"],[4,[38,3],[[30,0,[\\\"handleClickOutside\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[[52,[30,0,[\\\"showEditor\\\"]],\\\"cursor-text\\\",\\\"cursor-pointer-all\\\"],\\\"\\\\n w-full\\\"]]],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"showMultiEditor\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"h-auto max-h-[400px] planning-editor text-gray-700 flex-grow text-base leading-9 outline-none break-before-all w-full px-4 py-2 rounded-lg relative\\\"],[4,[38,2],[[30,0,[\\\"setEditorId\\\"]]],null]],[[\\\"@modules\\\",\\\"@placeholder\\\",\\\"@bounds\\\",\\\"@delta\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@focused\\\",\\\"@enabled\\\"],[[30,0,[\\\"modules\\\"]],[30,0,[\\\"placeholder\\\"]],[30,0,[\\\"bounds\\\"]],[30,1,[\\\"text_delta\\\"]],[30,0,[\\\"setDelta\\\"]],[30,0,[\\\"theme\\\"]],[30,0,[\\\"showEditor\\\"]],[30,0,[\\\"showEditor\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"@week\\\"],[\\\"div\\\",\\\"if\\\",\\\"render-modifiers/on-insert\\\",\\\"on-click-outside\\\",\\\"button\\\",\\\"on\\\",\\\"quill-editor\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/approach-plan-list-item.hbs\",\n \"isStrictMode\": false\n });\n\n // import registerIfNotRegistered from 'scaleflow/utils/quill-extenstions/registerIfNotRegistered';\n\n _quill.default.register('formats/image', _imageFormat.default, true);\n _quill.default.register('modules/clipboard', _clipboard.default, true);\n _quill.default.register('modules/magicUrl', _quillMagicUrl.default, true);\n const icons = _quill.default.import('ui/icons');\n icons.header[3] = _customIcons.h3Icon;\n icons.hr = _customIcons.hrIcon;\n _quill.default.register({\n 'formats/hr': _hr.default\n });\n let MoleculesApproachPlanListItemComponent = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class MoleculesApproachPlanListItemComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"showEditor\", _descriptor2, this);\n _initializerDefineProperty(this, \"editorLoading\", _descriptor3, this);\n _initializerDefineProperty(this, \"showMore\", _descriptor4, this);\n _defineProperty(this, \"notesInterval\", null);\n _defineProperty(this, \"theme\", 'bubble');\n _defineProperty(this, \"timer\", null);\n _defineProperty(this, \"placeholder\", 'Add notes');\n _defineProperty(this, \"editorId\", void 0);\n }\n get bounds() {\n return `#${this.editorId}`;\n }\n get show() {\n return this.args.show;\n }\n get modules() {\n return {\n toolbar: {\n container: [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }, {\n header: 3\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'clean', 'image'] // remove formatting button\n // ['hr'],\n ]\n },\n magicUrl: true\n };\n }\n onEditorLoadingChange(val) {\n this.editorLoading = val;\n }\n toggleShowEditor() {\n this.args.week.reload();\n this.showEditor = !this.showEditor;\n }\n debouncedSave() {\n return this.debounce(() => this.args.week.save(), 1500);\n }\n debounce(func, timeout = 2000) {\n clearTimeout(this.timer);\n this.timer = setTimeout(func, timeout);\n }\n setDelta(delta) {\n if (this.args.week.currentState.stateName !== 'root.deleted.inFlight') {\n this.args.week.set('text_delta', delta);\n this.debouncedSave();\n }\n }\n handleClickOutside() {\n if (!this.showEditor) return;\n this.closeMultiEditor();\n this.startNotesUpdateInterval();\n }\n closeMultiEditor() {\n if (this.editorLoading) return;\n this.showEditor = false;\n }\n clearNotesInterval() {\n clearInterval(this.notesInterval);\n }\n showMultiEditor() {\n if (this.editorLoading) return;\n if (this.showEditor) return;\n this.clearNotesInterval();\n this.args.week.reload().then(() => {\n this.showEditor = true;\n this.showMore = true;\n });\n }\n toggleShowMore() {\n this.showMore = !this.showMore;\n }\n startNotesUpdateInterval() {\n this.notesInterval = setInterval(() => {\n this.args.week.reload();\n }, 5000);\n }\n setEditorId(element) {\n this.editorId = element.id;\n }\n willDestroy() {\n super.willDestroy(...arguments);\n this.clearNotesInterval();\n this.closeMultiEditor();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showEditor\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"editorLoading\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showMore\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onEditorLoadingChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onEditorLoadingChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleShowEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleShowEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"debouncedSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"debouncedSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"debounce\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"debounce\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClickOutside\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClickOutside\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMultiEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMultiEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearNotesInterval\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearNotesInterval\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showMultiEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showMultiEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleShowMore\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleShowMore\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startNotesUpdateInterval\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"startNotesUpdateInterval\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setEditorId\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setEditorId\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MoleculesApproachPlanListItemComponent);\n});","define(\"scaleflow/components/molecules/archive-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n {{#if this.showWorkstreamsBadge}}\n \n {{/if}}\n \n {{#if this.showInitiativesBadge}}\n \n {{/if}}\n \n {{#if this.showTeamsBadge}}\n \n {{/if}}\n \n {{#if this.showWeeksBadge}}\n \n {{/if}}\n \n \n \n \n {{t \"dictionary.restore\"}}\n \n \n \n \n \n \n \n {{#if @allCommentsOpen}}\n
    \n {{#each @item.comments as |comment|}}\n \n {{/each}}\n
    \n {{/if}}\n \n \n */\n {\n \"id\": \"RVSpHkC3\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full group\\\"],[16,1,[29,[\\\"item--\\\",[30,1,[\\\"id\\\"]]]]],[24,\\\"test-id\\\",\\\"archived-item\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"tfo-item flex items-start justify-between relative\\\\n \\\",[52,[30,0,[\\\"editorActive\\\"]],\\\"z-10\\\"],\\\"\\\\n hover:bg-gray-900/[.04]\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"tfo-item__content flex items-center flex-grow gap-x-2 py-1 pr-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"flex-shrink-0 self-start mt-2.5 cursor-default\\\"],[24,\\\"data-cy\\\",\\\"archived-checkbox\\\"]],[[\\\"@value\\\",\\\"@onChange\\\",\\\"@disabled\\\"],[[30,1,[\\\"completed\\\"]],[30,0,[\\\"toggleCompleted\\\"]],true]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"text-base leading-9 text-gray-800\\\"],[24,\\\"data-cy\\\",\\\"archive-text\\\"]],[[\\\"@item\\\",\\\"@active\\\",\\\"@syntax\\\"],[[30,1],false,false]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"tfo-item__relations flex items-center justify-end gap-x-2 mt-1.5 pr-2\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showWorkstreamsBadge\\\"]],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"hidden sm:block\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],[[\\\"@value\\\",\\\"@initiative\\\",\\\"@hideOptions\\\"],[[30,1,[\\\"workstream\\\"]],[28,[37,5],[[30,1],\\\"initiative.id\\\"],null],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showInitiativesBadge\\\"]],[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"hidden md:block\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],[[\\\"@value\\\"],[[30,1,[\\\"initiative\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showTeamsBadge\\\"]],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"hidden sm:block\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],[[\\\"@value\\\"],[[30,1,[\\\"team\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showWeeksBadge\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"hidden sm:block\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],[[\\\"@value\\\",\\\"@initiative\\\"],[[30,1,[\\\"week\\\"]],[28,[37,5],[[30,1],\\\"initiative.id\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"self-start mt-[2px]\\\"],[24,\\\"data-cy\\\",\\\"restore-archived-item\\\"],[4,[38,10],[\\\"click\\\",[28,[37,11],[[30,0,[\\\"restoreItem\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"test-id\\\",\\\"archive-recover-icon\\\"],[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,15],[\\\"dictionary.restore\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,16],null,[[\\\"@item\\\",\\\"@disabled\\\"],[[30,1],\\\"true\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,18],[[28,[37,18],[[30,1,[\\\"comments\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,19],null,[[\\\"@comment\\\"],[[30,4]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@item\\\",\\\"&attrs\\\",\\\"@allCommentsOpen\\\",\\\"comment\\\"],[\\\"div\\\",\\\"if\\\",\\\"checkbox\\\",\\\"molecules/editor\\\",\\\"list/workstreams-badge\\\",\\\"get\\\",\\\"list/initiatives-badge\\\",\\\"list/teams-badge\\\",\\\"list/weeks-badge\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/icons/archive-recover\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"list/assignee-badge\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/comment\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/archive-item.hbs\",\n \"isStrictMode\": false\n });\n let archiveItemComponent = _exports.default = (_class = class archiveItemComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n restoreItem(item) {\n item.archived = false;\n if (this.router.currentURL.includes('teams')) {\n item.team = this.store.peekRecord('team', this.args.parent_id);\n } else if (this.router.currentURL.includes('initiatives')) {\n item.initiative = this.store.peekRecord('initiative', this.args.parent_id);\n }\n item.save();\n }\n get showTeamsBadge() {\n return this.args?.badges?.includes('teams') ?? false;\n }\n get showDelayBadge() {\n return this.args?.badges?.includes('delay') ?? false;\n }\n get showInitiativesBadge() {\n return this.args?.badges?.includes('initiatives') ?? false;\n }\n get showWorkstreamsBadge() {\n return this.args?.badges?.includes('workstreams') ?? false;\n }\n get showWeeksBadge() {\n return this.args?.badges?.includes('weeks') ?? false;\n }\n toggleCompleted() {\n this.args.item.completed = !this.args.item.completed;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"restoreItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCompleted\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCompleted\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, archiveItemComponent);\n});","define(\"scaleflow/components/molecules/archive-menu\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"tippy.js\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _service, _tracking, _tippy, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"tippy.js\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n {{t \"dictionary.archive\"}}\n \n \n
    \n {{t\n \"dictionary.show-archive-of\"\n }}
    \n
    \n
      \n {{#if this.showUncertainties}}\n \n {{/if}}\n {{#if this.showWfas}}\n \n {{/if}}\n \n \n \n \n
    \n
      \n \n
    \n \n \n */\n {\n \"id\": \"7vIkXIGD\",\n \"block\": \"[[[8,[39,0],[[16,\\\"aria-labelledby\\\",[29,[[28,[37,1],[\\\"dictionary.archive\\\"],null]]]],[24,\\\"data-cy\\\",\\\"archive-menu\\\"],[16,0,[29,[\\\"trigger-archive-menu \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"button-active\\\"]]]],[4,[38,3],[[30,0,[\\\"initiateTippies\\\"]]],null],[4,[38,4],[\\\"keyup\\\",[30,0,[\\\"handleKeyup\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],[[24,0,\\\"tippy-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.archive\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"tippy-archive-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-archive-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center space-x-2 py-2 pl-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-[10px] text-gray-500 font-semibold uppercase\\\"],[12],[1,[28,[35,1],[\\\"dictionary.show-archive-of\\\"],null]],[13],[10,\\\"hr\\\"],[14,0,\\\"grow\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"border-b border-grey-200 pb-2 mb-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showUncertainties\\\"]],[[[1,\\\" \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"_teams.uncertainty\\\"],[[\\\"num\\\"],[3]]]]],[30,0,[\\\"uncertaintiesArchive\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"showWfas\\\"]],[[[1,\\\" \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"_teams.waiting-for-answers\\\"],null]]],[30,0,[\\\"wfaArchive\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"_teams.questions\\\"],null]]],[30,0,[\\\"questionArchive\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"_teams.lessons-learned\\\"],null]]],[30,0,[\\\"llArchive\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"_teams.to-figure-out\\\"],null]]],[30,0,[\\\"tfoArchive\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"],[24,\\\"data-testid\\\",\\\"am-archive-all\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[29,[[28,[37,1],[\\\"dictionary.archive-checked-items\\\"],null]]],[30,0,[\\\"archiveAll\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[],[\\\"atoms/buttons/icon\\\",\\\"t\\\",\\\"if\\\",\\\"render-modifiers/on-insert\\\",\\\"on\\\",\\\"atoms/icons/archive\\\",\\\"atoms/tooltip\\\",\\\"molecules/dropdown\\\",\\\"div\\\",\\\"span\\\",\\\"hr\\\",\\\"ul\\\",\\\"molecules/menu-actions\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/archive-menu.hbs\",\n \"isStrictMode\": false\n });\n let MoleculesArchiveMenuComponent = _exports.default = (_dec = (0, _service.service)('team-id-storage'), _class = class MoleculesArchiveMenuComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"teamStorage\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _defineProperty(this, \"tippyInstance\", void 0);\n _defineProperty(this, \"tippyHover\", void 0);\n _initializerDefineProperty(this, \"isOpen\", _descriptor4, this);\n }\n get showUncertainties() {\n let team = this.teamStorage.currentTeam;\n return team?.show_uncertainties || false;\n }\n get showWfas() {\n let team = this.teamStorage.currentTeam;\n return team?.show_wfa || false;\n }\n handleKeyup(e) {\n if (e.keyCode === 27) {\n this.closeMenu();\n }\n }\n initiateTippies(element) {\n this.createTippy(element);\n this.hoverTippy(element);\n }\n createTippy(element) {\n let tigger = element;\n let dropdown = element.querySelector('.tippy-archive-dropdown');\n let self = this;\n this.tippyInstance = (0, _tippy.default)(tigger, {\n content: dropdown,\n placement: 'bottom',\n arrow: false,\n trigger: 'click',\n interactive: true,\n offset: [0, 8],\n onShow() {\n self.isOpen = true;\n },\n onHide() {\n self.isOpen = false;\n }\n });\n }\n hoverTippy(element) {\n let tigger = element;\n let dropdown = element.querySelector('.tippy-dropdown');\n this.tippyHover = (0, _tippy.default)(tigger, {\n content: dropdown,\n placement: 'bottom',\n arrow: false,\n trigger: 'mouseenter',\n interactive: false,\n offset: [-6, 8]\n });\n }\n closeMenu() {\n this.tippyInstance.hide();\n this.isOpen = false;\n }\n questionArchive() {\n this.router.transitionTo('operations.teams.team.check-in.archive.questions');\n this.closeMenu();\n }\n llArchive() {\n this.router.transitionTo('operations.teams.team.check-in.archive.lessons-learned');\n this.closeMenu();\n }\n tfoArchive() {\n this.router.transitionTo('operations.teams.team.check-in.archive.to-figure-outs');\n this.closeMenu();\n }\n wfaArchive() {\n this.router.transitionTo('operations.teams.team.check-in.archive.waiting-for-answers');\n this.closeMenu();\n }\n uncertaintiesArchive() {\n this.router.transitionTo('operations.teams.team.check-in.archive.uncertainties');\n this.closeMenu();\n }\n async archiveAll() {\n let team = this.teamStorage.currentTeam;\n let questions = await team.get('questions');\n let lls = await team.get('lls');\n let tfos = await team.get('tfos');\n let wfas = this.showWfas ? await team.get('wfas') : [];\n let uncertainties = this.showUncertainties ? await team.get('uncertainties') : [];\n const allItems = questions.concat(lls, tfos, wfas, uncertainties);\n allItems.forEach(item => {\n // const modelName = item.get('constructor.modelName');\n // let peekItem = this.store.peekRecord(modelName, item.id);\n if (item.completed) {\n item.archived = true;\n item.save();\n }\n });\n this.closeMenu();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"teamStorage\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleKeyup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeyup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiateTippies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiateTippies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hoverTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hoverTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"questionArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"questionArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"llArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"llArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"tfoArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"tfoArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"wfaArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"wfaArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"uncertaintiesArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"uncertaintiesArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveAll\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveAll\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MoleculesArchiveMenuComponent);\n});","define(\"scaleflow/components/molecules/archive-modal\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n \n \n \n

    {{@title}}

    \n
    \n \n
    \n \n \n \n \n
    \n
    \n {{#if @model.data}}\n \n {{else}}\n

    {{t \"dictionary.empty\"}}

    \n {{/if}}\n \n \n */\n {\n \"id\": \"L8wthkHg\",\n \"block\": \"[[[10,0],[14,0,\\\"fixed inset-0 w-full h-full bg-black bg-opacity-30 z-50 flex justify-center p-8 pb-0\\\"],[14,\\\"data-cy\\\",\\\"archive-model\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white w-full max-w-4xl rounded overflow-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between mb-8 p-6 z-10 sticky top-0 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"ml-2\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center space-x-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-8 h-8\\\"],[16,\\\"aria-labelledby\\\",[29,[[28,[37,5],[\\\"dictionary.close-archive\\\"],null]]]],[24,\\\"data-cy\\\",\\\"close-archive\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"closeModal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-8 h-8\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"data\\\"]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"p-6\\\"]],[[\\\"@badges\\\",\\\"@model\\\",\\\"@allCommentsOpen\\\",\\\"@parent_id\\\"],[[30,3],[30,2,[\\\"data\\\"]],true,[30,2,[\\\"parent_id\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"px-6\\\"],[12],[1,[28,[35,5],[\\\"dictionary.empty\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@title\\\",\\\"@model\\\",\\\"@badges\\\"],[\\\"div\\\",\\\"span\\\",\\\"atoms/icons/archive\\\",\\\"h3\\\",\\\"atoms/buttons/icon\\\",\\\"t\\\",\\\"on\\\",\\\"atoms/icons/close\\\",\\\"if\\\",\\\"organisms/archive-list\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/archive-modal.hbs\",\n \"isStrictMode\": false\n });\n let archiveModalComponent = _exports.default = (_class = class archiveModalComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n // This needs a rewrite after cleanup.\n closeModal() {\n if (this.router.currentURL.includes('teams')) {\n this.router.transitionTo('operations.teams.team.check-in', this.args.model.parent_id);\n return;\n }\n if (this.router.currentURL.includes('workstreams')) {\n this.router.transitionTo('backlog.initiatives.initiative.workstreams', this.args.model.parent_id);\n return;\n }\n // if (this.router.currentURL.includes('planning')) {\n // this.router.transitionTo('backlog.initiatives.initiative.planning', this.args.model.parent_id);\n // return;\n // }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"closeModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeModal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, archiveModalComponent);\n});","define(\"scaleflow/components/molecules/comment-loop\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#each @item.comments key=\"id\" as |comment index|}}\n {{#if (and this.commentReadMore (eq index 1))}}\n \n {{t \"lists.comments\" num=this.moreCommentsNumber}}\n \n {{/if}}\n \n {{/each}}\n */\n {\n \"id\": \"Sw9txNxV\",\n \"block\": \"[[[42,[28,[37,1],[[28,[37,1],[[30,1,[\\\"comments\\\"]]],null]],null],\\\"id\\\",[[[41,[28,[37,3],[[30,0,[\\\"commentReadMore\\\"]],[28,[37,4],[[30,3],1],null]],null],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"comment-opener\\\"],[24,\\\"data-cy\\\",\\\"comment-list-button\\\"],[24,1,\\\"dropdown-trigger\\\"]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"tertiary\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.comments\\\"],[[\\\"num\\\"],[[30,0,[\\\"moreCommentsNumber\\\"]]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,7],null,[[\\\"@item\\\",\\\"@comment\\\",\\\"@onActivate\\\",\\\"@active\\\",\\\"@onFastExit\\\",\\\"@deactivate\\\",\\\"@interactive\\\"],[[30,1],[30,2],[28,[37,8],[[30,0,[\\\"openAndActivate\\\"]],[30,2]],null],[28,[37,8],[[30,0,[\\\"isActive\\\"]],[30,2]],null],[30,4],[30,5],[30,6]]],null],[1,\\\"\\\\n\\\"]],[2,3]],null]],[\\\"@item\\\",\\\"comment\\\",\\\"index\\\",\\\"@onFastExit\\\",\\\"@deactivate\\\",\\\"@interactive\\\"],[\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"and\\\",\\\"eq\\\",\\\"atoms/buttons/button\\\",\\\"t\\\",\\\"molecules/comment\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/comment-loop.hbs\",\n \"isStrictMode\": false\n });\n let commentSwitcherComponent = _exports.default = (_class = class commentSwitcherComponent extends _component2.default {\n get moreCommentsNumber() {\n return this.args.item.comments.length - 2;\n }\n get commentReadMore() {\n if (this.args.item.comments.length > 2) {\n return true;\n }\n return false;\n }\n isActive(comment) {\n if (this.args.activeComment) {\n return this.args.activeComment == comment;\n }\n }\n async openAndActivate(comment) {\n this.args.openList();\n this.activate(comment);\n }\n async activate(comment) {\n if (this.args.onActivate) {\n this.args.onActivate(comment);\n }\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openAndActivate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAndActivate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"activate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"activate\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, commentSwitcherComponent);\n});","define(\"scaleflow/components/molecules/comment\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{! need this hacky div around to make the editor bubble to be above the rest }}\n
    \n \n {{@comment.author.abbreviation}}\n \n \n \n
    \n */\n {\n \"id\": \"9EiOMhrZ\",\n \"block\": \"[[[10,0],[15,0,[29,[\\\"relative \\\",[52,[30,0,[\\\"active\\\"]],\\\"z-10\\\"]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"article\\\"],[24,0,\\\"flex flex-row flex-grow min-w-0 space-x-2 items-start transform transition ease-in duration-50 opacity-0 translate-x-2 lg:pr-8\\\"],[24,\\\"data-cy\\\",\\\"comment\\\"],[4,[38,3],[[30,0,[\\\"insertNew\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"flex-shrink-0 mt-[7px] mx-1\\\"],[24,\\\"data-cy\\\",\\\"avatar\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,1,[\\\"author\\\",\\\"color\\\"]],[30,1,[\\\"author\\\",\\\"name\\\"]],true,\\\"bottom\\\",[30,1,[\\\"author\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,1,[\\\"author\\\",\\\"abbreviation\\\"]]]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,\\\"data-cy\\\",\\\"comment-input\\\"],[24,0,\\\"flex-grow text-sm min-w-0 lg:leading-9 outline-none break-words break-before-all\\\"]],[[\\\"@item\\\",\\\"@active\\\",\\\"@onFastExit\\\",\\\"@onDelete\\\",\\\"@onActivate\\\",\\\"@onTab\\\",\\\"@singleLineMode\\\"],[[30,1],[30,0,[\\\"active\\\"]],[30,2],[30,0,[\\\"onDelete\\\"]],[30,3],[30,4],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@comment\\\",\\\"@onFastExit\\\",\\\"@onActivate\\\",\\\"@deactivate\\\"],[\\\"div\\\",\\\"if\\\",\\\"article\\\",\\\"render-modifiers/on-insert\\\",\\\"avatar\\\",\\\"molecules/editor\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/comment.hbs\",\n \"isStrictMode\": false\n });\n let commentComponent = _exports.default = (_dec = (0, _service.service)('current-user'), _class = class commentComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n }\n insertNew(element) {\n this.animateIn(element);\n }\n onDelete() {\n this.args.comment.destroyRecord();\n }\n get active() {\n if (this.args.interactive === false) return false;\n if (this.args?.comment?.author?.get('id') != this.currentUser.id) {\n return false;\n }\n if (this.args.active) {\n return this.args.active();\n } else {\n return false;\n }\n }\n animateIn(element) {\n setTimeout(() => {\n element.classList.remove('opacity-0', 'translate-x-2');\n }, 100);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"insertNew\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"insertNew\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"animateIn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"animateIn\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, commentComponent);\n});","define(\"scaleflow/components/molecules/dropdown\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
      \n {{yield}}\n
    \n \n */\n {\n \"id\": \"HmMS6ebW\",\n \"block\": \"[[[11,0],[24,0,\\\"w-[200px] z-10 bg-white p-2 transform rounded organisms-team-dropdown-menu\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"ul\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/dropdown.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"dropdown\"));\n});","define(\"scaleflow/components/molecules/editor\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/service\", \"quill-magic-url\", \"quill\", \"aws-amplify\", \"scaleflow/utils/custom-quill-mention\", \"scaleflow/utils/initiative-pill\", \"scaleflow/utils/quill-extenstions/clipboard\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"moment\", \"scaleflow/config/environment\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _service, _quillMagicUrl, _quill, _awsAmplify, _customQuillMention, _initiativePill, _clipboard, _quill2ImageUploader, _imageFormat, _quillImageResize, _registerIfNotRegistered, _uuid, _moment, _environment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/service\",0,\"quill-magic-url\",0,\"quill\",0,\"aws-amplify\",0,\"scaleflow/utils/custom-quill-mention\",0,\"scaleflow/utils/initiative-pill\",0,\"scaleflow/utils/quill-extenstions/clipboard\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"moment\",0,\"aws-amplify\",0,\"scaleflow/config/environment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"jwViFx75\",\n \"block\": \"[[[8,[39,0],[[17,1],[4,[38,1],[[30,0,[\\\"insertNew\\\"]]],null],[4,[38,2],[[30,0,[\\\"activate\\\"]],[30,4]],null]],[[\\\"@modules\\\",\\\"@placeholder\\\",\\\"@bounds\\\",\\\"@enabled\\\",\\\"@text\\\",\\\"@delta\\\",\\\"@onChange\\\",\\\"@onSelectionChange\\\",\\\"@focused\\\",\\\"@theme\\\",\\\"@id\\\"],[[30,0,[\\\"modules\\\"]],[30,0,[\\\"placeholder\\\"]],[30,0,[\\\"bounds\\\"]],[30,0,[\\\"isEnabled\\\"]],[30,2,[\\\"text\\\"]],[30,2,[\\\"text_delta\\\"]],[30,0,[\\\"setDelta\\\"]],[30,0,[\\\"handleSelectionChange\\\"]],[30,0,[\\\"isEnabled\\\"]],[30,0,[\\\"theme\\\"]],[30,3]]],null]],[\\\"&attrs\\\",\\\"@item\\\",\\\"@id\\\",\\\"@active\\\"],[\\\"quill-editor\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/editor.hbs\",\n \"isStrictMode\": false\n });\n const S3_BASE_HREF = _environment.default.S3_BASE_HREF;\n // const s3Config = () => ({\n // expires: Date.now() + 60 * 60, //1 WEEK\n // });\n\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/magicUrl', _quillMagicUrl.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/clipboard', _clipboard.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/initiative-pill', _initiativePill.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n _quill.default.register('formats/image', _imageFormat.default, true);\n let MoleculesEditorComponent = _exports.default = (_dec = (0, _service.service)('quill'), _dec2 = (0, _service.service)('editor-active'), _dec3 = (0, _service.service)('beta-toggle'), _dec4 = (0, _service.service)('initiatives'), _dec5 = (0, _service.service)('users'), _class = class MoleculesEditorComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"quillService\", _descriptor, this);\n _initializerDefineProperty(this, \"confetti\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"editorActiveService\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaToggleService\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiativesService\", _descriptor6, this);\n _initializerDefineProperty(this, \"userService\", _descriptor7, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor8, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor9, this);\n _initializerDefineProperty(this, \"router\", _descriptor0, this);\n _defineProperty(this, \"theme\", 'bubble');\n _defineProperty(this, \"placeholder\", '...');\n _defineProperty(this, \"_singleLineMode\", undefined);\n _defineProperty(this, \"editorId\", void 0);\n _defineProperty(this, \"listenerEnabled\", false);\n _defineProperty(this, \"timer\", null);\n }\n get config() {\n const self = this;\n return {\n mention: {\n allowedChars: /^[A-Za-z0-9\\sÅÄÖåäö]*$/,\n mentionDenotationChars: ['@'],\n source: async function (searchTerm, renderList, mentionChar) {\n let values;\n if (mentionChar === '@') {\n values = [...(await self.userService.getUsers()), {\n value: 'all',\n id: 0\n }];\n }\n if (searchTerm.length === 0) {\n renderList(values, searchTerm);\n } else {\n const matches = [];\n const regex = new RegExp(`^(${searchTerm})`, 'i');\n for (let i = 0; i < values.length; i++) {\n const result = values[i]?.value?.match?.(regex);\n if (result) matches.push(values[i]);\n }\n renderList(matches, searchTerm);\n }\n },\n positioningStrategy: 'fixed',\n renderLoading: function () {\n return 'Loading...';\n }\n }\n };\n }\n get initiativeBlotConfig() {\n const self = this;\n return {\n config: {\n allowedChars: /^[A-Za-z0-9\\sÅÄÖåäö]*$/,\n mentionDenotationChars: ['+'],\n source: async function (searchTerm, renderList) {\n let values = await self.initiativesService.getInitiatives();\n if (searchTerm.length === 0) {\n renderList(values, searchTerm);\n } else {\n const matches = [];\n const regex = new RegExp(`^(${searchTerm})`, 'i');\n for (let i = 0; i < values.length; i++) {\n const result = values[i].title.match(regex) ?? values[i].abbv.match(regex);\n if (result) matches.push(values[i]);\n }\n renderList(matches, searchTerm);\n }\n },\n positioningStrategy: 'fixed',\n showDenotationChar: false,\n renderLoading: function () {\n return 'Loading...';\n }\n }\n };\n }\n get singleLineMode() {\n return this._singleLineMode ?? this.args.singleLineMode ?? false;\n }\n async withSignedUrls(text_delta) {\n let hasImage = false;\n let images = [];\n for (let i = 0; i < text_delta?.ops?.length; i++) {\n const item = text_delta.ops[i];\n if (typeof item?.insert?.image === 'string') {\n const imageLink = decodeURIComponent(item.insert.image);\n if (imageLink.startsWith(`${_environment.default.API_ENDPOINT}`)) {\n continue;\n }\n const split = imageLink.split('&').filter(item => item.includes('X-Amz-Date') || item.includes('X-Amz-Expires'));\n const date = split?.[0]?.split?.('=')?.[1];\n const expires = split?.[1]?.split?.('=')?.[1];\n const expiryDate = (0, _moment.default)(date).add(expires, 'second');\n // console.log(expiryDate);\n if (date && expires && !(0, _moment.default)().isAfter(expiryDate)) {\n //Image hasn't expired yet\n break;\n }\n hasImage = true;\n const withoutBaseLink = imageLink.split(S3_BASE_HREF)[1];\n const withoutSignedCreds = withoutBaseLink?.split('?');\n const fileKey = withoutSignedCreds?.[0];\n if (fileKey) {\n images.push([i, fileKey]);\n }\n }\n }\n if (images.length !== 0) await _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session');\n for (let i = 0; i < images.length; i++) {\n const [position, fileKey] = images[i];\n const link = await _awsAmplify.Storage.get(fileKey);\n text_delta.ops[position].insert.image = link;\n }\n return [hasImage, text_delta];\n }\n singleLineModeEnabled() {\n return this.singleLineMode;\n }\n get editor() {\n return this.quillService.instance(this.editorId);\n }\n get isEnabled() {\n return this.args.active;\n }\n setSelection(oldRange) {\n // debugger;\n setTimeout(() => {\n try {\n if (this.editor !== null) {\n this.editor.container.setAttribute('data-cyeditor', 'focus');\n this.editor.setSelection({\n ...oldRange\n }, _quill.default.sources.USER);\n }\n } catch (err) {\n console.log('ERROR HERE', err);\n }\n }, 0);\n return;\n }\n activate(element, values) {\n // debugger;\n let active = values;\n // const editor = this.editor;\n if (active && active != this.active) {\n this.editor.setSelection(0, 0);\n // this.editorActiveService.setEditorState(true);\n }\n\n // this.editor.on('text-change', function (delta, oldDelta, source) {\n // if (source !== 'user') {\n // return;\n // }\n // // console.log(editor.getSelection(true));\n // const cursorIndex = editor.getSelection(true).index;\n // const content = editor.getContents();\n // // console.log(content);\n // const lastOp = content.ops?.[content.ops.length - 1];\n // if (!lastOp) return;\n // // console.log(lastOp);\n // const lastText = lastOp.insert;\n // // console.log(lastText);\n // const matches = lastText.match(/#[a-z0-9_]+[^\\S\\r\\n]/g);\n // // console.log(matches);\n\n // if (matches) {\n // // alert('should not trigger until space');\n // setTimeout(() => {\n // const lastTag = matches[matches.length - 1];\n\n // const mentionText = lastTag.slice(1);\n // // console.log(cursorIndex, lastTag, lastTag.length);\n // const mentionIndex = cursorIndex - lastTag.length;\n // // const mentionIndex = lastText.lastIndexOf(lastTag) + 1;\n // // console.log(mentionText, mentionIndex);\n // editor.deleteText(mentionIndex, cursorIndex - mentionIndex, 'user');\n // editor.insertEmbed(mentionIndex, 'mention', { denotationChar: '#', value: mentionText.trim() }, 'user');\n // editor.insertText(mentionIndex + 1, ' ', Quill.sources.USER); // setSelection here sets cursor position\n\n // editor.setSelection(mentionIndex + 2, Quill.sources.USER);\n // }, 1);\n // // editor.insertText(cursorIndex, ' ok ', 'user');\n // }\n // });\n }\n debouncedSave() {\n return this.debounce(() => this.saveItemWhenDirty(), 1500);\n }\n debounce(func, timeout = 2000) {\n clearTimeout(this.timer);\n this.timer = setTimeout(func, timeout);\n }\n setDelta(delta) {\n if (this.args.item.currentState.stateName !== 'root.deleted.inFlight') {\n this.args.item.set('text_delta', delta);\n this.debouncedSave();\n }\n }\n handleTags(delta) {\n let tags = [];\n let mentions = [];\n let _initiatives = [];\n const filtrableText = (delta?.ops || []).filter(op => {\n return typeof op.insert === 'string' || op.insert.mention;\n });\n if (filtrableText.length == 0) return [tags, mentions, _initiatives];\n delta.ops.forEach(item => {\n if (typeof item.insert === 'string') {\n let extracts = item.insert.match(/#\\w*/g);\n if (extracts) {\n extracts = extracts.map(item => item.substring(1));\n tags = [...tags, ...extracts];\n }\n }\n if (item.insert.mention) {\n if (item.insert.mention.denotationChar === '#') {\n tags.push(item.insert.mention.value);\n }\n if (item.insert.mention.denotationChar === '@') {\n mentions.push(item.insert.mention.value);\n }\n }\n // if (item.insert?.['initiative-tag']) {\n // initiatives.push(item.insert['initiative-tag'].id);\n // }\n });\n return [tags, mentions, _initiatives];\n }\n async saveItemWhenDirty() {\n if (this.args.item.isDestroying || this.args.item.isDestroyed) return;\n // const [tags] = this.handleTags(this.args.item.text_delta);\n // console.debug(mentions);\n // console.log(mentions, this.args.item.mentions);\n // if (tags.join('') !== this.args.item?.tags?.join('')) this.args.item.set('tags', tags);\n // if (mentions.join('') !== this.args.item?.mentions?.join('')) this.args.item.set('mentions', mentions);\n\n const changedAttributesLength = Object.keys(this.args.item.changedAttributes() ?? {}).length;\n if (changedAttributesLength === 0) return;\n // if (!['uncertainty', 'wfa', 'comment'].includes(this.args.item.constructor.modelName)) {\n // if (initiatives && initiatives.length != 0) {\n // this.args.item.initiative = await this.store.findRecord('initiative', initiatives[0]);\n // } else if (\n // this.args.item.get('initiative')?.isTruthy &&\n // this.args.source !== 'week' &&\n // this.args.source !== 'other'\n // ) {\n // console.log('this ran');\n // this.args.item.initiative = null;\n // }\n // }\n Promise.resolve(this.args.item.save());\n }\n handleSelectionChange(oldRange, newRange) {\n // debugger;\n // This happens when the Quill editor loses focus\n if (!oldRange && newRange && newRange?.index === 0 && newRange?.length === 0 && (this.args.item.text_delta === undefined || this.args.item.text_delta?.ops?.length === 0 || this.args.item.text_delta?.ops?.[0]?.insert === '\\n') && !this.initiativeSlideover.updateWizardIsOpen) {\n this.args.onDelete();\n this.restoreSingleLineMode();\n return;\n }\n if (oldRange === null && newRange !== null && !(newRange.index == 0 && newRange.length == 0) && !this.editor.hasFocus()) {\n this.debouncedSave();\n // this.editorActiveService.clearActiveEditor();\n this.restoreSingleLineMode();\n return;\n }\n\n // This happens when the Quill editor gains focus.\n // debugger;\n\n // //if no active item\n // if (!this.editorActiveService.activeEditorId) {\n // console.log(this.args.item);\n\n // }\n // //if active item is not this item\n // else if (this.editorActiveService.activeItem !== this.args.item.id) {\n // this.editorActiveService.setActiveEditor(this.editorId);\n // this.editorActiveService.setActiveItem(this.args.item.id);\n // } else if (\n // this.editorActiveService.activeItem === this.args.item.id &&\n // this.editorActiveService.activeEditorId !== this.editorId\n // ) {\n // this.editorActiveService.setActiveEditor(this.editorId);\n // // this.editorActiveService.setActiveItem(this.args.item.id);\n // }\n if (oldRange !== null && newRange === null) {\n if (this.args.onActivate) {\n var propagation = this.args.onActivate();\n }\n if (propagation == false) {\n return;\n } else {\n this.setSelection(oldRange);\n }\n }\n }\n async revalidateImages() {\n const [hasImage, text_delta] = (await this.withSignedUrls(this.args.item.text_delta)) ?? [];\n let saveItem = false;\n if (hasImage) {\n saveItem = true;\n this.args.item.set('text_delta', text_delta);\n }\n let modelName = this.args.item.constructor.modelName;\n if (modelName === 'comment') {\n let routeModel = this?.router?.currentRoute?.attributes;\n let routeModelName = this?.router?.currentRoute?.attributes?.constructor?.modelName;\n if (routeModel && routeModelName) this.args.item.set(`${routeModelName}`, routeModel);else return;\n }\n if (saveItem) this.args.item.save();\n }\n async insertNew(element) {\n this.editorId = element.id;\n\n // let modelName = await this.args.item.constructor.modelName;\n // this.registerListItemListener();\n if (!this.router?.currentRouteName?.includes('views')) {\n await this.revalidateImages();\n }\n\n // this.withSignedUrls();\n }\n get events() {\n let events = {\n moveUp: this.args.onUp ?? this._logIntent('moveUp'),\n moveDown: this.args.onDown ?? this._logIntent('moveDown'),\n fastExit: this.args.onFastExit ?? this._logIntent('fastExit'),\n emptyTab: this.args.onEmptyTab ?? this._logIntent('emptyTab'),\n tab: this.args.onTab ?? this._logIntent('tab'),\n delete: this.args.onDelete ?? this._logIntent('delete'),\n blur: this.onBlur\n };\n return events;\n }\n get keyBindingEvents() {\n if (this.args.events) {\n return {\n ...this.events,\n ...this.args.events\n };\n } else {\n return this.events;\n }\n }\n onBlur() {\n this.editor.blur();\n this.restoreSingleLineMode();\n }\n restoreSingleLineMode() {\n this._singleLineMode = this.args.singleLineMode ?? false;\n }\n disableSingleLineMode() {\n this._singleLineMode = false;\n }\n get keyBindings() {\n const self = this;\n let events = this.keyBindingEvents;\n let singleLineModeEnabled = this.singleLineModeEnabled;\n let disableSingleLineMode = this.disableSingleLineMode;\n let restoreSingleLineMode = this.restoreSingleLineMode;\n const dropdownIsOpen = () => {\n if (document.querySelector('.ql-mention-list-container')) {\n return true;\n }\n };\n let bindings = {\n up: {\n key: 'ArrowUp',\n handler: function (range, context) {\n if (dropdownIsOpen()) {\n return true;\n }\n const length = this.quill.getLength();\n if (context.offset == 0 && range.index == 0 || range.index == length - 1) {\n events.blur();\n events.moveUp();\n return false;\n }\n return true;\n }\n },\n down: {\n key: 'ArrowDown',\n handler: function (range) {\n if (dropdownIsOpen()) {\n return true;\n }\n const length = this.quill.getLength();\n if (range.index == length - 1) {\n events.blur();\n events.moveDown();\n return false;\n }\n return true;\n }\n },\n backspace: {\n key: 'Backspace',\n handler: function (range, context) {\n if (dropdownIsOpen()) {\n return true;\n }\n if (context.offset == 0 && range.index == 0 && this.quill.getLength() == 1) {\n clearTimeout(self.timer);\n events.delete();\n events.moveUp();\n return false;\n }\n if (context.empty === true) restoreSingleLineMode();\n return true;\n }\n },\n saveAndExit: {\n key: 'Enter',\n shortKey: true,\n handler: function () {\n if (dropdownIsOpen()) {\n return true;\n }\n events.blur();\n events.fastExit();\n return false;\n }\n },\n singleLineExit: {\n key: 'Enter',\n handler: function () {\n if (singleLineModeEnabled()) {\n events.blur();\n events.fastExit();\n return false;\n }\n return true;\n }\n },\n disableSingleLineExit: {\n key: 'Enter',\n shiftKey: true,\n handler: function () {\n disableSingleLineMode();\n return true;\n }\n },\n EmptyTab: {\n key: 'Tab',\n empty: true,\n handler: function () {\n if (dropdownIsOpen()) {\n return true;\n }\n events.blur();\n events.emptyTab();\n return false;\n }\n },\n tab: {\n key: 'Tab',\n // format: {\n // list: false,\n // },\n handler: function () {\n if (dropdownIsOpen()) {\n return true;\n }\n events.blur();\n events.tab();\n return false;\n }\n }\n };\n return bindings;\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n });\n }\n get modules() {\n let modules = {};\n if (this.args._toolbar) {\n modules.toolbar = this.args._toolbar;\n } else {\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n }\n modules.keyboard = {\n bindings: this.keyBindings\n };\n modules.clipboard = {\n matchVisual: false\n };\n modules.syntax = this.args.syntax ?? true;\n modules.magicUrl = true;\n modules.mention = this.config.mention;\n modules['initiative-pill'] = this.initiativeBlotConfig.config;\n\n // console.log(this.quillService);\n\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n return modules;\n }\n get bounds() {\n return `#${this.editorId}`;\n }\n _logIntent() {\n if (this.args.debug) {\n return () => {};\n } else {\n return () => {};\n }\n }\n\n // registerListItemListener() {\n // const listItemEditor = document.querySelector(`#${this.editorId}`);\n // listItemEditor.addEventListener('click', (event) => {\n // console.log(event);\n // });\n // }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"quillService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"confetti\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"editorActiveService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaToggleService\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiativesService\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"userService\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"withSignedUrls\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"withSignedUrls\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"singleLineModeEnabled\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"singleLineModeEnabled\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"activate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"activate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"debouncedSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"debouncedSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"debounce\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"debounce\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTags\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTags\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveItemWhenDirty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveItemWhenDirty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSelectionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSelectionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revalidateImages\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"revalidateImages\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"insertNew\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"insertNew\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restoreSingleLineMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreSingleLineMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"disableSingleLineMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"disableSingleLineMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MoleculesEditorComponent);\n});","define(\"scaleflow/components/molecules/favorite-icon\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.isFavorite}}\n \n \n \n \n {{#if @showLabel}}\n {{t \"dictionary.unfavorite\"}}\n {{else}}\n \n \n {{t \"dictionary.unfavorite\"}}\n \n \n {{/if}}\n \n \n {{else}}\n \n \n \n \n {{#if @showLabel}}\n {{t \"dictionary.add-to-favorites\"}}\n {{else}}\n \n \n {{t \"dictionary.add-to-favorites\"}}\n \n \n {{/if}}\n \n {{/if}}\n */\n {\n \"id\": \"4BEdqmo/\",\n \"block\": \"[[[41,[30,0,[\\\"isFavorite\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"favorite-button-container flex items-center gap-x-2\\\"],[24,4,\\\"button\\\"],[24,\\\"data-cy\\\",\\\"unfavorite\\\"],[17,1],[4,[38,2],[\\\"click\\\",[30,0,[\\\"removeFromFavorite\\\"]]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-6 h-6 cursor-pointer first\\\"]],[[\\\"@path-stroke\\\",\\\"@fill\\\"],[\\\"#6366F1\\\",\\\"#EEF2FF\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-6 h-6 cursor-pointer second\\\"]],[[\\\"@path-stroke\\\",\\\"@fill\\\"],[\\\"#6366F1\\\",\\\"#EEF2FF\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,6],[\\\"dictionary.unfavorite\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"mt-3 check-in-tooltip\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.unfavorite\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"favorite-button-container flex items-center gap-x-2\\\"],[24,4,\\\"button\\\"],[24,\\\"data-cy\\\",\\\"favorite\\\"],[17,1],[4,[38,2],[\\\"click\\\",[30,0,[\\\"addToFavorite\\\"]]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-6 h-6 first\\\"]],[[\\\"@path-stroke\\\",\\\"@fill\\\"],[\\\"#D1D5DB\\\",\\\"white\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"w-6 h-6 second\\\"]],[[\\\"@path-stroke\\\",\\\"@fill\\\"],[\\\"currentColor\\\",\\\"white\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,6],[\\\"dictionary.add-to-favorites\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"mt-3 check-in-tooltip\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.add-to-favorites\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"&attrs\\\",\\\"@showLabel\\\"],[\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/star\\\",\\\"atoms/icons/unfavorite\\\",\\\"span\\\",\\\"t\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/favorite-icon.hbs\",\n \"isStrictMode\": false\n });\n let MoleculesFavoriteIconComponent = _exports.default = (_class = class MoleculesFavoriteIconComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"favorite\", _descriptor, this);\n }\n get isFavorite() {\n return this.args?.params?.model?.favorite;\n }\n get modelName() {\n return this.args.params.model.get('constructor.modelName');\n }\n addToFavorite() {\n this.favorite.addToFavorite(this.args?.params?.model, this.modelName);\n }\n removeFromFavorite() {\n this.favorite.removeFromFavorite(this.args?.params?.model, this.modelName);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"addToFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addToFavorite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeFromFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeFromFavorite\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MoleculesFavoriteIconComponent);\n});","define(\"scaleflow/components/molecules/initiative-avatar\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @name}}\n \n \n {{substring @name 0 1}}\n {{#if @tippy}}\n \n \n {{@name}}\n \n \n {{/if}}\n \n {{yield}}\n \n {{/if}}\n */\n {\n \"id\": \"cweEUyS/\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,3],[16,0,[29,[\\\"inline-block\\\\n \\\",[28,[37,2],[[30,1]],null],\\\"\\\\n rounded flex items-center justify-center text-sm\\\"]]],[24,6,\\\"javascript:void(0);\\\"],[24,\\\"test-id\\\",\\\"initiative-avatar\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[[52,[30,3],[30,3],\\\"flex items-center justify-center block !text-white w-6 h-6 uppercase\\\"],\\\"\\\\n roboto-mono\\\"]]],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[[30,1],0,1],null]],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@placement\\\"],[\\\"right\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"mt-3\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@name\\\",\\\"&attrs\\\",\\\"@spanClass\\\",\\\"@tippy\\\",\\\"&default\\\"],[\\\"if\\\",\\\"a\\\",\\\"title-to-bg\\\",\\\"span\\\",\\\"substring\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/initiative-avatar.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"initiative-avatar\"));\n});","define(\"scaleflow/components/molecules/menu-actions\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
  • \n \n {{#if (has-block)}}\n {{yield}}\n {{else}}\n {{#if @icon}}\n {{#let (component (concat \"atoms/icons/\" @icon)) as |Icon|}}\n \n {{/let}}\n {{/if}}\n {{@title}}\n {{/if}}\n \n
  • \n */\n {\n \"id\": \"apzgV1p+\",\n \"block\": \"[[[10,\\\"li\\\"],[14,0,\\\"w-full list-none\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex w-full items-center p-2 space-x-2 text-sm rounded transition text-gray-700 hover:bg-gray-100 whitespace-nowrap\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"dropdown-item\\\"],[17,1],[4,[38,2],[\\\"click\\\",[30,0,[\\\"clickFunction\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,7]],[[[1,\\\" \\\"],[18,7,null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2],[[[44,[[50,[28,[37,8],[\\\"atoms/icons/\\\",[30,2]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,3],[[16,0,[29,[\\\"w-6 h-6 shrink-0\\\\n \\\",[52,[30,4],[30,4],\\\"text-gray-400\\\"]]]]],null,null],[1,\\\"\\\\n\\\"]],[3]]]],[]],null],[1,\\\" \\\"],[10,1],[15,0,[29,[[30,5]]]],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,[30,6]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@icon\\\",\\\"Icon\\\",\\\"@iconClasses\\\",\\\"@labelClass\\\",\\\"@title\\\",\\\"&default\\\"],[\\\"li\\\",\\\"button\\\",\\\"on\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/molecules/menu-actions.hbs\",\n \"isStrictMode\": false\n });\n let menuActionsComponent = _exports.default = (_class = class menuActionsComponent extends _component2.default {\n async clickFunction() {\n if (this.args.menuClick) {\n await this.args.menuClick();\n }\n if (this.args.closeMenu) {\n await this.args.closeMenu();\n }\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"clickFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clickFunction\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, menuActionsComponent);\n});","define(\"scaleflow/components/multiselect-pills\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#each @options as |option|}}\n {{option.label}}\n {{/each}}\n
    \n */\n {\n \"id\": \"2Zp/41fG\",\n \"block\": \"[[[11,0],[24,0,\\\"flex items-center gap-x-2 gap-y-2 flex-wrap\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,2]],null]],null],null,[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,\\\"title\\\",[30,3,[\\\"label\\\"]]],[16,0,[29,[\\\"py-1 px-2 leading-4 text-xs rounded-2xl border border-solid\\\\n \\\",[52,[30,3,[\\\"show\\\"]],\\\"text-gray-600 border-gray-200 bg-gray-50\\\",\\\"text-gray-400 bg-white border-gray-300\\\"]]]],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"handlePillClick\\\"]],[30,3,[\\\"value\\\"]]],null]],null],[12],[1,[30,3,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[3]],null],[13]],[\\\"&attrs\\\",\\\"@options\\\",\\\"option\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/multiselect-pills.hbs\",\n \"isStrictMode\": false\n });\n let MultiselectPillsComponent = _exports.default = (_class = class MultiselectPillsComponent extends _component2.default {\n get values() {\n return this.args?.values ?? [];\n }\n handlePillClick(item) {\n let values = [...this.values];\n if (values.includes(item)) {\n values = values.filter(_item => _item !== item);\n } else {\n values.push(item);\n }\n this.args?.onSelect?.(values);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"handlePillClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePillClick\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MultiselectPillsComponent);\n});","define(\"scaleflow/components/navbar/collapse\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n \n {{@label}}\n \n \n \n \n \n \n
    \n \n {{#each @items as |item|}}\n \n \n \n {{#if (eq item.type \"initiative\")}}\n \n {{/if}}\n \n {{#if (eq item.type \"team\")}}\n \n {{/if}}\n \n {{#unless item.type}}\n {{#let (component (concat \"atoms/icons/\" item.icon)) as |Icon|}}\n \n {{/let}}\n {{/unless}}\n
    \n
    \n \n {{#if (eq item.type \"initiative\")}}\n \n {{item.title}}\n \n

    {{t\n \"_initiatives.title\"\n num=1\n }}

    \n {{/if}}\n \n {{#if (eq item.type \"team\")}}\n \n {{item.name}}\n \n {{#if this.betaToggle.showCheckin}}\n

    \n {{t \"_teams.check-in\" num=1}}\n |\n {{t \"dictionary.settings\" num=1}}\n \n |\n \n

    \n \n {{else}}\n

    \n {{t \"_teams.title\" num=1}}\n

    \n {{/if}}\n {{/if}}\n \n {{#unless item.type}}\n \n {{item.label}}\n \n \n

    {{item.description}}

    \n {{/unless}}\n
    \n
    \n {{/each}}\n \n \n \n \n
    \n \n {{@label}}\n \n \n \n \n \n {{#if this.isOpen}}\n
    \n {{#each @items as |item|}}\n {{item.label}}\n {{/each}}\n
    \n {{/if}}\n
    \n \n */\n {\n \"id\": \"wJiGuLB0\",\n \"block\": \"[[[11,0],[24,\\\"test-id\\\",\\\"navbar-collapse\\\"],[16,0,[52,[30,0,[\\\"isOpen\\\"]],\\\"z-20\\\",\\\"z-0\\\"]],[17,1],[4,[38,2],[[30,0,[\\\"collapseMenu\\\"]]],null],[4,[38,3],[[30,0,[\\\"loadTeams\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"hidden lg:block relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-1 text-sm font-semibold leading-6 text-gray-900\\\"],[16,\\\"aria-expanded\\\",[29,[[30,0,[\\\"isOpen\\\"]]]]],[24,\\\"test-id\\\",\\\"menu-dropdown\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-5 w-5 flex-none text-gray-400\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"absolute -left-8 top-full mt-3 w-screen max-w-md rounded-3xl bg-white shadow-lg ring-1 ring-gray-900/5 max-h-[450px] overflow-auto\\\\n \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"opacity-100 translate-y-0 transition ease-out duration-200 z-20\\\",\\\"transition ease-in duration-150 opacity-0 translate-y-1 -z-50 hidden\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,3]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"group relative flex items-center gap-x-6 rounded-lg p-4 text-sm leading-6 hover:bg-gray-50\\\"],[14,\\\"test-id\\\",\\\"submenu-item\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-11 w-11 flex-none items-center justify-center rounded-lg bg-gray-50 group-hover:bg-white\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,10],[[30,4,[\\\"type\\\"]],\\\"initiative\\\"],null],[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@name\\\"],[[30,4,[\\\"title\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,10],[[30,4,[\\\"type\\\"]],\\\"team\\\"],null],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\"],[[30,4,[\\\"name\\\"]],[30,4,[\\\"id\\\"]],\\\"new-medium\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,4,[\\\"type\\\"]]],[[[44,[[50,[28,[37,16],[\\\"atoms/icons/\\\",[30,4,[\\\"icon\\\"]]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,5],[[24,0,\\\"h-6 w-6 text-gray-600 group-hover:text-indigo-600\\\"]],null,null],[1,\\\"\\\\n\\\"]],[5]]]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,10],[[30,4,[\\\"type\\\"]],\\\"initiative\\\"],null],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"block font-semibold text-gray-900\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"backlog.initiatives.initiative\\\",[30,4,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-1 text-gray-600\\\"],[12],[1,[28,[35,19],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,10],[[30,4,[\\\"type\\\"]],\\\"team\\\"],null],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"block font-semibold text-gray-900\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[[52,[30,0,[\\\"betaToggle\\\",\\\"showCheckin\\\"]],\\\"operations.teams.team.check-in\\\",\\\"operations.teams.team.settings\\\"],[30,4,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showCheckin\\\"]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"mt-1 text-gray-600 flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,17],[[24,0,\\\"hover:underline\\\"],[24,\\\"test-id\\\",\\\"checkin-link\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"operations.teams.team.check-in\\\",[30,4,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[28,[35,19],[\\\"_teams.check-in\\\"],[[\\\"num\\\"],[1]]]]],[]]]]],[1,\\\"\\\\n |\\\\n \\\"],[8,[39,17],[[24,0,\\\"hover:underline\\\"],[24,\\\"test-id\\\",\\\"settings-link\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"operations.teams.team.settings\\\",[30,4,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[28,[35,19],[\\\"dictionary.settings\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n |\\\\n \\\"],[8,[39,20],null,[[\\\"@params\\\"],[[28,[37,21],null,[[\\\"model\\\"],[[30,4]]]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"mt-1 text-gray-600\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,17],[[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"operations.teams.team.settings\\\",[30,4,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[28,[35,19],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]]]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,4,[\\\"type\\\"]]],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"block font-semibold text-gray-900\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null]],[[\\\"@route\\\"],[[30,4,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"absolute inset-0\\\"],[12],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-1 text-gray-600\\\"],[12],[1,[30,4,[\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"-mx-3 lg:hidden\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[24,\\\"aria-controls\\\",\\\"disclosure-1\\\"],[16,\\\"aria-expanded\\\",[29,[[30,0,[\\\"isOpen\\\"]]]]],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleCollapse\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"svg\\\"],[15,0,[29,[\\\"h-5 w-5 flex-none \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"rotate-180\\\"]]]],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isOpen\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"mt-2 space-y-2\\\"],[14,1,\\\"disclosure-1\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,3]],null]],null],null,[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"onMobileMenuItemClick\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\"],[[30,6,[\\\"route\\\"]],[30,6,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,6,[\\\"label\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@label\\\",\\\"@items\\\",\\\"item\\\",\\\"Icon\\\",\\\"item\\\"],[\\\"div\\\",\\\"if\\\",\\\"on-click-outside\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"on\\\",\\\"svg\\\",\\\"path\\\",\\\"each\\\",\\\"-track-array\\\",\\\"eq\\\",\\\"molecules/initiative-avatar\\\",\\\"atoms/avatar\\\",\\\"unless\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"link-to\\\",\\\"p\\\",\\\"t\\\",\\\"molecules/favorite-icon\\\",\\\"hash\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/navbar/collapse.hbs\",\n \"isStrictMode\": false\n });\n let NavbarCollapseComponent = _exports.default = (_class = class NavbarCollapseComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n }\n toggleCollapse() {\n this.isOpen = !this.isOpen;\n }\n collapseMenu() {\n if (this.isOpen === false) return;\n this.isOpen = false;\n }\n onMobileMenuItemClick() {\n this.args.onMobileMenuItemClick();\n }\n loadTeams() {\n if (this.args.loadTeams) this.store.findAll('team');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleCollapse\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCollapse\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"collapseMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"collapseMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onMobileMenuItemClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onMobileMenuItemClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadTeams\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, NavbarCollapseComponent);\n});","define(\"scaleflow/components/navbar/link\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @isTrial}}\n \n {{@label}}\n \n \n {{t \"dictionary.paid-feature\"}}\n \n \n \n {{else}}\n \n {{@label}}\n \n {{/if}}\n */\n {\n \"id\": \"I4GaXl9k\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"text-sm font-semibold leading-6 text-gray-500 flex items-center gap-x-1\\\"],[24,\\\"test-id\\\",\\\"navbar-link\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[10,1],[12],[1,[30,3]],[13],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.paid-feature\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,7],[[16,0,[29,[\\\"text-sm font-semibold leading-6\\\\n \\\",[52,[30,0,[\\\"isActive\\\"]],\\\"text-indigo-600\\\",\\\"text-gray-900\\\"]]]],[24,\\\"test-id\\\",\\\"navbar-link\\\"],[17,2]],[[\\\"@route\\\"],[[30,4]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@isTrial\\\",\\\"&attrs\\\",\\\"@label\\\",\\\"@route\\\"],[\\\"if\\\",\\\"button\\\",\\\"atoms/icons/lock\\\",\\\"span\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/navbar/link.hbs\",\n \"isStrictMode\": false\n });\n let NavbarLinkComponent = _exports.default = (_class = class NavbarLinkComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n get isActive() {\n return this.router.currentRoute?.name?.includes(this.args.key);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, NavbarLinkComponent);\n});","define(\"scaleflow/components/navbar/navbar\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n
    \n \n {{t \"dictionary.producthub\"}}\n \n \n
    \n
    \n \n {{t \"dictionary.open-menu\"}}\n \n \n \n \n
    \n
    \n {{#if (can-access-feature \"ideas\")}}\n {{#if this.betaToggle.showIdeas}}\n \n {{/if}}\n {{/if}}\n \n {{#if (can-access-feature \"initiatives\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"roadmaps\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"capacity\")}}\n {{#if this.betaToggle.hideCapacity}}{{else}}\n \n {{/if}}\n {{/if}}\n \n {{#if (can-access-feature \"goals\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"checkin\")}}\n {{#if this.betaToggle.showCheckin}}\n \n {{/if}}\n {{/if}}\n
    \n
    \n \n {{#if (can-access-feature \"bookmarks\")}}\n \n \n \n \n \n {{/if}}\n \n \n {{#if (can-access-feature \"quick-create\")}}\n \n + New\n \n \n \n \n \n
    \n \n {{t \"_initiatives.title\" num=1}}\n
    \n \n \n \n
    \n \n {{t \"roadmap.title\" num=1}}\n
    \n
    \n \n \n
    \n \n {{t \"_goals.title\" num=1}}\n
    \n
    \n \n \n \n {{/if}}\n
    \n \n \n {{#if this.menuIsOpen}}\n {{! }}\n
    \n {{! }}\n
    \n \n
    \n \n {{t \"dictionary.close-menu\"}}\n \n \n \n \n
    \n
    \n
    \n
    \n \n {{#if (can-access-feature \"ideas\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"initiatives\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"roadmaps\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"capacity\")}}\n {{#if this.betaToggle.hideCapacity}}{{else}}\n \n {{/if}}\n {{/if}}\n \n {{#if (can-access-feature \"goals\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"bookmarks\")}}\n \n {{t \"dictionary.bookmark\" num=2}}\n {{/if}}\n \n
    \n \n
    \n {{t \"help.contact-support\"}}\n \n \n {{t \"dictionary.log-out\"}}\n
    \n
    \n
    \n
    \n \n {{/if}}\n
    \n */\n {\n \"id\": \"JW90ok4Q\",\n \"block\": \"[[[10,\\\"header\\\"],[14,0,\\\"bg-white border-b border-gray-200\\\"],[14,\\\"test-id\\\",\\\"navbar\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"nav\\\"],[14,0,\\\"mx-auto flex max-w-8xl items-center justify-between p-6 h-[64px]\\\"],[14,\\\"aria-label\\\",\\\"Global\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex mr-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"-m-1.5 py-1.5 px-1\\\"]],[[\\\"@route\\\"],[\\\"planning.dashboard\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,5],[\\\"dictionary.producthub\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"img\\\"],[14,0,\\\"h-8 w-auto\\\"],[14,\\\"src\\\",\\\"/images/logo_icon.png\\\"],[15,\\\"alt\\\",[28,[37,5],[\\\"dictionary.producthub\\\"],null]],[12],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex lg:hidden\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700\\\"],[24,4,\\\"button\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"openMenu\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,5],[\\\"dictionary.open-menu\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"hidden lg:flex lg:gap-x-12\\\"],[14,\\\"test-id\\\",\\\"nav-links\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"ideas\\\"],null],[[[41,[30,0,[\\\"betaToggle\\\",\\\"showIdeas\\\"]],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@route\\\",\\\"@key\\\"],[[28,[37,5],[\\\"idea.title\\\"],[[\\\"num\\\"],[2]]],\\\"backlog.ideas.list\\\",\\\"backlog.ideas\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"initiatives\\\"],null],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@route\\\",\\\"@key\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]],\\\"backlog.initiatives\\\",\\\"backlog.initiatives\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"roadmaps\\\"],null],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@route\\\",\\\"@key\\\",\\\"@isTrial\\\"],[[28,[37,5],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[2]]],\\\"planning.dashboard\\\",\\\"planning\\\",[30,0,[\\\"organisation\\\",\\\"is_trial\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"capacity\\\"],null],[[[1,\\\" \\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"hideCapacity\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@route\\\",\\\"@key\\\"],[[28,[37,5],[\\\"pages.capacity\\\"],null],\\\"resources\\\",\\\"resources\\\"]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"goals\\\"],null],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@route\\\",\\\"@key\\\"],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]],\\\"business\\\",\\\"business\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"checkin\\\"],null],[[[41,[30,0,[\\\"betaToggle\\\",\\\"showCheckin\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[24,\\\"test-id\\\",\\\"check-ins\\\"]],[[\\\"@label\\\",\\\"@items\\\",\\\"@loadTeams\\\"],[[29,[[28,[37,5],[\\\"_teams.check-in\\\"],null]]],[30,0,[\\\"activeTeams\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"hidden lg:flex lg:flex-1 lg:justify-end gap-x-4 items-center\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,12],[\\\"bookmarks\\\"],null],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@route\\\"],[\\\"bookmarks\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"border\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"text-gray-600 w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,17],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,12],[\\\"quick-create\\\"],null],[[[1,\\\" \\\"],[10,\\\"button\\\"],[14,\\\"test-id\\\",\\\"ph-new\\\"],[14,0,\\\"ph-button px-3 py-2 rounded-md text-sm text-white\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n + New\\\\n\\\\n \\\"],[8,[39,18],null,[[\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@onShow\\\"],[\\\"bottom\\\",\\\"true\\\",\\\"click\\\",[30,0,[\\\"setTippyInstance\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"inner-tippy-dropdown teams h-fit overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"],[4,[38,20],[[30,0,[\\\"tippyInstance\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"new-initiative\\\"]],[[\\\"@route\\\"],[\\\"backlog.initiatives.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4 flex items-start gap-x-2 hover:bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],[[24,0,\\\"text-gray-900 w-6 h-6 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm font-semibold text-gray-900 capitalize\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"new-roadmap\\\"]],[[\\\"@route\\\"],[\\\"roadmap.strategy.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4 flex items-start gap-x-2 hover:bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,22],[[24,0,\\\"text-gray-900 w-6 h-6 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm font-semibold text-gray-900 capitalize\\\"],[12],[1,[28,[35,5],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"create-goal\\\"]],[[\\\"@route\\\"],[\\\"business.goals.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4 flex items-start gap-x-2 hover:bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,0,\\\"text-gray-900 w-6 h-6 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm font-semibold text-gray-900 capitalize\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"menuIsOpen\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"lg:hidden\\\"],[14,\\\"role\\\",\\\"dialog\\\"],[14,\\\"aria-modal\\\",\\\"true\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"fixed inset-0 z-100\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"fixed inset-y-0 right-0 z-100 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"-m-2.5 rounded-md p-2.5 text-gray-700\\\"],[24,4,\\\"button\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,5],[\\\"dictionary.close-menu\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-6 flow-root\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-my-6 divide-y divide-gray-500/10\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-2 py-6 flex flex-col\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,12],[\\\"ideas\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 !text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@label\\\",\\\"@key\\\",\\\"@route\\\"],[[28,[37,5],[\\\"idea.title\\\"],[[\\\"num\\\"],[2]]],\\\"ideas\\\",\\\"backlog.ideas.list\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"initiatives\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 !text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@label\\\",\\\"@key\\\",\\\"@route\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]],\\\"backlog\\\",\\\"backlog.initiatives\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"roadmaps\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[24,\\\"key\\\",\\\"planning\\\"],[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 !text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@label\\\",\\\"@route\\\"],[[28,[37,5],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[2]]],\\\"planning.dashboard\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"capacity\\\"],null],[[[1,\\\" \\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"hideCapacity\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 !text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@label\\\",\\\"@key\\\",\\\"@route\\\"],[[28,[37,5],[\\\"pages.capacity\\\"],null],\\\"resources\\\",\\\"resources\\\"]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"goals\\\"],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 !text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@label\\\",\\\"@key\\\",\\\"@route\\\"],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]],\\\"business\\\",\\\"business.goals\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,12],[\\\"bookmarks\\\"],null],[[[1,\\\" \\\"],[8,[39,3],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"]],[[\\\"@route\\\"],[\\\"bookmarks\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.bookmark\\\"],[[\\\"num\\\"],[2]]]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"py-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[14,6,\\\"mailto:team@getproducthub.com\\\"],[14,0,\\\"flex w-full items-center justify-between rounded-lg py-2 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[12],[1,[28,[35,5],[\\\"help.contact-support\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"closeMenu\\\"]]],null]],[[\\\"@route\\\"],[\\\"logout\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.log-out\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[],[\\\"header\\\",\\\"nav\\\",\\\"div\\\",\\\"link-to\\\",\\\"span\\\",\\\"t\\\",\\\"img\\\",\\\"button\\\",\\\"on\\\",\\\"svg\\\",\\\"path\\\",\\\"if\\\",\\\"can-access-feature\\\",\\\"navbar/link\\\",\\\"navbar/collapse\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/bookmark\\\",\\\"organisms/account-menu\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"hide-tippy-on-click\\\",\\\"atoms/icons/initiatives\\\",\\\"atoms/icons/roadmap\\\",\\\"tailwind-icons/flag\\\",\\\"a\\\"]]\",\n \"moduleName\": \"scaleflow/components/navbar/navbar.hbs\",\n \"isStrictMode\": false\n });\n let NavbarComponent = _exports.default = (_dec = (0, _service.service)('hamburger-menu'), _class = class NavbarComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"menu\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor4, this);\n _initializerDefineProperty(this, \"router\", _descriptor5, this);\n _initializerDefineProperty(this, \"intl\", _descriptor6, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor7, this);\n _initializerDefineProperty(this, \"menuIsOpen\", _descriptor8, this);\n _initializerDefineProperty(this, \"tippyInstance\", _descriptor9, this);\n }\n closeMenu() {\n this.menuIsOpen = false;\n }\n openMenu() {\n this.menuIsOpen = true;\n }\n toggleNavbar() {\n this.menu.toggleMenu();\n }\n closeMobNavbar() {\n this.menu.closeMobNavbar();\n }\n\n /*\n FIXME: @indroneelray Why do we have these here and not in AppStructure centrally defined? This goes for all items section?\n */\n\n get bookmarkItems() {\n return [{\n label: this.intl.t('dictionary.bookmark', {\n num: 2\n }),\n description: this.intl.t('dictionary.bookmarks-nav-description'),\n icon: 'star',\n route: 'bookmarks'\n }, ...this.favoriteTeams, ...this.favoriteInitiatives];\n }\n get activeTeams() {\n const teams = this.store.peekAll('team').filter(item => item.active === true).map(item => {\n item.type = 'team';\n return item;\n });\n return teams;\n }\n setTippyInstance(instance) {\n this.tippyInstance = instance;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"menu\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"menuIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"tippyInstance\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleNavbar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleNavbar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMobNavbar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMobNavbar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTippyInstance\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTippyInstance\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, NavbarComponent);\n});","define(\"scaleflow/components/notification\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n \n
    \n
    \n
    \n {{yield}}

    \n
    \n
    \n \n Close\n \n \n \n \n
    \n
    \n
    \n
    \n \n \n */\n {\n \"id\": \"z4ht/g7z\",\n \"block\": \"[[[10,0],[14,\\\"aria-live\\\",\\\"assertive\\\"],[15,0,[29,[\\\"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6\\\\n \\\",[52,[30,1],\\\"transform ease-out duration-300 transition translate-y-0 opacity-100 sm:translate-x-0 z-[200]\\\",\\\"transition ease-in duration-100 translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2 -z-10\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex w-full flex-col items-center space-y-4 sm:items-end\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex w-0 flex-1 justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"w-0 flex-1 text-sm font-medium text-gray-900 flex items-center gap-x-2\\\"],[12],[18,3,null],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"ml-4 flex flex-shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Close\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-5 w-5\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@show\\\",\\\"@onClose\\\",\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"p\\\",\\\"yield\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/notification.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"notification\"));\n});","define(\"scaleflow/components/organisation/settings/global-bon-values\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n

    \n {{t\n \"financials.explanation\"\n bon=(t \"financials.back-of-napkin\" num=1)\n htmlSafe=true\n }}\n

    \n
    \n \n
    \n
    \n
    \n {{t \"financials.horizon\"}}\n

    \n {{t \"financials.horizon-explanation\"}}\n

    \n

    \n {{this.organisation.horizon}}\n {{t \"financials.months\"}}\n

    \n
    \n
    \n
    \n
    \n \n {{t \"financials.ppw\"}}\n [{{t \"financials.person-weeks-full\"}}]\n

    \n {{t \"financials.ppw-explanation\"}}\n

    \n

    \n {{localize\n this.organisation.ppw\n \",-\"\n (t \"currency.euro\")\n }}\n

    \n
    \n
    \n
    \n
    \n \n {{t\n \"financials.confidence-level\"\n confidence=(t \"financials.confidence\")\n }}\n ({{t \"financials.investment\" num=1}})\n

    {{t\n \"financials.confidence-level-explanation\"\n type=(t \"financials.investment\" num=1)\n }}

    \n
    \n
    \n

    \n {{t \"financials.low\"}}\n {{t \"financials.confidence\"}}\n

    \n

    \n {{t \"financials.investment\" num=1}}*{{this.lowConfidence}}\n

    \n
    \n
    \n

    \n {{t \"financials.medium\"}}\n {{t \"financials.confidence\"}}\n

    \n

    \n {{t \"financials.investment\" num=1}}*{{this.mediumConfidence}}\n

    \n
    \n
    \n

    \n {{t \"financials.high\"}}\n {{t \"financials.confidence\"}}\n

    \n

    \n {{t \"financials.investment\" num=1}}*{{this.highConfidence}}\n

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n {{t\n \"financials.confidence-level\"\n confidence=(t \"financials.confidence\")\n }}\n ({{t \"financials.returns\" num=1}})\n

    {{t\n \"financials.confidence-level-explanation\"\n type=(t \"financials.returns\" num=1)\n }}\n

    \n
    \n
    \n

    \n {{t \"financials.low\"}}\n {{t \"financials.confidence\"}}\n

    \n

    \n {{t \"financials.returns\" num=1}}*{{this.returnsLowConfidence}}\n

    \n
    \n
    \n

    \n {{t \"financials.medium\"}}\n {{t \"financials.confidence\"}}\n

    \n

    \n {{t \"financials.returns\" num=1}}*{{this.returnsMediumConfidence}}\n

    \n
    \n \n
    \n

    \n {{t \"financials.high\"}}\n {{t \"financials.confidence\"}}\n

    \n \n

    \n {{t \"financials.returns\" num=1}}*{{this.returnsHighConfidence}}\n

    \n
    \n
    \n \n
    \n
    \n \n {{#if this.betaToggle.newCustomersV2Snippet}}\n
    \n
    \n \n {{t \"financials.customer-values.title\"}}\n \n {{t \"financials.clv-definition\"}}

    \n {{t \"financials.clv-howto\"}}

    \n
    \n {{#each\n this.organisation.customer_values_options\n as |customer_value|\n }}\n
    \n

    \n {{customer_value.label}}\n

    \n

    \n {{localize\n customer_value.value\n \",-\"\n (t \"currency.euro\")\n }}\n

    \n
    \n {{/each}}\n
    \n
    \n
    \n {{else}}\n
    \n
    \n \n {{t \"financials.clv\"}}\n [{{t \"financials.customer-lifetime-value\"}}]\n {{t \"financials.clv-definition\"}}

    \n {{t \"financials.clv-howto\"}}

    \n \n

    \n {{localize\n this.organisation.clv_in_horizon\n \",-\"\n (t \"currency.euro\")\n }}\n

    \n
    \n
    \n {{/if}}\n
    \n
    \n */\n {\n \"id\": \"DPFcv/Dh\",\n \"block\": \"[[[11,0],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bon-global-values-table w-12/12\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-700 mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.explanation\\\"],[[\\\"bon\\\",\\\"htmlSafe\\\"],[[28,[37,2],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]],true]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-y-6 gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-base font-semibold leading-6 text-white p-2 rounded-t-md\\\"],[12],[1,[28,[35,2],[\\\"financials.horizon\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 text-gray-700 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.horizon-explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"horizon\\\"],[12],[1,[30,0,[\\\"organisation\\\",\\\"horizon\\\"]]],[13],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.months\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-sm font-semibold leading-6 text-white p-2 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.ppw\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,2],[\\\"financials.person-weeks-full\\\"],null]],[1,\\\"]\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 text-gray-700 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.ppw-explanation\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"ppw\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"organisation\\\",\\\"ppw\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-base font-semibold leading-6 text-white p-2 rounded-t-md capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence-level\\\"],[[\\\"confidence\\\"],[[28,[37,2],[\\\"financials.confidence\\\"],null]]]]],[1,\\\"\\\\n (\\\"],[1,[28,[35,2],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\")\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 text-gray-700 text-sm\\\"],[12],[1,[28,[35,2],[\\\"financials.confidence-level-explanation\\\"],[[\\\"type\\\"],[[28,[37,2],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"investment-confidences\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"horizon p-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.low\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"low-confidence\\\"],[12],[1,[30,0,[\\\"lowConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"horizon p-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.medium\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"medium-confidence\\\"],[12],[1,[30,0,[\\\"mediumConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"horizon p-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.high\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"high-confidence\\\"],[12],[1,[30,0,[\\\"highConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-base font-semibold leading-6 text-white p-2 rounded-t-md capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence-level\\\"],[[\\\"confidence\\\"],[[28,[37,2],[\\\"financials.confidence\\\"],null]]]]],[1,\\\"\\\\n (\\\"],[1,[28,[35,2],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\")\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"p-2 text-gray-700 text-sm\\\"],[12],[1,[28,[35,2],[\\\"financials.confidence-level-explanation\\\"],[[\\\"type\\\"],[[28,[37,2],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"return-confidences\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.low\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"low-confidence\\\"],[12],[1,[30,0,[\\\"returnsLowConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.medium\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"medium-confidence\\\"],[12],[1,[30,0,[\\\"returnsMediumConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"horizon text-sm p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.high\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.confidence\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[14,0,\\\"p-2 pl-0 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.returns\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"*\\\"],[10,1],[14,\\\"test-id\\\",\\\"high-confidence\\\"],[12],[1,[30,0,[\\\"returnsHighConfidence\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"newCustomersV2Snippet\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-base font-semibold leading-6 text-white p-2 rounded-t-md capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.customer-values.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"px-2 pt-2 text-sm text-gray-700\\\"],[14,\\\"test-id\\\",\\\"explanation-text text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"financials.clv-definition\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"px-2 pb-2 text-sm text-gray-700\\\"],[14,\\\"test-id\\\",\\\"explanation-subtext text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"financials.clv-howto\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[14,\\\"test-id\\\",\\\"customer-values\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"organisation\\\",\\\"customer_values_options\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"horizon text-sm p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-sm text-gray-800 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"pl-0 p-2 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,\\\"test-id\\\",[29,[\\\"customer-value-\\\",[28,[37,9],[[30,2,[\\\"label\\\"]]],null]]]],[12],[1,[28,[35,5],[[30,2,[\\\"value\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-md shadow bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"bg-indigo-700 text-base font-semibold leading-6 text-white p-2 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"financials.clv\\\"],null]],[1,\\\"\\\\n [\\\"],[1,[28,[35,2],[\\\"financials.customer-lifetime-value\\\"],null]],[1,\\\"]\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"px-2 pt-2 text-sm text-gray-700\\\"],[14,\\\"test-id\\\",\\\"explanation-text text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"financials.clv-definition\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"px-2 pb-2 text-sm text-gray-700\\\"],[14,\\\"test-id\\\",\\\"explanation-subtext text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"financials.clv-howto\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,2],[14,0,\\\"font-semibold p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"clv\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"organisation\\\",\\\"clv_in_horizon\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"customer_value\\\"],[\\\"div\\\",\\\"p\\\",\\\"t\\\",\\\"h3\\\",\\\"span\\\",\\\"localize\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"lowercase\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisation/settings/global-bon-values.hbs\",\n \"isStrictMode\": false\n });\n let OrganisationSettingsGlobalBonValuesComponent = _exports.default = (_class = class OrganisationSettingsGlobalBonValuesComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"showPpwSlideover\", _descriptor3, this);\n _initializerDefineProperty(this, \"showInvestmentConfidenceSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"showReturnConfidenceSlideover\", _descriptor5, this);\n _initializerDefineProperty(this, \"showClvSlideover\", _descriptor6, this);\n _initializerDefineProperty(this, \"showHorizonSlideover\", _descriptor7, this);\n }\n togglePpwSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showPpwSlideover = flag;else this.showPpwSlideover = !this.showPpwSlideover;\n }\n toggleClvSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showClvSlideover = flag;else this.showClvSlideover = !this.showClvSlideover;\n }\n toggleInvestmentConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showInvestmentConfidenceSlideover = flag;else this.showInvestmentConfidenceSlideover = !this.showInvestmentConfidenceSlideover;\n }\n toggleReturnConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showReturnConfidenceSlideover = flag;else this.showReturnConfidenceSlideover = !this.showReturnConfidenceSlideover;\n }\n toggleHorizonSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showHorizonSlideover = flag;else this.showHorizonSlideover = !this.showHorizonSlideover;\n }\n get lowConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'Low')[0].value;\n }\n get mediumConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'Medium')[0].value;\n }\n get highConfidence() {\n return this.organisation.investmentConfidenceOptions.filter(item => item.label === 'High')[0].value;\n }\n get returnsLowConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'Low')[0].value;\n }\n get returnsMediumConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'Medium')[0].value;\n }\n get returnsHighConfidence() {\n return this.organisation.returnConfidenceOptions.filter(item => item.label === 'High')[0].value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showPpwSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showInvestmentConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showReturnConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"showClvSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showHorizonSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"togglePpwSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePpwSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleClvSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleClvSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleHorizonSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleHorizonSlideover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganisationSettingsGlobalBonValuesComponent);\n});","define(\"scaleflow/components/organisms/account-menu\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"tippy.js\", \"@ember/object\", \"scaleflow/utils/nameSort\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tippy, _object, _nameSort, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"tippy.js\",0,\"@ember/object\",0,\"scaleflow/utils/nameSort\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{this.profile.abbreviation}}\n \n
      \n
    • \n {{this.profile.abbreviation}}\n {{this.email}}\n
    • \n \n {{#if (can-access-feature \"settings\")}}\n \n {{/if}}\n \n {{#if (can-access-feature \"invitations\")}}\n {{#if this.organisation.inviting_is_disabled}}{{else}}\n \n {{t \"dictionary.invite-members\"}}\n \n {{/if}}\n {{/if}}\n
    \n
      \n \n
    \n \n {{#unless (eq this.organisationsList.length 1)}}\n \n
      \n
      \n \n \n \n {{t\n \"dictionary.switch-account\"\n }}\n {{#each this.organisationsList as |organisation|}}\n \n {{/each}}\n
      \n \n
    \n {{/unless}}\n
    \n \n */\n {\n \"id\": \"8X5aqNKb\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"flex-shrink-0 cursor-pointer\\\"],[24,\\\"data-cy\\\",\\\"account-menu\\\"],[17,1],[4,[38,1],[[30,0,[\\\"menuTippy\\\"]]],null]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\"],[\\\"8\\\",\\\"sm\\\",[30,0,[\\\"profile\\\",\\\"color\\\"]],[30,0,[\\\"profile\\\",\\\"name\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[1,[30,0,[\\\"profile\\\",\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"tippy-dropdown\\\"],[24,\\\"data-cy\\\",\\\"account-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"border-b border-gray-200 pb-2 mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"li\\\"],[14,0,\\\"flex w-full text-gray-700 items-center p-2 space-x-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,0],[[24,0,\\\"flex-shrink-0\\\"],[24,\\\"data-cy\\\",\\\"avatar\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"profile\\\",\\\"color\\\"]],[30,0,[\\\"profile\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,0,[\\\"profile\\\",\\\"abbreviation\\\"]]]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"data-cy\\\",\\\"account-mail\\\"],[14,0,\\\"overflow-hidden text-ellipsis\\\"],[12],[1,[30,0,[\\\"email\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,7],[\\\"settings\\\"],null],[[[1,\\\" \\\"],[8,[39,8],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"],[4,[38,10],[[30,0,[\\\"tippyInstance\\\"]]],null]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"settings\\\",[28,[37,9],[\\\"dictionary.settings\\\"],null],[30,0,[\\\"accountSettings\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,7],[\\\"invitations\\\"],null],[[[1,\\\" \\\"],[41,[30,0,[\\\"organisation\\\",\\\"inviting_is_disabled\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"data-cy\\\",\\\"list-dropdown-invite\\\"]],[[\\\"@menuClick\\\"],[[30,0,[\\\"handleInviteClick\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"w-6 h-6 shrink-0 text-gray-400\\\"]],null,null],[10,1],[12],[1,[28,[35,9],[\\\"dictionary.invite-members\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"data-cy\\\",\\\"profile-logout\\\"]],[[\\\"@title\\\",\\\"@icon\\\",\\\"@menuClick\\\"],[[29,[[28,[37,9],[\\\"dictionary.log-out\\\"],null]]],\\\"logout\\\",[30,0,[\\\"logout\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[28,[37,13],[[30,0,[\\\"organisationsList\\\",\\\"length\\\"]],1],null]],[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"border-t border-gray-200 pt-2 mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,\\\"data-cy\\\",\\\"expand-orgs\\\"]],[[\\\"@title\\\",\\\"@icon\\\",\\\"@menuClick\\\"],[[29,[[28,[37,9],[\\\"dictionary.switch-account\\\"],null]]],[52,[30,0,[\\\"expanded\\\"]],\\\"chevron/up\\\",\\\"chevron/down\\\"],[30,0,[\\\"expandOrganisations\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"overflow-hidden transition-all duration-300\\\\n \\\",[52,[30,0,[\\\"expanded\\\"]],\\\"max-h-[400px] overflow-y-auto\\\",\\\"max-h-0\\\"]]]],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xxs text-gray-500 uppercase\\\"],[12],[1,[28,[35,9],[\\\"dictionary.switch-account\\\"],null]],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,16],[[28,[37,16],[[30,0,[\\\"organisationsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,8],[[16,\\\"disabled\\\",[28,[30,0,[\\\"isCurrentOrganisation\\\"]],[[30,2,[\\\"id\\\"]]],null]]],[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconClasses\\\",\\\"@menuClick\\\",\\\"@labelClass\\\"],[[30,2,[\\\"name\\\"]],[52,[28,[30,0,[\\\"isCurrentOrganisation\\\"]],[[30,2,[\\\"id\\\"]]],null],\\\"check\\\",\\\"\\\"],\\\"text-green-600\\\",[28,[37,17],[[30,0,[\\\"handleOrgSwitch\\\"]],[30,2]],null],\\\"inline-block overflow-hidden text-ellipsis\\\"]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"&attrs\\\",\\\"organisation\\\"],[\\\"avatar\\\",\\\"render-modifiers/on-insert\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"li\\\",\\\"span\\\",\\\"if\\\",\\\"can-access-feature\\\",\\\"molecules/menu-actions\\\",\\\"t\\\",\\\"hide-tippy-on-click\\\",\\\"tailwind-icons/user-add\\\",\\\"unless\\\",\\\"eq\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/account-menu.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsAccountMenuComponent = _exports.default = (_dec = (0, _service.service)('current-user'), _class = class OrganismsAccountMenuComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"emailInvite\", _descriptor3, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor5, this);\n _initializerDefineProperty(this, \"expanded\", _descriptor6, this);\n _defineProperty(this, \"tippyInstance\", void 0);\n }\n get email() {\n return this.currentUser.email;\n }\n get profile() {\n return this.currentUser.currentUser;\n }\n menuTippy(element) {\n let tigger = element;\n let dropdown = element.querySelector('.tippy-dropdown');\n let self = this;\n this.tippyInstance = (0, _tippy.default)(tigger, {\n content: dropdown,\n placement: 'bottom-end',\n arrow: false,\n trigger: 'click',\n interactive: true,\n offset: [0, 8],\n onShow() {\n self.isOpen = true;\n },\n onHide() {\n self.isOpen = false;\n }\n });\n }\n accountSettings() {\n this.router.transitionTo('settings.account');\n this.tippyInstance.hide();\n }\n isCurrentOrganisation(organisation_id) {\n return this.organisation?.organisation?.id === organisation_id;\n }\n logout() {\n this.router.transitionTo('logout');\n }\n get organisationsList() {\n return this.organisation.organisationList.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name));\n }\n handleInviteClick() {\n this.emailInvite.toggleInviteModal(true);\n this.tippyInstance.hide();\n }\n expandOrganisations() {\n this.expanded = !this.expanded;\n }\n async handleOrgSwitch(organisation) {\n await this.router.clearAllQueryParams();\n this.organisation.switchOrganisation(organisation.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"emailInvite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"expanded\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"menuTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"menuTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"accountSettings\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"accountSettings\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isCurrentOrganisation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isCurrentOrganisation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"logout\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"logout\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInviteClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInviteClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"expandOrganisations\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"expandOrganisations\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleOrgSwitch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOrgSwitch\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsAccountMenuComponent);\n});","define(\"scaleflow/components/organisms/approach-plan-list\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n {{!-- {{#if @week.is_current_week}} --}}\n {{#if this.weekHasNotes}}\n {{#if this.openWeek}}\n \n {{/if}}\n {{/if}}\n {{!-- {{/if}} --}}\n
    \n */\n {\n \"id\": \"Q+2F1rNr\",\n \"block\": \"[[[10,0],[14,0,\\\"transition ease-in duration-50\\\"],[15,\\\"data-week-id\\\",[30,1,[\\\"id\\\"]]],[12],[1,\\\"\\\\n \\\"],[8,[39,1],null,[[\\\"@week\\\",\\\"@initiativeId\\\",\\\"@toggleWeek\\\",\\\"@index_position\\\"],[[30,1],[30,2],[30,0,[\\\"toggleWeek\\\"]],[30,3]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"weekHasNotes\\\"]],[[[41,[30,0,[\\\"openWeek\\\"]],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@week\\\",\\\"@initiativeId\\\",\\\"@show\\\"],[[30,1],[30,2],[30,0,[\\\"openWeek\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[13]],[\\\"@week\\\",\\\"@initiativeId\\\",\\\"@index_position\\\"],[\\\"div\\\",\\\"molecules/approach-plan-header\\\",\\\"if\\\",\\\"molecules/approach-plan-list-item\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/approach-plan-list.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsApproachPlanListComponent = _exports.default = (_class = class OrganismsApproachPlanListComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"openWeek\", _descriptor, this);\n if (this.args.week.is_current_week) this.args.week.is_current_week = true;\n }\n toggleWeek() {\n this.args.week.weekOpen = !(this.args.week.weekOpen ?? false);\n this.openWeek = this.args.week.weekOpen;\n }\n get weekHasNotes() {\n return !(this.args.week.text_delta === undefined || this.args.week.text_delta?.ops?.length === 0 || this.args.week.text_delta?.ops?.[0]?.insert === '\\n');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"openWeek\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleWeek\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleWeek\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsApproachPlanListComponent);\n});","define(\"scaleflow/components/organisms/approach-planning\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"dragula\", \"dragula/dist/dragula.css\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _service, _tracking, _dragula, _dragula2, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"dragula\",0,\"dragula/dist/dragula.css\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n {{#if (has-block)}}\n {{yield}}\n {{/if}}\n \n \n \n \n \n \n \n {{#if this.defaultDate}}\n W\n {{/if}}\n \"\n @noCalendar={{false}}\n @onChange={{this.onDateChange}}\n @weekNumbers={{true}}\n @onReady={{this.onReady}}\n class=\"text-sm\n {{if this.defaultDate 'w-[80px]' 'w-[100px]'}}\n text-gray-700 focus-visible:outline-none p-0 border-0\"\n />\n \n
    \n
    \n \n \n {{#each this.sortedWeeks as |week|~}}\n
    \n \n {{#if week.weekOpen}}\n \n {{/if}}\n
    \n {{~/each~}}\n
    \n \n \n \n \n */\n {\n \"id\": \"c696iHYt\",\n \"block\": \"[[[11,\\\"article\\\"],[24,0,\\\"flex flex-col leading-10 justify-between approach-container\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center mb-6\\\"],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,6]],[[[1,\\\" \\\"],[18,6,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"mr-2\\\"]],null,[[\\\"default\\\"],[[[[8,[39,6],[[24,0,\\\"w-8 h-8 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@hideClearOption\\\",\\\"@tippy\\\"],[[30,0,[\\\"sortOptions\\\"]],[30,0,[\\\"groupBy\\\"]],[30,0,[\\\"handleSortSelect\\\"]],true,true]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"flex items-center border-gray-300 border-solid !py-1.5 shrink-0\\\"],[4,[38,9],[\\\"click\\\",[30,0,[\\\"toggleDatepicker\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-6 h-6 text-gray-400 mr-2 shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"defaultDate\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-sm text-gray-700\\\"],[12],[1,\\\"W\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,12],[[16,\\\"placeholder\\\",[29,[[28,[37,13],[\\\"dictionary.choose-date\\\"],null]]]],[16,0,[29,[\\\"text-sm\\\\n \\\",[52,[30,0,[\\\"defaultDate\\\"]],\\\"w-[80px]\\\",\\\"w-[100px]\\\"],\\\"\\\\n text-gray-700 focus-visible:outline-none p-0 border-0\\\"]]]],[[\\\"@allowInput\\\",\\\"@clickOpens\\\",\\\"@date\\\",\\\"@dateFormat\\\",\\\"@disable\\\",\\\"@disableMobile\\\",\\\"@inline\\\",\\\"@mode\\\",\\\"@nextArrow\\\",\\\"@noCalendar\\\",\\\"@onChange\\\",\\\"@weekNumbers\\\",\\\"@onReady\\\"],[false,false,[30,0,[\\\"defaultDate\\\"]],\\\"W, d M\\\",[28,[37,14],[[30,0,[\\\"datesToDisable\\\"]]],null],false,false,\\\"single\\\",\\\">\\\",false,[30,0,[\\\"onDateChange\\\"]],true,[30,0,[\\\"onReady\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col gap-2 ml-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[11,0],[24,1,\\\"draggable-container\\\"],[4,[38,15],[[30,0,[\\\"onDraggableContainerRender\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,17],[[28,[37,17],[[30,0,[\\\"sortedWeeks\\\"]]],null]],null],null,[[[10,0],[14,0,\\\"py-2\\\"],[15,\\\"data-week-id\\\",[30,2,[\\\"id\\\"]]],[12],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@week\\\",\\\"@initiativeId\\\",\\\"@tags\\\",\\\"@mentions\\\",\\\"@index_position\\\"],[[30,2],[30,3],[30,4],[30,5],[30,2,[\\\"position\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"weekOpen\\\"]],[[[1,\\\" \\\"],[8,[39,19],[[24,0,\\\"my-4\\\"]],[[\\\"@source\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@visibleBadges\\\",\\\"@parentType\\\",\\\"@placeholderText\\\",\\\"@groupBy\\\"],[\\\"week\\\",[30,2],[28,[37,20],[[30,2,[\\\"id\\\"]],\\\"week\\\",false],null],\\\"tfo\\\",[30,0,[\\\"visibleBadges\\\"]],\\\"week\\\",[28,[37,13],[\\\"dictionary.add-item\\\"],null],[30,0,[\\\"groupBy\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13]],[2]],null],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"z-10\\\"]],[[\\\"@initiativeId\\\",\\\"@createWeek\\\"],[[30,3],[30,0,[\\\"createWeek\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"week\\\",\\\"@initiativeId\\\",\\\"@tags\\\",\\\"@mentions\\\",\\\"&default\\\"],[\\\"article\\\",\\\"div\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/sortby\\\",\\\"dropdowns/single-select\\\",\\\"atoms/buttons/button\\\",\\\"on\\\",\\\"atoms/icons/calendar\\\",\\\"span\\\",\\\"flatpickr\\\",\\\"t\\\",\\\"array\\\",\\\"render-modifiers/on-insert\\\",\\\"each\\\",\\\"-track-array\\\",\\\"organisms/approach-plan-list\\\",\\\"list/list\\\",\\\"parent-tfos\\\",\\\"molecules/approach-create-week\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/approach-planning.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsApproachPlanningComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _service.service)('beta-toggle'), _class = class OrganismsApproachPlanningComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"useSwap\", _descriptor2, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"groupBy\", _descriptor5, this);\n _defineProperty(this, \"datepickerInstance\", null);\n _defineProperty(this, \"visibleBadges\", ['teams', 'workstreams', 'weeks']);\n _defineProperty(this, \"draggableWeeks\", null);\n _defineProperty(this, \"datesToDisable\", date => {\n const momentDate = (0, _moment.default)(date);\n const first_day_of_week = this.orgService?.first_day_of_week;\n if (first_day_of_week) return +momentDate.isoWeekday() !== +first_day_of_week;else return +momentDate.isoWeekday() !== 7;\n });\n }\n get initiative() {\n return this.store.peekRecord('initiative', this.args.initiativeId);\n }\n get sortedWeeks() {\n const weeks = this.weeks.content;\n const sortedWeeks = [...weeks.slice()].sort((a, b) => {\n if (a.position > b.position) return 1;\n if (a.position < b.position) return -1;\n return 0;\n });\n sortedWeeks.forEach(week => {\n if (week.is_current_week) week.weekOpen = true;\n });\n return sortedWeeks;\n }\n get weeks() {\n return this.initiative.get('weeks');\n }\n get sortOptions() {\n return [{\n label: 'Group by Workstream',\n value: 'workstream'\n }, {\n label: 'Group by Assignee',\n value: 'assignee'\n }];\n }\n async createWeek() {\n let initiative = this.store.peekRecord('initiative', this.args.initiativeId);\n let position = await this.lastWeekPosition();\n let week = this.store.createRecord('week', {\n title: 'The one where...',\n text: '',\n position,\n initiative\n });\n week.save();\n }\n async lastWeekPosition() {\n let weeksArray = await this.weeks;\n if (weeksArray.length === 0) {\n return 1;\n }\n let lastWeek = this.store.peekRecord('week', weeksArray[weeksArray.length - 1].id);\n return lastWeek.position + 1;\n }\n onDrop(el, target) {\n const containerChildren = target.children;\n const length = containerChildren.length;\n for (let i = 1; i <= length; i++) {\n const id = containerChildren[i - 1].dataset.weekId;\n const week = this.store.peekRecord('week', id);\n week.position = i;\n week.save();\n }\n }\n onDrag() {}\n onDraggableContainerRender(e) {\n this.draggableWeeks = (0, _dragula.default)({\n containers: [document.getElementById(e.id)],\n revertOnSpill: true,\n direction: 'vertical',\n moves: function (_, source, handle) {\n return handle?.classList?.value?.indexOf('sort-icon') > 0;\n }\n });\n this.draggableWeeks.on('drop', this.onDrop);\n this.draggableWeeks.on('drag', this.onDrag);\n }\n get defaultDate() {\n const starting_week = this.initiative?.starting_week;\n if (!starting_week) return null;else {\n let date = null;\n const parsed = starting_week.split(':')[0];\n const first_day_of_week = this.orgService?.organisation?.first_day_of_week;\n if (first_day_of_week) date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n return date.toDate();\n }\n }\n onDateChange(e) {\n const date = e[0];\n const first_day_of_week = this.orgService?.first_day_of_week;\n let formattedDate;\n if (first_day_of_week) formattedDate = (0, _moment.default)(date).day(first_day_of_week);else formattedDate = (0, _moment.default)(date).startOf('week').add('1', 'day');\n const secondDate = formattedDate.clone().add(2, 'weeks');\n const starting_week = `${formattedDate.format('yyyy-WW')}:${secondDate.format('yyyy-WW')}`;\n const initiative = this.initiative;\n initiative.starting_week = starting_week;\n initiative.save();\n }\n onReady(_, __, instance) {\n this.datepickerInstance = instance;\n }\n toggleDatepicker() {\n this.datepickerInstance.toggle();\n }\n handleSortSelect(e) {\n this.groupBy = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"useSwap\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"groupBy\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'workstream';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createWeek\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createWeek\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDrop\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDrop\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDrag\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDrag\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDraggableContainerRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDraggableContainerRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDateChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDatepicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDatepicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSortSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSortSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsApproachPlanningComponent);\n});","define(\"scaleflow/components/organisms/archive-list\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#each-in @model as |date items|}}\n {{#if (this.hasArchives items)}}\n
    \n
    \n

    {{date}}

    \n
    \n
    \n
      \n {{#each items as |item|}}\n {{#if item.archived}}\n \n {{/if}}\n {{/each}}\n
    \n
    \n {{/if}}\n {{/each-in}}\n
    \n */\n {\n \"id\": \"s+5xC1Lf\",\n \"block\": \"[[[11,0],[24,0,\\\"flex flex-col\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[30,2]],null],null,[[[41,[28,[30,0,[\\\"hasArchives\\\"]],[[30,3]],null],[[[1,\\\" \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h4\\\"],[14,0,\\\"text-xs text-gray-400\\\"],[14,\\\"data-cy\\\",\\\"archive-date\\\"],[12],[1,[30,4]],[13],[1,\\\"\\\\n \\\"],[10,\\\"hr\\\"],[14,0,\\\"ml-2 flex-grow rounded\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"pl-6 mb-8 flex flex-col list-disc\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,3]],null]],null],null,[[[41,[30,5,[\\\"archived\\\"]],[[[1,\\\" \\\"],[8,[39,8],null,[[\\\"@item\\\",\\\"@parent_id\\\",\\\"@allCommentsOpen\\\",\\\"@badges\\\"],[[30,5],[30,6],[30,7],[30,8]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[5]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[3,4]],null],[13]],[\\\"&attrs\\\",\\\"@model\\\",\\\"items\\\",\\\"date\\\",\\\"item\\\",\\\"@parent_id\\\",\\\"@allCommentsOpen\\\",\\\"@badges\\\"],[\\\"div\\\",\\\"each\\\",\\\"-each-in\\\",\\\"if\\\",\\\"h4\\\",\\\"hr\\\",\\\"ul\\\",\\\"-track-array\\\",\\\"molecules/archive-item\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/archive-list.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsArchiveListComponent = _exports.default = (_class = class OrganismsArchiveListComponent extends _component2.default {\n hasArchives(items) {\n return items.filter(item => item.archived === true).length !== 0;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"hasArchives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hasArchives\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsArchiveListComponent);\n});","define(\"scaleflow/components/organisms/comment-list\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _service, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n {{#if this.showFullList}}\n \n \n {{else}}\n \n \n \n {{/if}}\n \n
    \n \n */\n {\n \"id\": \"KuH7tbje\",\n \"block\": \"[[[10,0],[14,0,\\\"comments lg:ml-12 lg:pr-8 flex flex-col\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"comments-list relative flex flex-col flex-shrink text-gray-500\\\\n \\\",[52,[30,0,[\\\"showFullList\\\"]],\\\"comments-list--open\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showFullList\\\"]],[[[1,\\\" \\\"],[8,[39,2],null,[[\\\"@item\\\",\\\"@onFastExit\\\",\\\"@openList\\\",\\\"@onActivate\\\",\\\"@activeComment\\\",\\\"@deactivate\\\",\\\"@interactive\\\"],[[30,1],[30,2],[30,0,[\\\"openList\\\"]],[30,3],[30,4],[30,5],[30,6]]],null],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,\\\"data-cy\\\",\\\"open-comments\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"openList\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@item\\\",\\\"@onFastExit\\\",\\\"@openList\\\",\\\"@onActivate\\\",\\\"@activeComment\\\",\\\"@interactive\\\"],[[30,1],[30,2],[30,0,[\\\"openList\\\"]],[30,3],[30,4],[30,6]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@item\\\",\\\"@newComment\\\",\\\"@onActivate\\\",\\\"@activeComment\\\",\\\"@deactivate\\\",\\\"@interactive\\\"],[\\\"div\\\",\\\"if\\\",\\\"molecules/comment-loop\\\",\\\"button\\\",\\\"on\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/comment-list.hbs\",\n \"isStrictMode\": false\n });\n let commentListComponent = _exports.default = (_dec = (0, _service.service)('current-user'), _class = class commentListComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"_showFullList\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n }\n get showFullList() {\n if (this.args.allCommentsOpen) {\n return this.args.allCommentsOpen;\n } else if (this.args.showComments && this.args.itemActive) {\n return this.args.showComments;\n } else {\n return this._showFullList;\n }\n }\n set showFullList(value) {\n this._showFullList = value;\n }\n openList() {\n if (this.args.openList && !this.showFullList) {\n this.args.openList();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_showFullList\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"openList\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openList\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, commentListComponent);\n});","define(\"scaleflow/components/organisms/initiative-list-item-dropdown\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"tippy.js\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tippy, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"tippy.js\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n
      \n {{#each @menuOptions as |action|}}\n \n {{/each}}\n
    \n
    \n \n \n */\n {\n \"id\": \"vuw0QQ9U\",\n \"block\": \"[[[11,0],[24,0,\\\"flex relative group\\\"],[17,1],[4,[38,1],[[30,0,[\\\"closeMenu\\\"]]],null],[4,[38,2],[[30,0,[\\\"createTippy\\\"]]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"list-item-dropdown transition px-2 opacity-0 focus:text-gray-800 focus:opacity-100 group-hover:opacity-100 group-hover:text-gray-400 cursor-pointer hover:text-gray-800\\\"],[14,\\\"data-cy\\\",\\\"list-dropdown-button\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"tippy-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,2]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[16,\\\"data-cy\\\",[29,[\\\"list-dropdown-\\\",[30,3,[\\\"title\\\"]]]]]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\",\\\"@closeMenu\\\"],[[30,3,[\\\"icon\\\"]],[30,3,[\\\"title\\\"]],[30,3,[\\\"menuFunction\\\"]],[30,0,[\\\"closeMenu\\\"]]]],null],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@menuOptions\\\",\\\"action\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"atoms/icons/item-menu\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/initiative-list-item-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsInitiativeListItemDropdownComponent = _exports.default = (_class = class OrganismsInitiativeListItemDropdownComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"tippyInstance\", void 0);\n _initializerDefineProperty(this, \"isOpen\", _descriptor2, this);\n }\n createTippy(element) {\n let tigger = element.querySelector('.list-item-dropdown');\n let dropdown = element.querySelector('.tippy-dropdown');\n let self = this;\n this.tippyInstance = (0, _tippy.default)(tigger, {\n content: dropdown,\n arrow: false,\n trigger: 'click',\n interactive: true,\n offset: [-24, 4],\n onShow() {\n this.is_open = true;\n if (self.args.itemSelected) {\n self.args.itemSelected(true);\n }\n },\n onHide() {\n this.is_open = false;\n if (self.args.itemSelected) {\n self.args.itemSelected(false);\n }\n }\n });\n }\n closeMenu() {\n this.tippyInstance.hide();\n this.is_open = false;\n if (this.args.itemSelected) {\n this.args.itemSelected(false);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsInitiativeListItemDropdownComponent);\n});","define(\"scaleflow/components/organisms/list-item-dropdown\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"tippy.js\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tippy, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"tippy.js\",0,\"@glimmer/tracking\",0,\"tippy.js\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n
      \n \n {{#unless @disableComments}}\n \n {{/unless}}\n \n \n {{#unless this.isPlanning}}\n \n {{/unless}}\n \n \n \n \n
    \n
    \n \n \n */\n {\n \"id\": \"+A1X7HW+\",\n \"block\": \"[[[11,0],[24,0,\\\"flex group\\\"],[17,1],[4,[38,1],[[30,0,[\\\"closeMenu\\\"]]],null],[4,[38,2],[[30,0,[\\\"createTippy\\\"]]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"button\\\"],[15,0,[29,[\\\"list-item-dropdown transition px-2 opacity-0 focus:text-gray-800 focus:opacity-100 group-hover:opacity-100 group-hover:text-gray-400 cursor-pointer hover:text-gray-800\\\\n \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"opacity-100\\\"],\\\"\\\\n \\\"]]],[14,\\\"data-cy\\\",\\\"list-dropdown-button\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],null,null,null],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"tippy-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\" \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"list-dropdown-comment\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"comment\\\",\\\"Comment\\\",[30,0,[\\\"createComment\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"list-dropdown-copy\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"copy\\\",\\\"Copy Link\\\",[30,0,[\\\"copyLink\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"isPlanning\\\"]]],[[[1,\\\" \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"archive\\\",\\\"Archive\\\",[30,0,[\\\"archiveQuestion\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"list-dropdown-delete\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"delete\\\",\\\"Delete\\\",[30,0,[\\\"deleteItem\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@disableComments\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"if\\\",\\\"atoms/icons/item-menu\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"unless\\\",\\\"molecules/menu-actions\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/list-item-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsListItemDropdownComponent = _exports.default = (_dec = (0, _service.service)('editor-active'), _class = class OrganismsListItemDropdownComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"teams\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"editorActiveService\", _descriptor4, this);\n _defineProperty(this, \"innerTippyInstance_workstreams\", void 0);\n _defineProperty(this, \"innerTippyInstance_teams\", void 0);\n _defineProperty(this, \"innerTippyInstance_weeks\", void 0);\n _initializerDefineProperty(this, \"isOpen\", _descriptor5, this);\n _initializerDefineProperty(this, \"dynamicList\", _descriptor6, this);\n _defineProperty(this, \"listType\", null);\n }\n get isWorkstream() {\n return this.args.parentType === 'workstream';\n }\n get isPlanning() {\n return this.args.parentType === 'week';\n }\n get isOther() {\n return this.args.source === 'other';\n }\n get isTeamTFO() {\n return this.args.parentType === 'team' && this.args.type === 'tfo' && this.args?.initiativeTags?.length && true;\n }\n get itemWeek() {\n return this.args.item.get('week.id');\n }\n get isLinkedItem() {\n if (this.args.type === 'uncertainty' || this.args.type === 'wfa') return false;\n return this.args.item?.get('week')?.isTruthy ||\n // this.args.item?.get('initiative')?.isTruthy ||\n // this.args.item?.get('workstream')?.isTruthy ||\n false;\n }\n get showInnerDropdown() {\n return this.isWorkstream || this.isPlanning || this.isTeamTFO;\n }\n createTippy(element) {\n let trigger = element.querySelector('.list-item-dropdown');\n let dropdown = element.querySelector('.tippy-dropdown');\n let self = this;\n this.tippyInstance = (0, _tippy.default)(trigger, {\n content: dropdown,\n arrow: false,\n trigger: 'click',\n interactive: true,\n offset: [-24, 4],\n appendTo: element,\n // is_open: true,\n onShow() {\n self.isOpen = true;\n self.args.onActivate();\n if (self.args.itemSelected) {\n self.args.itemSelected(true);\n }\n },\n onHide() {\n self.isOpen = false;\n // self.innerTippyInstance?.hide?.();\n if (self.args.itemSelected) {\n self.args.itemSelected(false);\n }\n }\n });\n }\n closeMenu() {\n this.tippyInstance.hide();\n this.is_open = false;\n if (this.args.itemSelected) {\n this.args.itemSelected(false);\n }\n }\n closeInnerDropdown() {\n (0, _tippy.hideAll)();\n }\n createComment() {\n this.args.onNewComment();\n this.closeMenu();\n }\n deleteItem() {\n if (this.args.onDelete) {\n this.args.onDelete();\n } else {\n this.args.item.destroyRecord();\n }\n this.closeMenu();\n }\n archiveQuestion() {\n let item = this.args.item;\n // item.displayDate = moment().format('YYYY-MM-DD');\n item.archived = true;\n item.save();\n this.closeMenu();\n }\n copyLink() {\n const href = window.location.href;\n const baseUrl = href.split('?')[0];\n let urlParams = new URLSearchParams();\n urlParams.append('item', this.args.item.id);\n let url = `${baseUrl}/?${urlParams.toString()}`;\n navigator.clipboard.writeText(url);\n this.closeMenu();\n }\n deactivateItem() {\n this.editorActiveService.clearActiveEditor();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"editorActiveService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"dynamicList\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeInnerDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeInnerDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createComment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createComment\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveQuestion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveQuestion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"copyLink\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyLink\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deactivateItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deactivateItem\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsListItemDropdownComponent);\n});","define(\"scaleflow/components/organisms/list-title-dropdown\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"tippy.js\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tippy, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/object\",0,\"tippy.js\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n
      \n {{#if (eq @parentType \"workstream\")}}\n \n \n \n \n {{/if}}\n
    \n
    \n \n */\n {\n \"id\": \"2whmxkJ3\",\n \"block\": \"[[[11,0],[24,0,\\\"flex group\\\"],[17,1],[4,[38,1],[[30,0,[\\\"closeMenu\\\"]]],null],[4,[38,2],[[30,0,[\\\"createTippy\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[15,0,[29,[\\\"list-title-dropdown transition px-2\\\\n \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"opacity-100 text-gray-800\\\",\\\"cursor:opacity-0 text-gray-400 hover:text-gray-800\\\"],\\\"\\\\n group-hover:opacity-100 cursor-pointer\\\"]]],[15,\\\"data-cy\\\",[29,[[30,2],\\\"-title-dropdown-button\\\"]]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"tippy-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,3],\\\"workstream\\\"],null],[[[1,\\\" \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"workstream-dropdown-edit\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"edit\\\",[28,[37,10],[\\\"dictionary.edit\\\"],null],[30,0,[\\\"editParentTitle\\\"]]]],null],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"!my-2\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,9],[[24,\\\"data-cy\\\",\\\"workstream-dropdown-delete\\\"]],[[\\\"@icon\\\",\\\"@title\\\",\\\"@menuClick\\\"],[\\\"delete\\\",[28,[37,10],[\\\"dictionary.delete\\\"],null],[30,0,[\\\"deleteParent\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@type\\\",\\\"@parentType\\\"],[\\\"div\\\",\\\"on-click-outside\\\",\\\"render-modifiers/on-insert\\\",\\\"button\\\",\\\"if\\\",\\\"atoms/icons/item-menu\\\",\\\"molecules/dropdown\\\",\\\"ul\\\",\\\"eq\\\",\\\"molecules/menu-actions\\\",\\\"t\\\",\\\"atoms/divider\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/list-title-dropdown.hbs\",\n \"isStrictMode\": false\n });\n let OrganismsListItemDropdownComponent = _exports.default = (_class = class OrganismsListItemDropdownComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _defineProperty(this, \"tippyInstance\", void 0);\n _initializerDefineProperty(this, \"isOpen\", _descriptor3, this);\n }\n createTippy(element) {\n let tigger = element.querySelector('.list-title-dropdown');\n let dropdown = element.querySelector('.tippy-dropdown');\n let self = this;\n this.tippyInstance = (0, _tippy.default)(tigger, {\n content: dropdown,\n arrow: false,\n trigger: 'click',\n placement: 'right-start',\n interactive: true,\n animation: 'shift-away',\n offset: [-24, 4],\n onShow() {\n self.isOpen = true;\n },\n onHide() {\n self.isOpen = false;\n }\n });\n }\n closeMenu() {\n this.tippyInstance.hide();\n }\n navigateToWorkstreamArchives() {\n const workstream = this.store.peekRecord('workstream', this.args.parentId);\n this.closeMenu();\n this.router.transitionTo('backlog.initiatives.initiative.workstreams.workstream.archive', workstream.get('initiative.id'), workstream.id);\n }\n showArchive(type) {\n let base_path = '';\n let path = '';\n if (this.args.parentType === 'workstream') return this.navigateToWorkstreamArchives();\n if (this.args.parentType === 'initiative') base_path = 'initiatives.initiative.planning.archive';\n if (this.args.parentType === 'team') base_path = 'operations.teams.team.check-in.archive';\n switch (type) {\n case 'll':\n path = 'lessons-learned';\n break;\n case 'tfo':\n path = 'to-figure-outs';\n break;\n case 'uncertainty':\n path = 'uncertainties';\n break;\n case 'wfa':\n path = 'waiting-for-answers';\n break;\n default:\n path = 'questions';\n }\n this.closeMenu();\n this.router.transitionTo(`${base_path}.${path}`, this.args.parentId);\n }\n deleteParent() {\n const parentItem = this.store.peekRecord(this.args.parentType, this.args.parentId);\n parentItem.destroyRecord();\n }\n editParentTitle() {\n this?.args?.editParentTitle?.();\n this.closeMenu();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"createTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"navigateToWorkstreamArchives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"navigateToWorkstreamArchives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showArchive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showArchive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteParent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteParent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editParentTitle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editParentTitle\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OrganismsListItemDropdownComponent);\n});","define(\"scaleflow/components/organisms/radio-options\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#each @options as |option|}}\n \n
    \n
    \n \n \n
    \n
    \n \n {{option.label}}\n \n

    \n {{option.description}}\n

    \n
    \n
    \n \n {{/each}}\n */\n {\n \"id\": \"Bt0vxEY/\",\n \"block\": \"[[[42,[28,[37,1],[[28,[37,1],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[11,0],[16,0,[29,[[52,[30,2,[\\\"description\\\"]],\\\"mb-3\\\",\\\"mb-5\\\"],\\\" last:mb-0\\\"]]],[24,\\\"data-testid\\\",\\\"radio-option\\\"],[17,3],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex form-check\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,0,\\\"form-check-input appearance-none rounded-full h-4 w-4 border border-gray-600 bg-white checked:bg-primary-700 checked:border-primary-700 focus:outline-none transition duration-200 bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer checked:shadow-[0_0_0_3px_rgb(255,255,255)_inset]\\\"],[16,1,[29,[\\\"option-\\\",[30,2,[\\\"value\\\"]]]]],[16,2,[30,2,[\\\"value\\\"]]],[16,\\\"checked\\\",[28,[37,5],[[30,2,[\\\"value\\\"]],[30,4]],null]],[16,3,[30,5]],[24,4,\\\"radio\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectOption\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-mt-[4px]\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-sm inline-block text-gray-800\\\"],[15,\\\"for\\\",[29,[\\\"option-\\\",[30,2,[\\\"value\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"description\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]],null]],[\\\"@options\\\",\\\"option\\\",\\\"&attrs\\\",\\\"@value\\\",\\\"@name\\\"],[\\\"each\\\",\\\"-track-array\\\",\\\"div\\\",\\\"if\\\",\\\"input\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"label\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/organisms/radio-options.hbs\",\n \"isStrictMode\": false\n });\n let RadioOptionsComponent = _exports.default = (_class = class RadioOptionsComponent extends _component2.default {\n selectOption(option) {\n if (this.args.changeset) {\n this.args.changeset.set(this.args.name, option.value);\n }\n this.args?.handleOptionSelect?.(option);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"selectOption\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"selectOption\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RadioOptionsComponent);\n});","define(\"scaleflow/components/page-headers/filter-actions\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.filterActionSelector}}\n {{#in-element this.filterActionSelector}}\n
    \n {{yield}}\n
    \n {{/in-element}}\n {{/if}}\n */\n {\n \"id\": \"ozzJFRNN\",\n \"block\": \"[[[41,[30,0,[\\\"filterActionSelector\\\"]],[[[40,[[[1,\\\" \\\"],[10,0],[14,0,\\\"py-2\\\"],[12],[1,\\\"\\\\n \\\"],[18,1,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,2],[[30,0,[\\\"filterActionSelector\\\"]]],null]]],[]],null]],[\\\"&default\\\"],[\\\"if\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/filter-actions.hbs\",\n \"isStrictMode\": false\n });\n class PageHeadersFilterActionsComponent extends _component2.default {\n get filterActionSelector() {\n return document.querySelector('#filter-action');\n }\n }\n _exports.default = PageHeadersFilterActionsComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PageHeadersFilterActionsComponent);\n});","define(\"scaleflow/components/page-headers/filters-layer\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"lodash\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _lodash, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"lodash\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.filters.length}}\n \n {{#each this.filters as |filter|}}\n {{#if filter.value.length}}\n \n {{#if filter.icon}}\n \n {{#if (eq filter.icon \"user\")}}\n \n {{filter.abbreviation}}\n \n {{/if}}\n \n {{#if (eq filter.icon \"teams\")}}\n \n \n \n {{/if}}\n \n {{#if (eq filter.icon \"theme\")}}\n \n {{/if}}\n \n {{#if (eq filter.icon \"initiative\")}}\n \n {{/if}}\n \n {{#if (eq filter.icon \"grouping\")}}\n \n {{/if}}\n \n {{/if}}\n {{filter.label}}\n \n \n \n \n {{/if}}\n {{/each}}\n \n {{#if this.showMoreButton}}\n {{this.extraFiltersLength}} {{t \"dictionary.more\"}}\n {{/if}}\n \n {{#if this.showLessButton}}\n {{t \"dictionary.show\"}} {{t \"dictionary.less\"}}\n {{/if}}\n \n {{/if}}\n {{yield}}\n */\n {\n \"id\": \"ff/GSs+y\",\n \"block\": \"[[[41,[30,0,[\\\"filters\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[11,0],[24,0,\\\"flex items-center gap-x-2 gap-y-2 flex-wrap py-[9px]\\\"],[24,1,\\\"filter-layer\\\"],[24,\\\"test-id\\\",\\\"filters\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,0,[\\\"filters\\\"]]],null]],null],null,[[[41,[30,2,[\\\"value\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1.5 rounded-full px-2 ring-1 ring-inset ring-gray-200\\\"],[14,\\\"test-id\\\",\\\"filter-chip\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"icon\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-flex w-6 h-6 items-center justify-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"icon\\\"]],\\\"user\\\"],null],[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,2,[\\\"color\\\"]],[30,2,[\\\"name\\\"]],false,[30,2,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"icon\\\"]],\\\"teams\\\"],null],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block w-6 h-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\"],[[30,2,[\\\"label\\\"]],[30,2,[\\\"value\\\"]],\\\"small\\\",false]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"icon\\\"]],\\\"theme\\\"],null],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full \\\",[30,2,[\\\"color\\\"]]]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"icon\\\"]],\\\"initiative\\\"],null],[[[1,\\\" \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"initiative-avatar\\\"],[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\"],[[30,2,[\\\"label\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,2,[\\\"icon\\\"]],\\\"grouping\\\"],null],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"text-gray-400 w-6 h-6\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"text-xs font-normal text-gray-700 leading-4 py-[9px]\\\\n \\\",[52,[30,2,[\\\"icon\\\"]],\\\"\\\",\\\"\\\\n pl-2\\\"]]]],[12],[1,[30,2,[\\\"label\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,10],[[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"handleFilterDelete\\\"]],[30,2]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-3 h-3 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[2]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showMoreButton\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-700 font-medium text-sm leading-5\\\"],[24,\\\"test-id\\\",\\\"show-more-filters\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"toggleShowMore\\\"]]],null],[12],[1,[30,0,[\\\"extraFiltersLength\\\"]]],[1,\\\" \\\"],[1,[28,[35,15],[\\\"dictionary.more\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showLessButton\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-700 font-medium text-sm leading-5\\\"],[24,\\\"test-id\\\",\\\"show-less-filters\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"toggleShowMore\\\"]]],null],[12],[1,[28,[35,15],[\\\"dictionary.show\\\"],null]],[1,\\\" \\\"],[1,[28,[35,15],[\\\"dictionary.less\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[18,3,null]],[\\\"&attrs\\\",\\\"filter\\\",\\\"&default\\\"],[\\\"if\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"span\\\",\\\"eq\\\",\\\"avatar\\\",\\\"atoms/avatar\\\",\\\"molecules/initiative-avatar\\\",\\\"atoms/icons/sortby\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"fn\\\",\\\"atoms/icons/close\\\",\\\"button\\\",\\\"t\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/filters-layer.hbs\",\n \"isStrictMode\": false\n });\n const LIMIT = 4;\n let PageHeadersFiltersLayerComponent = _exports.default = (_class = class PageHeadersFiltersLayerComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"showMore\", _descriptor4, this);\n _defineProperty(this, \"personIdentifier\", {\n fields: ['pms', 'product_managers', 'authors', 'assignees'],\n model: 'person',\n icon: 'user'\n });\n _defineProperty(this, \"teamIdentifier\", {\n fields: ['teams'],\n model: 'team',\n icon: 'teams'\n });\n _defineProperty(this, \"themeIdentifier\", {\n fields: ['themes'],\n model: 'theme',\n icon: 'theme'\n });\n _defineProperty(this, \"statusIdentifier\", {\n fields: ['status']\n });\n _defineProperty(this, \"sourceIdentifier\", {\n fields: ['sources']\n });\n _defineProperty(this, \"roadmapIdentifier\", {\n fields: ['roadmaps'],\n model: 'roadmap'\n });\n _defineProperty(this, \"hiddenFilters\", ['start_date', 'end_date', 'columns', 'roadmap']);\n }\n // groupByIdentifier = { fields: ['grouping'] };\n\n get activeFilters() {\n const currentRoute = this.router.currentRoute;\n return this.extractActiveFiltersFromURL(currentRoute);\n }\n get extraFiltersLength() {\n return this.activeFilters.slice(LIMIT).length;\n }\n get showMoreButton() {\n return !this.showMore && this.activeFilters.length > LIMIT;\n }\n get showLessButton() {\n return this.showMore;\n }\n get filters() {\n if (this.showMore) return this.activeFilters;else return this.activeFilters.slice(0, LIMIT);\n }\n extractActiveFiltersFromURL(currentRoute) {\n const arr = [];\n const queryParams = currentRoute?.queryParams;\n if (!queryParams) return arr;\n for (let [key, value] of Object.entries(queryParams)) {\n let isJson = this.isJsonArray(value);\n if (this.hiddenFilters.includes(key)) continue;else if (isJson) {\n const parsedValues = JSON.parse(value);\n const filterObjects = this.formatParsedValues(key, parsedValues);\n arr.splice(arr.length - 1, 0, ...filterObjects);\n } else if (key === 'grouping') arr.push({\n label: (0, _lodash.capitalize)(value),\n value,\n key,\n icon: 'grouping'\n });else arr.push({\n label: (0, _lodash.capitalize)(value),\n value,\n key\n });\n }\n return arr;\n }\n\n /**\n *\n * @param {string} key\n * @param {Array} parsedValues\n */\n formatParsedValues(key, parsedValues) {\n let arr = [];\n if (this.personIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const person = this.store.peekRecord(this.personIdentifier.model, item);\n arr.push({\n label: person?.name,\n type: 'person',\n value: person?.id,\n icon: this.personIdentifier.icon,\n color: person?.color,\n abbreviation: person?.abbreviation,\n key\n });\n });\n return arr;\n }\n if (this.teamIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const team = this.store.peekRecord(this.teamIdentifier.model, item);\n arr.push({\n label: team?.name,\n type: 'team',\n value: team?.id,\n icon: this.teamIdentifier.icon,\n key\n });\n });\n return arr;\n }\n if (this.themeIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const theme = this.store.peekRecord(this.themeIdentifier.model, item);\n arr.push({\n label: theme?.title,\n type: 'theme',\n value: theme?.id,\n color: theme?.color,\n icon: this.themeIdentifier.icon,\n key\n });\n });\n return arr;\n }\n if (this.statusIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const statusObject = this.betaToggle.statusOptions.find(option => option.value === item);\n arr.push({\n label: statusObject?.label,\n type: 'status',\n value: statusObject?.value,\n key\n });\n });\n return arr;\n }\n if (this.sourceIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const sourceObject = this.betaToggle.sourceOptions.find(option => option.value === item);\n arr.push({\n label: sourceObject?.label,\n type: 'source',\n value: sourceObject?.value,\n key\n });\n });\n return arr;\n }\n if (this.roadmapIdentifier.fields.includes(key)) {\n parsedValues.forEach(item => {\n const roadmap = this.store.peekRecord(this.roadmapIdentifier.model, item);\n arr.push({\n label: roadmap?.title,\n type: 'roadmap',\n value: roadmap?.id,\n key\n });\n });\n return arr;\n }\n parsedValues.forEach(item => {\n arr.push({\n label: item,\n value: item,\n key\n });\n });\n return arr;\n }\n isJsonArray(str) {\n let json;\n try {\n json = JSON.parse(str);\n } catch {\n return false;\n }\n return Array.isArray(json);\n }\n toggleShowMore() {\n this.showMore = !this.showMore;\n }\n handleFilterDelete(filter) {\n this.args.handleFilterDelete(filter);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showMore\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleShowMore\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleShowMore\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PageHeadersFiltersLayerComponent);\n});","define(\"scaleflow/components/page-headers/page-title/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n {{@title}}\n {{#if (has-block \"loader\")}}\n {{yield to=\"loader\"}}\n {{/if}}\n \n \n
    \n \n {{#unless @noSubtitle}}\n

    \n {{@subtitle}}\n

    \n {{/unless}}\n */\n {\n \"id\": \"uLHWI1nN\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full flex items-center justify-between mt-8\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[15,0,[29,[\\\"text-2xl font-bold leading-7 text-gray-900 mb-2 flex items-center gap-x-2\\\\n \\\",[30,2]]]],[14,\\\"test-id\\\",\\\"pt-title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,3]],[1,\\\"\\\\n\\\"],[41,[48,[30,6]],[[[1,\\\" \\\"],[18,6,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,4]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-gray-500 !mb-8\\\"],[14,\\\"test-id\\\",\\\"pt-subtitle\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"@titleClass\\\",\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@subtitle\\\",\\\"&loader\\\"],[\\\"div\\\",\\\"h1\\\",\\\"if\\\",\\\"has-block\\\",\\\"yield\\\",\\\"unless\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/page-title/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"page-title\"));\n});","define(\"scaleflow/components/page-headers/primary-actions\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.primaryActionSelector}}\n {{#in-element this.primaryActionSelector}}\n {{yield}}\n {{/in-element}}\n {{/if}}\n */\n {\n \"id\": \"N2RbIkIn\",\n \"block\": \"[[[41,[30,0,[\\\"primaryActionSelector\\\"]],[[[40,[[[1,\\\" \\\"],[18,1,null],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,2],[[30,0,[\\\"primaryActionSelector\\\"]]],null]]],[]],null]],[\\\"&default\\\"],[\\\"if\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/primary-actions.hbs\",\n \"isStrictMode\": false\n });\n class PageHeadersPrimaryActionsComponent extends _component2.default {\n get primaryActionSelector() {\n return document.querySelector('#primary-actions');\n }\n }\n _exports.default = PageHeadersPrimaryActionsComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PageHeadersPrimaryActionsComponent);\n});","define(\"scaleflow/components/page-headers/sidepanel-action/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.selector}}\n {{#in-element this.selector}}\n {{yield}}\n {{/in-element}}\n {{/if}}\n */\n {\n \"id\": \"tBBlcven\",\n \"block\": \"[[[41,[30,0,[\\\"selector\\\"]],[[[40,[[[1,\\\" \\\"],[18,1,null],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,2],[[30,0,[\\\"selector\\\"]]],null]]],[]],null]],[\\\"&default\\\"],[\\\"if\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/sidepanel-action/index.hbs\",\n \"isStrictMode\": false\n });\n class PageHeadersSidepanelActionComponent extends _component2.default {\n get selector() {\n return document.querySelector('#sidepanel-actions');\n }\n }\n _exports.default = PageHeadersSidepanelActionComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PageHeadersSidepanelActionComponent);\n});","define(\"scaleflow/components/page-headers/title-layer\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/config/app-structure\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _appStructure, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/config/app-structure\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n {{#if this.showTabs}}\n \n
    \n \n \n \n {{t\n this.activeTab.label\n num=2\n }}\n \n \n \n {{#each this.tabs as |tab|}}\n \n \n {{t tab.label num=2}}\n \n {{#if (this.isActive tab)}}\n \n {{/if}}\n \n {{/each}}\n \n \n \n \n
    \n
    \n \n
    \n
    \n {{/if}}\n
    \n
    \n
    \n \n */\n {\n \"id\": \"BU/7I05I\",\n \"block\": \"[[[10,0],[14,0,\\\"max-w-8xl\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"fixed-headers border-b border-gray-200 px-6 flex items-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showTabs\\\"]],[[[1,\\\" \\\"],[10,0],[14,\\\"test-id\\\",\\\"tabs\\\"],[14,0,\\\"mr-auto flex items-center justify-between py-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"tabs\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Select a tab\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"border border-gray-300 rounded-md py-2 px-3 text-sm text-gray-900 flex items-center gap-x-2\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"capitalize\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"activeTab\\\",\\\"label\\\"]]],[[\\\"num\\\"],[2]]]],[13],[8,[39,6],[[24,0,\\\"w-4 h-4 text-gray-400 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@interactive\\\",\\\"@placement\\\",\\\"@trigger\\\",\\\"@hideOnClick\\\",\\\"@onCreate\\\"],[\\\"true\\\",\\\"bottom-start\\\",\\\"click\\\",true,[30,0,[\\\"onCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] w-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,11],null,[[\\\"@menuClick\\\"],[[28,[37,12],[[30,0,[\\\"onChange\\\"]],[30,1]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[30,1,[\\\"label\\\"]]],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[30,0,[\\\"isActive\\\"]],[[30,1]],null],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"hidden sm:block\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"nav\\\"],[14,0,\\\"flex space-x-4\\\"],[14,\\\"aria-label\\\",\\\"Tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"tab-link\\\"],[16,0,[29,[[52,[28,[30,0,[\\\"isActive\\\"]],[[30,2]],null],\\\"bg-indigo-100 text-indigo-800\\\",\\\"text-gray-500 hover:text-gray-800\\\"],\\\"\\\\n rounded-md px-3 py-2 text-sm font-medium flex items-center gap-x-2 group\\\"]]]],[[\\\"@route\\\"],[[30,2,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"icon\\\"]],[[[44,[[50,[28,[37,18],[\\\"atoms/icons/\\\",[30,2,[\\\"icon\\\"]]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,3],[[16,0,[29,[\\\"w-4 h-4\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,2]],null],\\\"text-indigo-800\\\",\\\"text-gray-400 group-hover:text-gray-800\\\"]]]]],null,null],[1,\\\"\\\\n\\\"]],[3]]]],[]],null],[1,\\\" \\\"],[10,1],[14,0,\\\"capitalize\\\"],[12],[1,[28,[35,5],[[30,2,[\\\"label\\\"]]],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,1,\\\"filter-action\\\"],[14,0,\\\"ml-auto\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"sub-header\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"tab\\\",\\\"tab\\\",\\\"Icon\\\"],[\\\"div\\\",\\\"if\\\",\\\"label\\\",\\\"button\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/chevron/down\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"atoms/icons/check\\\",\\\"nav\\\",\\\"link-to\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\"]]\",\n \"moduleName\": \"scaleflow/components/page-headers/title-layer.hbs\",\n \"isStrictMode\": false\n });\n let PageHeadersTabsComponent = _exports.default = (_class = class PageHeadersTabsComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _defineProperty(this, \"appStructure\", new _appStructure.default());\n _defineProperty(this, \"tippyInstance\", null);\n }\n onChange(tab) {\n this.router.transitionTo(tab.route);\n this.tippyInstance?.hide();\n }\n get tabs() {\n if (this.args.tabs) return this.args.tabs;\n const routeParts = this.router.currentRouteName?.split('.') ?? [];\n let pageKey;\n if (routeParts.length > 2 && routeParts.at(-1) == 'index') {\n pageKey = routeParts.slice(0, -2);\n } else {\n pageKey = routeParts.slice(0, -1);\n }\n pageKey = pageKey.join('.');\n const tabs = Array.from(this.appStructure.iterator(pageKey));\n return tabs;\n }\n get showTabs() {\n return this.tabs.length > 0;\n }\n onCreate(e) {\n this.tippyInstance = e;\n }\n extractRouteName(name) {\n if (!name.includes('index')) return name;else {\n const routeParts = name.split('.');\n routeParts.splice(routeParts.length - 1, 1);\n return routeParts.join('.');\n }\n }\n isActive(tab) {\n const currentRouteName = this.extractRouteName(this.router.currentRoute.name);\n const tabRouteName = this.extractRouteName(tab.route);\n return currentRouteName === tabRouteName;\n }\n get activeTab() {\n const tab = this.tabs.filter(item => this.isActive(item))?.[0] ?? this.tabs[0];\n return tab;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"extractRouteName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractRouteName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PageHeadersTabsComponent);\n});","define(\"scaleflow/components/people/form/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/is-object\", \"scaleflow/validators/person\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _isObject, _person, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/is-object\",0,\"scaleflow/validators/person\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset @model this.personValidations) as |changeset|}}\n \n <:title>\n

    {{if\n this.isEdit\n (t \"people.edit-person\" person=(t \"people.title\" num=1))\n (t \"people.add\" person=(t \"people.title\" num=1))\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n \n {{#if (get changeset.error \"name\")}}\n
      \n {{#each\n (get (get changeset.error \"name\") \"validation\")\n as |error|\n }}\n
    • {{error}}
    • \n {{else}}\n
    • {{get\n (get changeset.error \"name\")\n \"validation\"\n }}
    • \n {{/each}}\n
    \n {{else}}\n

    {{t\n \"people.name-hint\"\n }}

    \n {{/if}}\n
    \n \n
    \n \n \n {{#if (get changeset.error \"abbreviation\")}}\n
      \n {{#each\n (get (get changeset.error \"abbreviation\") \"validation\")\n as |error|\n }}\n
    • {{error}}
    • \n {{else}}\n
    • {{get\n (get changeset.error \"abbreviation\")\n \"validation\"\n }}
    • \n {{/each}}\n
    \n {{else}}\n

    {{t\n \"people.abbreviation-hint\"\n }}

    \n {{/if}}\n
    \n \n
    \n \n
    \n \n {{if\n changeset.active\n (t \"people.active\")\n (t \"people.inactive\")\n }}\n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n {{t\n \"dictionary.do-later\"\n }}\n
    \n
    \n \n
    \n \n
    \n \n {{#if changeset.teams.length}}\n
    \n \n
    \n {{else}}\n {{t \"people.form-no-teams\"}}\n {{/if}}\n \n \n \n
    \n
    \n \n
    \n \n
    \n \n {{#if changeset.roles.length}}\n
    \n \n
    \n {{else}}\n {{t \"people.form-no-roles\"}}\n {{/if}}\n \n \n \n
    \n
    \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"qILhOWw8\",\n \"block\": \"[[[44,[[28,[37,1],[[30,1],[30,0,[\\\"personValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"person-form\\\"],[4,[38,4],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null],[4,[38,5],[[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,3],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEdit\\\"]],[28,[37,9],[\\\"people.edit-person\\\"],[[\\\"person\\\"],[[28,[37,9],[\\\"people.title\\\"],[[\\\"num\\\"],[1]]]]]],[28,[37,9],[\\\"people.add\\\"],[[\\\"person\\\"],[[28,[37,9],[\\\"people.title\\\"],[[\\\"num\\\"],[1]]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,12],[\\\"submit\\\",[28,[37,3],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"name\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,9],[\\\"people.name\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"name\\\"],[16,0,[29,[\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"input--error\\\"]]]],[24,4,\\\"text\\\"],[16,\\\"placeholder\\\",[28,[37,9],[\\\"people.name-placeholder\\\"],null]],[16,2,[30,2,[\\\"name\\\"]]],[17,3],[4,[38,12],[\\\"keyup\\\",[28,[37,3],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"name\\\"],null]],null],[4,[38,12],[\\\"blur\\\",[28,[37,3],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"name\\\"],null]],null],[4,[38,12],[\\\"input\\\",[28,[37,3],[[30,0,[\\\"handleInput\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,20],[[28,[37,20],[[28,[37,17],[[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,4]],[13],[1,\\\"\\\\n\\\"]],[4]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,17],[[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"font-normal text-gray-500 text-xs\\\"],[12],[1,[28,[35,9],[\\\"people.name-hint\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"abbreviation\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,9],[\\\"people.abbreviation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"abbreviation\\\"],[16,0,[29,[\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"abbreviation\\\"],null],\\\"input--error\\\"]]]],[24,4,\\\"text\\\"],[16,\\\"placeholder\\\",[28,[37,9],[\\\"people.abbreviation-placeholder\\\"],null]],[16,2,[30,2,[\\\"abbreviation\\\"]]],[17,3],[4,[38,12],[\\\"input\\\",[28,[37,3],[[30,0,[\\\"handleInput\\\"]],[30,2]],null]],null],[4,[38,12],[\\\"keyup\\\",[28,[37,3],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"abbreviation\\\"],null]],null],[4,[38,12],[\\\"blur\\\",[28,[37,3],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"abbreviation\\\"],null]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"abbreviation\\\"],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,20],[[28,[37,20],[[28,[37,17],[[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"abbreviation\\\"],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,5]],[13],[1,\\\"\\\\n\\\"]],[5]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,17],[[28,[37,17],[[30,2,[\\\"error\\\"]],\\\"abbreviation\\\"],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"font-normal text-gray-500 text-xs\\\"],[12],[1,[28,[35,9],[\\\"people.abbreviation-hint\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"status\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,9],[\\\"people.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,1,\\\"status\\\"],[24,0,\\\"block\\\"]],[[\\\"@onChange\\\",\\\"@checked\\\",\\\"@srlabel\\\"],[[28,[37,3],[[30,0,[\\\"setPersonStatus\\\"]],[30,2]],null],[30,2,[\\\"active\\\"]],[28,[37,9],[\\\"people.status\\\"],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs\\\"],[12],[1,[52,[30,2,[\\\"active\\\"]],[28,[37,9],[\\\"people.active\\\"],null],[28,[37,9],[\\\"people.inactive\\\"],null]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute inset-0 flex items-center\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full border-t border-gray-300\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative flex justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"bg-white px-2 text-sm text-gray-500\\\"],[12],[1,[28,[35,9],[\\\"dictionary.do-later\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"teams\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium\\\"],[12],[1,[28,[35,9],[\\\"people.form-choose-teams\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"persons\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"teams\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between space-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,25],null,[[\\\"@teams\\\"],[[30,2,[\\\"teams\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,9],[\\\"people.form-no-teams\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,26],null,[[\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@type\\\",\\\"@appendTo\\\"],[\\\"true\\\",[28,[30,0,[\\\"teamIds\\\"]],[[30,2]],null],[28,[37,3],[[30,0,[\\\"setTeams\\\"]],[30,2]],null],\\\"multiselect\\\",[30,0,[\\\"body\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"roles\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium\\\"],[12],[1,[28,[35,9],[\\\"people.form-choose-roles\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"roles\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"roles\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between space-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,27],null,[[\\\"@roles\\\"],[[30,2,[\\\"roles\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,9],[\\\"people.form-no-roles\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,28],null,[[\\\"@tippy\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@type\\\",\\\"@appendTo\\\"],[\\\"true\\\",[28,[30,0,[\\\"roleIds\\\"]],[[30,2]],null],[28,[37,3],[[30,0,[\\\"setRoles\\\"]],[30,2]],null],\\\"multiselect\\\",[30,0,[\\\"body\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,30],[[16,\\\"disabled\\\",[28,[37,31],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,12],[\\\"click\\\",[28,[37,3],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,9],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@model\\\",\\\"changeset\\\",\\\"&attrs\\\",\\\"error\\\",\\\"error\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-click-outside\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"input\\\",\\\"get\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"p\\\",\\\"atoms/forms/toggle\\\",\\\"button\\\",\\\"teams/multi-avatar-preview\\\",\\\"dropdowns/teams\\\",\\\"roles/multi-avatar-preview\\\",\\\"dropdowns/roles\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/form/index.hbs\",\n \"isStrictMode\": false\n });\n let PeopleFormIndexComponent = _exports.default = (_class = class PeopleFormIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _defineProperty(this, \"personValidations\", _person.default);\n }\n goToListPage() {\n this.router.transitionTo('resources.people.active');\n }\n get isEdit() {\n return !!this.args.model.id;\n }\n validateProperty(changeset, property) {\n return changeset?.validate(property);\n }\n onSubmit(changeset, e) {\n e.preventDefault();\n changeset.validate().then(() => {\n changeset.save().then(() => {\n this.goToListPage();\n });\n });\n }\n setPersonStatus(changeset, checked) {\n changeset.set('active', checked);\n }\n teamIds(changeset) {\n const teams = changeset.get('teams');\n const isObject = (0, _isObject.default)(teams);\n const isPromise = !isObject ? false : 'promise' in teams;\n if (isPromise && !teams?.content) return [];\n if (isPromise && teams?.content) return teams?.content.map(team => team.id);\n return teams.map(team => team.id);\n }\n setTeams(changeset, e) {\n const teams = e.map(team_id => this.store.peekRecord('team', team_id));\n changeset.set('teams', teams);\n }\n roleIds(changeset) {\n const roles = changeset.get('roles');\n const isObject = (0, _isObject.default)(roles);\n const isPromise = !isObject ? false : 'promise' in roles;\n if (isPromise && !roles?.content) return [];\n if (isPromise && roles?.content) return roles?.content.map(role => role.id);\n return roles.map(role => role.id);\n }\n setRoles(changeset, e) {\n const roles = e.map(role_id => this.store.peekRecord('role', role_id));\n changeset.set('roles', roles);\n }\n cancelForm(changeset) {\n if (!changeset.isPristine) changeset.rollback();\n if (!this.isEdit) this.args.model.deleteRecord();\n this.goToListPage();\n }\n handleInput(changeset, e) {\n changeset.set(e.target.id, e.target.value);\n }\n get body() {\n return document.body;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPersonStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPersonStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teamIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"teamIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"roleIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"roleIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoles\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoles\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeopleFormIndexComponent);\n});","define(\"scaleflow/components/people/multi-avatar-preview/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{this.firstPerson.abbreviation}}\n \n {{#if (eq this.people.length 1)}}{{else}}\n \n +{{this.restPeople.length}}\n \n \n
      \n {{#each this.restPeople as |name|}}\n
    • {{name}}
    • \n {{/each}}\n
    \n
    \n
    \n \n {{/if}}\n \n */\n {\n \"id\": \"Nyno+La+\",\n \"block\": \"[[[11,1],[24,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[24,\\\"test-id\\\",\\\"map-people\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[8,[39,1],null,[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,0,[\\\"firstPerson\\\",\\\"color\\\"]],[30,0,[\\\"firstPerson\\\",\\\"name\\\"]],true,\\\"top\\\",[30,0,[\\\"firstPerson\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"firstPerson\\\",\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[41,[28,[37,3],[[30,0,[\\\"people\\\",\\\"length\\\"]],1],null],[[],[]],[[[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex justify-center items-center text-center h-\\\",6,\\\"\\\\n w-\\\",6,\\\"\\\\n rounded-full\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"uppercase text-xs roboto-mono\\\"],[14,\\\"test-id\\\",\\\"more\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"restPeople\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"restPeople\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"&attrs\\\",\\\"name\\\"],[\\\"span\\\",\\\"avatar\\\",\\\"if\\\",\\\"eq\\\",\\\"div\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/multi-avatar-preview/index.hbs\",\n \"isStrictMode\": false\n });\n class PeopleMultiAvatarPreviewIndexComponent extends _component2.default {\n get people() {\n if (this.args.people?.promise) return this.args.people.content;\n return this.args.people;\n }\n get firstPerson() {\n return this.people[0];\n }\n get restPeople() {\n return this.people.slice(1).map(person => person.name);\n }\n }\n _exports.default = PeopleMultiAvatarPreviewIndexComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeopleMultiAvatarPreviewIndexComponent);\n});","define(\"scaleflow/components/people/table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _tracking, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"oY08CCnO\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"roadmap-initiatives-table table-fixed\\\"],[17,1]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@sorts\\\",\\\"@onUpdateSorts\\\",\\\"@data-row\\\",\\\"@rowSelectionMode\\\",\\\"@checkboxSelectionMode\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],[30,0,[\\\"sorts\\\"]],[28,[37,1],[[28,[37,2],[[30,0,[\\\"sorts\\\"]]],null]],null],\\\"person\\\",\\\"none\\\",\\\"none\\\"]],null]],[\\\"&attrs\\\"],[\\\"table-v2\\\",\\\"fn\\\",\\\"mut\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/table/index.hbs\",\n \"isStrictMode\": false\n });\n let PeopleTableIndexComponent = _exports.default = (_class = class PeopleTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"columns\", _descriptor2, this);\n }\n convertPersonItemToRow(item) {\n return {\n name: item,\n roles: item.roles,\n teams: item.teams\n };\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;else if (!this.args.grouping) {\n return this.args.people.map(item => this.convertPersonItemToRow(item));\n } else {\n let rows = [];\n const groupedPeople = this.getGroupedPeopleByKey(this.args.people, this.args.grouping);\n rows = Object.keys(groupedPeople).map(key => {\n const value = groupedPeople[key];\n return {\n name: value,\n roles: 'none',\n teams: 'none',\n children: value.content.map(item => this.convertPersonItemToRow(item))\n };\n });\n return rows;\n }\n }\n getGroupedPeopleByKey(list, groupKey) {\n switch (groupKey) {\n case 'role':\n {\n return this.sortByRole(list);\n }\n case 'team':\n {\n return this.sortByTeam(list);\n }\n default:\n {\n return this.sortByRole(list);\n }\n }\n }\n sortByTeam(list) {\n const groupedList = {};\n const NONE = {\n name: 'No Team',\n content: []\n };\n list.forEach(item => {\n if (!item.teams.length) return NONE.content.push(item);\n item.teams.forEach(team => {\n const ref = groupedList[team.name];\n if (ref && ref.content) return ref.content.push(item);else {\n groupedList[team.name] = {\n name: team.name,\n id: team.id,\n content: [item]\n };\n }\n });\n });\n const sortedGroupList = {};\n const sorted = Object.keys(groupedList).sort((a, b) => (0, _nameSort.default)(groupedList[a]['name'], groupedList[b]['name']));\n sorted.forEach(key => {\n sortedGroupList[key] = groupedList[key];\n });\n if (NONE.content.length !== 0) {\n sortedGroupList.NONE = NONE;\n }\n return sortedGroupList;\n }\n sortByRole(list) {\n const groupedList = {};\n const NONE = {\n name: 'No Role',\n content: []\n };\n list.forEach(item => {\n if (!item.roles.length) return NONE.content.push(item);\n item.roles.forEach(role => {\n const ref = groupedList[role.name];\n if (ref && ref.content) return ref.content.push(item);else {\n groupedList[role.name] = {\n name: role.name,\n id: role.id,\n content: [item]\n };\n }\n });\n });\n const sortedGroupList = {};\n const sorted = Object.keys(groupedList).sort((a, b) => (0, _nameSort.default)(groupedList[a]['name'], groupedList[b]['name']));\n sorted.forEach(key => {\n sortedGroupList[key] = groupedList[key];\n });\n if (NONE.content.length !== 0) {\n sortedGroupList.NONE = NONE;\n }\n return sortedGroupList;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args?.columns ?? [{\n name: this.intl.t('people.name', {\n num: 1\n }),\n valuePath: 'name',\n class: '!w-[60%]',\n key: 'name',\n component: 'people/table/table-cell/name',\n test_id: 'name'\n }, {\n name: this.intl.t('people.team', {\n num: 3\n }),\n valuePath: 'teams',\n key: 'teams',\n class: '!w-[20%]',\n test_id: '',\n component: 'people/table/table-cell/teams-select',\n isSortable: false\n }, {\n name: this.intl.t('people.roles', {\n num: 3\n }),\n valuePath: 'roles',\n key: 'roles',\n class: '!w-[20%]',\n test_id: '',\n component: 'people/table/table-cell/roles-select',\n isSortable: false\n }];\n }\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeopleTableIndexComponent);\n});","define(\"scaleflow/components/people/table/table-cell/name\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params.content}}\n {{@params.name}}\n {{else}}\n \n {{@params.name}}\n \n {{/if}}\n */\n {\n \"id\": \"w17ARTdA\",\n \"block\": \"[[[41,[30,1,[\\\"content\\\"]],[[[1,\\\" \\\"],[11,1],[24,0,\\\"leading-6\\\"],[16,1,[29,[[30,1,[\\\"id\\\"]]]]],[17,2],[12],[1,[30,1,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,2],[[24,0,\\\"font-normal text-sm text-gray-900 hover:underline\\\"],[17,2]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"resources.people.person.edit\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@params\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"span\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/table/table-cell/name.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"name\"));\n});","define(\"scaleflow/components/people/table/table-cell/roles-select/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
      \n {{#each @params as |role|}}\n
    • {{role.name}}
    • \n {{/each}}\n
    \n */\n {\n \"id\": \"aou2y9y/\",\n \"block\": \"[[[10,\\\"ul\\\"],[14,0,\\\"text-left list-disc list-inside overflow-auto w-full\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-sm\\\"],[12],[1,[30,2,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[13]],[\\\"@params\\\",\\\"role\\\"],[\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/table/table-cell/roles-select/index.hbs\",\n \"isStrictMode\": false\n });\n let PeopleTableTableCellRolesSelectIndexComponent = _exports.default = (_class = class PeopleTableTableCellRolesSelectIndexComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"roles\", _descriptor2, this);\n }\n get params() {\n return this.args.params;\n }\n get firstRole() {\n return this.roles[0];\n }\n get person() {\n return this.params?.person;\n }\n get hasMoreThanOneRole() {\n return this.roles.slice(1).length;\n }\n get restRoles() {\n return this.roles.slice(1).map(role => role.name);\n }\n get body() {\n return document.body;\n }\n get roleIds() {\n return this.roles?.map(role => role.id);\n }\n saveRolesToPerson(e) {\n const roles = e.map(role => this.store.peekRecord('role', role));\n const person = this.person;\n if (person) {\n person.roles = roles;\n person.save();\n }\n }\n async loadRoles() {\n const roles = await this.params?.roles;\n this.roles = roles;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roles\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"saveRolesToPerson\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveRolesToPerson\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadRoles\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadRoles\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeopleTableTableCellRolesSelectIndexComponent);\n});","define(\"scaleflow/components/people/table/table-cell/teams-select/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
      \n {{#each @params as |team|}}\n
    • {{team.name}}
    • \n {{/each}}\n
    \n */\n {\n \"id\": \"hjSTvOfa\",\n \"block\": \"[[[10,\\\"ul\\\"],[14,0,\\\"text-left list-disc list-inside overflow-auto w-full\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-sm\\\"],[12],[1,[30,2,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[13]],[\\\"@params\\\",\\\"team\\\"],[\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/people/table/table-cell/teams-select/index.hbs\",\n \"isStrictMode\": false\n });\n let PeopleTableTableCellTeamsSelectIndexComponent = _exports.default = (_class = class PeopleTableTableCellTeamsSelectIndexComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"teams\", _descriptor2, this);\n }\n get params() {\n return this.args.params;\n }\n get person() {\n return this.params?.person;\n }\n get hasMoreThanOneTeam() {\n return this.teams.slice(1).length;\n }\n get restTeams() {\n return this.teams.slice(1).map(team => team.name);\n }\n get body() {\n return document.body;\n }\n get teamIds() {\n return this.teams?.map(team => team.id);\n }\n async loadTeams() {\n const teams = await this.params?.teams;\n this.teams = teams;\n }\n saveTeamsToPerson(e) {\n const teams = e.map(team => this.store.peekRecord('team', team));\n const person = this.person;\n if (person) {\n person.teams = teams;\n person.save();\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveTeamsToPerson\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveTeamsToPerson\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeopleTableTableCellTeamsSelectIndexComponent);\n});","define(\"scaleflow/components/planning-date-picker\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \"\n @noCalendar={{false}}\n @onChange={{this.onDateChange}}\n @weekNumbers={{true}}\n class=\"text-sm bg-transparent pointer-events-none px-1 focus:shadow-none focous:outline-none outline-none focus:outline-none w-[110px]\n {{@extraClass}}\"\n />\n */\n {\n \"id\": \"UBgw/AL3\",\n \"block\": \"[[[8,[39,0],[[16,\\\"placeholder\\\",[28,[37,1],[\\\"dictionary.choose-date\\\"],null]],[16,0,[29,[\\\"text-sm bg-transparent pointer-events-none px-1 focus:shadow-none focous:outline-none outline-none focus:outline-none w-[110px]\\\\n \\\",[30,1]]]]],[[\\\"@allowInput\\\",\\\"@clickOpens\\\",\\\"@date\\\",\\\"@dateFormat\\\",\\\"@disable\\\",\\\"@disableMobile\\\",\\\"@inline\\\",\\\"@mode\\\",\\\"@onReady\\\",\\\"@nextArrow\\\",\\\"@noCalendar\\\",\\\"@onChange\\\",\\\"@weekNumbers\\\"],[false,true,[28,[30,0,[\\\"defaultDate\\\"]],[[30,2]],null],\\\"d M, Y\\\",[28,[37,2],[[30,0,[\\\"datesToDisable\\\"]]],null],false,false,\\\"single\\\",[30,0,[\\\"onReady\\\"]],\\\">\\\",false,[30,0,[\\\"onDateChange\\\"]],true]],null]],[\\\"@extraClass\\\",\\\"@initiative\\\"],[\\\"flatpickr\\\",\\\"t\\\",\\\"array\\\"]]\",\n \"moduleName\": \"scaleflow/components/planning-date-picker.hbs\",\n \"isStrictMode\": false\n });\n let PlanningDatePickerComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _class = class PlanningDatePickerComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n _defineProperty(this, \"datesToDisable\", date => {\n if (this.args.allowAllDates) return false;\n const momentDate = (0, _moment.default)(date);\n const first_day_of_week = this.orgService?.first_day_of_week;\n if (first_day_of_week) return +momentDate.isoWeekday() !== +first_day_of_week;else return +momentDate.isoWeekday() !== 7;\n });\n }\n defaultDate(initiative) {\n if (this.args.value) return this.args.value;\n const starting_week = initiative?.get('starting_week');\n // Ensure starting_week is a valid string before attempting to split\n if (!starting_week || typeof starting_week !== 'string') return null;\n let date = null;\n const parsed = starting_week.split(':')[0];\n const first_day_of_week = this.orgService?.first_day_of_week;\n if (first_day_of_week) date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n return date.toDate();\n }\n onDateChange(e) {\n if (e.length > 0) this.args?.onDateChange?.(e[0]);\n }\n onReady(_, __, instance) {\n this.datepickerInstance = instance;\n this.args?.onReady?.(instance);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"defaultDate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"defaultDate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDateChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onReady\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PlanningDatePickerComponent);\n});","define(\"scaleflow/components/quick-adds/area/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/area\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _area, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/area\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.area this.areaValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"area.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"gx8s1nDJ\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"area\\\"]],[30,0,[\\\"areaValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-area-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"area.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/area/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsAreaComponent = _exports.default = (_class = class QuickAddsAreaComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"area\", {\n name: ''\n });\n _defineProperty(this, \"areaValidations\", _area.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const area = this.store.createRecord('area', {\n name: changeset.name\n });\n await area.save();\n this.args?.onItemSaved?.(area);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsAreaComponent);\n});","define(\"scaleflow/components/quick-adds/customer/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/customer\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _customer, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/customer\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.customer this.customerValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"customer.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"YRjjkgiB\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"customer\\\"]],[30,0,[\\\"customerValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-customer-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"customer.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/customer/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsCustomerComponent = _exports.default = (_class = class QuickAddsCustomerComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"customer\", {\n name: ''\n });\n _defineProperty(this, \"customerValidations\", _customer.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const customer = this.store.createRecord('customer', {\n name: changeset.name\n });\n await customer.save();\n this.args?.onItemSaved?.(customer);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsCustomerComponent);\n});","define(\"scaleflow/components/quick-adds/department/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/department\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _department, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/department\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.department this.departmentValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"department.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"7KV5EGfp\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"department\\\"]],[30,0,[\\\"departmentValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-department-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"department.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/department/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsDepartmentComponent = _exports.default = (_class = class QuickAddsDepartmentComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"department\", {\n name: ''\n });\n _defineProperty(this, \"departmentValidations\", _department.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const department = this.store.createRecord('department', {\n name: changeset.name\n });\n await department.save();\n this.args?.onItemSaved?.(department);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsDepartmentComponent);\n});","define(\"scaleflow/components/quick-adds/goal/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/goal\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _goal, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/goal\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.goal this.goalValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"_goals.title\" num=1)\n }}

    \n \n <:body>\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"48WrRA1F\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"goal\\\"]],[30,0,[\\\"goalValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-goal-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"title\\\",[28,[37,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]],\\\"Increase revenue\\\",[30,1,[\\\"title\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/goal/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsGoalComponent = _exports.default = (_class = class QuickAddsGoalComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"goal\", {\n title: ''\n });\n _defineProperty(this, \"goalValidations\", _goal.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const goal = this.store.createRecord('goal', {\n title: changeset.title\n });\n await goal.save();\n this.args?.onItemSaved(goal);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsGoalComponent);\n});","define(\"scaleflow/components/quick-adds/group/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/group\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _group, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/group\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.group this.groupValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"group.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"ZngTQZWc\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"group\\\"]],[30,0,[\\\"groupValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-group-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"title\\\",[28,[37,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"group.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"title\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/group/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsGroupComponent = _exports.default = (_class = class QuickAddsGroupComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"group\", {\n title: ''\n });\n _defineProperty(this, \"groupValidations\", _group.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const group = this.store.createRecord('group', {\n title: changeset.title\n });\n await group.save();\n this.args?.onItemSaved?.(group);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss?.();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsGroupComponent);\n});","define(\"scaleflow/components/quick-adds/initiative/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"scaleflow/validators/initiative\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _initiative, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/initiative\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.initiative this.initiativeValiations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"_initiatives.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n {{#if this.betaToggle.showInitiativeAbbrvFieldInQuickAddFormForQPQ}}\n
    \n \n
    \n {{/if}}\n \n
    \n \n \n
    \n \n
    \n \n \n \n {{label-extract\n this.betaToggle.sortedStatusOptions\n changeset.status\n }}\n \n \n \n \n
    \n
    \n \n <:footer>\n {{#if this.isSaving}}\n \n {{/if}}\n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n */\n {\n \"id\": \"89lZzOSH\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"initiative\\\"]],[30,0,[\\\"initiativeValiations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-initiative\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"title\\\",[28,[37,6],[\\\"_initiatives.table.title\\\"],null],[28,[37,6],[\\\"_initiatives.table.title\\\"],null],[30,1,[\\\"title\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showInitiativeAbbrvFieldInQuickAddFormForQPQ\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"abbreviation\\\",[28,[37,6],[\\\"_initiatives.abbreviation\\\"],null],[28,[37,15],[[28,[37,6],[\\\"_initiatives.abbreviation\\\"],null]],null],[30,1,[\\\"abbreviation\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"description\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,6],[\\\"_initiatives.description\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"!mt-0 block w-full rounded-md border-0 py-1.5 pl-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder compressed-lines\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@name\\\",\\\"@id\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\"],[[29,[[28,[37,6],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,19],[[28,[37,6],[\\\"_initiatives.description\\\"],null]],null]]],[30,1,[\\\"summary\\\"]],\\\"description\\\",\\\"description\\\",\\\"#description\\\",\\\"bubble\\\",[28,[37,10],[[30,0,[\\\"setDelta\\\"]],[30,1]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"space-y-1 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"status\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,6],[\\\"_initiatives.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"max-w-[200px] py-1 px-2 whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"filter-status-trigger\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,21],[[30,0,[\\\"betaToggle\\\",\\\"sortedStatusOptions\\\"]],[30,1,[\\\"status\\\"]]],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,22],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,23],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@hideClearOption\\\",\\\"@hideSearch\\\"],[[30,0,[\\\"betaToggle\\\",\\\"sortedStatusOptions\\\"]],[30,1,[\\\"status\\\"]],[28,[37,10],[[30,0,[\\\"onStatusSelect\\\"]],[30,1]],null],true,true,true]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,\\\"test-id\\\",\\\"save\\\"],[24,0,\\\"relative\\\"],[16,\\\"disabled\\\",[28,[37,26],[[30,0,[\\\"isSaving\\\"]],[28,[37,26],[[30,1,[\\\"isPristine\\\"]],[28,[37,27],[[30,1,[\\\"title\\\"]],\\\"\\\"],null]],null]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[41,[30,0,[\\\"isSaving\\\"]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"progress-bar animate absolute block bottom-0 top-0 left-0 h-full bg-primary-300/[.20]\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[1,[28,[35,6],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\"if\\\",\\\"capitalize\\\",\\\"label\\\",\\\"span\\\",\\\"quill-editor\\\",\\\"lowercase\\\",\\\"atoms/buttons/secondary-button\\\",\\\"label-extract\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"eq\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/initiative/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsInitiativeComponent = _exports.default = (_class = class QuickAddsInitiativeComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"isSaving\", _descriptor4, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _defineProperty(this, \"initiative\", {\n title: '',\n status: this.deriveDefaultStatusFromFiltersInURL(),\n summary: {\n ops: []\n }\n });\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n this.isSaving = true;\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const initiative = this.store.createRecord('initiative', {\n title: changeset.title,\n status: changeset.status,\n abbreviation: changeset.abbreviation,\n summary: changeset.summary\n });\n await initiative.save();\n await this.args?.onItemSaved?.(initiative);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n } finally {\n this.isSaving = false;\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss?.();\n }\n setDelta(changeset, e) {\n changeset.set('summary', e);\n }\n onStatusSelect(changeset, e) {\n changeset.set('status', e.value);\n }\n deriveDefaultStatusFromFiltersInURL() {\n let status = 'DRAFT';\n const statusFilters = this.router?.currentRoute?.queryParams?.status ?? '[]';\n if (statusFilters === undefined) return status;\n try {\n const parsedStatusFilters = JSON.parse(statusFilters);\n if (parsedStatusFilters.length === 0) return status;\n status = parsedStatusFilters.pop();\n } catch (err) {\n console.debug(err);\n }\n return status;\n }\n willDestroy() {\n this.isSaving = false;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isSaving\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsInitiativeComponent);\n});","define(\"scaleflow/components/quick-adds/person/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/person\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _person, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/person\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.person this.personValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"dictionary.pm\" num=1)\n }}

    \n \n <:body>\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"MLXPoRVf\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"person\\\"]],[30,0,[\\\"personValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-person-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null],[4,[38,9],[\\\"change\\\",[28,[37,10],[[30,0,[\\\"createAbbreviation\\\"]],[30,1]],null]],null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"people.name-placeholder\\\"],null],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/person/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsPersonComponent = _exports.default = (_class = class QuickAddsPersonComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"person\", {\n name: '',\n abbreviation: '',\n active: true\n });\n _defineProperty(this, \"personValidations\", _person.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n let person = this.store.createRecord('person', {\n name: changeset.name,\n abbreviation: changeset.abbreviation,\n active: true\n });\n await person.save();\n await this.store.findRecord('person', person.id);\n await this.args?.onItemSaved(person);\n this.handleModalDismiss();\n } catch (err) {\n console.log('Error', err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n createAbbreviation(changeset) {\n changeset.set('abbreviation', changeset.name.slice(0, 2).toUpperCase().padEnd(2, 'U'));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createAbbreviation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createAbbreviation\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsPersonComponent);\n});","define(\"scaleflow/components/quick-adds/roadmap/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/routes/roadmap/strategy/create\", \"scaleflow/utils/next-quarter-dates\", \"scaleflow/validators/roadmap\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _create, _nextQuarterDates, _roadmap, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/routes/roadmap/strategy/create\",0,\"scaleflow/utils/next-quarter-dates\",0,\"scaleflow/validators/roadmap\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.roadmap this.roadmapValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"dictionary.roadmap\" num=1)\n }}

    \n \n <:body>\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"/KkV/WOz\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"roadmap\\\"]],[30,0,[\\\"roadmapValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-roadmap-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"title\\\",[28,[37,6],[\\\"dictionary.roadmap\\\"],[[\\\"num\\\"],[1]]],\\\"Q1-2025\\\",[30,1,[\\\"title\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/roadmap/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsRoadmapComponent = _exports.default = (_class = class QuickAddsRoadmapComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _defineProperty(this, \"roadmap\", {\n title: ''\n });\n _defineProperty(this, \"roadmapValidations\", _roadmap.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n //get next quarter dates\n const {\n start: start_date,\n end: end_date\n } = (0, _nextQuarterDates.getNextQuarterDates)();\n\n //derive scenario to attach\n const scenario = await this.deriveScenarioToAttach(changeset.title);\n const roadmap = this.store.createRecord('roadmap', {\n title: changeset.title,\n start_date,\n end_date,\n 'investment-scenario': scenario\n });\n await roadmap.save();\n this.args?.onItemSaved(roadmap);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n\n /**\n * If a scenario is already provided (like when within the roadmap dashobard page), attach that scenario\n * else choose the first scenario from the store, clone it, and then attach it\n * @param {String} roadmap_title\n * @returns scenario\n */\n async deriveScenarioToAttach(roadmap_title) {\n let scenario;\n if (this.args.scenario) {\n scenario = this.args.scenario;\n } else {\n const _scenario = this.store.peekAll('investment-scenario')[0];\n scenario = _create.copyExistingScenarioToNewScenario.call(this, _scenario);\n scenario.title = `${this.intl.t('_scenarios.title', {\n num: 1\n })} - ${roadmap_title}`;\n await scenario.save();\n }\n return scenario;\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsRoadmapComponent);\n});","define(\"scaleflow/components/quick-adds/role/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/role\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _role, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/role\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.role this.roleValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"roles.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"ayY7K+55\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"role\\\"]],[30,0,[\\\"roleValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/role/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsRoleComponent = _exports.default = (_class = class QuickAddsRoleComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"role\", {\n name: ''\n });\n _defineProperty(this, \"roleValidations\", _role.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const role = this.store.createRecord('role', {\n name: changeset.name\n });\n await role.save();\n this.args?.onItemSaved(role);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsRoleComponent);\n});","define(\"scaleflow/components/quick-adds/team/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/team\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _team, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/team\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.team this.teamValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"_teams.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"eNlp/Dl8\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"team\\\"]],[30,0,[\\\"teamValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-team-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"name\\\",[28,[37,6],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"_teams.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"name\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/team/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsTeamComponent = _exports.default = (_class = class QuickAddsTeamComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"team\", {\n name: ''\n });\n _defineProperty(this, \"teamValidations\", _team.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const team = this.store.createRecord('team', {\n name: changeset.name\n });\n await team.save();\n await this.args?.onItemSaved(team);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsTeamComponent);\n});","define(\"scaleflow/components/quick-adds/theme/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/get-random-number-between\", \"scaleflow/validators/theme\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _getRandomNumberBetween, _theme, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/get-random-number-between\",0,\"scaleflow/validators/theme\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (changeset this.theme this.themeValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"lists.add-item\"\n item=(t \"themes.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n \n
    \n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"TOcDPx8i\",\n \"block\": \"[[[44,[[28,[37,1],[[30,0,[\\\"theme\\\"]],[30,0,[\\\"themeValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"quick-add-theme-form\\\"],[4,[38,3],[[30,0,[\\\"handleModalDismiss\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"handleModalDismiss\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,9],[\\\"submit\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[4,[38,13],null,null]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\"],[\\\"title\\\",[28,[37,6],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,6],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]],[30,1,[\\\"title\\\"]],[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[28,[37,16],[[30,1,[\\\"isPristine\\\"]],[30,1,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,6],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"changeset\\\",\\\"@isOpen\\\"],[\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"fn\\\",\\\"div\\\",\\\"atoms/forms/input\\\",\\\"autofocus\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/quick-adds/theme/index.hbs\",\n \"isStrictMode\": false\n });\n let QuickAddsThemeComponent = _exports.default = (_class = class QuickAddsThemeComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _defineProperty(this, \"theme\", {\n color: this.betaToggle.themeColorOptions[(0, _getRandomNumberBetween.default)(0, this.betaToggle.themeColorOptions.length - 1)].value,\n title: ''\n });\n _defineProperty(this, \"themeValidations\", _theme.default);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n await changeset.validate();\n if (changeset.isInvalid) {\n console.debug(changeset.errors);\n return;\n }\n const theme = this.store.createRecord('theme', {\n color: changeset.color,\n title: changeset.title\n });\n await theme.save();\n this.args?.onItemSaved(theme);\n this.handleModalDismiss();\n } catch (err) {\n console.log(err);\n }\n }\n handleModalDismiss() {\n this.args?.handleFormDismiss();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleModalDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleModalDismiss\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QuickAddsThemeComponent);\n});","define(\"scaleflow/components/quill-editor\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill-editor\"], function (_exports, _quillEditor) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _quillEditor.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill-editor\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill\"], function (_exports, _quill) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _quill.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill/toolbar\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill/toolbar\"], function (_exports, _toolbar) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _toolbar.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill/toolbar\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill/toolbar/button-or-select\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill/toolbar/button-or-select\"], function (_exports, _buttonOrSelect) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _buttonOrSelect.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill/toolbar/button-or-select\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill/toolbar/button\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill/toolbar/button\"], function (_exports, _button) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _button.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill/toolbar/button\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill/toolbar/group\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill/toolbar/group\"], function (_exports, _group) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _group.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill/toolbar/group\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/quill/toolbar/select\", [\"exports\", \"@indroneelray/ember-quill-2/components/quill/toolbar/select\"], function (_exports, _select) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _select.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/components/quill/toolbar/select\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/radio/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"BbJ6rReH\",\n \"block\": \"[[[11,\\\"label\\\"],[24,0,\\\"cursor-pointer\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"input\\\"],[14,0,\\\"form-check-input appearance-none rounded-full h-4 w-4 border border-gray-600 bg-white checked:bg-primary-700 checked:border-primary-700 disabled:bg-gray-400 disabled:cursor-default focus:outline-none transition duration-200 bg-no-repeat bg-center bg-contain float-left cursor-pointer checked:shadow-[0_0_0_3px_rgb(255,255,255)_inset]\\\"],[15,\\\"checked\\\",[30,2]],[15,3,[30,3]],[15,\\\"disabled\\\",[30,4]],[14,4,\\\"radio\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,3],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"w-[120px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.cannot-link-to-child\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@value\\\",\\\"@name\\\",\\\"@disabled\\\",\\\"&default\\\"],[\\\"label\\\",\\\"input\\\",\\\"if\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"t\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/radio/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"radio\"));\n});","define(\"scaleflow/components/resources/tabs/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#each this.tabs as |tab|}}\n {{#if tab.hide}}{{else}}\n \n \n {{tab.label}}\n \n
    \n {{/if}}\n {{/each}}\n \n */\n {\n \"id\": \"alRSQbsR\",\n \"block\": \"[[[10,0],[14,0,\\\"flex gap-x-8\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[30,1,[\\\"hide\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,1]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[16,0,[29,[\\\"text-sm leading-5 capitalize\\\\n \\\",[52,[30,1,[\\\"classes\\\"]],[30,1,[\\\"classes\\\"]]],\\\"\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,1]],null],\\\"text-gray-900 font-semibold \\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\"],[[30,1,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[1]],null],[13]],[\\\"tab\\\"],[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"if\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/resources/tabs/index.hbs\",\n \"isStrictMode\": false\n });\n let ResourcesTabsIndexComponent = _exports.default = (_class = class ResourcesTabsIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n }\n get tabs() {\n return [{\n label: this.intl.t('_teams.title', {\n num: 2\n }),\n route: 'resources.teams',\n key: 'teams'\n }, {\n label: this.intl.t('roles.title', {\n num: 2\n }),\n route: 'resources.roles',\n key: 'roles'\n }, {\n label: this.intl.t('people.title', {\n num: 2\n }),\n route: 'resources.people.active',\n key: 'people'\n }, {\n label: this.intl.t('_scenarios.title', {\n num: 1\n }),\n route: 'resources.balance',\n key: 'balance',\n hide: !this.betaToggle.balanceProfile\n }];\n }\n isActive(tab) {\n return this.router.currentRouteName?.includes(tab.key);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ResourcesTabsIndexComponent);\n});","define(\"scaleflow/components/roadmap/filter-group/dropdown/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{@label}}\n {{#if @activeFilters.length}}\n {{@activeFilters.length}}\n {{/if}}\n \n \n \n */\n {\n \"id\": \"epl60+me\",\n \"block\": \"[[[10,\\\"button\\\"],[14,0,\\\"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900 px-4 items-center\\\"],[14,\\\"test-id\\\",\\\"filter-status-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,\\\"test-id\\\",\\\"label\\\"],[12],[1,\\\" \\\"],[1,[30,1]],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"length\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"ml-1.5 rounded bg-gray-200 px-1.5 py-0.5 text-xs font-semibold tabular-nums text-gray-700\\\"],[14,\\\"test-id\\\",\\\"active-filters\\\"],[12],[1,[30,2,[\\\"length\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,3],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,4],[[17,3]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\"],[[30,4],[30,2],[30,5],[30,6],true,true]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@label\\\",\\\"@activeFilters\\\",\\\"&attrs\\\",\\\"@optionList\\\",\\\"@onSelect\\\",\\\"@searchPlaceholder\\\"],[\\\"button\\\",\\\"span\\\",\\\"if\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/multi-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/filter-group/dropdown/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"dropdown\"));\n});","define(\"scaleflow/components/roadmap/filter-group/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n {{yield}}\n
    \n \n */\n {\n \"id\": \"nWDI1KBC\",\n \"block\": \"[[[10,0],[14,0,\\\"flex justify-between px-4 bg-gray border-b border-gray-200 py-4 bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-end divide-x-2 divide-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[18,1,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/filter-group/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"filter-group\"));\n});","define(\"scaleflow/components/roadmap/filter-slideover/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/capitalize\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _capitalize, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/capitalize\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n
    \n {{! }}\n
    \n
    \n
    \n

    \n {{t \"dictionary.filters\"}}\n

    \n
    \n
    \n \n {{t \"dictionary.close-panel\"}}\n \n \n \n \n
    \n
    \n
    \n \n {{! }}\n \n \n \n
    \n {{t \"dictionary.column\"}}\n
    \n
    \n \n \n {{if\n @column\n (label-extract this.options @column)\n (t \"dictionary.select\")\n }}\n \n \n \n
    \n
    \n \n \n
    \n {{t \"dictionary.row\"}}\n
    \n
    \n \n {{if\n @row\n (label-extract this.options @row)\n (t \"dictionary.select\")\n }}\n \n \n \n
    \n \n \n \n \n \n \n \n \n
    \n */\n {\n \"id\": \"dQY0v1a/\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@isOpen\\\",\\\"@close\\\",\\\"@bounds\\\"],[[30,1],[30,2],\\\".filter-container\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"filter-container flex h-full flex-col overflow-y-auto bg-white shadow-xl max-w-[348px] ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bg-indigo-700 px-4 py-6 sm:px-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between space-x-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-white\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.filters\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex h-7 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"close-slideover\\\"],[24,0,\\\"text-gray-400 hover:text-gray-500\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,3],[\\\"dictionary.close-panel\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-6 w-6\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 18L18 6M6 6l12 12\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-6 py-6 sm:space-y-0 sm:divide-y sm:divide-gray-200 sm:py-0 px-6\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"space-y-2 sm:grid sm:grid-cols-2 sm:gap-4 sm:space-y-0 sm:py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"title\\\"],[14,0,\\\"block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dictionary.column\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:col-span-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-[140px] py-2 px-3\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap text-ellipsis overflow-hidden capitalize\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,3],[28,[37,12],[[30,0,[\\\"options\\\"]],[30,3]],null],[28,[37,3],[\\\"dictionary.select\\\"],null]]],[13],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@hideClearOption\\\",\\\"@searchPlaceholder\\\",\\\"@tippy\\\"],[[28,[30,0,[\\\"excludeSelectedRowOption\\\"]],[[30,0,[\\\"options\\\"]]],null],[30,3],[30,0,[\\\"propagateColumnUpdate\\\"]],true,[28,[37,3],[\\\"dictionary.select\\\"],null],true]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"space-y-2 sm:grid sm:grid-cols-2 sm:gap-4 sm:space-y-0 sm:py-5\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"title\\\"],[14,0,\\\"block text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dictionary.row\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:col-span-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-[140px] py-2 px-3\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap text-ellipsis overflow-hidden capitalize\\\"],[12],[1,[52,[30,4],[28,[37,12],[[30,0,[\\\"options\\\"]],[30,4]],null],[28,[37,3],[\\\"dictionary.select\\\"],null]]],[13],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,14],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@hideClearOption\\\",\\\"@searchPlaceholder\\\",\\\"@tippy\\\"],[[28,[30,0,[\\\"excludeSelectedColumnOption\\\"]],[[30,0,[\\\"options\\\"]]],null],[30,4],[30,0,[\\\"propagateRowUpdate\\\"]],true,[28,[37,3],[\\\"dictionary.select\\\"],null],true]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@isOpen\\\",\\\"@close\\\",\\\"@column\\\",\\\"@row\\\"],[\\\"slide-over\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"svg\\\",\\\"path\\\",\\\"label\\\",\\\"atoms/buttons/secondary-button\\\",\\\"if\\\",\\\"label-extract\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/filter-slideover/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapFilterSlideoverIndexComponent = _exports.default = (_class = class RoadmapFilterSlideoverIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n }\n get options() {\n return [{\n label: (0, _capitalize.default)(this.intl.t('_initiatives.source', {\n num: 1\n })),\n value: 'source'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.status')),\n value: 'status'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.teams', {\n num: 1\n })),\n value: 'teams'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.themes', {\n num: 1\n })),\n value: 'theme'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.progress')),\n value: 'latestUpdate'\n }, {\n label: (0, _capitalize.default)(this.intl.t('dictionary.goals', {\n num: 1\n })),\n value: 'goals'\n }];\n }\n excludeSelectedRowOption() {\n return this.options.filter(item => item.value !== this.args.row);\n }\n excludeSelectedColumnOption() {\n return this.options.filter(item => item.value !== this.args.column);\n }\n propagateRowUpdate(e) {\n this.args?.onRowSelect(e.value);\n }\n propagateColumnUpdate(e) {\n this.args?.onColumnSelect(e.value);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"excludeSelectedRowOption\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"excludeSelectedRowOption\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"excludeSelectedColumnOption\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"excludeSelectedColumnOption\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateRowUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateRowUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"propagateColumnUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateColumnUpdate\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapFilterSlideoverIndexComponent);\n});","define(\"scaleflow/components/roadmap/financial-summary/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n
    \n
    {{t\n \"dashboards.expected\"\n }}\n {{t \"dashboards.investment\" num=1}}
    \n
    \n \n {{if\n @roadmap.expected_investment\n (localize @roadmap.expected_investment \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n
    \n
    \n
    \n {{t \"dashboards.expected\"}}\n {{t \"dashboards.returns\" num=2}}
    \n
    \n \n {{if\n @roadmap.expected_return\n (localize @roadmap.expected_return \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n \n
    \n
    {{t\n \"dashboards.expected\"\n }}\n {{t \"dashboards.impact\"}}
    \n
    \n \n {{if\n @roadmap.expected_value\n (localize @roadmap.expected_value \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n \n \n \n */\n {\n \"id\": \"VjAJcc5W\",\n \"block\": \"[[[10,0],[14,0,\\\"mt-4 mb-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"mt-5 grid grid-cols-1 divide-y divide-gray-200 overflow-hidden rounded-lg bg-white shadow md:grid-cols-3 md:divide-x md:divide-y-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dashboards.expected\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,3],[\\\"dashboards.investment\\\"],[[\\\"num\\\"],[1]]]],[13],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[14,\\\"test-id\\\",\\\"exp-inv-val\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,1,[\\\"expected_investment\\\"]],[28,[37,7],[[30,1,[\\\"expected_investment\\\"]],\\\",-\\\",[28,[37,3],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dashboards.expected\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,3],[\\\"dashboards.returns\\\"],[[\\\"num\\\"],[2]]]],[13],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[14,\\\"test-id\\\",\\\"exp-return-val\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,1,[\\\"expected_return\\\"]],[28,[37,7],[[30,1,[\\\"expected_return\\\"]],\\\",-\\\",[28,[37,3],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dashboards.expected\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,3],[\\\"dashboards.impact\\\"],null]],[13],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[14,\\\"test-id\\\",\\\"exp-val\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,1,[\\\"expected_value\\\"]],[28,[37,7],[[30,1,[\\\"expected_value\\\"]],\\\",-\\\",[28,[37,3],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@roadmap\\\"],[\\\"div\\\",\\\"dl\\\",\\\"dt\\\",\\\"t\\\",\\\"span\\\",\\\"dd\\\",\\\"if\\\",\\\"localize\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/financial-summary/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"financial-summary\"));\n});","define(\"scaleflow/components/roadmap/form/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"lodash\", \"scaleflow/components/strategy/StrategyCalculation\", \"scaleflow/components/initiatives/table/index\", \"scaleflow/helpers/label-extract\", \"scaleflow/utils/capitalize\", \"scaleflow/utils/next-quarter-dates\", \"scaleflow/validators/roadmap\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _lodash, _StrategyCalculation, _index, _labelExtract, _capitalize, _nextQuarterDates, _roadmap, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"lodash\",0,\"scaleflow/components/strategy/StrategyCalculation\",0,\"scaleflow/components/initiatives/table/index\",0,\"scaleflow/helpers/label-extract\",0,\"scaleflow/utils/capitalize\",0,\"scaleflow/utils/next-quarter-dates\",0,\"scaleflow/validators/roadmap\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if this.selectedScenario}}\n \n {{#let (changeset this.roadmap this.roadmapValidation) as |changeset|}}\n {{#let this.selectedScenario as |scenario|}}\n \n \n \n \n \n {{t \"dictionary.from\"}}: \n \n \n \n {{t \"dictionary.to\"}}: \n \n \n \n \n
    \n \n
    \n
    {{t\n \"dictionary.expected\"\n }}\n {{t \"_scenarios.investment\" num=1}}
    \n \n \n {{if\n this.expected_investment\n (localize this.expected_investment \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n
    \n
    \n
    {{t\n \"dictionary.expected\"\n }}\n {{t \"_scenarios.returns\" num=2}}
    \n \n \n {{if\n this.expected_return\n (localize this.expected_return \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n \n
    \n
    {{t\n \"dictionary.expected\"\n }}\n {{t \"_scenarios.impact\" num=2}}
    \n \n \n {{if\n this.expected_value\n (localize this.expected_value \",-\" (t \"currency.euro\"))\n \"-\"\n }}\n
    \n \n \n
    \n
    {{t\n \"dictionary.eligible\"\n }}\n {{t \"_scenarios.initiatives\" num=2}}
    \n \n \n {{this.recommended_initiatives.length}}\n {{t\n \"dictionary.out-of\"\n }}\n {{this.initiatives.length}}\n
    \n \n \n \n \n \n \n \n {{t \"_scenarios.initiatives\" num=3}}\n \n \n \n \n {{this.groupingLabel}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{/let}}\n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n {{t \"dictionary.save\"}}\n \n \n \n \n {{/let}}\n \n {{#if @isEdit}}\n

    {{t\n \"dictionary.danger-zone\"\n }}

    \n {{t \"dictionary.delete\"}}\n {{t \"roadmap.title\" num=1}}\n {{/if}}\n \n \n {{else}}\n

    Please create an investment\n scenario first or choose an existing one from the options below

    \n \n {{t \"dictionary.select\"}}\n {{t \"_scenarios.title\" num=1}}\n \n \n \n {{/if}}\n */\n {\n \"id\": \"VgXW3zNn\",\n \"block\": \"[[[41,[30,0,[\\\"selectedScenario\\\"]],[[[1,\\\" \\\"],[11,0],[24,0,\\\"pb-16\\\"],[4,[38,2],[[30,0,[\\\"onSelectedInitiativesUpdate\\\"]],[30,0,[\\\"selectedInitiatives\\\"]],[30,0,[\\\"grouping\\\"]]],null],[4,[38,2],[[30,0,[\\\"generateRows\\\"]],[30,0,[\\\"grouping\\\"]],[30,0,[\\\"initiatives\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[44,[[28,[37,4],[[30,0,[\\\"roadmap\\\"]],[30,0,[\\\"roadmapValidation\\\"]]],null]],[[[44,[[30,0,[\\\"selectedScenario\\\"]]],[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@title\\\",\\\"@roadmap\\\",\\\"@scenario\\\"],[[30,1,[\\\"title\\\"]],[30,1],[30,2]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@icon\\\"],[\\\"alt-settings\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"hover:no-underline\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\":\\\\n \\\"],[1,[52,[30,2],[30,2,[\\\"title\\\"]]]],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@tippy\\\"],[[30,2,[\\\"id\\\"]],[28,[37,10],[[30,0,[\\\"setScenario\\\"]],[30,1]],null],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@icon\\\"],[\\\"calendar\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.from\\\"],null]],[1,\\\": \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"pl-2 text-sm rounded-r-md w-[110px] border-0\\\"]],[[\\\"@date\\\",\\\"@onChange\\\",\\\"@dateFormat\\\"],[[30,1,[\\\"start_date\\\"]],[28,[37,10],[[30,0,[\\\"setStartDate\\\"]],[30,1]],null],\\\"d M, Y\\\"]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@icon\\\"],[\\\"calendar\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,8],[\\\"dictionary.to\\\"],null]],[1,\\\": \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"pl-2 text-sm rounded-r-md w-[110px] border-0\\\"]],[[\\\"@date\\\",\\\"@onChange\\\",\\\"@dateFormat\\\"],[[30,1,[\\\"end_date\\\"]],[28,[37,10],[[30,0,[\\\"setEndDate\\\"]],[30,1]],null],\\\"d M, Y\\\"]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"my-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"mt-5 grid grid-cols-1 divide-y divide-gray-200 overflow-hidden rounded-lg bg-white shadow md:grid-cols-4 md:divide-x md:divide-y-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"dictionary.expected\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.investment\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"expected_investment\\\"]],[28,[37,16],[[30,0,[\\\"expected_investment\\\"]],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"dictionary.expected\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.returns\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"expected_return\\\"]],[28,[37,16],[[30,0,[\\\"expected_return\\\"]],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"dictionary.expected\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.impact\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"expected_value\\\"]],[28,[37,16],[[30,0,[\\\"expected_value\\\"]],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null],\\\"-\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 py-5 sm:p-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-base font-normal text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"dictionary.eligible\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.initiatives\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 flex items-baseline justify-between md:block lg:flex\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-baseline text-2xl font-semibold text-indigo-600\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"recommended_initiatives\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"ml-2 text-sm font-medium text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"dictionary.out-of\\\"],null]],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"initiatives\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],null,[[\\\"@initiatives\\\",\\\"@scenario\\\",\\\"@onInitiativeSelect\\\",\\\"@removeInitiative\\\",\\\"@start_date\\\",\\\"@end_date\\\",\\\"@initiativeOptions\\\"],[[30,0,[\\\"roadmapInitiatives\\\"]],[30,2],[28,[37,10],[[30,0,[\\\"updateSelectedInitiatives\\\"]],[30,1]],null],[28,[37,10],[[30,0,[\\\"removeInitiative\\\"]],[30,1]],null],[30,1,[\\\"start_date\\\"]],[30,1,[\\\"end_date\\\"]],[30,0,[\\\"initiatives\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-800 text-xl font-semibold leading-7 h-11 flex items-center mt-8\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.initiatives\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900 px-4 items-center\\\"],[14,\\\"test-id\\\",\\\"filter-status-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"whitespace-nowrap text-ellipsis overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"groupingLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,21],null,[[\\\"@options\\\",\\\"@value\\\",\\\"@onSelect\\\",\\\"@hideClearOption\\\",\\\"@searchPlaceholder\\\",\\\"@tippy\\\",\\\"@handleClearSelection\\\"],[[30,0,[\\\"groupingOptions\\\"]],[30,3],[30,4],false,[28,[37,8],[\\\"dictionary.group-by\\\"],null],true,[28,[37,10],[[30,4],[28,[37,22],null,[[\\\"value\\\"],[null]]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@searchPlaceholder\\\",\\\"@optionList\\\",\\\"@activeFilters\\\",\\\"@onSelect\\\"],[[28,[37,8],[\\\"dictionary.status\\\"],null],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,8],[\\\"dictionary.status\\\"],null]]]],[30,0,[\\\"statusOptions\\\"]],[30,5],[30,6]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@searchPlaceholder\\\",\\\"@optionList\\\",\\\"@activeFilters\\\",\\\"@onSelect\\\"],[[28,[37,8],[\\\"themes.title\\\"],[[\\\"num\\\"],[2]]],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,24],[[28,[37,8],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]],null]]]],[30,0,[\\\"themeOptions\\\"]],[30,7],[30,8]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@searchPlaceholder\\\",\\\"@optionList\\\",\\\"@activeFilters\\\",\\\"@onSelect\\\"],[[28,[37,8],[\\\"dictionary.source\\\"],[[\\\"num\\\"],[2]]],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,24],[[28,[37,8],[\\\"dictionary.source\\\"],[[\\\"num\\\"],[1]]]],null]]]],[30,0,[\\\"sourceOptions\\\"]],[30,9],[30,10]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@searchPlaceholder\\\",\\\"@optionList\\\",\\\"@activeFilters\\\",\\\"@onSelect\\\"],[[28,[37,8],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[2]]],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,8],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[2]]]]]],[30,0,[\\\"pmOptions\\\"]],[30,11],[30,12]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@searchPlaceholder\\\",\\\"@optionList\\\",\\\"@activeFilters\\\",\\\"@onSelect\\\"],[[28,[37,8],[\\\"_teams.title\\\"],[[\\\"num\\\"],[2]]],[28,[37,8],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,8],[\\\"_teams.title\\\"],[[\\\"num\\\"],[2]]]]]],[30,0,[\\\"teamOptions\\\"]],[30,13],[30,14]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,25],null,[[\\\"@initiatives\\\",\\\"@rows\\\",\\\"@setSelectedInitiatives\\\",\\\"@selectionMatchFunction\\\",\\\"@onInitiativeAdd\\\",\\\"@onInitiativeRemove\\\"],[[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"rows\\\"]],[28,[37,10],[[30,0,[\\\"extractAndSetSelectedInitiatives\\\"]],[30,1]],null],[30,0,[\\\"selectionMatchFunction\\\"]],[30,0,[\\\"addInitiativeToRoadmap\\\"]],[30,0,[\\\"removeInitiativeFromRoadmap\\\"]]]],null],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"action-buttons py-3 flex items-center justify-end gap-x-2 w-full sticky bottom-0 bg-white left-0 right-0 buttons-container px-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,26],[[4,[38,27],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"cancelForm\\\"]],[30,1]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sm:ml-3\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"inline-flex items-center rounded bg-indigo-600 px-3 py-2 text-xs font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 disabled:bg-gray-100 disabled:text-gray-400 disabled:border-0\\\"],[16,\\\"disabled\\\",[28,[30,0,[\\\"changesetIsInvalidOrUntouched\\\"]],[[30,1]],null]],[24,\\\"test-id\\\",\\\"save-roadmap\\\"],[24,4,\\\"button\\\"],[4,[38,27],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"saveRoadmap\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[1]]],[1,\\\"\\\\n\\\"],[41,[30,15],[[[1,\\\" \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl leading 7 font-semibold text-gray-900 mt-6 mb-4\\\"],[12],[1,[28,[35,8],[\\\"dictionary.danger-zone\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,26],[[24,0,\\\"text-sm\\\"],[24,\\\"test-id\\\",\\\"delete-roadmap\\\"],[4,[38,27],[\\\"click\\\",[30,0,[\\\"deleteRoadmap\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"roadmap.title\\\"],[[\\\"num\\\"],[1]]]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-center text-gray-500 text-lg mt-8\\\"],[12],[1,\\\"Please create an investment\\\\n scenario first or choose an existing one from the options below\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"hover:no-underline mx-auto bg-white px-2 py-2 border border-gray-300 rounded-md flex items-center mt-4\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"text-gray-500 w-5 h-5\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@value\\\",\\\"@onSelect\\\",\\\"@tippy\\\"],[[30,16,[\\\"id\\\"]],[30,0,[\\\"handleScenarioAssign\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"changeset\\\",\\\"scenario\\\",\\\"@grouping\\\",\\\"@setGrouping\\\",\\\"@statusFilters\\\",\\\"@setStatus\\\",\\\"@themeFilters\\\",\\\"@setThemes\\\",\\\"@sourceFilters\\\",\\\"@setSources\\\",\\\"@pmFilters\\\",\\\"@setPms\\\",\\\"@teamFilters\\\",\\\"@setTeams\\\",\\\"@isEdit\\\",\\\"@model\\\"],[\\\"if\\\",\\\"div\\\",\\\"render-modifiers/on-update\\\",\\\"let\\\",\\\"changeset\\\",\\\"roadmap/strategy-header\\\",\\\"roadmap/strategy-header/info-tiles\\\",\\\"button\\\",\\\"t\\\",\\\"dropdowns/scenario\\\",\\\"fn\\\",\\\"span\\\",\\\"flatpickr\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"localize\\\",\\\"roadmap/roadmap-visualisation\\\",\\\"h2\\\",\\\"roadmap/filter-group\\\",\\\"atoms/icons/chevron/down\\\",\\\"dropdowns/single-select\\\",\\\"hash\\\",\\\"roadmap/filter-group/dropdown\\\",\\\"lowercase\\\",\\\"roadmap/table\\\",\\\"atoms/buttons/button\\\",\\\"on\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/form/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapFormIndexComponent = _exports.default = (_dec = (0, _service.service)('themes'), _dec2 = (0, _service.service)('teams'), _dec3 = (0, _service.service)('roadmap'), _class = class RoadmapFormIndexComponent extends _StrategyCalculation.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"roadmapValidation\", _roadmap.default);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"themesService\", _descriptor2, this);\n _initializerDefineProperty(this, \"users\", _descriptor3, this);\n _initializerDefineProperty(this, \"teamsService\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n _initializerDefineProperty(this, \"store\", _descriptor6, this);\n _initializerDefineProperty(this, \"router\", _descriptor7, this);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor8, this);\n _initializerDefineProperty(this, \"selectedRows\", _descriptor9, this);\n _initializerDefineProperty(this, \"selectedInitiatives\", _descriptor0, this);\n _initializerDefineProperty(this, \"rows\", _descriptor1, this);\n _initializerDefineProperty(this, \"selectedScenario\", _descriptor10, this);\n const {\n start: quarter_start_date,\n end: quarter_end_date\n } = (0, _nextQuarterDates.getNextQuarterDates)();\n const {\n roadmap,\n selectedScenario\n } = this.args;\n const scenario = selectedScenario;\n const start_date = roadmap?.isNew ? quarter_start_date : roadmap?.start_date;\n const end_date = roadmap?.isNew ? quarter_end_date : roadmap?.end_date;\n roadmap.start_date = start_date;\n roadmap.end_date = end_date;\n roadmap.set('investment-scenario', scenario);\n this.selectedScenario = scenario;\n this.generateRows();\n this.generateSelectedRows();\n }\n get initiatives() {\n return this.args.initiatives;\n }\n get roadmapInitiatives() {\n return this.selectedInitiatives ?? [];\n }\n get scenario() {\n return this.roadmap['investment-scenario'];\n }\n get roadmap() {\n return this.args.roadmap;\n }\n get statusOptions() {\n return this.betaToggle.statusOptions;\n }\n get sourceOptions() {\n return this.betaToggle.sourceOptions;\n }\n get themeOptions() {\n return this.themesService.themeOptions;\n }\n get pmOptions() {\n return this.users.userOptions;\n }\n get teamOptions() {\n return this.teamsService.teamOptions;\n }\n get groupingOptions() {\n return this.betaToggle.groupingOptions;\n }\n get groupingLabel() {\n return this.grouping ? this.intl.t('dictionary.group-by') + ': ' + this.groupingOptions.filter(item => item.value === this.grouping)?.[0]?.label : this.intl.t('dictionary.group-by');\n }\n get grouping() {\n return this.args.grouping;\n }\n get expected_investment() {\n return this.selectedInitiatives.reduce((acc, item) => Number(acc) + Number(item.bon_investment ?? 0), 0);\n }\n get expected_return() {\n return this.selectedInitiatives.reduce((acc, item) => Number(acc) + Number(item.bon_returns ?? 0), 0);\n }\n get expected_value() {\n return this.selectedInitiatives.reduce((acc, item) => Number(acc) + Number(item.bon_value ?? 0), 0);\n }\n setSelectedRows(rows) {\n this.selectedRows = rows;\n }\n extractAndSetSelectedInitiatives(changeset, rows) {\n const selectedInitiatives = [];\n rows.forEach(item => {\n if (item?.children) selectedInitiatives.splice(-1, 0, ...item.children);else selectedInitiatives.push(item);\n });\n this.setSelectedInitiatives(this.getInitiativeRecordsFromIds(selectedInitiatives.map(item => item.id)), changeset);\n }\n setSelectedInitiatives(initiatives) {\n this.selectedInitiatives = initiatives;\n this.generateRows();\n // if (changeset) changeset.set('initiatives', initiatives);\n }\n getInitiativeRecordsFromIds(ids) {\n return ids.map(id => {\n const initiative = this.store.peekRecord('initiative', id);\n return initiative;\n });\n }\n openSlideover(initiative) {\n this.initiativeSlideover.open(initiative.id);\n }\n get selectedInitiativeIds() {\n return this.roadmapInitiatives.map(item => item.id);\n }\n updateSelectedInitiatives(changeset, e) {\n const id = e.value;\n const existing_ids = this.selectedInitiatives.map(item => item.id);\n existing_ids.push(id);\n const unique_ids = Array.from(new Set(existing_ids));\n const initiatives = this.getInitiativeRecordsFromIds(unique_ids);\n this.setSelectedInitiatives(initiatives, changeset);\n }\n removeInitiative(changeset, id) {\n const ids = this.selectedInitiativeIds.filter(_id => _id !== id);\n const initiatives = this.getInitiativeRecordsFromIds(ids);\n this.setSelectedInitiatives(initiatives, changeset);\n }\n setScenario(changeset, e) {\n const scenario = this.store.peekRecord('investment-scenario', e.value);\n this.selectedScenario = scenario;\n changeset.set('investment-scenario', scenario);\n }\n setStartDate(changeset, e) {\n changeset.set('start_date', e[0]);\n }\n setEndDate(changeset, e) {\n changeset.set('end_date', e[0]);\n }\n async saveRoadmap(changeset) {\n changeset.set('investment-scenario', this.selectedScenario);\n changeset.set('initiatives', this.selectedInitiatives);\n await this.selectedScenario.save();\n changeset.save().then(val => {\n this.roadmapService.setId(val.id);\n this.router.transitionTo('planning.dashboard', {\n queryParams: {\n roadmap: val.id\n }\n });\n }).catch(err => {\n console.log(err);\n });\n }\n generateRows() {\n let rows = [];\n if (this.grouping) {\n const groupedInitiatives = this.getGroupedInitiativesByKey(this.initiatives, this.grouping);\n rows = Object.keys(groupedInitiatives).map(key => {\n const value = groupedInitiatives[key];\n return {\n title: value.title,\n selected: undefined,\n children: value.content.map(item => this.convertInitiativeToRowItem(item))\n };\n });\n } else {\n rows = this.initiatives.map(item => this.convertInitiativeToRowItem(item));\n }\n this.rows = rows;\n }\n getGroupedInitiativesByKey(list, groupKey) {\n switch (groupKey) {\n case 'status':\n {\n return (0, _index.sortInitiatives)(list, 'No Status', 'status', 'status', value => (0, _index.objectExtract)(this.betaToggle.statusOptions, value)?.label, 'tableOrder');\n }\n case 'source':\n {\n return (0, _index.sortInitiatives)(list, 'No Source', 'source', 'source', value => (0, _index.objectExtract)(this.betaToggle.sourceOptions, value)?.label, 'tableOrder');\n }\n case 'product-manager':\n {\n return (0, _index.sortInitiatives)(list, 'No PM', 'productManager.id', 'productManager.name');\n }\n case 'team':\n {\n return (0, _index.sortInitiatives)(list, 'No Team', 'firstTeam.id', 'firstTeam.name');\n }\n case 'theme':\n {\n return (0, _index.sortInitiatives)(list, 'No Theme', 'theme.id', 'theme.title');\n }\n case 'updates':\n {\n return (0, _index.sortInitiatives)(list, 'No Update', 'latestUpdate.status', 'latestUpdate.status', val => this.intl.t(`_initiatives.updates_${val?.toLowerCase()}`));\n }\n default:\n {\n return (0, _index.sortInitiatives)(list, 'No Status', 'status', 'status');\n }\n }\n }\n\n //create object with key intiiative id and value true or false from selectedInitiatives array\n get selectedInitiativesMap() {\n return this.selectedInitiatives.reduce((acc, item) => {\n acc[item.id] = true;\n return acc;\n }, {});\n }\n convertInitiativeToRowItem(initiative) {\n initiative.recommended = {\n recommended: this.isInitiativeRecommended(initiative)\n };\n return {\n title: initiative.title,\n recommended: initiative.recommended,\n starting_week: initiative.startingWeek,\n duration: initiative.duration ? initiative.duration + ' weeks' : '-',\n source: (0, _capitalize.default)(initiative.source ? (0, _labelExtract._labelExtract)(this.betaToggle.sourceOptions, initiative.source).split(' ')?.[0] : `${this.intl.t('dictionary.no')} ${this.intl.t('dictionary.source', {\n num: 1\n }).toLowerCase()}`),\n status: (0, _capitalize.default)(initiative.status ? (0, _labelExtract._labelExtract)(this.betaToggle.statusOptions, initiative.status) : `${this.intl.t('dictionary.no')} ${this.intl.t('dictionary.status').toLowerCase()}`),\n person_weeks: initiative.person_weeks_excluding_uncertainty ? initiative.person_weeks_excluding_uncertainty + ' pw' : '-',\n uncertainty: initiative.person_weeks_only_uncertainty ? initiative.person_weeks_only_uncertainty + ' pw' : '-',\n priority: initiative.priority ?? '-',\n bon: initiative.localizedBonValue,\n id: initiative.id,\n selected: {\n selected: this.selectedInitiativesMap[initiative.id],\n onChange: checked => this.handleInitiativeToggle(checked, initiative)\n }\n };\n }\n handleInitiativeToggle(checked, initiative) {\n if (checked) this.addInitiativeToRoadmap(initiative);else this.removeInitiativeFromRoadmap(initiative);\n }\n isInitiativeRecommended(initiative) {\n const scenarioPWLimits = this.scenarioPWLimits;\n const source = initiative.source?.toLowerCase();\n if (!source || source === 'other') return false;\n if (!initiative.person_weeks_including_uncertainty) return false;\n if (+initiative.person_weeks_including_uncertainty < scenarioPWLimits[source].lower_limit || +initiative.person_weeks_including_uncertainty > scenarioPWLimits[source].upper_limit) return false;\n return true;\n }\n generateSelectedRows() {\n const rows = (0, _lodash.cloneDeep)(this.rows); // cloneDeep is used to avoid mutating the original array (rows\n const selectedInitiativesIds = this.selectedInitiatives.map(item => item.id);\n const selectedRows = [];\n rows.forEach(row => {\n const children = row.children;\n if (children) {\n const selectedChildren = children.filter(item => selectedInitiativesIds.includes(item.id));\n if (selectedChildren.length > 0) {\n const newRow = row;\n newRow.children = selectedChildren;\n selectedRows.push(newRow);\n }\n } else {\n if (selectedInitiativesIds.includes(row.id)) {\n selectedRows.push(row);\n }\n }\n });\n return selectedRows;\n }\n onSelectedInitiativesUpdate() {\n this.generateSelectedRows();\n }\n selectionMatchFunction(_, rowValue) {\n return this.selectedInitiativeIds.includes(rowValue.id);\n }\n get recommended_initiatives() {\n return this.initiatives.filter(item => item.recommended?.recommended);\n }\n initiativesAreUnchanged(changeset_initiative_ids, selected_initiative_ids) {\n return changeset_initiative_ids.length === selected_initiative_ids.length && changeset_initiative_ids.every(id => selected_initiative_ids.includes(id));\n }\n changesetIsInvalidOrUntouched(changeset) {\n if (!changeset.title || !changeset.title.trim().length) return true;\n if (changeset.isInvalid) return true;\n let initiatives = changeset.get('initiatives');\n if ('promise' in initiatives) initiatives = (initiatives?.content ?? []).map(item => item.id);\n const sameInitiatives = this.initiativesAreUnchanged(initiatives.map(item => item.id), this.selectedInitiativeIds);\n if (changeset.title === this.roadmap.title && changeset.get('investment-scenario.id') === this.roadmap.get('investment-scenario.id') && changeset?.start_date === this.roadmap?.start_date && changeset?.end_date === this.roadmap?.end_date && sameInitiatives) return true;\n }\n addInitiativeToRoadmap(initiative) {\n const id = initiative.id;\n const existing_ids = this.selectedInitiatives.map(item => item.id);\n existing_ids.push(id);\n const unique_ids = Array.from(new Set(existing_ids));\n const initiatives = this.getInitiativeRecordsFromIds(unique_ids);\n this.setSelectedInitiatives(initiatives);\n }\n removeInitiativeFromRoadmap(initiative) {\n const id = initiative.id;\n const filtered_out_ids = this.selectedInitiatives.filter(item => item.id !== id).map(item => item.id);\n const unique_ids = Array.from(new Set(filtered_out_ids));\n const initiatives = this.getInitiativeRecordsFromIds(unique_ids);\n this.setSelectedInitiatives(initiatives);\n }\n cancelForm(changeset) {\n if (!changeset.id) this.roadmap.deleteRecord();\n this.router.transitionTo('planning.dashboard');\n }\n deleteRoadmap() {\n /**\n * Delete linked scenario if connected to this roadmap\n */\n const roadmaps_linked_to_scenario = this.selectedScenario?.roadmaps ?? [];\n if (roadmaps_linked_to_scenario.length === 1) {\n this.selectedScenario.deleteRecord();\n }\n this.roadmap.destroyRecord().then(() => {\n this.router.replaceWith('planning.dashboard');\n });\n }\n handleScenarioAssign(e) {\n const id = e.value;\n const scenario = this.store.peekRecord('investment-scenario', id);\n const roadmap = this.roadmap;\n roadmap['investment-scenario'] = scenario;\n roadmap.save().then(() => {\n this.selectedScenario = scenario;\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"themesService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"users\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"teamsService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selectedRows\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"selectedInitiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.roadmap.initiatives?.content ?? [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"rows\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"selectedScenario\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setSelectedRows\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSelectedRows\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"extractAndSetSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractAndSetSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setScenario\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setScenario\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setStartDate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setStartDate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setEndDate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setEndDate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"generateRows\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"generateRows\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInitiativeToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInitiativeToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"generateSelectedRows\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"generateSelectedRows\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSelectedInitiativesUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSelectedInitiativesUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"selectionMatchFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"selectionMatchFunction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changesetIsInvalidOrUntouched\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changesetIsInvalidOrUntouched\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addInitiativeToRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addInitiativeToRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeInitiativeFromRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeInitiativeFromRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleScenarioAssign\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleScenarioAssign\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapFormIndexComponent);\n});","define(\"scaleflow/components/roadmap/list/delete-modal/index\", [\"exports\", \"@ember/component\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _debug, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @roadmap}}\n \n <:title>\n

    {{t\n \"roadmap.confirm-delete\"\n roadmap_name=@roadmap.title\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n \n
    \n \n \n
    \n \n \n <:footer>\n {{t \"dictionary.delete\"}}\n \n
    \n {{/if}}\n */\n {\n \"id\": \"IU/OaR9r\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],null,[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,2],[30,0,[\\\"dismissModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,4],[\\\"roadmap.confirm-delete\\\"],[[\\\"roadmap_name\\\"],[[30,1,[\\\"title\\\"]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"name\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium\\\"],[12],[1,[28,[35,4],[\\\"dictionary.type-delete-to-confirm\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"name\\\"],[24,0,\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 placeholder:italic\\\"],[16,\\\"placeholder\\\",[28,[37,10],[[28,[37,4],[\\\"dictionary.delete\\\"],null]],null]],[16,2,[30,0,[\\\"delete_confirmation_text\\\"]]],[17,3],[4,[38,11],[\\\"change\\\",[30,0,[\\\"setConfirmationText\\\"]]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,\\\"test-id\\\",\\\"delete\\\"],[16,\\\"disabled\\\",[28,[37,14],[[30,0,[\\\"confirmTextIsValid\\\"]]],null]],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"confirmDelete\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,4],[\\\"dictionary.delete\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@roadmap\\\",\\\"@isOpen\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"modal\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"input\\\",\\\"lowercase\\\",\\\"on\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"not\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/list/delete-modal/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapListDeleteModalIndexComponent = _exports.default = (_class = class RoadmapListDeleteModalIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"delete_confirmation_text\", _descriptor2, this);\n }\n dismissModal() {\n if (!this.args.closeModal) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"closeModal\" param'));\n this.delete_confirmation_text = '';\n this.args?.closeModal?.();\n }\n get confirmTextIsValid() {\n return this.delete_confirmation_text === this.intl.t('dictionary.delete').toLowerCase();\n }\n confirmDelete() {\n if (this.args.deleteRoadmap) (false && !(false) && (0, _debug.assert)('Pass a callback function to the \"confirmDelete\" param'));\n if (this.confirmTextIsValid) {\n this.args?.confirmDelete?.();\n this.delete_confirmation_text = '';\n }\n }\n setConfirmationText(e) {\n this.delete_confirmation_text = e.target.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"delete_confirmation_text\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"dismissModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"dismissModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setConfirmationText\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setConfirmationText\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapListDeleteModalIndexComponent);\n});","define(\"scaleflow/components/roadmap/list/table/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"moment\", \"scaleflow/utils/obj-append\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _moment, _objAppend, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"moment\",0,\"scaleflow/utils/obj-append\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"q+DCaj0b\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@columns\\\",\\\"@rows\\\",\\\"@data-row\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],\\\"roadmap\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@isOpen\\\",\\\"@roadmap\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"showDeleteModal\\\"]],[30,0,[\\\"selectedRoadmap\\\"]],[30,0,[\\\"deleteRoadmap\\\"]],[30,0,[\\\"handleDismissDeleteModal\\\"]]]],null]],[],[\\\"table-v2\\\",\\\"roadmap/list/delete-modal\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/list/table/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapListTableIndexComponent = _exports.default = (_class = class RoadmapListTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor2, this);\n _initializerDefineProperty(this, \"selectedRoadmap\", _descriptor3, this);\n }\n get columns() {\n if (this.args?.columns) return this.args?.columns;\n return [{\n name: this.intl.t('roadmap.table.title'),\n valuePath: 'title',\n key: 'title',\n isSortable: false\n }, {\n name: this.intl.t('roadmap.start-date'),\n valuePath: 'start_date',\n key: 'start_Date',\n class: '!w-[15%]',\n cellClass: '!justify-start',\n isSortable: false\n }, {\n name: this.intl.t('roadmap.end-date'),\n valuePath: 'end_date',\n key: 'end_date',\n class: '!w-[15%]',\n cellClass: '!justify-start',\n isSortable: false\n }, {\n name: '',\n valuePath: 'grid',\n class: '!w-[10%]',\n key: 'grid',\n component: 'link',\n type: 'primary',\n test_id: 'grid-roadmap'\n }, {\n name: '',\n valuePath: 'lanes',\n class: '!w-[10%]',\n key: 'lanes',\n component: 'link',\n type: 'primary',\n test_id: 'lanes-roadmap'\n }, {\n name: '',\n valuePath: 'timeline',\n class: '!w-[10%]',\n key: 'timeline',\n component: 'link',\n type: 'primary',\n test_id: 'timeline-roadmap',\n isSortable: false\n }, {\n name: '',\n valuePath: 'edit',\n class: '!w-[10%]',\n key: 'edit',\n component: 'link',\n type: 'primary',\n test_id: 'edit-roadmap',\n isSortable: false\n }, {\n name: '',\n valuePath: 'delete',\n class: '!w-[10%]',\n key: 'delete',\n component: 'button',\n type: 'danger',\n test_id: 'delete',\n isSortable: false\n }];\n }\n unselectRoadmap() {\n this.selectedRoadmap = null;\n }\n handleDeleteRoadmap(item) {\n this.selectedRoadmap = item;\n this.toggleDeleteModal(true);\n }\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n deleteRoadmap() {\n this.selectedRoadmap?.destroyRecord?.();\n this.unselectRoadmap();\n }\n handleDismissDeleteModal() {\n this.unselectRoadmap();\n this.toggleDeleteModal(false);\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;\n const roadmapList = this.args?.list.map(item => (0, _objAppend.objectAppend)({\n title: item.title,\n start_date: (0, _moment.default)(item.start_date).format('DD MMM, YYYY'),\n end_date: (0, _moment.default)(item.end_date).format('DD MMM, YYYY'),\n grid: {\n label: this.intl.t('pages.grid'),\n route: 'roadmap.strategy.roadmap.grid'\n },\n edit: {\n label: this.intl.t('roadmap.edit'),\n route: 'roadmap.strategy.roadmap.edit'\n },\n lanes: {\n label: this.intl.t('pages.lanes'),\n route: 'roadmap.strategy.roadmap.lanes'\n },\n timeline: {\n label: this.intl.t('dictionary.timeline'),\n route: 'roadmap.strategy.roadmap.timeline'\n },\n delete: {\n label: this.intl.t('roadmap.delete'),\n onClick: () => this.handleDeleteRoadmap(item)\n }\n }, {\n model: item\n }));\n return roadmapList;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"selectedRoadmap\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"unselectRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unselectRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDeleteRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDeleteRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapListTableIndexComponent);\n});","define(\"scaleflow/components/roadmap/roadmap-visualisation/column/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{! COLUMN HEADING }}\n \n {{this.title}}\n {{#if this.overplanned}}\n {{t \"roadmap.overplanned\"}}\n {{/if}}\n \n \n {{! Column Capacity Details }}\n
    \n {{!

    Capacity

    }}\n {{!
    }}\n \n {{#if @readOnly}}{{else}}\n
    \n
    {{t \"dictionary.eligible\"}}\n {{t \"_initiatives.title\" num=2}}
    \n
    {{this.reccomended_initiatives_count}}\n /\n {{this.initiativesInSource}}
    \n
    \n {{/if}}\n
    \n
    \n
    {{t \"roadmap.total\"}}
    \n
    {{this.total_capacity}}\n pw
    \n
    \n
    \n
    {{t \"roadmap.planned\"}}
    \n
    \n {{this.planned_capacity}} pw
    \n \n
    \n
    \n
    {{t \"roadmap.uncertainty\" num=1}}
    \n
    \n {{to-fixed this.uncertain_capacity}} pw
    \n \n
    \n
    \n
    {{t \"roadmap.available\"}}
    \n
    \n {{to-fixed this.available_capacity}} pw
    \n \n \n \n {{! }}\n
    \n \n {{! Column initiatives list }}\n
    \n
      \n {{#each this.combinedBoxList key=@identity as |box|}}\n {{#if box.id}}\n {{#if @readOnly}}\n \n {{else}}\n \n {{/if}}\n {{else}}\n {{#if @readOnly}}{{else}}\n \n {{/if}}\n {{/if}}\n {{/each}}\n
    \n
    \n \n \n */\n {\n \"id\": \"2McOL7SG\",\n \"block\": \"[[[10,\\\"li\\\"],[14,0,\\\"overflow-hidden rounded-xl border border-gray-200 bg-white\\\"],[15,\\\"test-id\\\",[29,[[30,0,[\\\"test_id\\\"]],\\\"-bucket\\\"]]],[12],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 border-b border-gray-900/5 bg-white p-6 justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"text-sm font-medium leading-6 text-gray-900\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"overplanned\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-md py-1 px-2 text-xs font-medium ring-1 ring-inset text-red-700 bg-red-50 ring-red-600/10\\\"],[12],[1,[28,[35,3],[\\\"roadmap.overplanned\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"dl\\\"],[14,0,\\\"-my-3 divide-y divide-gray-100 px-6 py-4 text-sm leading-6\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[41,[30,1],[[],[]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full flex items-center py-2 justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"dictionary.eligible\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[30,0,[\\\"reccomended_initiatives_count\\\"]]],[1,\\\"\\\\n /\\\\n \\\"],[1,[30,0,[\\\"initiativesInSource\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[10,0],[14,0,\\\"flex justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4 py-3 flex-col text-left\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"roadmap.total\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-gray-900\\\"],[14,\\\"test-id\\\",\\\"total-pw\\\"],[12],[1,[30,0,[\\\"total_capacity\\\"]]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4 py-3 flex-col text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"roadmap.planned\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-start gap-x-2 mx-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"font-medium text-gray-900 text-center\\\"],[14,\\\"test-id\\\",\\\"planned-pw\\\"],[12],[1,[30,0,[\\\"planned_capacity\\\"]]],[1,\\\" pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4 py-3 flex-col text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"roadmap.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-start gap-x-2 mx-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"font-medium text-gray-900 text-center\\\"],[14,\\\"test-id\\\",\\\"uncertain-pw\\\"],[12],[1,[28,[35,7],[[30,0,[\\\"uncertain_capacity\\\"]]],null]],[1,\\\" pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between gap-x-4 py-3 flex-col text-right\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-gray-500\\\"],[12],[1,[28,[35,3],[\\\"roadmap.available\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-start gap-x-2 ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"font-medium text-gray-900\\\"],[14,\\\"test-id\\\",\\\"available-pw\\\"],[12],[1,[28,[35,7],[[30,0,[\\\"available_capacity\\\"]]],null]],[1,\\\" pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"px-6 pb-4 overflow-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"ol\\\"],[14,\\\"role\\\",\\\"list\\\"],[14,0,\\\"mt-3 grid grid-cols-1 gap-4\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"combinedBoxList\\\"]]],null]],null],[30,2],[[[41,[30,3,[\\\"id\\\"]],[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,11],[[16,\\\"test-id\\\",[29,[\\\"initiative-\\\",[30,3,[\\\"id\\\"]]]]]],[[\\\"@initiative\\\"],[[30,3]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,12],null,[[\\\"@initiative\\\",\\\"@removeInitiative\\\",\\\"@readOnly\\\"],[[30,3],[30,4],[30,1]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[41,[30,1],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,13],null,[[\\\"@box\\\",\\\"@source\\\",\\\"@initiativesOfSource\\\",\\\"@onInitiativeSelect\\\"],[[30,3],[30,0,[\\\"source\\\"]],[30,0,[\\\"unselectedInitiativesFilteredBySource\\\"]],[30,0,[\\\"propagateInitiative\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@readOnly\\\",\\\"@identity\\\",\\\"box\\\",\\\"@removeInitiative\\\"],[\\\"li\\\",\\\"div\\\",\\\"if\\\",\\\"t\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"to-fixed\\\",\\\"ol\\\",\\\"each\\\",\\\"-track-array\\\",\\\"initiatives/card\\\",\\\"roadmap/roadmap-visualisation/initiative-box\\\",\\\"roadmap/roadmap-visualisation/empty-box\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/roadmap-visualisation/column/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapRoadmapVisualisationColumnIndexComponent = _exports.default = (_class = class RoadmapRoadmapVisualisationColumnIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get config() {\n return this.args.bucketConfiguration ?? {};\n }\n get total_capacity() {\n return this.config.total_capacity;\n }\n get title() {\n return this.config.title;\n }\n get test_id() {\n return this.config.test_id;\n }\n get initiatives() {\n return this.config.initiatives ?? [];\n }\n get initiative_ids() {\n return this.initiatives.map(item => item.id);\n }\n get boxes() {\n return this.config.boxes;\n }\n get source() {\n return this.config.source;\n }\n get overplanned() {\n return +this.planned_capacity + +this.uncertain_capacity > this.total_capacity;\n }\n get planned_capacity() {\n return this.initiatives.reduce((acc, item) => {\n const pw = +item.person_weeks_excluding_uncertainty;\n if (!isNaN(pw)) return acc + pw;\n return acc;\n }, 0);\n }\n get uncertain_capacity() {\n return this.initiatives.reduce((acc, item) => {\n const pw = +item.person_weeks_only_uncertainty;\n if (!isNaN(pw)) return +acc + pw;\n return acc;\n }, 0);\n }\n get available_capacity() {\n return this.total_capacity - this.planned_capacity - this.uncertain_capacity;\n }\n get reccomended_initiatives_count() {\n return this.args.initiativeOptions?.filter(i => i.source === this.config.source && i?.recommended?.recommended === true).length;\n }\n get combinedBoxList() {\n let finalList = [];\n const initiatives = this.initiatives;\n const boxes = this.boxes;\n if (initiatives.length === 0) finalList = [...boxes];\n if (initiatives.length > boxes.length) {\n finalList = initiatives.map((initiative, index) => {\n const box = boxes.at(index);\n if (box) {\n initiative.color = box.color;\n } else {\n initiative.color = 'bg-red-600';\n }\n return initiative;\n });\n } else {\n finalList = this.boxes.map((box, index) => {\n const initiative = initiatives.at(index);\n if (initiative) {\n initiative.color = box.color;\n return initiative;\n }\n return box;\n });\n }\n return finalList;\n }\n get initiativesInSource() {\n return this.args.initiativeOptions.filter(i => i.source === this.config.source).length;\n }\n get unselectedInitiativesFilteredBySource() {\n const initiatives = this.args.initiativeOptions;\n const sourceFilteredInitiatives = initiatives.filter(i => i.source === this.source && !this.initiative_ids.includes(i.id)).map(initiative => ({\n label: initiative.title,\n value: initiative.id\n }));\n return sourceFilteredInitiatives;\n }\n propagateInitiative(e) {\n this.args?.onInitiativeSelect(e);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"propagateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateInitiative\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapRoadmapVisualisationColumnIndexComponent);\n});","define(\"scaleflow/components/roadmap/roadmap-visualisation/empty-box/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
  • \n \n  \n \n
    \n {{t\n \"roadmap.click-to-assign\"\n }}\n

    {{this.fillType}}

    \n
    \n \n \n \n \n
  • \n */\n {\n \"id\": \"a4FVewdh\",\n \"block\": \"[[[10,\\\"li\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"flex rounded-md shadow-sm w-full opacity-50 hover:opacity-100 focus:opacity-100 active:opacity-100\\\"],[14,\\\"test-id\\\",\\\"eb-dropdown-trigger\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex w-3 flex-shrink-0 items-center justify-center self-stretch\\\\n \\\",[30,1,[\\\"color\\\"]],\\\"\\\\n rounded-l-md text-sm font-medium text-white\\\"]]],[14,\\\"test-id\\\",\\\"eb-color\\\"],[12],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-1 items-center justify-between truncate rounded-r-md border-b border-r border-t border-gray-200 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 truncate px-4 py-2 text-sm text-left\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-medium text-gray-900 hover:text-gray-600\\\"],[12],[1,[28,[35,4],[\\\"roadmap.click-to-assign\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500\\\"],[12],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[30,0,[\\\"fillType\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],null,[[\\\"@options\\\",\\\"@onSelect\\\",\\\"@hideClearOption\\\",\\\"@searchPlaceholder\\\",\\\"@tippy\\\"],[[30,2],[30,0,[\\\"propagateInitiative\\\"]],true,[28,[37,4],[\\\"dictionary.search\\\"],null],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@box\\\",\\\"@initiativesOfSource\\\"],[\\\"li\\\",\\\"button\\\",\\\"div\\\",\\\"span\\\",\\\"t\\\",\\\"p\\\",\\\"dropdowns/single-select\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/roadmap-visualisation/empty-box/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapRoadmapVisualisationEmptyBoxIndexComponent = _exports.default = (_class = class RoadmapRoadmapVisualisationEmptyBoxIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n }\n get box() {\n return this.args.box;\n }\n get fillType() {\n if (this.box.type === 'required') return this.intl.t('roadmap.required-spot');\n if (this.box.type === 'optional') return this.intl.t('roadmap.optional-spot');\n return '';\n }\n get source() {\n return this.args.source;\n }\n propagateInitiative(e) {\n this.args.onInitiativeSelect(e);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"propagateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateInitiative\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapRoadmapVisualisationEmptyBoxIndexComponent);\n});","define(\"scaleflow/components/roadmap/roadmap-visualisation/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"scaleflow/components/strategy/StrategyCalculation\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _StrategyCalculation, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/components/strategy/StrategyCalculation\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n */\n {\n \"id\": \"EOIQBurY\",\n \"block\": \"[[[10,\\\"ul\\\"],[14,\\\"role\\\",\\\"list\\\"],[14,0,\\\"grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8 fade-up\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],null,[[\\\"@initiativeOptions\\\",\\\"@bucketConfiguration\\\",\\\"@onInitiativeSelect\\\",\\\"@removeInitiative\\\",\\\"@readOnly\\\"],[[30,1],[30,0,[\\\"visionBucketConfig\\\"]],[30,0,[\\\"propagateInitiative\\\"]],[30,2],[30,3]]],null],[1,\\\"\\\\n \\\"],[8,[39,1],null,[[\\\"@initiativeOptions\\\",\\\"@bucketConfiguration\\\",\\\"@onInitiativeSelect\\\",\\\"@removeInitiative\\\",\\\"@readOnly\\\"],[[30,1],[30,0,[\\\"customerRequestBucketConfig\\\"]],[30,0,[\\\"propagateInitiative\\\"]],[30,2],[30,3]]],null],[1,\\\"\\\\n \\\"],[8,[39,1],null,[[\\\"@initiativeOptions\\\",\\\"@bucketConfiguration\\\",\\\"@onInitiativeSelect\\\",\\\"@removeInitiative\\\",\\\"@readOnly\\\"],[[30,1],[30,0,[\\\"operationsBucketConfig\\\"]],[30,0,[\\\"propagateInitiative\\\"]],[30,2],[30,3]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@initiativeOptions\\\",\\\"@removeInitiative\\\",\\\"@readOnly\\\"],[\\\"ul\\\",\\\"roadmap/roadmap-visualisation/column\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/roadmap-visualisation/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapRoadmapVisualisationIndexComponent = _exports.default = (_class = class RoadmapRoadmapVisualisationIndexComponent extends _StrategyCalculation.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n }\n get initiatives() {\n return this.args.initiatives ?? [];\n }\n get visionInitiatives() {\n return this.initiatives.filter(item => item?.source?.toLowerCase() === 'vision');\n }\n get customerRequestInitiatives() {\n return this.initiatives.filter(item => item?.source?.toLowerCase() === 'customer request current');\n }\n get operationsInitiatives() {\n return this.initiatives.filter(item => item?.source?.toLowerCase() === 'operations and maintenance');\n }\n get scenario() {\n return this.args.scenario;\n }\n generateRangeBoxes(scenario, source) {\n const lower_limit = this.calculateInitiativesLimit(scenario, source, 'upper');\n const upper_limit = this.calculateInitiativesLimit(scenario, source, 'lower');\n const interval_value = Math.ceil(this.calculateInterval(upper_limit, lower_limit));\n const [, upper_advised_limit] = this.calculateAdvisedRange(lower_limit, upper_limit, true);\n let initiatives_counter = 0;\n const must_fill_boxes = new Array(lower_limit).fill('-').map(() => {\n initiatives_counter++;\n return {\n color: 'bg-green-600',\n type: 'required'\n };\n });\n let should_fill_boxes = [];\n new Array(this.divisions).fill('-').forEach(() => {\n const arr = new Array(interval_value).fill('-').map(() => {\n initiatives_counter++;\n const color = initiatives_counter > upper_advised_limit ? 'bg-yellow-500' : 'bg-green-400';\n return {\n color,\n type: 'optional'\n };\n });\n should_fill_boxes = [...should_fill_boxes, ...arr];\n });\n const boxes = [...must_fill_boxes, ...should_fill_boxes];\n return boxes;\n }\n get visionBucketConfig() {\n return {\n total_capacity: this.calculatePwCapacity(this.scenario, 'vision', true)?.toFixed(1),\n title: this.intl.t('source-options.vision'),\n initiatives: this.visionInitiatives,\n boxes: this.generateRangeBoxes(this.scenario, 'vision'),\n source: 'VISION',\n test_id: 'vision'\n };\n }\n get customerRequestBucketConfig() {\n return {\n total_capacity: this.calculatePwCapacity(this.scenario, 'customer', true)?.toFixed(1),\n title: this.intl.t('source-options.customer-request'),\n initiatives: this.customerRequestInitiatives,\n boxes: this.generateRangeBoxes(this.scenario, 'customer'),\n source: 'CUSTOMER REQUEST CURRENT',\n test_id: 'customer-led'\n };\n }\n get operationsBucketConfig() {\n return {\n total_capacity: this.calculatePwCapacity(this.scenario, 'operations', true)?.toFixed(1),\n title: this.intl.t('source-options.operations'),\n initiatives: this.operationsInitiatives,\n boxes: this.generateRangeBoxes(this.scenario, 'operations'),\n source: 'OPERATIONS AND MAINTENANCE',\n test_id: 'operations'\n };\n }\n propagateInitiative(e) {\n this.args.onInitiativeSelect(e);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"propagateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateInitiative\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapRoadmapVisualisationIndexComponent);\n});","define(\"scaleflow/components/roadmap/roadmap-visualisation/initiative-box/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
  • \n {{substring @initiative.title 0 1}}\n \n
    \n {{@initiative.title}}\n

    {{t\n \"roadmap.capacity\"\n }}\n {{to-fixed @initiative.person_weeks_excluding_uncertainty}}pw

    \n

    {{t\n \"roadmap.uncertainty\"\n num=1\n }}\n {{@initiative.person_weeks_only_uncertainty}}pw

    \n {{#if @readOnly}}\n {{t \"_initiatives.progress\"}}\n \n

    \n {{/if}}\n
    \n \n \n {{#unless @readOnly}}\n \n {{/unless}}\n
  • \n */\n {\n \"id\": \"TgA0bQ+6\",\n \"block\": \"[[[10,\\\"li\\\"],[14,0,\\\"flex rounded-md shadow-sm relative\\\"],[14,\\\"test-id\\\",\\\"ib\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"flex w-3 flex-shrink-0 items-center justify-center\\\\n \\\",[28,[37,2],[[30,1,[\\\"latestUpdate\\\",\\\"status\\\"]]],null],\\\"\\\\n rounded-l-md text-sm font-medium text-white uppercase\\\"]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"openSlideover\\\"]]],null],[12],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,5],[[30,1,[\\\"title\\\"]],0,1],null]],[13],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-1 items-center justify-between truncate rounded-r-md border-b border-r border-t border-gray-200 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-1 truncate px-4 py-2 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"ib-title\\\"],[24,0,\\\"font-medium text-gray-900 hover:text-gray-600 w-full text-ellipsis text-left overflow-hidden pr-4\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"openSlideover\\\"]]],null],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 capitalize\\\"],[14,\\\"test-id\\\",\\\"ib-pweu\\\"],[12],[1,[28,[35,8],[\\\"roadmap.capacity\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,9],[[30,1,[\\\"person_weeks_excluding_uncertainty\\\"]]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 capitalize\\\"],[14,\\\"test-id\\\",\\\"ib-pwou\\\"],[12],[1,[28,[35,8],[\\\"roadmap.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"person_weeks_only_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 capitalize flex items-center gap-x-2\\\"],[14,\\\"test-id\\\",\\\"ib-progress\\\"],[12],[1,[28,[35,8],[\\\"_initiatives.progress\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@progress\\\"],[[30,1,[\\\"latestUpdate\\\",\\\"status\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"absolute right-2 top-2\\\"],[4,[38,3],[\\\"click\\\",[28,[37,14],[[30,3],[30,1,[\\\"id\\\"]]],null]],null]],null,[[\\\"default\\\"],[[[[8,[39,15],[[24,0,\\\"w-4 h-4 text-gray-900\\\"]],null,null]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@initiative\\\",\\\"@readOnly\\\",\\\"@removeInitiative\\\"],[\\\"li\\\",\\\"button\\\",\\\"progress-to-bg\\\",\\\"on\\\",\\\"span\\\",\\\"substring\\\",\\\"div\\\",\\\"p\\\",\\\"t\\\",\\\"to-fixed\\\",\\\"if\\\",\\\"initiatives/table/progress-pill\\\",\\\"unless\\\",\\\"atoms/buttons/icon\\\",\\\"fn\\\",\\\"atoms/icons/close\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/roadmap-visualisation/initiative-box/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapRoadmapVisualisationInitiativeBoxIndexComponent = _exports.default = (_class = class RoadmapRoadmapVisualisationInitiativeBoxIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n }\n openSlideover() {\n this.initiativeSlideover.open(this.args.initiative.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"openSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSlideover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapRoadmapVisualisationInitiativeBoxIndexComponent);\n});","define(\"scaleflow/components/roadmap/roi/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@sentry/ember\", \"@ember/template-factory\"], function (_exports, _component, _component2, _ember, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@sentry/ember\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n
    \n
    \n

    {{t\n \"dashboards.all\"\n initiatives=(t \"_initiatives.title\" num=2)\n }}

    \n

    {{t \"dashboards.roi-explanation\"}}

    \n \n
    \n \n \n

    {{t\n \"source-options.vision\"\n }}

    \n \n
    \n \n \n

    {{t\n \"source-options.customer-request\"\n }}

    \n \n \n \n \n

    {{t\n \"source-options.operations\"\n }}

    \n \n \n \n {{!--
    \n

    {{t 'dashboards.roi'}}\n -\n {{t 'source-options.not-classified'}}

    \n \n
    --}}\n \n */\n {\n \"id\": \"ruQ7DLTJ\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@roadmap\\\"],[[30,0,[\\\"roadmap\\\"]]]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-y-6 gap-x-6 mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-12 bg-white rounded-md shadow p-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dashboards.all\\\"],[[\\\"initiatives\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,[28,[35,3],[\\\"dashboards.roi-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-full\\\"],[24,1,\\\"bar-chart-roi-all\\\"]],[[\\\"@height\\\",\\\"@source\\\",\\\"@showLegend\\\",\\\"@onLinkMetricClick\\\"],[\\\"500\\\",[30,0,[\\\"initiatives\\\"]],true,[30,0,[\\\"onLinkMetricClick\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 bg-white rounded-md shadow p-2\\\"],[14,\\\"test-id\\\",\\\"roi-vision-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"source-options.vision\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-full\\\"],[24,1,\\\"bar-chart-roi-vision\\\"]],[[\\\"@height\\\",\\\"@source\\\",\\\"@showLegend\\\"],[\\\"300\\\",[30,0,[\\\"visionInitiatives\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 bg-white rounded-md shadow p-2\\\"],[14,\\\"test-id\\\",\\\"roi-customer-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"source-options.customer-request\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-full\\\"],[24,1,\\\"bar-chart-roi-customer\\\"]],[[\\\"@height\\\",\\\"@source\\\",\\\"@showLegend\\\"],[\\\"300\\\",[30,0,[\\\"customerInitiatives\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 bg-white rounded-md shadow p-2\\\"],[14,\\\"test-id\\\",\\\"roi-maintenance-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"source-options.operations\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-full\\\"],[24,1,\\\"bar-chart-roi-maintenance\\\"]],[[\\\"@height\\\",\\\"@source\\\",\\\"@showLegend\\\"],[\\\"300\\\",[30,0,[\\\"maintenanceInitiatives\\\"]],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13]],[],[\\\"roadmap/financial-summary\\\",\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"p\\\",\\\"charts/bar-chart-roi\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/roi/index.hbs\",\n \"isStrictMode\": false\n });\n class RoadmapRoiIndexComponent extends _component2.default {\n get initiatives() {\n return this.args.data.source;\n }\n get roadmap() {\n return this.args.roadmap;\n }\n\n // FIXME: There should be a better way to filter out elements in a dataset.\n get customerInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'CUSTOMER REQUEST CURRENT');\n }\n\n // FIXME: There should be a better way to filter out elements in a dataset.\n get visionInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'VISION');\n }\n\n // FIXME: There should be a better way to filter out elements in a dataset.\n get maintenanceInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'OPERATIONS AND MAINTENANCE');\n }\n\n // TODO: Bring back OTHER and Undefined as a chart.\n get otherInitiatives() {\n const notClassified = this.filter_on_field(this.initiatives, 'source', null) ?? [];\n const other = this.filter_on_field(this.initiatives, 'source', 'OTHER');\n return notClassified.concat(other);\n }\n\n // FIXME: There should be a better way to filter out elements in a dataset.\n filter_on_field(dataset, field, value) {\n if (dataset == undefined) return undefined;\n const field_index = dataset[0].indexOf(field);\n const filtered_records = dataset.filter(entry => entry[field_index] === value);\n const returns = [dataset[0]].concat(filtered_records);\n return returns;\n }\n }\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _ember.instrumentRoutePerformance)(RoadmapRoiIndexComponent));\n});","define(\"scaleflow/components/roadmap/strategy-header/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n

    {{if\n @roadmap.isNew\n (t \"roadmap.new\")\n (t \"roadmap.edit-roadmap\")\n }}\n

    \n \n
    \n
    \n \n
    \n {{#if (get @roadmap.error @id)}}\n
      \n {{#each (get (get @roadmap.error @id) \"validation\") as |error|}}\n
    • {{error}}
    • \n {{else}}\n
    • {{get\n (get @roadmap.error @id)\n \"validation\"\n }}
    • \n {{/each}}\n
    \n {{else}}\n {{/if}}\n
    \n \n {{yield}}\n
    \n
    \n
    \n \n {{#unless @saveIsDisabled}}\n
    \n {{t \"dictionary.unsaved-changes\"}}\n
    \n {{/unless}}\n
    \n \n \n \n {{this.notifications.message}}\n \n */\n {\n \"id\": \"CWsYkpJD\",\n \"block\": \"[[[10,0],[14,0,\\\"w-full max-w-8xl mx-auto py-6 border-b border-b-gray-200 flex items-center mb-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-gray-900 font-semibold text-3xl\\\"],[12],[1,[52,[30,1,[\\\"isNew\\\"]],[28,[37,3],[\\\"roadmap.new\\\"],null],[28,[37,3],[\\\"roadmap.edit-roadmap\\\"],null]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"lg:flex lg:items-start lg:justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"min-w-0 flex-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight\\\"],[24,1,\\\"roadmap-title\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,3],[\\\"roadmap.title-placeholder\\\"],null],[30,1,[\\\"title\\\"]],[30,0,[\\\"updateTitle\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"error mb-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,5],[[30,1,[\\\"error\\\"]],[30,2]],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[28,[37,5],[[28,[37,5],[[30,1,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n\\\"]],[3]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,5],[[28,[37,5],[[30,1,[\\\"error\\\"]],[30,2]],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-1 flex flex-col sm:mt-0 sm:flex-row sm:flex-wrap sm:space-x-6\\\"],[12],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex lg:ml-4 flex-col\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,4]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"text-gray-500 text-sm mt-1 text-right\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.unsaved-changes\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,12],null,[[\\\"@show\\\",\\\"@onClose\\\"],[[30,0,[\\\"notifications\\\",\\\"showNotification\\\"]],[30,0,[\\\"notifications\\\",\\\"toggleShowNotification\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-6 h-6 text-green-500\\\"]],null,null],[1,[30,0,[\\\"notifications\\\",\\\"message\\\"]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@roadmap\\\",\\\"@id\\\",\\\"error\\\",\\\"@saveIsDisabled\\\",\\\"&default\\\"],[\\\"div\\\",\\\"h1\\\",\\\"if\\\",\\\"t\\\",\\\"content-editable\\\",\\\"get\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"yield\\\",\\\"unless\\\",\\\"notification\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/strategy-header/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapStrategyHeaderIndexComponent = _exports.default = (_class = class RoadmapStrategyHeaderIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"notifications\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n copyLinkToClipboard() {\n const el = document.createElement('textarea');\n el.value = window.location.href;\n document.body.appendChild(el);\n el.select();\n el.setSelectionRange(0, 99999); // For mobile devices\n // Copy the text inside the text field\n navigator.clipboard.writeText(el.value);\n document.body.removeChild(el);\n this.notifications.toggleShowNotification(this.intl.t('roadmap.roadmap-link-copied'));\n }\n updateTitle(e) {\n this.args.roadmap.set('title', e);\n this.args.scenario.set('title', `Balance - ${e}`);\n this.args.roadmap.validate();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"copyLinkToClipboard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyLinkToClipboard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateTitle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateTitle\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapStrategyHeaderIndexComponent);\n});","define(\"scaleflow/components/roadmap/strategy-header/info-tiles/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#if @icon}}\n {{#let (component (concat \"atoms/icons/\" @icon)) as |Icon|}}\n \n {{/let}}\n {{/if}}\n {{yield}}\n
    \n */\n {\n \"id\": \"Q0M/FCqQ\",\n \"block\": \"[[[10,0],[14,0,\\\"mt-2 flex items-center text-sm text-gray-500\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[44,[[50,[28,[37,4],[\\\"atoms/icons/\\\",[30,1]],null],0,null,null]],[[[1,\\\" \\\"],[8,[30,2],[[24,0,\\\"mr-1.5 h-5 w-5 flex-shrink-0 text-gray-400\\\"]],null,null],[1,\\\"\\\\n\\\"]],[2]]]],[]],null],[1,\\\" \\\"],[18,3,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@icon\\\",\\\"Icon\\\",\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"let\\\",\\\"component\\\",\\\"concat\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/strategy-header/info-tiles/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"info-tiles\"));\n});","define(\"scaleflow/components/roadmap/table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"4lbNZvlK\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"roadmap-initiatives-table\\\"]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@onSelect\\\",\\\"@checkboxSelectionMode\\\",\\\"@rowSelectionMode\\\",\\\"@widthConstraint\\\",\\\"@sorts\\\",\\\"@enableReorder\\\",\\\"@onUpdateSorts\\\",\\\"@selectionMatchFunction\\\",\\\"@onInitiativeAdd\\\",\\\"@onInitiativeRemove\\\"],[[30,0,[\\\"columns\\\"]],[30,1],[30,0,[\\\"selectRows\\\"]],[30,0,[\\\"checkboxSelectionMode\\\"]],[30,0,[\\\"rowSelectionMode\\\"]],[30,0,[\\\"widthConstraint\\\"]],[30,0,[\\\"sorts\\\"]],[30,0,[\\\"enableReorder\\\"]],[28,[37,1],[[28,[37,2],[[30,0,[\\\"sorts\\\"]]],null]],null],[30,2],[30,3],[30,4]]],null]],[\\\"@rows\\\",\\\"@selectionMatchFunction\\\",\\\"@onInitiativeAdd\\\",\\\"@onInitiativeRemove\\\"],[\\\"table-v2\\\",\\\"fn\\\",\\\"mut\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/table/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapTableIndexComponent = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class RoadmapTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"sorts\", _descriptor4, this);\n _defineProperty(this, \"checkboxSelectionMode\", 'none');\n _defineProperty(this, \"rowSelectionMode\", 'none');\n _defineProperty(this, \"widthConstraint\", 'gte-container');\n _defineProperty(this, \"enableReorder\", true);\n _initializerDefineProperty(this, \"columns\", _descriptor5, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"sorts\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [{\n name: this.intl.t('dictionary.select'),\n valuePath: 'selected',\n class: '!w-[5%]',\n key: 'selected',\n component: 'roadmap/table/table-cell/toggle-initiative',\n isReorderable: false,\n isSortable: false\n }, {\n name: this.intl.t('_initiatives.title', {\n num: 2\n }),\n valuePath: 'title',\n class: '!w-[10%]',\n key: 'title',\n isReorderable: true\n }, {\n name: this.intl.t('dictionary.eligible'),\n valuePath: 'recommended',\n class: '!w-[10%]',\n key: 'recommended',\n component: 'roadmap/table/table-cell/recommended/index',\n isReorderable: true\n }, {\n name: this.intl.t('_initiatives.source', {\n num: 1\n }),\n valuePath: 'source',\n class: '!w-[10%]',\n key: 'source',\n isReorderable: true\n }, {\n name: this.intl.t('_initiatives.status'),\n valuePath: 'status',\n class: '!w-[10%]',\n key: 'status',\n isReorderable: true\n }, {\n name: this.intl.t('_initiatives.effort'),\n valuePath: 'person_weeks',\n class: '!w-[10%]',\n key: 'person_weeks',\n isReorderable: true\n }, {\n name: this.intl.t('_initiatives.uncertainty', {\n num: 1\n }),\n valuePath: 'uncertainty',\n class: '!w-[10%]',\n key: 'uncertainty',\n isReorderable: true\n }, {\n name: this.intl.t('dictionary.impact'),\n valuePath: 'bon',\n class: '!w-[10%]',\n key: 'bon',\n isReorderable: true\n }];\n }\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapTableIndexComponent);\n});","define(\"scaleflow/components/roadmap/table/table-cell/recommended/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n {{#let @params.recommended as |isRecommended|}}\n {{#if isRecommended}}\n \n {{t \"roadmap.is-recommended\"}}\n \n {{else}}\n \n \n {{t \"roadmap.not-recommended\"}}\n \n \n {{/if}}\n {{/let}}\n {{/if}}\n */\n {\n \"id\": \"wuuyuO9Y\",\n \"block\": \"[[[41,[30,1],[[[44,[[30,1,[\\\"recommended\\\"]]],[[[41,[30,2],[[[1,\\\" \\\"],[10,0],[14,0,\\\"h-2 w-2 bg-green-400 rounded-full\\\"],[14,\\\"test-id\\\",\\\"recommended\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,4],[\\\"roadmap.is-recommended\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"h-2 w-2 bg-red-400 rounded-full\\\"],[14,\\\"test-id\\\",\\\"not-recommended\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"roadmap.not-recommended\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[2]]]],[]],null]],[\\\"@params\\\",\\\"isRecommended\\\"],[\\\"if\\\",\\\"let\\\",\\\"div\\\",\\\"span\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/table/table-cell/recommended/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"recommended\"));\n});","define(\"scaleflow/components/roadmap/table/table-cell/toggle-initiative/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n \n {{/if}}\n */\n {\n \"id\": \"ElocJYNC\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],[[24,0,\\\"flex items-center py-2\\\"],[24,\\\"test-id\\\",\\\"toggle-initiative\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,1,[\\\"selected\\\"]],[30,0,[\\\"handleChange\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@params\\\"],[\\\"if\\\",\\\"checkbox\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/table/table-cell/toggle-initiative/index.hbs\",\n \"isStrictMode\": false\n });\n let RoadmapTableTableCellToggleInitiativeIndexComponent = _exports.default = (_class = class RoadmapTableTableCellToggleInitiativeIndexComponent extends _component2.default {\n handleChange(e) {\n this.args.params.onChange(e.target.checked);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"handleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapTableTableCellToggleInitiativeIndexComponent);\n});","define(\"scaleflow/components/roadmap/view/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/helpers/label-extract\", \"scaleflow/models/initiative-update\", \"scaleflow/utils/capitalize\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _labelExtract2, _initiativeUpdate, _capitalize, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/helpers/label-extract\",0,\"scaleflow/models/initiative-update\",0,\"scaleflow/utils/capitalize\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (document-query-selector \"#other-filters\")}}\n {{#in-element (document-query-selector \"#other-filters\")}}\n \n {{t \"dictionary.filters\"}}\n \n \n \n \n {{t \"dictionary.row\"}}:\n {{#each this.rows as |row|}}\n
    \n \n \n {{this.labelFormatter row.title \"rowFilter\"}}\n \n
    \n {{/each}}\n \n
    \n \n {{t \"dictionary.column\"}}:\n {{#each this.columns as |column|}}\n
    \n \n \n {{this.labelFormatter column.title \"columnFilter\"}}\n \n
    \n {{/each}}\n \n \n
    \n \n {{/in-element}}\n {{/if}}\n \n
    \n
    \n
    \n \n
    \n {{#each this.columns as |column|}}\n {{#if column.visible}}\n \n {{this.labelFormatter column.title \"columnFilter\"}}
    \n {{/if}}\n {{/each}}\n
    \n \n \n {{#each this.rows as |row|}}\n {{#if row.visible}}\n
    \n \n {{this.labelFormatter row.title \"rowFilter\"}}\n
    \n
    \n {{#each row.columns as |column|}}\n {{#if column.visible}}\n \n
      \n {{#each column.data as |initiative|}}\n \n {{/each}}\n
    \n
    \n {{/if}}\n {{/each}}\n \n \n \n {{/if}}\n {{/each}}\n */\n {\n \"id\": \"Eq8SYlzp\",\n \"block\": \"[[[41,[28,[37,1],[\\\"#other-filters\\\"],null],[[[40,[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"max-w-[140px] py-1 px-2\\\"],[24,\\\"test-id\\\",\\\"filter-status-trigger\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\" \\\"],[1,[28,[35,6],[\\\"dictionary.filters\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-6 h-6 text-gray-500 ml-auto mr-0 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\"],[\\\"bottom-end\\\",\\\"true\\\",\\\"click\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-fit z-10 bg-white p-2 transform rounded organisms-team-dropdown-menu flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col w-fit items-start text-sm text-gray-900 gap-y-2 py-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"inline-block w-12\\\"],[12],[1,[28,[35,6],[\\\"dictionary.row\\\"],null]],[1,\\\":\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"rows\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-start gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,1,[\\\"title\\\"]]]]],[16,\\\"checked\\\",[30,1,[\\\"visible\\\"]]],[24,0,\\\"cursor-pointer\\\"],[24,4,\\\"checkbox\\\"],[4,[38,13],[\\\"change\\\",[28,[37,14],[[30,0,[\\\"handleRowCheckboxSelect\\\"]],[30,1,[\\\"title\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer whitespace-nowrap\\\"],[15,\\\"for\\\",[29,[[30,1,[\\\"title\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"labelFormatter\\\"]],[[30,1,[\\\"title\\\"]],\\\"rowFilter\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"hr\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col w-fit items-start text-sm text-gray-900 gap-y-2 py-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"inline-block w-12\\\"],[12],[1,[28,[35,6],[\\\"dictionary.column\\\"],null]],[1,\\\":\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"columns\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-start gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,1,[29,[[30,2,[\\\"title\\\"]]]]],[16,\\\"checked\\\",[30,2,[\\\"visible\\\"]]],[24,0,\\\"cursor-pointer\\\"],[24,4,\\\"checkbox\\\"],[4,[38,13],[\\\"change\\\",[28,[37,14],[[30,0,[\\\"handleColumnCheckboxSelect\\\"]],[30,2,[\\\"title\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"cursor-pointer whitespace-nowrap\\\"],[15,\\\"for\\\",[29,[[30,2,[\\\"title\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"labelFormatter\\\"]],[[30,2,[\\\"title\\\"]],\\\"columnFilter\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,3],[[28,[37,1],[\\\"#other-filters\\\"],null]],null]]],[]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"grid grid-cols-12 w-full sticky top-0 z-10 bg-gray-50 py-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-2\\\"],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"col-span-10 grid grid-cols-\\\",[30,0,[\\\"totalColumnsLength\\\"]]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"columns\\\"]]],null]],null],null,[[[41,[30,3,[\\\"visible\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"col-span-\\\",[28,[30,0,[\\\"dynamicGridWidth\\\"]],[[30,0,[\\\"totalColumnsLength\\\"]]],null],\\\"\\\\n text-center\\\"]]],[14,\\\"test-id\\\",\\\"column\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"labelFormatter\\\"]],[[30,3,[\\\"title\\\"]],\\\"columnFilter\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,0,[\\\"rows\\\"]]],null]],null],null,[[[41,[30,4,[\\\"visible\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid grid-cols-12 border-b-2 border-dashed w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-2 flex flex-col items-start justify-center px-2 border-r-2 border-dashed\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[30,0,[\\\"labelFormatter\\\"]],[[30,4,[\\\"title\\\"]],\\\"rowFilter\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"col-span-10 grid grid-cols-\\\",[30,0,[\\\"totalColumnsLength\\\"]]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,4,[\\\"columns\\\"]]],null]],null],null,[[[41,[30,5,[\\\"visible\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"col-span-\\\",[28,[30,0,[\\\"dynamicGridWidth\\\"]],[[28,[37,17],[[30,4,[\\\"columns\\\",\\\"length\\\"]],1],null]],null],\\\"\\\\n border-r-2 border-dashed\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"px-2\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,11],[[28,[37,11],[[30,5,[\\\"data\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,19],[[24,0,\\\"my-4\\\"],[16,\\\"test-id\\\",[29,[\\\"row-item-\\\",[30,6,[\\\"id\\\"]]]]]],[[\\\"@initiative\\\",\\\"@fields\\\"],[[30,6],[30,0,[\\\"fields\\\"]]]],null],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[5]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[4]],null]],[\\\"row\\\",\\\"column\\\",\\\"column\\\",\\\"row\\\",\\\"column\\\",\\\"initiative\\\"],[\\\"if\\\",\\\"document-query-selector\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"atoms/buttons/secondary-button\\\",\\\"span\\\",\\\"t\\\",\\\"atoms/icons/chevron/down\\\",\\\"tippy\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"input\\\",\\\"on\\\",\\\"fn\\\",\\\"label\\\",\\\"hr\\\",\\\"add\\\",\\\"ul\\\",\\\"initiatives/card\\\"]]\",\n \"moduleName\": \"scaleflow/components/roadmap/view/index.hbs\",\n \"isStrictMode\": false\n });\n const sortUnspecifiedColumnToLast = (a, b) => {\n if (a === 'Unspecified') {\n return 1; // 'Unspecified' should be after anything else\n } else if (b === 'Unspecified') {\n return -1; // Anything else should be before 'Unspecified'\n } else {\n return a.localeCompare(b); // Sort alphabetically for other elements\n }\n };\n let RoadmapViewIndexComponent = _exports.default = (_class = class RoadmapViewIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _defineProperty(this, \"rowLabelKeys\", {\n teams: 'name',\n theme: 'title',\n status: 'self',\n source: 'self',\n progress: 'self',\n goals: 'title'\n });\n _defineProperty(this, \"columnLabelKeys\", {\n teams: 'name',\n theme: 'title',\n status: 'self',\n source: 'self',\n progress: 'self',\n goals: 'title'\n });\n _defineProperty(this, \"filtersWithHasManyRelationships\", ['teams', 'goals']);\n }\n get roadmap() {\n return this.args.roadmap;\n }\n get fields() {\n return this.args.fields;\n }\n get initiatives() {\n return this.roadmap?.initiatives?.content ?? [];\n }\n get columnFilter() {\n return this.args.columnFilter ?? 'source';\n }\n get rowFilter() {\n return this.args.rowFilter ?? 'status';\n }\n get columns() {\n const unspecified = this.intl.t('dictionary.unspecified');\n const _columns = this.initiatives.reduce((acc, initiative) => {\n const hasMany = this.filtersWithHasManyRelationships.includes(this.columnFilter);\n const columnObj = initiative[this.columnFilter];\n const labelKey = this.columnLabelKeys[this.columnFilter];\n let title = '';\n if (!columnObj || columnObj.promise && (hasMany ? !columnObj.content : !columnObj?.get('content'))) {\n title = unspecified;\n if (title && !acc.some(item => item.title === title)) acc.push({\n title\n });\n } else if (!hasMany) {\n title = labelKey === 'self' ? columnObj : columnObj.get(labelKey);\n if (title && !acc.some(item => item.title === title)) acc.push({\n title\n });\n } else {\n if (!columnObj?.content?.length) {\n title = unspecified;\n if (title && !acc.some(item => item.title === title)) acc.push({\n title\n });\n } else columnObj?.content?.forEach(item => {\n const title = item.get(labelKey);\n if (title && !acc.some(item => item.title === title)) acc.push({\n title\n });\n });\n }\n return acc;\n }, []);\n if (this.columnFilter === 'status') _columns.sort((a, b) => this.sortStatusWithUnspecifiedToLast(a.title, b.title));else if (this.columnFilter === 'source') _columns.sort((a, b) => this.sortSourceWithUnspecifiedToLast(a.title, b.title));else if (_columns.some(item => item.title === unspecified)) _columns.sort((a, b) => sortUnspecifiedColumnToLast(a.title, b.title));\n _columns.forEach(item => {\n item.visible = !this.hiddenColumns[item.title];\n });\n return _columns;\n }\n get totalColumnsLength() {\n return this.columns.filter(item => item.visible).length;\n }\n labelFormatter(label, axis) {\n if (label.toLowerCase() === this.intl.t('dictionary.unspecified').toLowerCase()) return label;\n if (this.args[axis] === 'source') {\n return (0, _labelExtract2._labelExtract)(this.betaToggle.sourceOptions, label);\n } else if (this.args[axis] === 'status') {\n return (0, _labelExtract2._labelExtract)(this.betaToggle.statusOptions, label);\n } else if (this.args[axis] === 'progress') {\n return (0, _labelExtract2._labelExtract)(Object.entries(_initiativeUpdate.STATUS_KEYS).map(([k, v]) => ({\n label: this.intl.t(`_initiatives.updates_${v.toLowerCase()}`),\n value: k\n })), label);\n } else {\n return label;\n }\n }\n get statusMap() {\n return this.betaToggle.statusOptions.reduce((acc, item, index) => {\n // acc[item.value] = item.tableOrder;\n acc[item.value] = index;\n return acc;\n }, {});\n }\n get sourceMap() {\n return this.betaToggle.sourceOptions.reduce((acc, item) => {\n acc[item.value] = item.tableOrder;\n return acc;\n }, {});\n }\n sortStatusWithUnspecifiedToLast(a, b) {\n if (a === 'Unspecified') {\n return 1; // 'Unspecified' should be after anything else\n } else if (b === 'Unspecified') {\n return -1; // Anything else should be before 'Unspecified'\n } else {\n return this.statusMap[a] - this.statusMap[b]; // Sort by table order for other elements\n }\n }\n sortSourceWithUnspecifiedToLast(a, b) {\n if (a === 'Unspecified') {\n return 1; // 'Unspecified' should be after anything else\n } else if (b === 'Unspecified') {\n return -1; // Anything else should be before 'Unspecified'\n } else {\n return this.sourceMap[a] - this.sourceMap[b]; // Sort alphabetically for other elements\n }\n }\n groupObjectsByRowColumn(initiatives, rowFilter, hasMany = false, columns, rowLabelKey = 'self') {\n let _rows = {};\n\n //group items and items that belong in multiple columns get duplicated\n this.initiatives.forEach(initiative => {\n const val = initiative?.[rowFilter];\n if (!val) {\n const title = this.intl.t('dictionary.unspecified');\n if (_rows[title]) _rows[title].data.push(initiative);else _rows[title] = {\n title: (0, _capitalize.default)(title),\n data: [initiative]\n };\n return;\n }\n if (hasMany) {\n const items = val?.content;\n if (!items?.length) {\n const title = this.intl.t('dictionary.unspecified');\n if (_rows[title]) _rows[title].data.push(initiative);else _rows[title] = {\n title: (0, _capitalize.default)(title),\n data: [initiative]\n };\n } else {\n items.forEach(item => {\n const title = rowLabelKey === 'self' ? item : item.get(rowLabelKey);\n if (_rows[title]) _rows[title].data.push(initiative);else _rows[title] = {\n title: rowLabelKey === 'self' ? item : title,\n data: [initiative]\n };\n });\n }\n return;\n } else {\n const title = !val && rowLabelKey === 'self' || val && !val?.get?.('content') && rowLabelKey !== 'self' ? this.intl.t('dictionary.unspecified') : rowLabelKey === 'self' ? val : val.get(rowLabelKey);\n if (_rows[title]) _rows[title].data.push(initiative);else _rows[title] = {\n title: (0, _capitalize.default)(title),\n data: [initiative]\n };\n }\n });\n\n //grouped items are sorted so they always show in the same order\n const sortedRows = Object.keys(_rows).sort(this.rowFilter === 'status' ? this.sortStatusWithUnspecifiedToLast : this.rowFilter === 'source' ? this.sortSourceWithUnspecifiedToLast : sortUnspecifiedColumnToLast).map(item => {\n return _rows[item];\n });\n\n //construct nested column object to be iterated over\n sortedRows.forEach(item => {\n let _columns = columns.reduce((acc, item) => {\n acc[item] = {\n title: item,\n data: []\n };\n return acc;\n }, {});\n item.data.forEach(initiative => {\n const columnObj = initiative[this.columnFilter];\n const objKey = this.columnLabelKeys[this.columnFilter];\n\n //if initiative attribute is simple value like string\n if (objKey === 'self') {\n const title = columnObj ?? this.intl.t('dictionary.unspecified');\n if (_columns[title]) _columns[title].data.push(initiative);\n return;\n }\n\n //if column value is null/empty\n if (!columnObj || columnObj?.promise && !columnObj?.content) {\n const title = this.intl.t('dictionary.unspecified');\n if (_columns[title]) _columns[title].data.push(initiative);\n return;\n }\n\n //if column value is a hasMany relationship\n if (this.filtersWithHasManyRelationships.includes(this.columnFilter)) {\n if (!columnObj?.content?.length) {\n const title = this.intl.t('dictionary.unspecified');\n if (_columns[title]) _columns[title].data.push(initiative);\n } else {\n columnObj?.content?.forEach(_item => {\n if (_columns[_item.get(objKey)]) _columns[_item.get(objKey)].data.push(initiative);\n });\n }\n }\n //if column value is a belongsTo relationship\n else {\n if (_columns[columnObj.get(objKey)]) _columns[columnObj.get(objKey)].data.push(initiative);\n }\n });\n item.columns = Object.values(_columns);\n });\n return sortedRows;\n }\n get rows() {\n const hasMany = this.filtersWithHasManyRelationships.includes(this.rowFilter);\n const rows = this.groupObjectsByRowColumn(this.initiatives, this.rowFilter, hasMany, this.columns.map(item => item.title), this.rowLabelKeys[this.rowFilter]);\n rows.forEach(item => {\n item.visible = !this.hiddenRows[item.title];\n item.columns?.forEach(column => {\n column.visible = !this.hiddenColumns[column.title];\n });\n });\n return rows;\n }\n dynamicGridWidth(columnsLength) {\n return Math.floor(this.totalColumnsLength / +columnsLength);\n }\n openSlideover(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n get hiddenRows() {\n return this.args.hiddenRows;\n }\n get hiddenColumns() {\n return this.args.hiddenColumns;\n }\n handleRowCheckboxSelect(title, e) {\n const checked = e.target.checked;\n const hiddenRows = {\n ...this.hiddenRows\n };\n hiddenRows[title] = !checked;\n this.args.updateRowFilters(hiddenRows);\n }\n handleColumnCheckboxSelect(column, e) {\n const checked = e.target.checked;\n const hiddenColumns = {\n ...this.hiddenColumns\n };\n hiddenColumns[column] = !checked;\n this.args.updateColumnFilters(hiddenColumns);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"labelFormatter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"labelFormatter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortStatusWithUnspecifiedToLast\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sortStatusWithUnspecifiedToLast\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortSourceWithUnspecifiedToLast\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sortSourceWithUnspecifiedToLast\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"dynamicGridWidth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"dynamicGridWidth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleRowCheckboxSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRowCheckboxSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleColumnCheckboxSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleColumnCheckboxSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoadmapViewIndexComponent);\n});","define(\"scaleflow/components/roi/initiatives-table/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/group-by\", \"scaleflow/utils/numberSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _groupBy, _numberSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/group-by\",0,\"scaleflow/utils/numberSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n
    \n

    {{t\n \"_initiatives.title\"\n num=3\n }}

    \n

    {{t\n \"dashboards.initiatives-explanation\"\n }}

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n {{t \"_initiatives.title\" num=1}}\n \n \n \n {{t \"_initiatives.pm\" num=1}}\n \n \n \n {{t \"_initiatives.effort\"}}\n \n \n \n {{t \"_initiatives.uncertainty\" num=1}}\n \n \n \n {{t \"_initiatives.investment\" num=1}}\n \n \n \n {{t \"dictionary.returns\" num=2}}\n \n \n \n {{t \"dictionary.impact\"}}\n \n \n \n \n \n {{#each-in this.groupedInitiatives as |source initiatives|}}\n \n {{source}}\n \n {{#each initiatives as |initiative|}}\n \n \n {{initiative.title}}\n \n \n {{#if initiative.productManager}}\n \n {{else}}\n -\n {{/if}}\n \n \n \n {{get\n initiative\n \"person_weeks_excluding_uncertainty\"\n }}\n pw\n \n \n \n {{get\n initiative\n \"person_weeks_only_uncertainty\"\n }}\n pw\n \n \n \n {{localize\n initiative.bon_investment\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n {{localize\n initiative.bon_returns\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n {{localize\n initiative.bon_value\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n {{else}}\n \n {{t \"_initiatives.title\" num=0}}\n \n {{/each}}\n {{/each-in}}\n \n
    \n
    \n
    \n
    \n
    \n */\n {\n \"id\": \"HeCM7CXJ\",\n \"block\": \"[[[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex sm:items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"dashboards.initiatives-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-8 flow-root px-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-mx-4 -my-2 sm:-mx-6 lg:-mx-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"inline-block min-w-full py-2 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"min-w-full border-separate border-spacing-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.effort\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.returns\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.impact\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tbody\\\"],[14,0,\\\"bg-white\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[30,0,[\\\"groupedInitiatives\\\"]]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"bg-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"7\\\"],[14,0,\\\"py-2 pl-3 font-medium text-gray-700 text-sm\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"even:bg-gray-50 hover:bg-indigo-50 h-10\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 pl-6\\\"],[15,\\\"test-id\\\",[29,[\\\"row-item-\\\",[30,3,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"hover:underline\\\"],[24,4,\\\"button\\\"],[4,[38,14],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"openPopover\\\"]],[30,3,[\\\"id\\\"]]],null]],null],[12],[1,[30,3,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"productManager\\\"]],[[[1,\\\" \\\"],[8,[39,17],[[24,0,\\\"justify-center\\\"]],[[\\\"@people\\\"],[[28,[37,18],[[30,3,[\\\"productManager\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,20],[[30,3],\\\"person_weeks_excluding_uncertainty\\\"],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,20],[[30,3],\\\"person_weeks_only_uncertainty\\\"],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 py-2 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,21],[[30,3,[\\\"bon_investment\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 py-2 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,21],[[30,3,[\\\"bon_returns\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 py-2 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,21],[[30,3,[\\\"bon_value\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"test-id\\\",\\\"empty-message\\\"],[15,\\\"colspan\\\",[29,[[30,4,[\\\"length\\\"]]]]],[14,0,\\\"text-left text-sm pl-6 py-1\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[1,2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"initiatives\\\",\\\"source\\\",\\\"initiative\\\",\\\"@columns\\\"],[\\\"div\\\",\\\"h1\\\",\\\"t\\\",\\\"p\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"each\\\",\\\"-each-in\\\",\\\"td\\\",\\\"-track-array\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"if\\\",\\\"people/multi-avatar-preview\\\",\\\"array\\\",\\\"span\\\",\\\"get\\\",\\\"localize\\\"]]\",\n \"moduleName\": \"scaleflow/components/roi/initiatives-table/index.hbs\",\n \"isStrictMode\": false\n });\n let RoiInitiativesTableIndexComponent = _exports.default = (_class = class RoiInitiativesTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor3, this);\n }\n get groupedInitiatives() {\n const noneLabel = this.intl.t('dictionary.none');\n const initiatives = this.args.initiatives.toSorted((a, b) => (0, _numberSort.default)(+a.bon_investment, +b.bon_investment));\n const grouped = (0, _groupBy.default)(initiatives, initiative => {\n if (initiative.source) return initiative.sourceLabel;else return noneLabel;\n });\n const orderedKeys = this.betaToggle.sourceOptions.map(item => item.label).reduce((acc, key) => {\n acc[key] = [];\n return acc;\n }, {});\n Object.entries(grouped).forEach(([key, value]) => {\n orderedKeys[key] = value;\n });\n if (grouped[noneLabel]) orderedKeys[noneLabel] = grouped[noneLabel];\n return orderedKeys;\n }\n openPopover(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"openPopover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPopover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RoiInitiativesTableIndexComponent);\n});","define(\"scaleflow/components/roles/avatar/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @role}}\n \n {{! mouth=variant01,variant16,variant22,variant25,variant30&eyebrows=variant10&eyes=variant01 }}\n \n {{#if @tooltip}}\n \n \n {{@role.name}}\n \n \n {{/if}}\n \n {{/if}}\n */\n {\n \"id\": \"wN1wIvD4\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,0],[16,0,[29,[[52,[28,[37,2],[[30,2],\\\"small\\\"],null],\\\"h-6 w-6\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,2],\\\"medium\\\"],null],\\\"h-11 w-11\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,2],\\\"large\\\"],null],\\\"h-28 w-28\\\"],\\\"\\\\n \\\",[52,[28,[37,2],[[30,2],\\\"new-medium\\\"],null],\\\"h-10 w-10\\\"],\\\"\\\\n rounded-full bg-gray-200 overflow-hidden\\\"]]],[24,\\\"test-id\\\",\\\"role-avatar\\\"],[17,3],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[29,[\\\"https://api.dicebear.com/7.x/bottts-neutral/svg?seed=\\\",[30,1,[\\\"id\\\"]],\\\"?scale=50\\\"]]],[14,0,\\\"w-full h-full bg-gray-200 rounded-full p-1\\\"],[15,\\\"alt\\\",[30,1,[\\\"name\\\"]]],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\" \\\"],[8,[39,4],null,[[\\\"@placement\\\"],[[29,[[30,5]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@role\\\",\\\"@size\\\",\\\"&attrs\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[\\\"if\\\",\\\"div\\\",\\\"eq\\\",\\\"img\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/avatar/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"avatar\"));\n});","define(\"scaleflow/components/roles/create-role/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/validators/role\", \"ember-changeset-validations/validators\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _role, _validators, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/validators/role\",0,\"ember-changeset-validations/validators\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @model}}\n {{#let (changeset @model this.roleValidation) as |changeset|}}\n \n <:title>\n

    {{#if @isEdit}}\n {{t \"roles.edit-role\" role=(t \"roles.title\" num=1)}}\n {{else}}\n {{t \"roles.create-role\" role=(t \"roles.title\" num=1)}}\n {{/if}}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n
    \n
    \n \n \n {{#if (get changeset.error \"name\")}}\n
      \n {{#each\n (get (get changeset.error \"name\") \"validation\")\n as |error|\n }}\n
    • {{error}}
    • \n {{else}}\n
    • {{get\n (get changeset.error \"name\")\n \"validation\"\n }}
    • \n {{/each}}\n
    \n {{/if}}\n
    \n \n
    \n \n \n {{#if (get changeset.error \"ftes\")}}\n
      \n {{#each\n (get (get changeset.error \"ftes\") \"validation\")\n as |error|\n }}\n
    • {{error}}
    • \n {{else}}\n
    • {{get\n (get changeset.error \"ftes\")\n \"validation\"\n }}
    • \n {{/each}}\n
    \n {{/if}}\n
    \n \n
    \n \n
    \n
    \n
    \n {{t\n \"roles.do-later\"\n }}\n
    \n
    \n \n
    \n \n
    \n \n {{#if changeset.people.length}}\n
    \n {{#each changeset.people key=@identity as |person|}}\n {{person.abbreviation}}\n \n {{/each}}\n
    \n {{else}}\n {{t \"roles.no-people\" num=1}}\n {{/if}}\n \n \n \n \n
    \n
    \n \n {{#if @isEdit}}\n
    \n \n
    \n
    \n
    \n {{t\n \"dictionary.danger-zone\"\n }}\n
    \n \n \n
    \n \n {{t \"dictionary.delete\"}}\n \n
    \n {{/if}}\n \n
    \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n {{/if}}\n */\n {\n \"id\": \"4HyVuhEp\",\n \"block\": \"[[[41,[30,1],[[[44,[[28,[37,2],[[30,1],[30,0,[\\\"roleValidation\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,3],[[24,\\\"test-id\\\",\\\"role-form\\\"],[4,[38,5],[[28,[37,4],[[30,0,[\\\"handleCreateRoleDismiss\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,4],[[30,0,[\\\"handleCreateRoleDismiss\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[41,[30,3],[[[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"roles.edit-role\\\"],[[\\\"role\\\"],[[28,[37,8],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,8],[\\\"roles.create-role\\\"],[[\\\"role\\\"],[[28,[37,8],[\\\"roles.title\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"]],[]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,4],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"space-y-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"name\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,8],[\\\"roles.name\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"name\\\"],[16,0,[29,[\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"input--error\\\"]]]],[24,4,\\\"text\\\"],[16,\\\"placeholder\\\",[28,[37,8],[\\\"roles.name-placeholder\\\"],null]],[16,2,[30,2,[\\\"name\\\"]]],[17,4],[4,[38,11],[\\\"keyup\\\",[28,[37,4],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"name\\\"],null]],null],[4,[38,11],[\\\"input\\\",[28,[37,4],[[30,0,[\\\"handleInput\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[28,[37,16],[[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,5]],[13],[1,\\\"\\\\n\\\"]],[5]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,16],[[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"name\\\"],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"pb-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"ftes\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,8],[\\\"roles.capacity-fte\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"ftes\\\"],[16,0,[29,[\\\"px-3 input block w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500\\\\n \\\",[52,[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"ftes\\\"],null],\\\"input--error\\\"]]]],[24,4,\\\"text\\\"],[16,\\\"placeholder\\\",[28,[37,8],[\\\"roles.ftes-placeholder\\\"],null]],[16,2,[30,2,[\\\"ftes\\\"]]],[17,4],[4,[38,11],[\\\"keyup\\\",[28,[37,4],[[30,0,[\\\"validateProperty\\\"]],[30,2],\\\"ftes\\\"],null]],null],[4,[38,11],[\\\"input\\\",[28,[37,4],[[30,0,[\\\"handleInput\\\"]],[30,2]],null]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"ftes\\\"],null],[[[1,\\\" \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[28,[37,16],[[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"ftes\\\"],null],\\\"validation\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[30,6]],[13],[1,\\\"\\\\n\\\"]],[6]],[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"text-xs text-red-700\\\"],[12],[1,[28,[35,16],[[28,[37,16],[[30,2,[\\\"error\\\"]],\\\"ftes\\\"],null],\\\"validation\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute inset-0 flex items-center\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full border-t border-gray-300\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative flex justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"bg-white px-2 text-sm text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"roles.do-later\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"persons\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,8],[\\\"roles.choose-people\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"persons\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"people\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between space-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,2,[\\\"people\\\"]]],null]],null],[30,7],[[[1,\\\" \\\"],[8,[39,22],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,8,[\\\"color\\\"]],[30,8,[\\\"name\\\"]],true,\\\"top\\\",[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,[30,8,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,8],[\\\"roles.no-people\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[8,[39,23],null,[[\\\"@values\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@appendTo\\\",\\\"@multiselect\\\"],[[30,2,[\\\"people\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[28,[37,4],[[30,0,[\\\"handlePeopleSelect\\\"]],[30,2]],null],true,[30,0,[\\\"body\\\"]],\\\"true\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"absolute inset-0 flex items-center\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full border-t border-gray-300\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative flex justify-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"bg-white px-2 text-sm text-gray-500\\\"],[12],[1,[28,[35,8],[\\\"dictionary.danger-zone\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"text-sm\\\"],[24,\\\"test-id\\\",\\\"delete\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"deleteRole\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,26],[[16,\\\"disabled\\\",[28,[37,27],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,11],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[]],null]],[\\\"@model\\\",\\\"changeset\\\",\\\"@isEdit\\\",\\\"&attrs\\\",\\\"error\\\",\\\"error\\\",\\\"@identity\\\",\\\"person\\\"],[\\\"if\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"input\\\",\\\"get\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"button\\\",\\\"avatar\\\",\\\"dropdowns/users\\\",\\\"atoms/buttons/button\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/create-role/index.hbs\",\n \"isStrictMode\": false\n });\n let RolesCreateRoleIndexComponent = _exports.default = (_class = class RolesCreateRoleIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _defineProperty(this, \"roleValidation\", {\n ..._role.default,\n name: (0, _validators.validatePresence)({\n presence: true,\n message: this.intl.t('roles.name-cannot-be-blank')\n })\n });\n }\n get model() {\n return this.args.model;\n }\n get body() {\n return document.body;\n }\n goToListPage() {\n this.router.transitionTo('resources.roles');\n }\n handleCreateRoleDismiss(changeset) {\n changeset.rollback();\n this.goToListPage();\n if (!this.args.isEdit) this.args.model.deleteRecord();\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n changeset.validate();\n if (changeset.isInvalid) return;\n changeset.save().then(() => {\n this.goToListPage();\n });\n } catch (err) {\n console.log(err);\n }\n }\n validateProperty(changeset, property) {\n return changeset?.validate(property);\n }\n handlePeopleSelect(changeset, people) {\n changeset.set('people', people);\n }\n deleteRole() {\n this.model.destroyRecord().then(() => {\n this.router.replaceWith('resources.roles');\n });\n }\n handleInput(changeset, e) {\n changeset.set(e.target.id, e.target.value);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCreateRoleDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCreateRoleDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handlePeopleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePeopleSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteRole\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteRole\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RolesCreateRoleIndexComponent);\n});","define(\"scaleflow/components/roles/multi-avatar-preview/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{#if this.restRoles.length}}\n +{{this.restRoles.length}}\n \n \n
      \n {{#each this.restRoles as |role|}}\n
    • {{role}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n */\n {\n \"id\": \"ufZib7Mj\",\n \"block\": \"[[[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[14,\\\"test-id\\\",\\\"map-roles\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"shrink-0\\\"]],[[\\\"@role\\\",\\\"@size\\\",\\\"@tooltipDirection\\\",\\\"@tooltip\\\"],[[30,0,[\\\"firstRole\\\"]],\\\"small\\\",\\\"top\\\",\\\"true\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"restRoles\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-xs\\\"],[14,\\\"test-id\\\",\\\"more\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"restRoles\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"restRoles\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"role\\\"],[\\\"span\\\",\\\"roles/avatar\\\",\\\"if\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/multi-avatar-preview/index.hbs\",\n \"isStrictMode\": false\n });\n class RolesMultiAvatarPreviewIndexComponent extends _component2.default {\n get roles() {\n if (this.args.roles?.promise) return this.args.roles.content;\n return this.args.roles;\n }\n get firstRole() {\n return this.roles[0];\n }\n get restRoles() {\n return this.roles.slice(1).map(role => role.name);\n }\n }\n _exports.default = RolesMultiAvatarPreviewIndexComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RolesMultiAvatarPreviewIndexComponent);\n});","define(\"scaleflow/components/roles/table\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"ZT4PO8Ms\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"roadmap-initiatives-table table-fixed\\\"],[17,1]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@sorts\\\",\\\"@onUpdateSorts\\\",\\\"@data-row\\\",\\\"@rowSelectionMode\\\",\\\"@checkboxSelectionMode\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],[30,0,[\\\"sorts\\\"]],[28,[37,1],[[28,[37,2],[[30,0,[\\\"sorts\\\"]]],null]],null],\\\"role\\\",\\\"none\\\",\\\"none\\\"]],null]],[\\\"&attrs\\\"],[\\\"table-v2\\\",\\\"fn\\\",\\\"mut\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/table.hbs\",\n \"isStrictMode\": false\n });\n let RolesTableComponent = _exports.default = (_class = class RolesTableComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"columns\", _descriptor2, this);\n }\n convertRoleItemToRow(item) {\n return {\n name: {\n label: item.name,\n route: 'resources.roles.role.edit',\n model: item\n },\n people: {\n label: item.people.length,\n route: 'resources.people.active',\n query: {\n breakout: 'role'\n }\n },\n ftes: (+(item.ftes ?? 0)).toFixed(2)\n // edit: {\n // label: this.intl.t('roles.edit'),\n // route: 'resources.roles.role.edit',\n // model: item,\n // },\n // delete: {\n // label: this.intl.t('roles.delete'),\n // onClick: () => item.destroyRecord(),\n // },\n };\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;\n return this.args?.roles.map(item => this.convertRoleItemToRow(item));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args?.columns ?? [{\n name: this.intl.t('roles.name'),\n valuePath: 'name',\n class: '!w-[80%] text-left',\n key: 'name',\n component: 'link',\n test_id: 'role-name',\n isSortable: false,\n cellClass: '!justify-start'\n }, {\n name: this.intl.t('roles.capacity-fte'),\n valuePath: 'ftes',\n class: '!w-[10%] header-center',\n key: 'ftes',\n test_id: 'role-ftes'\n }, {\n name: this.intl.t('roles.person', {\n num: 3\n }),\n valuePath: 'people',\n class: '!w-[10%] header-center',\n key: 'people',\n component: 'link',\n isSortable: false,\n test_id: ''\n }\n // {\n // name: '',\n // valuePath: 'delete',\n // class: '!w-[10%]',\n // key: 'delete',\n // component: 'button',\n // type: 'danger',\n // test_id: 'delete-role',\n // isSortable: false,\n // },\n ];\n }\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RolesTableComponent);\n});","define(\"scaleflow/components/roles/table/table-cell/label/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n \n {{@params.name}}\n \n {{/if}}\n */\n {\n \"id\": \"JK5Ls57g\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],[[24,0,\\\"font-normal text-sm text-gray-900 hover:underline\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"resources.roles.role.edit\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@params\\\"],[\\\"if\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/table/table-cell/label/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"label\"));\n});","define(\"scaleflow/components/roles/table/table-cell/user-select\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (eq @params \"none\")}}{{else}}\n \n {{#if this.people.length}}\n \n {{else}}\n \n {{/if}}\n \n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n {{/if}}\n */\n {\n \"id\": \"elu5Fu2v\",\n \"block\": \"[[[41,[28,[37,1],[[30,1],\\\"none\\\"],null],[[],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center justify-between space-x-2\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"people\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,4],null,[[\\\"@people\\\"],[[30,0,[\\\"people\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,6],null,[[\\\"@values\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@appendTo\\\",\\\"@multiselect\\\"],[[30,0,[\\\"people\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"handlePeopleSelect\\\"]],true,[30,0,[\\\"body\\\"]],\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@params\\\"],[\\\"if\\\",\\\"eq\\\",\\\"button\\\",\\\"on\\\",\\\"people/multi-avatar-preview\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/users\\\"]]\",\n \"moduleName\": \"scaleflow/components/roles/table/table-cell/user-select.hbs\",\n \"isStrictMode\": false\n });\n let RolesTableTableCellUserSelectComponent = _exports.default = (_class = class RolesTableTableCellUserSelectComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get people() {\n return this.args.params?.people?.content;\n }\n get firstPerson() {\n return this.people[0];\n }\n get restCount() {\n return this.people.length - 1;\n }\n get restPeople() {\n return this.people.slice(1).map(person => person.name);\n }\n get body() {\n return document.body;\n }\n get role() {\n return this.args.params;\n }\n handlePeopleSelect(e) {\n const role = this.role;\n role.people = e;\n role.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handlePeopleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePeopleSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RolesTableTableCellUserSelectComponent);\n});","define(\"scaleflow/components/scenarios/table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/obj-append\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _objAppend, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/obj-append\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"AGTFYhFY\",\n \"block\": \"[[[8,[39,0],null,[[\\\"@columns\\\",\\\"@rows\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]]]],null]],[],[\\\"table-v2\\\"]]\",\n \"moduleName\": \"scaleflow/components/scenarios/table/index.hbs\",\n \"isStrictMode\": false\n });\n let ScenariosTableIndexComponent = _exports.default = (_class = class ScenariosTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n get columns() {\n if (this.args?.columns) return this.args?.columns;\n return [{\n name: this.intl.t('scenarios.table.title'),\n valuePath: 'name',\n class: '!w-[80%]',\n key: 'title'\n }, {\n name: '',\n valuePath: 'view',\n class: '!w-[10%]',\n key: 'view',\n component: 'link',\n type: 'primary'\n }, {\n name: '',\n valuePath: 'edit',\n class: '!w-[10%]',\n key: 'edit',\n component: 'link',\n type: 'primary'\n }, {\n name: '',\n valuePath: 'delete',\n class: '!w-[10%]',\n key: 'delete',\n component: 'button',\n type: 'danger'\n }];\n }\n deleteScenario(item) {\n item.destroyRecord();\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;\n return this.args?.scenarios.map(item => (0, _objAppend.objectAppend)({\n name: item.title,\n view: {\n label: this.intl.t('scenarios.table.view'),\n route: 'strategy.investment-scenarios.investment-scenario.view'\n },\n edit: {\n label: this.intl.t('scenarios.table.edit'),\n route: 'strategy.investment-scenarios.investment-scenario.edit'\n },\n delete: {\n label: this.intl.t('scenarios.table.delete'),\n onClick: () => this.deleteScenario(item)\n }\n }, {\n model: item\n }));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ScenariosTableIndexComponent);\n});","define(\"scaleflow/components/slide-over\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{! }}\n
    \n {{yield}}\n
    \n \n \n */\n {\n \"id\": \"ysJevhV6\",\n \"block\": \"[[[11,0],[16,0,[29,[\\\"fixed inset-0 overflow-hidden\\\\n \\\",[30,0,[\\\"slideoverCloseContainerClass\\\"]],\\\"\\\\n \\\",[52,[30,1],\\\"\\\",\\\"!bg-transparent\\\"],\\\"\\\\n slideover\\\"]]],[24,\\\"test-id\\\",\\\"slideover\\\"],[4,[38,2],[[30,0,[\\\"addEventListeners\\\"]]],null],[4,[38,3],[[30,0,[\\\"onSlideoverUpdate\\\"]],[30,0,[\\\"isOpen\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10 sm:pl-16 transform transition ease-in-out duration-500 translate-x-full slideover-content\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,0],[24,0,\\\"pointer-events-auto w-screen max-w-2xl\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@overlay\\\",\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/slide-over.hbs\",\n \"isStrictMode\": false\n });\n let SlideOverComponent = _exports.default = (_class = class SlideOverComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"slideoverOpenContainerClass\", `slideover-container-open`);\n _defineProperty(this, \"slideoverOpenContentClass\", 'translate-x-0');\n _defineProperty(this, \"slideoverCloseContainerClass\", 'hidden');\n _defineProperty(this, \"slideoverCloseContentClass\", 'translate-x-full');\n _defineProperty(this, \"element\", null);\n _initializerDefineProperty(this, \"bounds\", _descriptor, this);\n }\n get isOpen() {\n return this.args.isOpen;\n }\n closeSlideOver() {\n this.args?.close?.(false);\n }\n stopPropagation(e) {\n e.stopPropagation();\n }\n addEventListeners(element) {\n element.addEventListener('click', this.closeSlideOver);\n const content = element.querySelector(this.bounds);\n content?.addEventListener('click', this.stopPropagation);\n this.element = element;\n }\n onSlideoverUpdate(element) {\n const content = element.querySelector('.slideover-content');\n if (this.isOpen) {\n content.classList.remove(this.slideoverCloseContentClass);\n content.classList.add(this.slideoverOpenContentClass);\n element.classList.remove(this.slideoverCloseContainerClass);\n element.classList.add(this.slideoverOpenContainerClass);\n } else {\n content.classList.remove(this.slideoverOpenContentClass);\n content.classList.add(this.slideoverCloseContentClass);\n let timeout = 500;\n setTimeout(() => {\n element.classList.remove(this.slideoverOpenContainerClass);\n element.classList.add(this.slideoverCloseContainerClass);\n const duration = Array.from(content.classList).filter(item => item.includes('duration-'))?.[0];\n timeout = duration ? +duration.split('-')[1] + 50 : 500;\n }, timeout);\n }\n }\n willDestroy() {\n super.willDestroy(...arguments);\n this.element?.removeEventListemer?.('click', this.closeSlideOver);\n const content = this.element?.querySelector?.(this.bounds);\n content?.removeEventListemer?.('click', this.stopPropagation);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"bounds\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args.bounds ?? '.slideover-content';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"closeSlideOver\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeSlideOver\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addEventListeners\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addEventListeners\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSlideoverUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSlideoverUpdate\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, SlideOverComponent);\n});","define(\"scaleflow/components/strategy/StrategyCalculation\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"moment\", \"scaleflow/models/investment-scenario\"], function (_exports, _object, _service, _component, _moment, _investmentScenario) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"moment\",0,\"scaleflow/models/investment-scenario\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyCalculation = _exports.default = (_class = class StrategyCalculation extends _component.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _defineProperty(this, \"divisions\", 5);\n }\n get scenario() {\n throw new Error('Override getter to retrieve scenario');\n }\n get start_date() {\n return this.args?.start_date ?? this.scenario?.start_date;\n }\n get end_date() {\n return this.args?.end_date ?? this.scenario?.end_date;\n }\n get scenarioPWLimits() {\n return {\n 'operations and maintenance': {\n lower_limit: this.scenario.get('limit_lower_operations'),\n upper_limit: this.scenario.get('limit_upper_operations')\n },\n vision: {\n lower_limit: this.scenario.get('limit_lower_vision'),\n upper_limit: this.scenario.get('limit_upper_vision')\n },\n 'customer request current': {\n lower_limit: this.scenario.get('limit_lower_customer'),\n upper_limit: this.scenario.get('limit_upper_customer')\n }\n };\n }\n distribution(main_field, scenario) {\n if (main_field == undefined) return 1;\n const vision = +scenario.get('distribution_vision');\n const operations = +scenario.get('distribution_operations');\n const customer = +scenario.get('distribution_customer');\n const sum = vision + operations + customer;\n return +scenario[`distribution_${main_field}`] / sum;\n }\n calculateWeeks(start_date, end_date) {\n if (!start_date && !end_date) return 13;\n return (0, _moment.default)(end_date).diff((0, _moment.default)(start_date), 'week', true);\n }\n /**\n *\n * @param {Object} scenario - contains form values\n * @param {string} source - in percentage i.e. a value of 20 means 20%\n */\n calculatePwCapacity(scenario, source, useStaticNumberOfWeeks = true) {\n try {\n let pwCapacity = 0;\n const distribution = this.distribution(source, scenario);\n if (useStaticNumberOfWeeks) {\n pwCapacity = this.pw_initiatives(scenario) * distribution;\n } else {\n const ftes = +scenario.fte;\n const initiative_capacity = scenario.initiative_capacity / 100;\n const start_date = this.start_date;\n const end_date = this.end_date;\n const weeks = useStaticNumberOfWeeks ? 13 : this.calculateWeeks(start_date, end_date);\n pwCapacity = ftes * initiative_capacity * distribution * weeks;\n }\n if (isNaN(pwCapacity)) return null;else return pwCapacity;\n } catch (err) {\n console.error(err);\n return null;\n }\n }\n calculateCostFromPersonWeeks(weeks) {\n const costs = this.organisation.ppw * weeks;\n if (isNaN(costs)) return '-';\n return costs;\n }\n calculateCost(scenario, source) {\n const pwCapacity = this.calculatePwCapacity(scenario, source);\n const cost = pwCapacity * this.organisation.ppw;\n if (isNaN(cost)) return '-';\n return cost;\n }\n calculateInitiativesLimit(scenario, source, limit_type) {\n const limit = scenario[`limit_${limit_type}_${source}`];\n const capacity = this.calculatePwCapacity(scenario, source);\n const result = Math.ceil(capacity / limit);\n if (isNaN(result)) return '-';\n return result;\n }\n calculateInvestmentSizes(scenario, source, limit_type) {\n const limit = scenario[`limit_${limit_type}_${source}`];\n const initiative_capacity = scenario.initiative_capacity / 100;\n const capacity_ppw = this.organisation.ppw * initiative_capacity;\n const result = (limit * capacity_ppw).toFixed(2);\n if (isNaN(result)) return '-';\n return result;\n }\n calculateInterval(upper_limit, lower_limit) {\n return (Number(upper_limit) - Number(lower_limit)) / this.divisions;\n }\n calculateAdvisedRange(lowerLimit, upperLimit, ceil = false) {\n const interval = this.calculateInterval(upperLimit, lowerLimit);\n let lower_range = Number(lowerLimit) + interval;\n let upper_range = Number(upperLimit) - interval;\n if (ceil) {\n lower_range = Math.ceil(lower_range);\n upper_range = Math.ceil(upper_range);\n }\n if (isNaN(lower_range)) lower_range = '-';\n if (isNaN(upper_range)) upper_range = '-';\n return [lower_range, upper_range];\n }\n pw_flow(scenario) {\n return scenario.fte * (this.percentage_flow(scenario) / 100) * scenario.weeks;\n }\n pw_unavailable(scenario) {\n return Math.round(scenario.fte * (this.percentage_unavailable(scenario) / 100) * scenario.weeks);\n }\n pw_initiatives(scenario) {\n return this.pw_total(scenario) - (this.pw_flow(scenario) + this.pw_unavailable(scenario));\n }\n pw_vision(scenario) {\n return this.pw_number(scenario, scenario.distribution_vision);\n }\n pw_customer(scenario) {\n return this.pw_number(scenario, scenario.distribution_customer);\n }\n pw_operations(scenario) {\n return this.pw_number(scenario, scenario.distribution_operations);\n }\n pw_total(scenario) {\n return this.pw_number(scenario);\n }\n pw_number(scenario, source) {\n if (source == undefined) {\n return scenario.fte * scenario.weeks;\n } else {\n return source / this.total_distribution(scenario) * scenario.fte * (scenario.initiative_capacity / 100) * scenario.weeks;\n }\n }\n total_distribution(scenario) {\n return scenario.distribution_vision + scenario.distribution_customer + scenario.distribution_operations;\n }\n percentage_flow(scenario) {\n if (!this.unavailable_portion(scenario)) return 100 - +scenario.initiative_capacity;\n return Math.round((100 - +this.unavailable_portion(scenario)) * (100 - +scenario.initiative_capacity) / 100);\n }\n percentage_unavailable(scenario) {\n return Math.round(+this.unavailable_portion(scenario) * (100 - +scenario.initiative_capacity) / 100);\n }\n unavailable_portion(scenario) {\n let percent_unavailable = 0;\n if (!scenario.unavailable_time) ;else {\n const total_unavailable = +scenario.unavailable_time.total;\n percent_unavailable = Math.floor(total_unavailable / _investmentScenario.TOTAL_WORKING_DAYS * 100);\n }\n return percent_unavailable;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"distribution\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"distribution\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateWeeks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateWeeks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculatePwCapacity\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculatePwCapacity\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateCostFromPersonWeeks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateCostFromPersonWeeks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateCost\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateCost\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateInitiativesLimit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateInitiativesLimit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateInvestmentSizes\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateInvestmentSizes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"calculateAdvisedRange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"calculateAdvisedRange\"), _class.prototype), _class);\n});","define(\"scaleflow/components/strategy/card/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"scaleflow/components/strategy/StrategyCalculation\", \"@ember/service\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _StrategyCalculation, _service, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/components/strategy/StrategyCalculation\",0,\"@ember/service\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n

    \n {{t \"_scenarios.summary-investment-strategy\"}}\n

    \n
    \n
    \n
    \n
    {{t\n \"_scenarios.title\"\n num=1\n }}
    \n {{this.title}} - {{this.ftes}} FTE\n
    \n {{#unless @hideButtons}}\n
    \n
    \n \n {{t \"dictionary.details\"}}\n \n
    \n
    \n {{/unless}}\n
    \n
    \n
    \n \n \n
    \n

    {{t \"_initiatives.title\" num=2}}

    \n
    \n
    \n
    {{t \"_scenarios.percentage\"}}
    \n {{this.allocation.initiatives.percent}}%\n
    \n
    \n
    {{t \"financials.effort\"}}
    \n
    {{this.allocation.initiatives.effort}}\n
    \n
    \n
    \n
    {{t \"_scenarios.budget\"}}
    \n
    \n {{localize\n this.allocation.initiatives.value\n \",-\"\n (t \"currency.euro\")\n }}
    \n
    \n
    \n
    \n \n {{#each (array \"vision\" \"customer_request\" \"operations\") as |bucket|}}\n
    \n

    {{t (concat \"source-options.\" bucket)}}

    \n
    \n
    \n
    {{t \"_scenarios.percentage\"}}
    \n
    {{this.bucket_percent bucket}}%
    \n
    \n
    \n
    {{t \"financials.effort\"}}
    \n
    {{this.bucket_effort bucket}}
    \n
    \n
    \n
    {{t \"_scenarios.budget\"}}
    \n
    \n {{localize (this.bucket_value bucket) \",-\" (t \"currency.euro\")}}
    \n
    \n
    \n
    \n {{/each}}\n \n \n

    {{t \"source-options.flow\"}}

    \n
    \n
    \n
    {{t \"_scenarios.percentage\"}}
    \n {{this.allocation.operational_flex.percent}}%\n
    \n
    \n
    {{t \"financials.effort\"}}
    \n {{this.allocation.operational_flex.effort}} \n
    \n
    \n
    {{t \"_scenarios.budget\"}}
    \n
    \n {{localize\n this.allocation.operational_flex.value\n \",-\"\n (t \"currency.euro\")\n }}
    \n
    \n
    \n \n \n
    \n

    {{t \"personals.unavailable\"}}

    \n
    \n
    \n
    {{t \"_scenarios.percentage\"}}
    \n {{this.allocation.unavailable.percent}}%\n
    \n \n
    \n
    {{t \"financials.effort\"}}
    \n
    {{this.allocation.unavailable.effort}}\n
    \n
    \n
    \n
    {{t \"_scenarios.budget\"}}
    \n
    \n {{localize this.allocation.unavailable.value \",-\" (t \"currency.euro\")}}\n
    \n
    \n
    \n
    \n \n {{#each (array \"holidays\" \"other\" \"pto\" \"sick_leave\") as |unavailable_type|}}\n \n

    {{t (concat \"personals.\" unavailable_type)}}

    \n
    \n
    \n
    {{t \"_scenarios.percentage\"}}
    \n
    {{this.unavailable_percent\n unavailable_type\n }}%
    \n
    \n
    \n
    {{t \"financials.effort\"}}
    \n
    {{this.unavailable_effort\n unavailable_type\n }}\n
    \n
    \n
    \n
    {{t \"_scenarios.budget\"}}
    \n
    \n {{localize\n (this.unavailable_value unavailable_type)\n \",-\"\n (t \"currency.euro\")\n }}
    \n
    \n
    \n \n {{/each}}\n */\n {\n \"id\": \"CKqLslIi\",\n \"block\": \"[[[11,0],[24,\\\"test-id\\\",\\\"sc\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_scenarios.summary-investment-strategy\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 shadow-sm ring-1 ring-gray-900/5\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"flex flex-wrap pb-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex-auto pl-6 pt-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-sm font-semibold leading-6 text-gray-900 sr-only\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"mt-1 text-base font-semibold leading-6 text-gray-900\\\"],[14,\\\"test-id\\\",\\\"sc-title\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[1,\\\" - \\\"],[1,[30,0,[\\\"ftes\\\"]]],[1,\\\" FTE\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex-none self-end pr-6 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-2 text-xs font-medium flex\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,\\\"test-id\\\",\\\"sc-view\\\"],[24,0,\\\"rounded bg-indigo-600 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 flex-none\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"business.investment-profiles.investment-profile.view\\\",[30,0,[\\\"scenario\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.details\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[11,0],[24,0,\\\"place-self-center\\\"],[4,[38,8],[[30,0,[\\\"scenario\\\"]]],[[\\\"width\\\",\\\"height\\\",\\\"formatter\\\"],[250,250,[30,0,[\\\"find_segment_details\\\"]]]]],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[15,1,[29,[[30,0,[\\\"scenario\\\",\\\"id\\\"]],\\\"_initiatives_legend\\\"]]],[14,0,\\\"hidden w-48 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"border-t border-gray-100 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.percentage\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"initiatives\\\",\\\"percent\\\"]]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"initiatives\\\",\\\"effort\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.budget\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[30,0,[\\\"allocation\\\",\\\"initiatives\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,13],[\\\"vision\\\",\\\"customer_request\\\",\\\"operations\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,1,[29,[[30,0,[\\\"scenario\\\",\\\"id\\\"]],\\\"_\\\",[30,3],\\\"_legend\\\"]]],[14,0,\\\"hidden w-48 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[28,[35,2],[[28,[37,14],[\\\"source-options.\\\",[30,3]],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"border-t border-gray-100 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.percentage\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[28,[30,0,[\\\"bucket_percent\\\"]],[[30,3]],null]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[28,[30,0,[\\\"bucket_effort\\\"]],[[30,3]],null]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.budget\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[30,0,[\\\"bucket_value\\\"]],[[30,3]],null],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"\\\\n\\\"],[10,0],[15,1,[29,[[30,0,[\\\"scenario\\\",\\\"id\\\"]],\\\"_operational_flex_legend\\\"]]],[14,0,\\\"hidden w-48 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"source-options.flow\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"border-t border-gray-100 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.percentage\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"operational_flex\\\",\\\"percent\\\"]]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"operational_flex\\\",\\\"effort\\\"]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.budget\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[30,0,[\\\"allocation\\\",\\\"operational_flex\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[15,1,[29,[[30,0,[\\\"scenario\\\",\\\"id\\\"]],\\\"_unavailable_legend\\\"]]],[14,0,\\\"hidden w-48 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"personals.unavailable\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"border-t border-gray-100 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.percentage\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"unavailable\\\",\\\"percent\\\"]]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[30,0,[\\\"allocation\\\",\\\"unavailable\\\",\\\"effort\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.budget\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[30,0,[\\\"allocation\\\",\\\"unavailable\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,13],[\\\"holidays\\\",\\\"other\\\",\\\"pto\\\",\\\"sick_leave\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[15,1,[29,[[30,0,[\\\"scenario\\\",\\\"id\\\"]],\\\"_\\\",[30,4],\\\"_legend\\\"]]],[14,0,\\\"hidden w-48 text-xs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900\\\"],[12],[1,[28,[35,2],[[28,[37,14],[\\\"personals.\\\",[30,4]],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"border-t border-gray-100 mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.percentage\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[28,[30,0,[\\\"unavailable_percent\\\"]],[[30,4]],null]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,[28,[30,0,[\\\"unavailable_effort\\\"]],[[30,4]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-2 mt-1 w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[12],[1,[28,[35,2],[\\\"_scenarios.budget\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-right text-black\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[30,0,[\\\"unavailable_value\\\"]],[[30,4]],null],\\\",-\\\",[28,[37,2],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]],null]],[\\\"&attrs\\\",\\\"@hideButtons\\\",\\\"bucket\\\",\\\"unavailable_type\\\"],[\\\"div\\\",\\\"h2\\\",\\\"t\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"unless\\\",\\\"link-to\\\",\\\"strategy/sunburst\\\",\\\"h3\\\",\\\"localize\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array\\\",\\\"concat\\\"]]\",\n \"moduleName\": \"scaleflow/components/strategy/card/index.hbs\",\n \"isStrictMode\": false\n });\n let StrategyCardComponent = _exports.default = (_class = class StrategyCardComponent extends _StrategyCalculation.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n get scenario() {\n return this.args.scenario;\n }\n get allocation() {\n return this.args.scenario.allocation;\n }\n bucket_percent(bucket) {\n return this.allocation?.initiatives.items[bucket]?.percent;\n }\n bucket_effort(bucket) {\n return this.allocation?.initiatives.items[bucket]?.effort;\n }\n bucket_value(bucket) {\n return this.allocation?.initiatives.items[bucket]?.value;\n }\n unavailable_percent(type) {\n return this.allocation?.unavailable?.items?.[type].percent;\n }\n unavailable_effort(type) {\n return this.allocation?.unavailable?.items?.[type].effort;\n }\n unavailable_value(type) {\n return this.allocation?.unavailable?.items?.[type].value;\n }\n get end_of_period() {\n return new Date(this.scenario.end_date).toLocaleDateString('en-US', {\n month: 'short',\n day: 'numeric',\n year: 'numeric'\n });\n }\n get start_of_period() {\n return new Date(this.scenario.start_date).toLocaleDateString('en-US', {\n month: 'short',\n day: 'numeric'\n });\n }\n get start_of_period_yyyy_mm_dd() {\n return (0, _moment.default)(this.scenario.start_date).format('YYYY-MM-DD');\n }\n get end_of_period_yyyy_mm_dd() {\n return (0, _moment.default)(this.scenario.end_date).format('YYYY-MM-DD');\n }\n get ftes() {\n return this.scenario.fte;\n }\n get title() {\n return this.scenario.title;\n }\n get budget() {\n return this.scenario.pw_total * this.organisation.ppw;\n }\n\n //(params: Object|Array, ticket: string, callback: (ticket: string, html: string)) => string | HTMLElement | HTMLElement[]\n find_segment_details(params) {\n if (!params?.data?.id) return;\n const id = [this.scenario.id, params.data.id.toLowerCase().replace(/ /, '_'), 'legend'].join('_');\n const obj = document.getElementById(id);\n if (obj) {\n const clonedObj = obj.cloneNode(true);\n clonedObj.style.display = 'block';\n return clonedObj;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"bucket_percent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bucket_percent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"bucket_effort\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bucket_effort\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"bucket_value\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bucket_value\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unavailable_percent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unavailable_percent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unavailable_effort\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unavailable_effort\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unavailable_value\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unavailable_value\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"find_segment_details\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"find_segment_details\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, StrategyCardComponent);\n});","define(\"scaleflow/components/strategy/strategy-form/index\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/component\", \"@ember/object\", \"scaleflow/components/strategy/StrategyCalculation\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/scenario\", \"@ember/template-factory\"], function (_exports, _asyncArrowRuntime, _component, _object, _StrategyCalculation, _service, _tracking, _scenario, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/components/strategy/StrategyCalculation\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/scenario\",0,\"ember-concurrency\",0,\"@ember/template-factory\",0,\"@ember/component\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{#let (changeset @scenario this.scenarioValidations) as |changeset|}}\n \n \n \n
    \n \n {{#if changeset.id}}\n {{t \"dictionary.edit\"}}\n {{else}}\n {{t \"dictionary.add\"}}\n {{/if}}\n {{t \"_scenarios.title\" num=1}}\n \n
    \n
    \n
    \n {{t\n \"_scenarios.table.title\"\n }}\n
    \n \n
    \n
    \n \n
    \n {{t \"_scenarios.total\"}}\n {{t \"financials.fte\"}}\n
    \n
    \n \n \n {{t\n \"financials.fte\"\n }}\n
    \n
    \n
    \n
    \n \n
    \n {{t\n \"financials.person-weeks-full\"\n }}\n \n \n \n \n
    \n {{this.ppw}} {{t \"currency.euro\"}}\n
    \n
    \n \n
    \n {{t\n \"_scenarios.planning-limit\"\n }}\n
    \n \n \n {{changeset.initiative_capacity}}%\n
    \n
    \n \n

    {{t\n \"_scenarios.capacity-allocation\"\n }}

    \n \n \n \n \n \n \n \n \n \n \n Categories\n {{t \"source-options.vision\"}}\n {{t \"source-options.customer-request\"}}\n {{t \"source-options.operations\"}}\n \n \n \n \n \n \n
    \n \n \n %\n
    \n \n \n \n
    \n \n \n %\n
    \n \n \n \n
    \n \n \n %\n
    \n \n \n
    \n \n \n \n {{to-fixed\n (this.calculatePwCapacity changeset \"vision\")\n }}pw\n \n {{to-fixed\n (this.calculatePwCapacity changeset \"customer\")\n }}pw\n \n {{to-fixed\n (this.calculatePwCapacity changeset \"operations\")\n }}pw\n \n \n \n \n {{localize\n (this.calculateCost changeset \"vision\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{localize\n (this.calculateCost changeset \"customer\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{localize\n (this.calculateCost changeset \"operations\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n
    \n
    {{t\n \"_scenarios.distribution\"\n }}
    \n {{!
    New logo and digital asset playbook.
    }}\n
    \n
    {{t\n \"financials.effort\"\n }}
    \n {{!
    Design and program new company website.
    }}\n
    \n
    {{t\n \"currency.euro\"\n }}
    \n
    \n \n
    \n \n

    {{t\n \"_scenarios.size-limit\"\n initiative=(t \"_initiatives.title\" num=2)\n }}

    \n \n \n \n \n \n \n \n \n \n \n Categories\n {{t \"source-options.vision\"}}\n {{t \"source-options.customer-request\"}}\n {{t \"source-options.operations\"}}\n \n \n \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n
    \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n \n
    \n \n \n {{t \"_scenarios.pw\"}}\n
    \n \n \n
    \n \n \n \n
    \n
    {{t\n \"_scenarios.min\"\n }}
    \n {{!
    New logo and digital asset playbook.
    }}\n
    \n
    {{t\n \"_scenarios.max\"\n }}
    \n {{!
    Design and program new company website.
    }}\n
    \n \n
    \n \n {{t \"personals.unavailable\"}} {{t \"personals.time\"}}\n \n \n \n \n {{t \"personals.type\"}}\n \n {{t \"personals.duration\"}}\n \n {{! }}\n \n \n \n {{#each this.unavailable_types as |type|}}\n \n {{t (concat \"personals.\" type)}}\n \n \n \n \n {{/each}}\n \n \n {{t \"personals.total\"}}\n \n \n {{this.sumOfUnavailableTime changeset.unavailable_time}}\n \n \n \n
    Source
    \n \n
    \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n \n \n {{/let}}\n \n {{#if @isEdit}}\n

    {{t\n \"dictionary.danger-zone\"\n }}

    \n {{t \"dictionary.delete\"}}\n {{t \"_scenarios.title\" num=1}}\n {{/if}}\n \n \n \n */\n {\n \"id\": \"e8FHR7aj\",\n \"block\": \"[[[11,0],[17,1],[12],[1,\\\"\\\\n\\\"],[44,[[28,[37,2],[[30,2],[30,0,[\\\"scenarioValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[24,0,\\\"max-w-8xl\\\"],[4,[38,4],[\\\"submit\\\",[28,[37,5],[[30,0,[\\\"saveSettings\\\"]],[30,3]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl text-gray-800 font-semibold leading-8 mb-2 whitespace-nowrap\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"id\\\"]],[[[1,\\\" \\\"],[1,[28,[35,8],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,8],[\\\"dictionary.add\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"investment-strategy-inputs space-y-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"form-group grid grid-cols-12 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"col-span-4\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"_scenarios.table.title\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"col-span-4\\\"]],[[\\\"@value\\\",\\\"@id\\\",\\\"@changeset\\\",\\\"@onBlur\\\"],[[30,3,[\\\"title\\\"]],\\\"title\\\",[30,3],[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"form-group grid grid-cols-12 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"col-span-4\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"_scenarios.total\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"financials.fte\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative mt-2 rounded-md shadow-sm\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"fte\\\"],[24,1,\\\"fte\\\"],[16,0,[29,[\\\"block w-full\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"fte\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none mt-1 rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"total-ftes\\\"],[16,2,[30,3,[\\\"fte\\\"]]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"total-ftes\\\"],[12],[1,[28,[35,8],[\\\"financials.fte\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"form-group grid grid-cols-12 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"col-span-4 flex items-center gap-x-2\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"financials.person-weeks-full\\\"],null]],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,\\\"test-id\\\",\\\"ppw-trigger\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"togglePpwSlideover\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-6 h-6 !text-gray-400 hover:!text-gray-700\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 text-right\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,0,[\\\"ppw\\\"]]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"currency.euro\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"form-group grid grid-cols-12 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"col-span-4\\\"]],null,[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"_scenarios.planning-limit\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"initiative_capacity\\\"],[16,2,[30,3,[\\\"initiative_capacity\\\"]]],[24,\\\"min\\\",\\\"0\\\"],[24,\\\"max\\\",\\\"100\\\"],[24,\\\"step\\\",\\\"5\\\"],[24,1,\\\"initiative_capacity\\\"],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"initiative_capacity\\\"],[24,4,\\\"range\\\"],[4,[38,4],[\\\"change\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-center inline-block ml-auto\\\"],[12],[1,[30,3,[\\\"initiative_capacity\\\"]]],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800 mb-8\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.capacity-allocation\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-full whitespace-nowrap text-left text-sm leading-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"colgroup\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold opacity-0\\\"],[12],[1,\\\"Categories\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,8],[\\\"source-options.vision\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,8],[\\\"source-options.customer-request\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold\\\"],[12],[1,[28,[35,8],[\\\"source-options.operations\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.distribution\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"distribution_vision\\\"],[16,2,[30,3,[\\\"distribution_vision\\\"]]],[24,1,\\\"distribution_vision\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"distribution_vision\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"distribution_vision-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"distribution_vision-indication\\\"],[12],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"distribution_customer\\\"],[16,2,[30,3,[\\\"distribution_customer\\\"]]],[24,1,\\\"distribution_customer\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"distribution_customer\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"distribution_customer-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"distribution_customer-indication\\\"],[12],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"distribution_operations\\\"],[16,2,[30,3,[\\\"distribution_operations\\\"]]],[24,1,\\\"distribution_operations\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"distribution_operations\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"distribution_operations-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"distribution_operations-indication\\\"],[12],[1,\\\"%\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"financials.effort\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"pw-vision\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,26],[[28,[30,0,[\\\"calculatePwCapacity\\\"]],[[30,3],\\\"vision\\\"],null]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"pw-customer\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,26],[[28,[30,0,[\\\"calculatePwCapacity\\\"]],[[30,3],\\\"customer\\\"],null]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"pw-operations\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,26],[[28,[30,0,[\\\"calculatePwCapacity\\\"]],[[30,3],\\\"operations\\\"],null]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"currency.euro\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"cost-vision\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,3],\\\"vision\\\"],null],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"cost-customer\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,3],\\\"customer\\\"],null],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700\\\"],[14,\\\"test-id\\\",\\\"cost-operations\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,3],\\\"operations\\\"],null],\\\",-\\\",[28,[37,8],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 w-full my-8\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800 mb-8\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.size-limit\\\"],[[\\\"initiative\\\"],[[28,[37,8],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-full whitespace-nowrap text-left text-sm leading-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"colgroup\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold opacity-0\\\"],[12],[1,\\\"Categories\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,8],[\\\"source-options.vision\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,8],[\\\"source-options.customer-request\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold\\\"],[12],[1,[28,[35,8],[\\\"source-options.operations\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.min\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_lower_vision\\\"],[16,2,[30,3,[\\\"limit_lower_vision\\\"]]],[24,1,\\\"limit_lower_vision\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_lower_vision\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_lower_vision-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_lower_vision-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_lower_customer\\\"],[16,2,[30,3,[\\\"limit_lower_customer\\\"]]],[24,1,\\\"limit_lower_customer\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_lower_customer\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_lower_customer-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_lower_customer-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_lower_operations\\\"],[16,2,[30,3,[\\\"limit_lower_operations\\\"]]],[24,1,\\\"limit_lower_operations\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_lower_operations\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_lower_operations-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_lower_operations-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 px-0 py-5 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.max\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_upper_vision\\\"],[16,2,[30,3,[\\\"limit_upper_vision\\\"]]],[24,1,\\\"limit_upper_vision\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_upper_vision\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_upper_vision-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_upper_vision-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_upper_customer\\\"],[16,2,[30,3,[\\\"limit_upper_customer\\\"]]],[24,1,\\\"limit_upper_customer\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_upper_customer\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_upper_customer-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_upper_customer-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-5 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,3,\\\"limit_upper_operations\\\"],[16,2,[30,3,[\\\"limit_upper_operations\\\"]]],[24,1,\\\"limit_upper_operations\\\"],[16,0,[29,[\\\"w-32 border\\\\n \\\",[52,[28,[37,13],[[30,3,[\\\"error\\\"]],\\\"limit_upper_operations\\\"],null],\\\" input input--error\\\"],\\\"\\\\n border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"]]],[24,\\\"placeholder\\\",\\\"6\\\"],[24,\\\"aria-describedby\\\",\\\"limit_upper_operations-indication\\\"],[24,4,\\\"number\\\"],[4,[38,4],[\\\"blur\\\",[28,[37,11],[[30,0,[\\\"handleBlur\\\"]],[30,3]],null]],null],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleInput\\\"]],[30,3]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 sm:text-sm\\\"],[14,1,\\\"limit_upper_operations-indication\\\"],[12],[1,[28,[35,8],[\\\"_scenarios.pw\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"hr\\\"],[14,0,\\\"!my-8 rounded border-none\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl font-medium text-gray-800 !mt-0\\\"],[14,1,\\\"unavailable-time\\\"],[14,\\\"data-toc\\\",\\\"unavailable-time\\\"],[12],[1,[28,[35,8],[\\\"personals.unavailable\\\"],null]],[1,\\\" \\\"],[1,[28,[35,8],[\\\"personals.time\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-1/3 divide-y divide-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"pr-3 py-3.5 text-left text-sm font-semibold text-gray-900 lg:table-cell\\\"],[12],[1,[28,[35,8],[\\\"personals.type\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"pr-3 py-3.5 text-left text-sm font-semibold text-gray-900 lg:table-cell\\\"],[12],[1,[28,[35,8],[\\\"personals.duration\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,30],[[28,[37,30],[[30,0,[\\\"unavailable_types\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-500 lg:table-cell border-t border-gray-200\\\"],[12],[1,[28,[35,8],[[28,[37,31],[\\\"personals.\\\",[30,4]],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-500 lg:table-cell border-t border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[16,3,[29,[[30,4]]]],[16,1,[29,[[30,4]]]],[24,\\\"min\\\",\\\"0\\\"],[24,0,\\\"block w-full border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none mt-1 rounded-md py-[9px] pl-3 pr-12 text-gray-900 placeholder:text-gray-400 sm:text-sm sm:leading-6\\\"],[24,\\\"placeholder\\\",\\\"6\\\"],[16,2,[28,[37,13],[[30,3,[\\\"unavailable_time\\\"]],[30,4]],null]],[24,4,\\\"number\\\"],[4,[38,4],[\\\"input\\\",[28,[37,11],[[30,0,[\\\"handleUnavailableInput\\\"]],[30,3],[30,4]],null]],null],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-500 lg:table-cell border-t border-gray-200\\\"],[12],[1,[28,[35,8],[\\\"personals.total\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-500 lg:table-cell border-t border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"sumOfUnavailableTime\\\"]],[[30,3,[\\\"unavailable_time\\\"]]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"action-buttons py-3 flex items-center justify-end gap-x-2 w-full sticky bottom-0 bg-white left-0 right-0 buttons-container border-t\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,32],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,4],[\\\"click\\\",[28,[37,11],[[30,0,[\\\"resetForm\\\"]],[30,3]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,33],[[16,\\\"disabled\\\",[28,[37,34],[[30,3,[\\\"isPristine\\\"]],[30,3,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,4],[\\\"click\\\",[28,[37,5],[[30,0,[\\\"saveSettings\\\"]],[30,3]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,3],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\" \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl leading 7 font-semibold text-gray-900 mt-6 mb-4\\\"],[12],[1,[28,[35,8],[\\\"dictionary.danger-zone\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,32],[[24,0,\\\"text-sm mb-16\\\"],[24,\\\"test-id\\\",\\\"delete-scenario\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"deleteScenario\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,35],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showPpwSlideover\\\"]],[28,[37,11],[[30,0,[\\\"togglePpwSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@scenario\\\",\\\"changeset\\\",\\\"type\\\",\\\"@isEdit\\\"],[\\\"div\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"h1\\\",\\\"if\\\",\\\"t\\\",\\\"atoms/forms/label\\\",\\\"atoms/forms/input\\\",\\\"fn\\\",\\\"input\\\",\\\"get\\\",\\\"span\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/alert\\\",\\\"h2\\\",\\\"table\\\",\\\"colgroup\\\",\\\"col\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"td\\\",\\\"to-fixed\\\",\\\"localize\\\",\\\"hr\\\",\\\"each\\\",\\\"-track-array\\\",\\\"concat\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/save\\\",\\\"or\\\",\\\"back-of-a-napkin/slideovers/ppw\\\"]]\",\n \"moduleName\": \"scaleflow/components/strategy/strategy-form/index.hbs\",\n \"isStrictMode\": false\n });\n let StrategyStrategyFormIndexComponent = _exports.default = (_class = class StrategyStrategyFormIndexComponent extends _StrategyCalculation.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"scenarioValidations\", _scenario.default);\n _initializerDefineProperty(this, \"isDisabled\", _descriptor3, this);\n _defineProperty(this, \"unavailable_types\", ['holidays', 'pto', 'sick_leave', 'other']);\n _defineProperty(this, \"startDatePicker\", null);\n _defineProperty(this, \"endDatePicker\", null);\n _initializerDefineProperty(this, \"showPpwSlideover\", _descriptor4, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n this.fillDerivedOpsFlexValues(changeset);\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n this.afterSubmit(changeset);\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n } else console.log(changeset.errors);\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.saveSettings.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n get ppw() {\n return this.organisation.ppw;\n }\n get scenario() {\n return this.args.scenario;\n }\n togglePpwSlideover(val = undefined) {\n if (val === undefined) this.showPpwSlideover = !this.showPpwSlideover;else this.showPpwSlideover = val;\n }\n handleBlur(changeset) {\n changeset.validate();\n }\n handleInput(changeset, e) {\n changeset.set(e.target.id, e.target.value);\n }\n onReady(field, _, __, e) {\n this[field] = e;\n }\n openDatePicker(field) {\n this[field].toggle();\n }\n onDateChange(changeset, field, e) {\n changeset.set(field, e[0]);\n }\n goToViewPage() {\n this.router.transitionTo('planning.dashboard.balance');\n }\n isNew(changeset) {\n return !changeset.get('id');\n }\n resetForm(changeset) {\n changeset.rollback();\n if (this.isNew(changeset)) this.scenario.deleteRecord();\n this.goToPreviousPage();\n }\n fillDerivedOpsFlexValues(changeset) {\n const initiative_capacity = +changeset.get('initiative_capacity');\n if (!initiative_capacity || isNaN(initiative_capacity)) return;\n const ops_flex = 100 - initiative_capacity;\n changeset.set('ops_flex', ops_flex);\n changeset.set('price_person_week', this.organisation.ppw);\n }\n afterSubmit() {\n this.saveSettings.cancelAll();\n this.goToPreviousPage();\n }\n sumOfUnavailableTime(unavailable_time) {\n const unavailable = unavailable_time?.content ?? unavailable_time ?? {};\n return Object.entries(unavailable).reduce((acc, item) => {\n const [label, value] = item;\n if (label === 'total') return acc;\n return acc += +value;\n }, 0);\n }\n handleUnavailableInput(changeset, type, e) {\n const _unavailable_time = changeset.get('unavailable_time')?.content ?? changeset.get('unavailable_time') ?? {};\n const unavailable_time = {\n ..._unavailable_time\n };\n unavailable_time[type] = +e.target.value;\n const total = this.sumOfUnavailableTime(unavailable_time);\n unavailable_time['total'] = total;\n changeset.set('unavailable_time', unavailable_time);\n }\n deleteScenario() {\n this.scenario.destroyRecord().then(() => {\n this.router.replaceWith('business.investment-profiles.list');\n });\n }\n goToPreviousPage() {\n history.go(-1);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showPpwSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"togglePpwSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePpwSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDatePicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDatePicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDateChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToViewPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToViewPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"afterSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"afterSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sumOfUnavailableTime\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sumOfUnavailableTime\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleUnavailableInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUnavailableInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteScenario\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteScenario\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToPreviousPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToPreviousPage\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, StrategyStrategyFormIndexComponent);\n});","define(\"scaleflow/components/strategy/strategy-sheet/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"scaleflow/components/strategy/StrategyCalculation\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _service, _StrategyCalculation, _object, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/components/strategy/StrategyCalculation\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n \n \n \n Allocation\n {{t \"_scenarios.percent\"}}\n {{t \"_scenarios.euros\"}}\n {{t \"dictionary.in\"}}\n {{t \"financials.person-weeks\"}}\n \n \n \n \n {{t \"_scenarios.investment\" num=0}}\n \n \n \n \n {{this.scenario.allocation.initiatives.percent}}\n %\n \n \n {{localize\n this.scenario.allocation.initiatives.value\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{this.scenario.allocation.initiatives.effort}}\n pw\n \n \n \n \n \n \n {{this.scenario.allocation.operational_flex.percent}}\n %\n \n \n {{localize\n this.scenario.allocation.operational_flex.value\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{this.scenario.allocation.operational_flex.effort}}\n pw\n \n \n \n \n \n \n {{this.scenario.allocation.unavailable.percent}}\n %\n \n \n {{localize\n this.scenario.allocation.unavailable.value\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{this.scenario.allocation.unavailable.effort}}\n pw\n \n \n \n \n \n \n 100 %\n \n \n {{localize\n this.scenario.allocation.total_value\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{this.scenario.allocation.total_effort}}\n pw
    ({{to-fixed this.scenario.fte}}\n {{t \"financials.fte\"}})\n \n
    \n \n
    \n
    {{t\n \"_initiatives.title\"\n num=3\n }}
    \n
    \n
    {{t\n \"personals.flex\"\n }}
    \n
    \n
    {{t\n \"personals.unavailable\"\n }}
    \n
    \n
    {{t\n \"_scenarios.total\"\n }}
    \n
    \n \n \n \n \n \n \n \n \n \n \n Categories\n {{t \"source-options.vision\"}}\n {{t \"source-options.customer-request\"}}\n \n \n \n \n \n {{t\n \"_scenarios.investment-in-initiatives\"\n investment=(t \"_scenarios.investment\" num=1)\n }}\n \n \n \n \n \n \n {{this.scenario.distribution_vision}}%\n \n \n \n \n \n \n {{this.scenario.distribution_customer}}%\n \n \n \n \n \n {{this.scenario.distribution_operations}}%\n \n \n \n \n \n \n \n \n {{to-fixed this.scenario.pw_vision}}pw\n \n {{to-fixed this.scenario.pw_customer}}pw\n {{to-fixed this.scenario.pw_operations}}pw\n \n \n \n \n \n {{localize\n (this.calculateCost this.scenario \"vision\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{localize\n (this.calculateCost this.scenario \"customer\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n {{localize\n (this.calculateCost this.scenario \"operations\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n {{! INITIATIVES TO RUN }}\n \n {{t\n \"_scenarios.number-of-initiatives-to-run\"\n initiative=(t \"_initiatives.title\" num=2)\n }}\n \n \n \n \n \n \n {{this.calculateInitiativesLimit this.scenario \"vision\" \"upper\"}}\n \n \n \n \n \n {{this.calculateInitiativesLimit this.scenario \"customer\" \"upper\"}}\n \n \n \n \n \n {{this.calculateInitiativesLimit\n this.scenario\n \"operations\"\n \"upper\"\n }}\n \n \n \n \n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInitiativesLimit this.scenario \"vision\" \"upper\")\n (this.calculateInitiativesLimit this.scenario \"vision\" \"lower\")\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInitiativesLimit this.scenario \"customer\" \"upper\")\n (this.calculateInitiativesLimit this.scenario \"customer\" \"lower\")\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInitiativesLimit\n this.scenario \"operations\" \"upper\"\n )\n (this.calculateInitiativesLimit\n this.scenario \"operations\" \"lower\"\n )\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n \n \n \n \n {{this.calculateInitiativesLimit this.scenario \"vision\" \"lower\"}}\n \n \n \n \n \n \n {{this.calculateInitiativesLimit this.scenario \"customer\" \"lower\"}}\n \n \n \n \n \n {{this.calculateInitiativesLimit\n this.scenario\n \"operations\"\n \"lower\"\n }}\n \n \n \n \n \n {{! INVESTMENT SIZES EUROS }}\n \n {{t\n \"_scenarios.investment-sizes-in-euros\"\n investment=(t \"_scenarios.investment\" num=1)\n }}\n \n \n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"vision\" \"lower\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"customer\" \"lower\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"operations\" \"lower\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInvestmentSizes this.scenario \"vision\" \"lower\")\n (this.calculateInvestmentSizes this.scenario \"vision\" \"upper\")\n )\n as |range|\n }}\n \n {{localize (get range \"0\") \",-\" (t \"currency.euro\")}}\n to\n {{localize (get range \"1\") \",-\" (t \"currency.euro\")}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInvestmentSizes this.scenario \"customer\" \"lower\")\n (this.calculateInvestmentSizes this.scenario \"customer\" \"upper\")\n )\n as |range|\n }}\n \n {{localize (get range \"0\") \",-\" (t \"currency.euro\")}}\n to\n {{localize (get range \"1\") \",-\" (t \"currency.euro\")}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n (this.calculateInvestmentSizes this.scenario \"operations\" \"lower\")\n (this.calculateInvestmentSizes this.scenario \"operations\" \"upper\")\n )\n as |range|\n }}\n \n {{localize (get range \"0\") \",-\" (t \"currency.euro\")}}\n to\n {{localize (get range \"1\") \",-\" (t \"currency.euro\")}}\n \n {{/let}}\n \n \n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"vision\" \"upper\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"customer\" \"upper\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n \n {{localize\n (this.calculateInvestmentSizes this.scenario \"operations\" \"upper\")\n \",-\"\n (t \"currency.euro\")\n }}\n \n \n \n \n {{! INVESTMENT SIZES PERSON WEEKS }}\n \n {{t\n \"_scenarios.investment-sizes-in-pw\"\n investment=(t \"_scenarios.investment\" num=1)\n }}\n \n \n \n \n \n \n \n {{this.scenario.limit_lower_vision}}\n \n \n \n \n \n \n {{this.scenario.limit_lower_customer}}\n \n \n \n \n \n {{this.scenario.limit_lower_operations}}\n \n \n \n \n \n \n \n \n {{#let\n (this.calculateAdvisedRange\n this.scenario.limit_lower_vision\n this.scenario.limit_upper_vision\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n this.scenario.limit_lower_customer\n this.scenario.limit_upper_customer\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n {{#let\n (this.calculateAdvisedRange\n this.scenario.limit_lower_operations\n this.scenario.limit_upper_operations\n true\n )\n as |range|\n }}\n \n {{get range \"0\"}}\n to\n {{get range \"1\"}}\n \n {{/let}}\n \n \n \n \n \n \n \n {{this.scenario.limit_upper_vision}}\n \n \n \n \n \n {{this.scenario.limit_upper_customer}}\n \n \n \n \n \n {{this.scenario.limit_upper_operations}}\n \n \n \n \n \n \n
    {{t\n \"source-options.operations\"\n }}
    \n
    {{t\n \"_scenarios.distribution\"\n }}
    \n
    \n
    {{t\n \"_scenarios.budget\"\n }}\n {{t \"dictionary.in\"}}\n {{t \"financials.person-weeks\"}}
    \n
    \n
    {{t\n \"_scenarios.budget\"\n }}\n {{t \"dictionary.in\"}}\n {{t \"_scenarios.euros\"}}
    \n
    \n
    {{t\n \"_scenarios.min\"\n }}
    \n {{!
    New logo and digital asset playbook.
    }}\n
    \n
    {{t\n \"_scenarios.advised-range\"\n }}
    \n
    \n
    {{t\n \"_scenarios.max\"\n }}
    \n
    \n
    {{t\n \"_scenarios.lower-limit\"\n }}
    \n
    \n
    {{t\n \"_scenarios.advised-range\"\n }}
    \n
    \n
    {{t\n \"_scenarios.upper-limit\"\n }}
    \n
    \n
    {{t\n \"_scenarios.lower-limit\"\n }}
    \n
    \n
    {{t\n \"_scenarios.advised-range\"\n }}
    \n
    \n
    {{t\n \"_scenarios.upper-limit\"\n }}
    \n
    \n \n {{t \"personals.unavailable\"}} {{t \"personals.time\"}}\n \n \n \n \n {{t \"personals.type\"}}\n {{t \"personals.duration\"}}\n \n {{! }}\n \n \n \n \n {{#each-in this.scenario.unavailable_time as |type duration|}}\n \n {{t (concat \"personals.\" type)}}\n {{duration}}\n \n {{/each-in}}\n \n
    Source
    \n
    \n */\n {\n \"id\": \"E7+8/eHp\",\n \"block\": \"[[[11,0],[24,0,\\\"bg-white rounded-md\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-full whitespace-nowrap text-left text-sm leading-6 mb-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold w-full opacity-0\\\"],[12],[1,\\\"Allocation\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.percent\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.euros\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,5],[\\\"dictionary.in\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.person-weeks\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.investment\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[3]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"initiatives-percent\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"initiatives\\\",\\\"percent\\\"]]],[1,\\\"\\\\n %\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"initiatives-euros\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"initiatives\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"initiatives-pw\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"initiatives\\\",\\\"effort\\\"]]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"personals.flex\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"flex-percent\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"operational_flex\\\",\\\"percent\\\"]]],[1,\\\"\\\\n %\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"flex-euros\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"operational_flex\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"flex-pw\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"operational_flex\\\",\\\"effort\\\"]]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"personals.unavailable\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"unavailable-percent\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"unavailable\\\",\\\"percent\\\"]]],[1,\\\"\\\\n %\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"unavailable-euros\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"unavailable\\\",\\\"value\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"unavailable-pw\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"unavailable\\\",\\\"effort\\\"]]],[1,\\\"\\\\n pw\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.total\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-percent\\\"],[12],[1,\\\"\\\\n 100 %\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-euros\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"total_value\\\"]],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-3 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-pw\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"allocation\\\",\\\"total_effort\\\"]]],[1,\\\"\\\\n pw\\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"(\\\"],[1,[28,[35,10],[[30,0,[\\\"scenario\\\",\\\"fte\\\"]]],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.fte\\\"],null]],[1,\\\")\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-full whitespace-nowrap text-left text-sm leading-6 mb-16\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"colgroup\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"col\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[14,0,\\\"border-b border-gray-200 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"px-0 py-3 font-semibold opacity-0 w-full\\\"],[12],[1,\\\"Categories\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,5],[\\\"source-options.vision\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold sm:table-cell\\\"],[12],[1,[28,[35,5],[\\\"source-options.customer-request\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right font-semibold\\\"],[12],[1,[28,[35,5],[\\\"source-options.operations\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.investment-in-initiatives\\\"],[[\\\"investment\\\"],[[28,[37,5],[\\\"_scenarios.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.distribution\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[14,\\\"test-id\\\",\\\"distribution-vision\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"distribution_vision\\\"]]],[1,\\\"%\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 sm:table-cell\\\"],[14,\\\"test-id\\\",\\\"distribution-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"distribution_customer\\\"]]],[1,\\\"%\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 sm:table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"distribution-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"distribution_operations\\\"]]],[1,\\\"%\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.budget\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.in\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"financials.person-weeks\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-pw-vision\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[30,0,[\\\"scenario\\\",\\\"pw_vision\\\"]]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-pw-customer\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[30,0,[\\\"scenario\\\",\\\"pw_customer\\\"]]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"total-pw-operations\\\"],[12],[1,[28,[35,10],[[30,0,[\\\"scenario\\\",\\\"pw_operations\\\"]]],null]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-top\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.budget\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.in\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_scenarios.euros\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-euros-vision\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"total-euros-customer\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 pr-3\\\"],[14,\\\"test-id\\\",\\\"total-euros-operations\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateCost\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.number-of-initiatives-to-run\\\"],[[\\\"initiative\\\"],[[28,[37,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.min\\\"],null]],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-upper-vision\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"upper\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-upper-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"upper\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-upper-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"upper\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.advised-range\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-advised-vision\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"upper\\\"],null],[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"lower\\\"],null],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,2],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,2],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-advised-customer\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"upper\\\"],null],[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"lower\\\"],null],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,3],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,3],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-advised-operations\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"upper\\\"],null],[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"lower\\\"],null],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,4],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,4],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.max\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-lower-vision\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"lower\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-lower-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"lower\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"nr-initiatives-lower-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[30,0,[\\\"calculateInitiativesLimit\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"lower\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.investment-sizes-in-euros\\\"],[[\\\"investment\\\"],[[28,[37,5],[\\\"_scenarios.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.lower-limit\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-lower-vision\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"lower\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-lower-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"lower\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-lower-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"lower\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.advised-range\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-advised-vision\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"lower\\\"],null],[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"upper\\\"],null]],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,5],\\\"0\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,5],\\\"1\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[5]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-advised-customer\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"lower\\\"],null],[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"upper\\\"],null]],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,6],\\\"0\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,6],\\\"1\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[6]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-advised-operations\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"lower\\\"],null],[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"upper\\\"],null]],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,7],\\\"0\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,8],[[28,[37,15],[[30,7],\\\"1\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.upper-limit\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-upper-vision\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"vision\\\",\\\"upper\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-upper-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"customer\\\",\\\"upper\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-upper-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,8],[[28,[30,0,[\\\"calculateInvestmentSizes\\\"]],[[30,0,[\\\"scenario\\\"]],\\\"operations\\\",\\\"upper\\\"],null],\\\",-\\\",[28,[37,5],[\\\"currency.euro\\\"],null]],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.investment-sizes-in-pw\\\"],[[\\\"investment\\\"],[[28,[37,5],[\\\"_scenarios.investment\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.lower-limit\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-lower-vision\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_lower_vision\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-lower-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_lower_customer\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-lower-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_lower_operations\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.advised-range\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-advised-vision\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[30,0,[\\\"scenario\\\",\\\"limit_lower_vision\\\"]],[30,0,[\\\"scenario\\\",\\\"limit_upper_vision\\\"]],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,8],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,8],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[8]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-advised-customer\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[30,0,[\\\"scenario\\\",\\\"limit_lower_customer\\\"]],[30,0,[\\\"scenario\\\",\\\"limit_upper_customer\\\"]],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,9],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,9],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[9]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-advised-operations\\\"],[12],[1,\\\"\\\\n\\\"],[44,[[28,[30,0,[\\\"calculateAdvisedRange\\\"]],[[30,0,[\\\"scenario\\\",\\\"limit_lower_operations\\\"]],[30,0,[\\\"scenario\\\",\\\"limit_upper_operations\\\"]],true],null]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,15],[[30,10],\\\"0\\\"],null]],[1,\\\"\\\\n to\\\\n \\\"],[1,[28,[35,15],[[30,10],\\\"1\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[10]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tr\\\"],[14,0,\\\"border-b border-gray-100\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"max-w-0 pl-3 py-3 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"truncate font-medium text-gray-900\\\"],[12],[1,[28,[35,5],[\\\"_scenarios.upper-limit\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-upper-vision\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_upper_vision\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 pr-0 text-right align-top tabular-nums text-gray-700 table-cell\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-upper-customer\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_upper_customer\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"py-3 pl-8 text-right align-top tabular-nums text-gray-700 table-cell pr-3\\\"],[14,\\\"test-id\\\",\\\"investment-size-pw-upper-operations\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-900 text-sm\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,0,[\\\"scenario\\\",\\\"limit_upper_operations\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"py-3 align-middle bg-gray-200 font-semibold px-3\\\"],[14,1,\\\"unavailable-time\\\"],[12],[1,[28,[35,5],[\\\"personals.unavailable\\\"],null]],[1,\\\" \\\"],[1,[28,[35,5],[\\\"personals.time\\\"],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"w-1/3 divide-y divide-gray-300 mb-16\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"pr-3 py-3.5 text-left text-sm font-semibold text-gray-900 lg:table-cell pl-3\\\"],[12],[1,[28,[35,5],[\\\"personals.type\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,0,\\\"pr-3 py-3.5 text-left text-sm font-semibold text-gray-900 lg:table-cell\\\"],[12],[1,[28,[35,5],[\\\"personals.duration\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,18],[[30,0,[\\\"scenario\\\",\\\"unavailable_time\\\"]]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-900 lg:table-cell border-t border-gray-200 pl-3\\\"],[12],[1,[28,[35,5],[[28,[37,19],[\\\"personals.\\\",[30,12]],null]],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"pr-3 py-3.5 text-sm text-gray-700 lg:table-cell border-t border-gray-200\\\"],[12],[1,[30,11]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[11,12]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"range\\\",\\\"duration\\\",\\\"type\\\"],[\\\"div\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"t\\\",\\\"tbody\\\",\\\"td\\\",\\\"localize\\\",\\\"br\\\",\\\"to-fixed\\\",\\\"colgroup\\\",\\\"col\\\",\\\"span\\\",\\\"let\\\",\\\"get\\\",\\\"h2\\\",\\\"each\\\",\\\"-each-in\\\",\\\"concat\\\"]]\",\n \"moduleName\": \"scaleflow/components/strategy/strategy-sheet/index.hbs\",\n \"isStrictMode\": false\n });\n let StrategyStrategySheetIndexComponent = _exports.default = (_class = class StrategyStrategySheetIndexComponent extends _StrategyCalculation.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n }\n get scenario() {\n return this.args.scenario ?? {};\n }\n to_euro(person_weeks) {\n return person_weeks * this.organisation.ppw;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"to_euro\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"to_euro\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, StrategyStrategySheetIndexComponent);\n});","define(\"scaleflow/components/sweet-alert\", [\"exports\", \"ember-sweetalert/components/sweet-alert\"], function (_exports, _sweetAlert) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _sweetAlert.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-sweetalert/components/sweet-alert\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/table-list/page\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n
    \n

    \n {{@heading}}\n

    \n

    \n {{@description}}\n

    \n
    \n
    \n Add user\n {{yield to=\"actions\"}}\n
    \n
    \n
    \n
    \n
    \n \n \n \n Name\n \n {{yield to=\"thead\"}}\n \n \n \n Lindsay Walton\n \n {{yield to=\"tbody\"}}\n {{! More people... }}\n \n
    \n
    \n
    \n
    \n
    \n */\n {\n \"id\": \"IlzbM4k0\",\n \"block\": \"[[[10,0],[14,0,\\\"px-4 sm:px-6 lg:px-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex sm:items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-4 sm:ml-16 sm:mt-0 sm:flex-none\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"block rounded-md bg-indigo-600 px-3 py-2 text-center text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"Add user\\\"],[13],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-8 flow-root\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-mx-4 -my-2 sm:-mx-6 lg:-mx-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"inline-block min-w-full py-2 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"min-w-full border-separate border-spacing-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"Name\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 hidden border-b border-gray-300 bg-white bg-opacity-75 px-3 py-3.5 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:table-cell\\\"],[12],[1,\\\"Title\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 hidden border-b border-gray-300 bg-white bg-opacity-75 px-3 py-3.5 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter lg:table-cell\\\"],[12],[1,\\\"Email\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-white bg-opacity-75 px-3 py-3.5 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter\\\"],[12],[1,\\\"Role\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-white bg-opacity-75 py-3.5 pl-3 pr-4 backdrop-blur backdrop-filter sm:pr-6 lg:pr-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Edit\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[18,4,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap border-b border-gray-200 py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"Lindsay Walton\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap border-b border-gray-200 hidden px-3 py-4 text-sm text-gray-500 sm:table-cell\\\"],[12],[1,\\\"Front-end Developer\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap border-b border-gray-200 hidden px-3 py-4 text-sm text-gray-500 lg:table-cell\\\"],[12],[1,\\\"lindsay.walton@example.com\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap border-b border-gray-200 px-3 py-4 text-sm text-gray-500\\\"],[12],[1,\\\"Member\\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"relative whitespace-nowrap border-b border-gray-200 py-4 pr-4 pl-3 text-right text-sm font-medium sm:pr-8 lg:pr-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[14,6,\\\"#\\\"],[14,0,\\\"text-indigo-600 hover:text-indigo-900\\\"],[12],[1,\\\"Edit\\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\", Lindsay Walton\\\"],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@heading\\\",\\\"@description\\\",\\\"&actions\\\",\\\"&thead\\\",\\\"&tbody\\\"],[\\\"div\\\",\\\"h1\\\",\\\"p\\\",\\\"button\\\",\\\"yield\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"span\\\",\\\"tbody\\\",\\\"td\\\",\\\"a\\\"]]\",\n \"moduleName\": \"scaleflow/components/table-list/page.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"page\"));\n});","define(\"scaleflow/components/table-list/td\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"aHZRmJIF\",\n \"block\": \"[[[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap border-b border-gray-200 py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[18,1,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"td\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/table-list/td.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"td\"));\n});","define(\"scaleflow/components/table-list/th\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"bKgeQb3W\",\n \"block\": \"[[],[],[]]\",\n \"moduleName\": \"scaleflow/components/table-list/th.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"th\"));\n});","define(\"scaleflow/components/table-list/tr\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n */\n {\n \"id\": \"iGqaSKVF\",\n \"block\": \"[[[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[18,1,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"tr\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/table-list/tr.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"tr\"));\n});","define(\"scaleflow/components/table-v2/dynamic-cell/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if (eq @row.columnValue.component \"link\")}}\n {{#if @value.query}}\n \n {{@value.label}}\n \n {{else}}\n \n {{@value.label}}\n \n {{/if}}\n {{else}}\n {{#if (eq @row.columnValue.component \"button\")}}\n {{#if @value}}\n {{@value.label}}\n {{/if}}\n {{else}}\n {{#let (component @row.columnValue.component) as |Cell|}}\n
    \n \n
    \n {{/let}}\n {{/if}}\n {{/if}}\n */\n {\n \"id\": \"vC/ybkBo\",\n \"block\": \"[[[41,[28,[37,1],[[30,1,[\\\"columnValue\\\",\\\"component\\\"]],\\\"link\\\"],null],[[[41,[30,2,[\\\"query\\\"]],[[[1,\\\" \\\"],[8,[39,2],[[16,0,[29,[[30,0,[\\\"class\\\"]],\\\"\\\\n text-sm font-normal flex items-center justify-center h-full w-full p-2 hover:underline\\\\n \\\",[30,3]]]],[16,\\\"test-id\\\",[30,1,[\\\"columnValue\\\",\\\"test_id\\\"]]]],[[\\\"@route\\\",\\\"@query\\\"],[[30,2,[\\\"route\\\"]],[30,2,[\\\"query\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,2],[[16,0,[29,[[30,0,[\\\"class\\\"]],\\\"\\\\n text-sm font-normal flex items-center justify-center h-full w-full p-2 hover:underline\\\\n \\\",[30,3]]]],[16,\\\"test-id\\\",[30,1,[\\\"columnValue\\\",\\\"test_id\\\"]]]],[[\\\"@route\\\",\\\"@model\\\"],[[30,2,[\\\"route\\\"]],[30,2,[\\\"model\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[41,[28,[37,1],[[30,1,[\\\"columnValue\\\",\\\"component\\\"]],\\\"button\\\"],null],[[[41,[30,2],[[[1,\\\" \\\"],[11,\\\"button\\\"],[16,\\\"test-id\\\",[30,1,[\\\"columnValue\\\",\\\"test_id\\\"]]],[16,0,[29,[[30,0,[\\\"class\\\"]],\\\"\\\\n text-sm font-medium p-2 flex items-center justify-center h-full w-full\\\\n \\\",[30,3]]]],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"onClick\\\"]]],null],[12],[1,[30,2,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],[[[44,[[50,[30,1,[\\\"columnValue\\\",\\\"component\\\"]],0,null,null]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"p-2 h-full w-full flex \\\",[30,3]]]],[12],[1,\\\"\\\\n \\\"],[8,[30,4],[[16,\\\"test-id\\\",[30,1,[\\\"columnValue\\\",\\\"test_id\\\"]]]],[[\\\"@params\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]]]],[]]]],[]]]],[\\\"@row\\\",\\\"@value\\\",\\\"@cellClass\\\",\\\"Cell\\\"],[\\\"if\\\",\\\"eq\\\",\\\"link-to\\\",\\\"button\\\",\\\"on\\\",\\\"let\\\",\\\"component\\\",\\\"div\\\"]]\",\n \"moduleName\": \"scaleflow/components/table-v2/dynamic-cell/index.hbs\",\n \"isStrictMode\": false\n });\n\n /**\n * The ConditionalRenderer component in Ember offers conditional rendering based on\n * the value of @row.columnValue.component. This component dynamically renders\n * different UI elements based on specific conditions:\n \n * Condition 1: Link Rendering\n * If @row.columnValue.component equals 'link', it renders a LinkTo component.\n Attributes like @route, @model, and test-id are populated from @value.\n Displays the label (@value.label) as the link text.\n \n \n * Condition 2: Button Rendering\n * If @row.columnValue.component equals 'button', it renders a \n {{#if this.dropdownIsActivated}}\n \n
    \n {{#if (has-block \"menuItems\")}}\n {{yield to=\"menuItems\"}}\n {{else}}\n

    No options\n provided

    \n {{/if}}\n
    \n \n {{/if}}\n \n */\n {\n \"id\": \"mxtCWYeM\",\n \"block\": \"[[[11,0],[24,0,\\\"relative flex w-full text-left\\\"],[24,\\\"test-id\\\",\\\"tw-dropdown\\\"],[17,1],[4,[38,1],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[4,[38,2],[[30,0,[\\\"closeDropdown\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[[30,2]]]],[24,1,\\\"menu-button\\\"],[16,\\\"aria-expanded\\\",[29,[[30,0,[\\\"dropdownIsOpen\\\"]]]]],[24,\\\"aria-haspopup\\\",\\\"true\\\"],[16,\\\"disabled\\\",[30,3]],[24,\\\"test-id\\\",\\\"trigger\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"toggleDropdown\\\"]],[28,[37,5],[[30,0,[\\\"dropdownIsOpen\\\"]]],null]],null]],null],[12],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"absolute right-0 p-2 top-8 mt-2 origin-top-right rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none w-[280px]\\\\n \\\",[52,[30,0,[\\\"dropdownIsOpen\\\"]],\\\"transition ease-out duration-100 transform opacity-100 scale-100 z-20\\\",\\\"transition ease-in duration-75 transform opacity-0 scale-95 -z-10 pointer-events-none\\\"],\\\"\\\\n \\\",[30,4],\\\"\\\\n \\\"]]],[14,\\\"test-id\\\",\\\"dropdown-container\\\"],[14,\\\"role\\\",\\\"menu\\\"],[14,\\\"aria-orientation\\\",\\\"vertical\\\"],[14,\\\"aria-labelledby\\\",\\\"menu-button\\\"],[14,\\\"tabindex\\\",\\\"-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"py-1\\\"],[14,\\\"role\\\",\\\"none\\\"],[12],[1,\\\"\\\\n\\\"],[41,[48,[30,6]],[[[1,\\\" \\\"],[18,6,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 text-sm px-2 py-2 text-left\\\"],[12],[1,\\\"No options\\\\n provided\\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"&attrs\\\",\\\"@triggerClass\\\",\\\"@disabled\\\",\\\"@dropdownContainerClass\\\",\\\"&trigger\\\",\\\"&menuItems\\\"],[\\\"div\\\",\\\"on\\\",\\\"on-click-outside\\\",\\\"button\\\",\\\"fn\\\",\\\"not\\\",\\\"yield\\\",\\\"if\\\",\\\"has-block\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-components/dropdown/index.hbs\",\n \"isStrictMode\": false\n });\n let TailwindComponentsDropdownIndexComponent = _exports.default = (_class = class TailwindComponentsDropdownIndexComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"dropdownIsOpen\", _descriptor, this);\n }\n toggleDropdown(val) {\n if (val === undefined) this.dropdownIsOpen = !this.dropdownIsOpen;else this.dropdownIsOpen = val;\n this.args?.emitDropdownState?.(this.dropdownIsOpen);\n }\n closeDropdown() {\n if (!this.dropdownIsOpen) return;\n this.dropdownIsOpen = false;\n this.args?.emitDropdownState?.(false);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dropdownIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDropdown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeDropdown\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeDropdown\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TailwindComponentsDropdownIndexComponent);\n});","define(\"scaleflow/components/tailwind-components/dropdown/option/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n {{#if @isSelected}}\n \n {{/if}}\n \n */\n {\n \"id\": \"ZbeQ7DI7\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"px-2 py-2 text-sm text-left w-full flex items-center hover:bg-gray-100 hover:text-gray-900 text-gray-700\\\"],[24,\\\"role\\\",\\\"menuitem\\\"],[24,\\\"tabindex\\\",\\\"0\\\"],[17,1],[4,[38,1],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\" \\\"],[8,[39,4],[[24,0,\\\"w-5 h-5 text-indigo-500 ml-auto\\\"],[24,\\\"test-id\\\",\\\"checked\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"&attrs\\\",\\\"@handleSelect\\\",\\\"@isSelected\\\",\\\"&default\\\"],[\\\"button\\\",\\\"on\\\",\\\"yield\\\",\\\"if\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-components/dropdown/option/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"option\"));\n});","define(\"scaleflow/components/tailwind-icons/arrow-path/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"+nJPxSOc\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"2\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/arrow-path/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"arrow-path\"));\n});","define(\"scaleflow/components/tailwind-icons/arrows-pointing-in/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"VvClPekY\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[16,\\\"stroke-width\\\",[29,[[28,[37,1],[[30,1],\\\"1.5\\\"],null]]]],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@strokeWidth\\\",\\\"&attrs\\\"],[\\\"svg\\\",\\\"or\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/arrows-pointing-in/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"arrows-pointing-in\"));\n});","define(\"scaleflow/components/tailwind-icons/arrows-pointing-out/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"Gue8+AKC\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/arrows-pointing-out/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"arrows-pointing-out\"));\n});","define(\"scaleflow/components/tailwind-icons/avatar/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"v3Dzd+D8\",\n \"block\": \"[[[10,\\\"svg\\\"],[14,0,\\\"h-6 w-5 text-gray-400\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-5.5-2.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zM10 12a5.99 5.99 0 00-4.793 2.39A6.483 6.483 0 0010 16.5a6.483 6.483 0 004.793-2.11A5.99 5.99 0 0010 12z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/avatar/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"avatar\"));\n});","define(\"scaleflow/components/tailwind-icons/bars/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"YO4jiJ/G\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/bars/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"bars\"));\n});","define(\"scaleflow/components/tailwind-icons/calendar/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"zZglCBMd\",\n \"block\": \"[[[10,\\\"svg\\\"],[14,0,\\\"h-6 w-5 text-gray-400\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5.25 12a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H6a.75.75 0 01-.75-.75V12zM6 13.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V14a.75.75 0 00-.75-.75H6zM7.25 12a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H8a.75.75 0 01-.75-.75V12zM8 13.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V14a.75.75 0 00-.75-.75H8zM9.25 10a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H10a.75.75 0 01-.75-.75V10zM10 11.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V12a.75.75 0 00-.75-.75H10zM9.25 14a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H10a.75.75 0 01-.75-.75V14zM12 9.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V10a.75.75 0 00-.75-.75H12zM11.25 12a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H12a.75.75 0 01-.75-.75V12zM12 13.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V14a.75.75 0 00-.75-.75H12zM13.25 10a.75.75 0 01.75-.75h.01a.75.75 0 01.75.75v.01a.75.75 0 01-.75.75H14a.75.75 0 01-.75-.75V10zM14 11.25a.75.75 0 00-.75.75v.01c0 .414.336.75.75.75h.01a.75.75 0 00.75-.75V12a.75.75 0 00-.75-.75H14z\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/calendar/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"calendar\"));\n});","define(\"scaleflow/components/tailwind-icons/card/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"v77V/x8w\",\n \"block\": \"[[[10,\\\"svg\\\"],[14,0,\\\"h-6 w-5 text-gray-400\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M2.5 4A1.5 1.5 0 001 5.5V6h18v-.5A1.5 1.5 0 0017.5 4h-15zM19 8.5H1v6A1.5 1.5 0 002.5 16h15a1.5 1.5 0 001.5-1.5v-6zM3 13.25a.75.75 0 01.75-.75h1.5a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zm4.75-.75a.75.75 0 000 1.5h3.5a.75.75 0 000-1.5h-3.5z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/card/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"card\"));\n});","define(\"scaleflow/components/tailwind-icons/chat-bubble/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"UUncU/u/\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/chat-bubble/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"chat-bubble\"));\n});","define(\"scaleflow/components/tailwind-icons/chevron-double-right/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"JuzQ/utC\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[16,\\\"stroke-width\\\",[29,[[28,[37,1],[[30,1],\\\"1.5\\\"],null]]]],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@strokeWidth\\\",\\\"&attrs\\\"],[\\\"svg\\\",\\\"or\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/chevron-double-right/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"chevron-double-right\"));\n});","define(\"scaleflow/components/tailwind-icons/clipboard/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"t4SOLvjG\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"2\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/clipboard/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"clipboard\"));\n});","define(\"scaleflow/components/tailwind-icons/comment/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"ipO1BMlP\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8 10H8.01M12 10H12.01M16 10H16.01M9 16H5C3.89543 16 3 15.1046 3 14V6C3 4.89543 3.89543 4 5 4H19C20.1046 4 21 4.89543 21 6V14C21 15.1046 20.1046 16 19 16H14L9 21V16Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/comment/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"comment\"));\n});","define(\"scaleflow/components/tailwind-icons/document-arrow-down/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"afAFClcO\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"2\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/document-arrow-down/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"document-arrow-down\"));\n});","define(\"scaleflow/components/tailwind-icons/document-plus/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"bb2CdPFn\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"2\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/document-plus/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"document-plus\"));\n});","define(\"scaleflow/components/tailwind-icons/exclamation-circle/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"sPKDs+UX\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/exclamation-circle/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"exclamation-circle\"));\n});","define(\"scaleflow/components/tailwind-icons/eye-slash/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"9WGuzDxK\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/eye-slash/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"eye-slash\"));\n});","define(\"scaleflow/components/tailwind-icons/fire/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"JPD6zeFa\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M11.7569 2.03351C12.0341 2.10713 12.2664 2.29624 12.3946 2.55279C12.8782 3.51991 13.2391 4.10688 13.6022 4.5828C13.9697 5.06453 14.3585 5.45889 14.9499 6.05028C16.3165 7.41692 17.0001 9.21013 17.0001 11C17.0001 12.7899 16.3165 14.5831 14.9499 15.9498C12.2162 18.6834 7.78404 18.6834 5.05037 15.9498C3.68374 14.5831 3.00012 12.7899 3.00012 11C3.00012 9.21013 3.68373 7.41692 5.05037 6.05028C5.33637 5.76428 5.76649 5.67872 6.14017 5.83351C6.51384 5.98829 6.75748 6.35292 6.75748 6.75739C6.75748 7.8772 6.82741 8.73046 7.15493 9.41104C7.33503 9.78527 7.61597 10.1512 8.10017 10.4776C8.21581 9.41687 8.42764 8.12448 8.71387 6.89778C8.93923 5.93195 9.21951 4.96773 9.55312 4.16366C9.71998 3.76148 9.90867 3.37854 10.123 3.04791C10.3316 2.72608 10.5996 2.39858 10.9455 2.16795C11.1842 2.00885 11.4797 1.95988 11.7569 2.03351ZM12.1214 15.1213C10.9499 16.2929 9.05037 16.2929 7.8788 15.1213C7.29302 14.5355 7.00012 13.7678 7.00012 13C7.00012 13 7.8788 13.5 9.50017 13.5C9.50017 12.5 10.0002 9.5 10.7502 9C11.2502 10 11.5357 10.2929 12.1214 10.8787C12.7072 11.4645 13.0001 12.2322 13.0001 13C13.0001 13.7678 12.7072 14.5355 12.1214 15.1213Z\\\"],[15,\\\"fill\\\",[28,[37,2],[[30,2],\\\"#111827\\\"],null]],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@fill\\\"],[\\\"svg\\\",\\\"path\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/fire/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"fire\"));\n});","define(\"scaleflow/components/tailwind-icons/flag/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"sQwXfTbm\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M3 21V17M3 17V5C3 3.89543 3.89543 3 5 3H11.5L12.5 4H21L18 10L21 16H12.5L11.5 15H5C3.89543 15 3 15.8954 3 17ZM12 3.5V9\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[15,\\\"fill\\\",[28,[37,2],[[30,2],\\\"none\\\"],null]],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@fill\\\"],[\\\"svg\\\",\\\"path\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/flag/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"flag\"));\n});","define(\"scaleflow/components/tailwind-icons/goal/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @withTarget}}\n \n \n \n {{else}}\n \n \n \n \n \n {{/if}}\n */\n {\n \"id\": \"gZ/sOEpp\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"test-id\\\",\\\"with-targets\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 8V5L19 2L20 4L22 5L19 8H16ZM16 8L12 11.9999M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@withTarget\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/goal/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"goal\"));\n});","define(\"scaleflow/components/tailwind-icons/grouping/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"cPa+aV3q\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M1.5 7.125c0-1.036.84-1.875 1.875-1.875h6c1.036 0 1.875.84 1.875 1.875v3.75c0 1.036-.84 1.875-1.875 1.875h-6A1.875 1.875 0 0 1 1.5 10.875v-3.75Zm12 1.5c0-1.036.84-1.875 1.875-1.875h5.25c1.035 0 1.875.84 1.875 1.875v8.25c0 1.035-.84 1.875-1.875 1.875h-5.25a1.875 1.875 0 0 1-1.875-1.875v-8.25ZM3 16.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875v2.25c0 1.035-.84 1.875-1.875 1.875h-5.25A1.875 1.875 0 0 1 3 18.375v-2.25Z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/grouping/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"grouping\"));\n});","define(\"scaleflow/components/tailwind-icons/lock-fill/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"Qk+/xcuo\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"viewBox\\\",\\\"0 0 16 16\\\"],[24,\\\"fill\\\",\\\"none\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M4.00039 7.19997V5.59997C4.00039 3.39084 5.79125 1.59998 8.00039 1.59998C10.2095 1.59998 12.0004 3.39084 12.0004 5.59997V7.19997C12.884 7.19997 13.6004 7.91632 13.6004 8.79997V12.8C13.6004 13.6836 12.884 14.4 12.0004 14.4H4.00039C3.11673 14.4 2.40039 13.6836 2.40039 12.8V8.79997C2.40039 7.91632 3.11673 7.19997 4.00039 7.19997ZM10.4004 5.59997V7.19997H5.60039V5.59997C5.60039 4.27449 6.6749 3.19997 8.00039 3.19997C9.32587 3.19997 10.4004 4.27449 10.4004 5.59997Z\\\"],[15,\\\"fill\\\",[29,[[28,[37,2],[[30,2],\\\"#111827\\\"],null]]]],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@fill\\\"],[\\\"svg\\\",\\\"path\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/lock-fill/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"lock-fill\"));\n});","define(\"scaleflow/components/tailwind-icons/metric/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"jlqoE+rk\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5 12C5 8.13401 8.13401 5 12 5M16.4999 7.5L11.9999 12M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/metric/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"metric\"));\n});","define(\"scaleflow/components/tailwind-icons/paper-airplane/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"lDCB+6ef\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/paper-airplane/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"paper-airplane\"));\n});","define(\"scaleflow/components/tailwind-icons/search/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"tcNYaheN\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/search/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"search\"));\n});","define(\"scaleflow/components/tailwind-icons/sort-down/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"6CG0ks5/\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/sort-down/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"sort-down\"));\n});","define(\"scaleflow/components/tailwind-icons/sort-up/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"2po57cAh\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/sort-up/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"sort-up\"));\n});","define(\"scaleflow/components/tailwind-icons/sparkles/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"KfbgQkaU\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/sparkles/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"sparkles\"));\n});","define(\"scaleflow/components/tailwind-icons/stop\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"VBFwsNEl\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M4.5 7.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9Z\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/stop.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"stop\"));\n});","define(\"scaleflow/components/tailwind-icons/target/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"DdPCqG54\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M22 12H18M6 12H2M12 6V2M12 22V18M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/target/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"target\"));\n});","define(\"scaleflow/components/tailwind-icons/tickets/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"7rf3Vwm7\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"\\\\n M21 10V11C21.5523 11 22 10.5523 22 10H21ZM21 14H22C22 13.4477 21.5523 13 21 13V14ZM3 14V13C2.44772\\\\n 13 2 13.4477 2 14H3ZM3 10H2C2 10.5523 2.44772 11 3 11V10ZM5 4C3.34315 4 2 5.34315 2 7H4C4 6.44772\\\\n 4.44772 6 5 6V4ZM19 4H5V6H19V4ZM22 7C22 5.34315 20.6569 4 19 4V6C19.5523 6 20 6.44772 20 7H22ZM22\\\\n 10V7H20V10H22ZM20 12C20 11.4477 20.4477 11 21 11V9C19.3431 9 18 10.3431 18 12H20ZM21 13C20.4477\\\\n 13 20 12.5523 20 12H18C18 13.6569 19.3431 15 21 15V13ZM22 17V14H20V17H22ZM19 20C20.6569 20 22\\\\n 18.6569 22 17H20C20 17.5523 19.5523 18 19 18V20ZM5 20H19V18H5V20ZM2 17C2 18.6569 3.34315 20 5\\\\n 20V18C4.44772 18 4 17.5523 4 17H2ZM2 14V17H4V14H2ZM4 12C4 12.5523 3.55228 13 3 13V15C4.65685\\\\n 15 6 13.6569 6 12H4ZM3 11C3.55228 11 4 11.4477 4 12H6C6 10.3431 4.65685 9 3 9V11ZM2 7V10H4V7H2Z\\\"],[14,\\\"fill\\\",\\\"currentColor\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 5V7\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 11V13\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15 17V19\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/tickets/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"tickets\"));\n});","define(\"scaleflow/components/tailwind-icons/uncertainty/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @filled}}\n \n \n \n {{else}}\n \n \n \n {{/if}}\n */\n {\n \"id\": \"qyvy22ls\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 13 14\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M12.8 7.0001C12.8 10.5347 9.93462 13.4001 6.4 13.4001C2.86538 13.4001 0 10.5347 0 7.0001C0 3.46548 2.86538 0.600098 6.4 0.600098C9.93462 0.600098 12.8 3.46548 12.8 7.0001ZM6.40001 4.6001C6.10491 4.6001 5.84608 4.75947 5.70655 5.00068C5.48531 5.38313 4.99593 5.51382 4.61348 5.29258C4.23103 5.07135 4.10034 4.58197 4.32158 4.19952C4.73534 3.48424 5.51067 3.0001 6.40001 3.0001C7.72549 3.0001 8.80001 4.07461 8.80001 5.4001C8.80001 6.44507 8.13216 7.33406 7.20001 7.66353V7.8001C7.20001 8.24193 6.84184 8.6001 6.40001 8.6001C5.95818 8.6001 5.60001 8.24193 5.60001 7.8001V7.0001C5.60001 6.55827 5.95818 6.2001 6.40001 6.2001C6.84184 6.2001 7.20001 5.84193 7.20001 5.4001C7.20001 4.95827 6.84184 4.6001 6.40001 4.6001ZM6.4 11.0001C6.84183 11.0001 7.2 10.6419 7.2 10.2001C7.2 9.75827 6.84183 9.4001 6.4 9.4001C5.95817 9.4001 5.6 9.75827 5.6 10.2001C5.6 10.6419 5.95817 11.0001 6.4 11.0001Z\\\"],[14,\\\"fill\\\",\\\"#F59E0B\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8.22766 9C8.77678 7.83481 10.2584 7 12.0001 7C14.2092 7 16.0001 8.34315 16.0001 10C16.0001 11.3994 14.7224 12.5751 12.9943 12.9066C12.4519 13.0106 12.0001 13.4477 12.0001 14M12 17H12.01M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z\\\"],[14,\\\"stroke\\\",\\\"#F59E0B\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@filled\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/uncertainty/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"uncertainty\"));\n});","define(\"scaleflow/components/tailwind-icons/user-add/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"LMQBU1iT\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18 9V12M18 12V15M18 12H21M18 12H15M13 7C13 9.20914 11.2091 11 9 11C6.79086 11 5 9.20914 5 7C5 4.79086 6.79086 3 9 3C11.2091 3 13 4.79086 13 7ZM3 20C3 16.6863 5.68629 14 9 14C12.3137 14 15 16.6863 15 20V21H3V20Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/user-add/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"user-add\"));\n});","define(\"scaleflow/components/tailwind-icons/user-group/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"O72H2qoX\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/user-group/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"user-group\"));\n});","define(\"scaleflow/components/tailwind-icons/user/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"ziI6RXSG\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[16,\\\"fill\\\",[28,[37,1],[[30,1],\\\"none\\\"],null]],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 14C8.13401 14 5 17.134 5 21H19C19 17.134 15.866 14 12 14Z\\\"],[14,\\\"stroke\\\",\\\"currentColor\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@fill\\\",\\\"&attrs\\\"],[\\\"svg\\\",\\\"or\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/user/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"user\"));\n});","define(\"scaleflow/components/tailwind-icons/waiting/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @filled}}\n \n \n \n {{else}}\n \n \n \n \n {{/if}}\n */\n {\n \"id\": \"owsglAOp\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 13 14\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"test-id\\\",\\\"waiting\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"d\\\",\\\"M6.4 13.4001C9.93462 13.4001 12.8 10.5347 12.8 7.0001C12.8 3.46548 9.93462 0.600098 6.4 0.600098C2.86538 0.600098 0 3.46548 0 7.0001C0 10.5347 2.86538 13.4001 6.4 13.4001ZM4.8 4.6001C4.35817 4.6001 4 4.95827 4 5.4001V8.6001C4 9.04193 4.35817 9.4001 4.8 9.4001H8C8.44183 9.4001 8.8 9.04193 8.8 8.6001V5.4001C8.8 4.95827 8.44183 4.6001 8 4.6001H4.8Z\\\"],[14,\\\"fill\\\",\\\"#EF4444\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[11,\\\"svg\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"test-id\\\",\\\"waiting\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z\\\"],[14,\\\"stroke\\\",\\\"#EF4444\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 10C9 9.44772 9.44772 9 10 9H14C14.5523 9 15 9.44772 15 10V14C15 14.5523 14.5523 15 14 15H10C9.44772 15 9 14.5523 9 14V10Z\\\"],[14,\\\"stroke\\\",\\\"#EF4444\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@filled\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/waiting/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"waiting\"));\n});","define(\"scaleflow/components/tailwind-icons/window/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n */\n {\n \"id\": \"5gHWyj7e\",\n \"block\": \"[[[11,\\\"svg\\\"],[24,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[24,\\\"fill\\\",\\\"none\\\"],[24,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[24,\\\"stroke-width\\\",\\\"1.5\\\"],[24,\\\"stroke\\\",\\\"currentColor\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[14,\\\"d\\\",\\\"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\"],[\\\"svg\\\",\\\"path\\\"]]\",\n \"moduleName\": \"scaleflow/components/tailwind-icons/window/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"window\"));\n});","define(\"scaleflow/components/teams/active-teams/table-cell/favorite/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n \n {{/if}}\n */\n {\n \"id\": \"ypYdBUZb\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],[[24,\\\"test-id\\\",\\\"favorite-toggle\\\"]],[[\\\"@params\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@params\\\"],[\\\"if\\\",\\\"molecules/favorite-icon\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/active-teams/table-cell/favorite/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"favorite\"));\n});","define(\"scaleflow/components/teams/active-teams/table-cell/title/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n \n {{@params.name}}\n \n {{/if}}\n */\n {\n \"id\": \"ulIcl719\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[8,[39,1],[[24,0,\\\"font-normal text-sm text-gray-900 hover:underline\\\"],[17,2]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"operations.teams.team.settings\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@params\\\",\\\"&attrs\\\"],[\\\"if\\\",\\\"link-to\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/active-teams/table-cell/title/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"title\"));\n});","define(\"scaleflow/components/teams/active-teams/table-cell/user-select/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dropdown-activate\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _tracking, _dropdownActivate, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dropdown-activate\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @params}}\n \n {{#if this.people.length}}\n \n {{else}}\n \n {{/if}}\n \n {{#if this.dropdownIsActivated}}\n \n {{/if}}\n \n \n {{/if}}\n */\n {\n \"id\": \"HELcn6vV\",\n \"block\": \"[[[41,[30,1],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center justify-between space-x-2\\\"],[24,4,\\\"button\\\"],[4,[38,2],[[30,0,[\\\"loadPeople\\\"]]],null],[4,[38,3],[[30,0,[\\\"loadPeople\\\"]],[30,0,[\\\"model\\\"]]],null],[4,[38,4],[\\\"mouseenter\\\",[30,0,[\\\"populateDomWithDropdown\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"people\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@people\\\"],[[30,0,[\\\"people\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,6],[[24,0,\\\"w-4 h-4 text-gray-400\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"dropdownIsActivated\\\"]],[[[1,\\\" \\\"],[8,[39,7],null,[[\\\"@values\\\",\\\"@placement\\\",\\\"@interactive\\\",\\\"@trigger\\\",\\\"@searchable\\\",\\\"@onSelect\\\",\\\"@tippy\\\",\\\"@appendTo\\\",\\\"@multiselect\\\"],[[30,0,[\\\"people\\\"]],\\\"bottom-start\\\",\\\"true\\\",\\\"click\\\",\\\"true\\\",[30,0,[\\\"handlePeopleSelect\\\"]],true,[30,0,[\\\"body\\\"]],\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@params\\\"],[\\\"if\\\",\\\"button\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"on\\\",\\\"people/multi-avatar-preview\\\",\\\"atoms/icons/plus\\\",\\\"dropdowns/users\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/active-teams/table-cell/user-select/index.hbs\",\n \"isStrictMode\": false\n });\n let TeamsActiveTeamsTableCellUserSelectIndexComponent = _exports.default = (_class = class TeamsActiveTeamsTableCellUserSelectIndexComponent extends _dropdownActivate.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"people\", _descriptor2, this);\n }\n get firstPerson() {\n return this.people[0];\n }\n get restCount() {\n return this.people.length - 1;\n }\n get restPeople() {\n return this.people.slice(1).map(person => person.name);\n }\n get model() {\n return this.args.params?.model;\n }\n get body() {\n return document.body;\n }\n async loadPeople() {\n const people = await this.model?.people;\n this.people = people;\n }\n handlePeopleSelect(e) {\n const model = this.model;\n model.people = e;\n model.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"people\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadPeople\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadPeople\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handlePeopleSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePeopleSelect\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TeamsActiveTeamsTableCellUserSelectIndexComponent);\n});","define(\"scaleflow/components/teams/active-teams/table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"h8Zs6fxU\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"roadmap-initiatives-table table-fixed\\\"],[17,1]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@sorts\\\",\\\"@onUpdateSorts\\\",\\\"@data-row\\\",\\\"@rowSelectionMode\\\",\\\"@checkboxSelectionMode\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],[30,0,[\\\"sorts\\\"]],[28,[37,1],[[28,[37,2],[[30,0,[\\\"sorts\\\"]]],null]],null],\\\"team\\\",\\\"none\\\",\\\"none\\\"]],null]],[\\\"&attrs\\\"],[\\\"table-v2\\\",\\\"fn\\\",\\\"mut\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/active-teams/table/index.hbs\",\n \"isStrictMode\": false\n });\n let TeamsActiveTeamsTableIndexComponent = _exports.default = (_class = class TeamsActiveTeamsTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"columns\", _descriptor2, this);\n }\n convertTeamItemToRow(item) {\n return {\n name: item,\n people: {\n //item.people.length,\n label: item.people.length,\n route: 'resources.people.active',\n query: {\n breakout: 'team'\n }\n },\n ftes: item.ftes?.toFixed(2)\n // favorite: {},\n // checkin: {\n // route: 'operations.teams.team',\n // label: this.intl.t('_teams.check-in'),\n // },\n // settings: {\n // route: 'operations.teams.team.settings',\n // label: this.intl.t('_teams.settings'),\n // },\n };\n }\n get rows() {\n if (this.args?.rows) return this.args.rows;\n return this.args?.teams.map(item => this.convertTeamItemToRow(item));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return this.args?.columns ?? [{\n name: this.intl.t('_teams.name'),\n valuePath: 'name',\n class: '!w-[80%]',\n key: 'name',\n component: 'teams/active-teams/table-cell/title',\n test_id: 'team-name',\n isSortable: false\n }, {\n name: this.intl.t('_teams.capacity-fte'),\n valuePath: 'ftes',\n class: '!w-[10%] header-center',\n key: 'ftes'\n }, {\n name: this.intl.t('_teams.members', {\n num: 2\n }),\n component: 'link',\n valuePath: 'people',\n class: '!w-[10%] header-center capitalize',\n key: 'people',\n isSortable: false\n }\n // {\n // name: this.intl.t('dictionary.favorites'),\n // valuePath: 'favorite',\n // class: '!w-[10%]',\n // key: 'favorite',\n // component: 'teams/active-teams/table-cell/favorite',\n // },\n // {\n // name: '',\n // valuePath: 'checkin',\n // class: '!w-[10%]',\n // key: 'checkin',\n // component: 'link',\n // type: 'primary',\n // test_id: 'link-to-checkin',\n // },\n // {\n // name: '',\n // valuePath: 'settings',\n // class: '!w-[10%]',\n // key: 'settings',\n // component: 'link',\n // type: 'primary',\n // test_id: 'link-to-settings',\n // },\n ];\n }\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TeamsActiveTeamsTableIndexComponent);\n});","define(\"scaleflow/components/teams/archived-teams/table/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"s8B1DKux\",\n \"block\": \"[[[8,[39,0],[[17,1]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@data-row\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],\\\"archived-team\\\"]],null]],[\\\"&attrs\\\"],[\\\"table-v2\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/archived-teams/table/index.hbs\",\n \"isStrictMode\": false\n });\n let TeamsArchivedTeamsTableIndexComponent = _exports.default = (_dec = (0, _service.service)('teams'), _class = class TeamsArchivedTeamsTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"teamsService\", _descriptor2, this);\n }\n get columns() {\n if (this.args?.columns) return this.args?.columns;\n return [{\n name: this.intl.t('_teams.name'),\n valuePath: 'name',\n class: '!w-[90%]',\n key: 'name',\n component: 'teams/active-teams/table-cell/title',\n test_id: 'team-name'\n }, {\n name: '',\n valuePath: 'restore',\n class: '!w-[10%]',\n key: 'restore',\n component: 'button',\n type: 'primary',\n test_id: 'restore'\n }];\n }\n restoreTeam(team_id) {\n this.teamsService.restoreTeam(team_id);\n }\n get rows() {\n if (this.args?.rows) return this.args.rows;\n return this.args?.teams.map(item => this.convertTeamItemToRow(item));\n }\n convertTeamItemToRow(item) {\n return {\n name: item,\n restore: {\n label: this.intl.t('_teams.restore'),\n onClick: () => this.restoreTeam(item.id)\n }\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"teamsService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"restoreTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreTeam\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TeamsArchivedTeamsTableIndexComponent);\n});","define(\"scaleflow/components/teams/multi-avatar-preview\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"scaleflow/utils/nameSort\", \"@ember/template-factory\"], function (_exports, _component, _component2, _nameSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"scaleflow/utils/nameSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n {{#if this.hasMoreThanOneTeam}}\n +{{this.hasMoreThanOneTeam}}\n \n \n
      \n {{#each this.sortedTeams as |team|}}\n
    • {{team.name}}
    • \n {{/each}}\n
    \n
    \n
    \n
    \n {{/if}}\n \n */\n {\n \"id\": \"WjdWDTxP\",\n \"block\": \"[[[10,1],[14,0,\\\"flex items-center gap-x-2 test-gray-700 text-xs\\\"],[14,\\\"test-id\\\",\\\"map-teams\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"shrink-0\\\"]],[[\\\"@name\\\",\\\"@id\\\",\\\"@size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[[30,0,[\\\"firstTeam\\\",\\\"name\\\"]],[30,0,[\\\"firstTeam\\\",\\\"id\\\"]],[28,[37,2],[[30,1],\\\"small\\\"],null],true,\\\"top\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"hasMoreThanOneTeam\\\"]],[[[1,\\\" \\\"],[10,1],[14,\\\"test-id\\\",\\\"more\\\"],[12],[1,\\\"+\\\"],[1,[30,0,[\\\"hasMoreThanOneTeam\\\"]]],[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"list-none text-left\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"sortedTeams\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[12],[1,[30,2,[\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@size\\\",\\\"team\\\"],[\\\"span\\\",\\\"atoms/avatar\\\",\\\"or\\\",\\\"if\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n \"moduleName\": \"scaleflow/components/teams/multi-avatar-preview.hbs\",\n \"isStrictMode\": false\n });\n class TeamsMultiAvatarPreviewComponent extends _component2.default {\n get teams() {\n if (this.args.teams?.promise) return this.args.teams.content;\n return this.args.teams;\n }\n get sortedTeams() {\n return this.teams.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'));\n }\n get firstTeam() {\n return this.sortedTeams[0];\n }\n get hasMoreThanOneTeam() {\n return this.sortedTeams.slice(1).length;\n }\n get restTeams() {\n return this.sortedTeams.slice(1).map(team => team.name);\n }\n }\n _exports.default = TeamsMultiAvatarPreviewComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TeamsMultiAvatarPreviewComponent);\n});","define(\"scaleflow/components/themes/table-cell/title/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let @params.model as |theme|}}\n
    \n \n {{theme.title}}\n
    \n {{/let}}\n */\n {\n \"id\": \"Wc1nHdJz\",\n \"block\": \"[[[44,[[30,1,[\\\"model\\\"]]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 relative\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full \\\",[30,2,[\\\"color\\\"]]]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-800 font-normal text-sm\\\"],[12],[1,\\\" \\\"],[1,[30,2,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@params\\\",\\\"theme\\\"],[\\\"let\\\",\\\"div\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/themes/table-cell/title/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"title\"));\n});","define(\"scaleflow/components/themes/table/index\", [\"exports\", \"@ember/component\", \"@ember/service\", \"@glimmer/component\", \"scaleflow/utils/obj-append\", \"@ember/template-factory\"], function (_exports, _component, _service, _component2, _objAppend, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"scaleflow/utils/obj-append\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"jiP5BNyQ\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"roadmap-initiatives-table table-fixed\\\"],[17,1]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@data-row\\\"],[[30,0,[\\\"columns\\\"]],[30,0,[\\\"rows\\\"]],\\\"theme\\\"]],null]],[\\\"&attrs\\\"],[\\\"table-v2\\\"]]\",\n \"moduleName\": \"scaleflow/components/themes/table/index.hbs\",\n \"isStrictMode\": false\n });\n let ThemesTableIndexComponent = _exports.default = (_class = class ThemesTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n }\n get columns() {\n if (this.args?.columns) return this.args?.columns;\n return [{\n name: this.intl.t('themes.table.title'),\n valuePath: 'title',\n class: '!w-[80%] !top-0',\n key: 'title',\n component: 'themes/table-cell/title'\n }, {\n name: '',\n valuePath: 'edit',\n class: '!w-[10%] !top-0',\n key: 'edit',\n component: 'link',\n type: 'primary',\n test_id: 'edit-theme'\n }, {\n name: '',\n valuePath: 'delete',\n class: '!w-[10%] !top-0',\n key: 'delete',\n component: 'button',\n type: 'danger',\n test_id: 'delete'\n }];\n }\n get rows() {\n if (this.args?.rows) return this.args?.rows;\n const onDelete = this.args?.onThemeDelete ?? function () {};\n const themes = this.args?.themes.map(item => (0, _objAppend.objectAppend)({\n title: {\n label: item.title\n },\n edit: {\n label: this.intl.t('themes.table.edit'),\n route: 'business.themes.theme.edit',\n model: item\n },\n delete: {\n label: this.intl.t('themes.table.delete'),\n onClick: () => onDelete(item)\n }\n }, {\n model: item\n }));\n return themes;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ThemesTableIndexComponent);\n});","define(\"scaleflow/components/time-picker\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#let (component this.ComponentName) as |MaybeToolTip|}}\n \n \n {{#each this.timeSelections as |time|}}\n \n \n {{time.label}}\n \n {{#if (eq @value time.value)}}\n \n {{/if}}\n \n {{/each}}\n \n \n {{/let}}\n */\n {\n \"id\": \"BFHvVUJp\",\n \"block\": \"[[[44,[[50,[30,0,[\\\"ComponentName\\\"]],0,null,null]],[[[1,\\\" \\\"],[8,[30,1],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"inner-tippy-dropdown teams max-h-[200px] w-[94px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"timeSelections\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,5],null,[[\\\"@menuClick\\\"],[[28,[37,6],[[30,3],[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,\\\"test-id\\\",\\\"dropdown-item-label\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,9],[[30,4],[30,2,[\\\"value\\\"]]],null],[[[1,\\\" \\\"],[8,[39,10],[[24,0,\\\"w-6 h-6 inline-block text-indigo-600 ml-auto shrink-0\\\"],[24,\\\"test-id\\\",\\\"value-check\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"MaybeToolTip\\\",\\\"time\\\",\\\"@onSelect\\\",\\\"@value\\\"],[\\\"let\\\",\\\"component\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"span\\\",\\\"if\\\",\\\"eq\\\",\\\"atoms/icons/check\\\"]]\",\n \"moduleName\": \"scaleflow/components/time-picker.hbs\",\n \"isStrictMode\": false\n });\n class TimePickerComponent extends _component2.default {\n get timeSelections() {\n //generate time selections that start from 12 and go till 11:30 with 30 minute increments\n let timeSelections = [];\n for (let i = 0; i < 24; i++) {\n let hour = Math.floor(i / 2);\n if (hour === 0) hour = 12;\n let minute = i % 2 === 0 ? '00' : '30';\n let time = `${String(hour).padStart(2, '0')}:${minute}`;\n timeSelections.push({\n label: time,\n value: time\n });\n }\n return timeSelections;\n }\n get ComponentName() {\n return this.args.tippy ? 'Tippy' : 'empty-component';\n }\n }\n _exports.default = TimePickerComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TimePickerComponent);\n});","define(\"scaleflow/components/time-zone-picker\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"scaleflow/utils/timezone\", \"@ember/template-factory\"], function (_exports, _component, _component2, _timezone, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"scaleflow/utils/timezone\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n */\n {\n \"id\": \"L5hlS7pe\",\n \"block\": \"[[[8,[39,0],[[24,0,\\\"w-[280px]\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@options\\\",\\\"@searchPlaceholder\\\",\\\"@onSelect\\\",\\\"@tippy\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"timezones\\\"]],[28,[37,1],[\\\"_teams.timezone-placeholder\\\"],null],[30,1],true]],null]],[\\\"@onSelect\\\"],[\\\"dropdowns/single-select\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/time-zone-picker.hbs\",\n \"isStrictMode\": false\n });\n class TimeZonePickerComponent extends _component2.default {\n get ComponentName() {\n return this.args.tippy ? 'Tippy' : 'empty-component';\n }\n get timezones() {\n return _timezone.default;\n }\n }\n _exports.default = TimeZonePickerComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TimeZonePickerComponent);\n});","define(\"scaleflow/components/timeline/initiatives-table/date-picker/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _moment, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"moment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n */\n {\n \"id\": \"H7yua5ft\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"flex items-center gap-x-2 border border-solid border-gray-300 rounded-md hover:border-gray-500 px-3 py-0.5 w-[180px] mx-auto\\\"],[17,1],[4,[38,1],[\\\"click\\\",[30,0,[\\\"openDatePicker\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"text-gray-400 w-4 h-4 shrink-0\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@initiative\\\",\\\"@onDateChange\\\",\\\"@onReady\\\",\\\"@extraClass\\\"],[[30,2],[28,[37,4],[[30,0,[\\\"handleDateChange\\\"]],[30,2]],null],[30,0,[\\\"onDatePickerReady\\\"]],[29,[\\\"w-full border-0 p-0 \\\",[30,3]]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-4 h-4 shrink-0 text-gray-500\\\"]],null,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@initiative\\\",\\\"@extraClass\\\"],[\\\"button\\\",\\\"on\\\",\\\"atoms/icons/calendar\\\",\\\"planning-date-picker\\\",\\\"fn\\\",\\\"atoms/icons/chevron/down\\\"]]\",\n \"moduleName\": \"scaleflow/components/timeline/initiatives-table/date-picker/index.hbs\",\n \"isStrictMode\": false\n });\n let TimelineInitiativesTableDatePickerIndexComponent = _exports.default = (_dec = (0, _service.service)('organisation'), _class = class TimelineInitiativesTableDatePickerIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n _defineProperty(this, \"datePickerInstance\", null);\n }\n onDatePickerReady(e) {\n this.datePickerInstance = e;\n }\n openDatePicker() {\n this.datePickerInstance?.open();\n }\n handleDateChange(initiative, e) {\n const date = e;\n const first_day_of_week = this.orgService?.first_day_of_week;\n let formattedDate;\n if (first_day_of_week) formattedDate = (0, _moment.default)(date).day(first_day_of_week);else formattedDate = (0, _moment.default)(date).startOf('week').add('1', 'week');\n const secondDate = formattedDate.clone().add(2, 'weeks');\n const starting_week = `${formattedDate.format('yyyy-WW')}:${secondDate.format('yyyy-WW')}`;\n initiative.starting_week = starting_week;\n initiative.save();\n }\n willDestroy() {\n this.datePickerInstance?.destroy();\n this.datePickerInstance = null;\n super.willDestroy(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"onDatePickerReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDatePickerReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDatePicker\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDatePicker\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDateChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDateChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TimelineInitiativesTableDatePickerIndexComponent);\n});","define(\"scaleflow/components/timeline/initiatives-table/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"moment\", \"scaleflow/utils/dateSort\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _moment, _dateSort, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"moment\",0,\"scaleflow/utils/dateSort\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n
    \n
    \n

    {{t\n \"_initiatives.title\"\n num=2\n }}

    \n

    {{t\n \"dashboards.initiatives-explanation\"\n }}

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n {{t \"_initiatives.title\" num=1}}\n \n \n \n {{t \"_initiatives.pm\" num=1}}\n \n \n \n {{t \"_initiatives.effort\"}}\n \n \n \n {{t \"_initiatives.uncertainty\" num=1}}\n \n \n \n {{t \"dictionary.start-date\"}}\n \n \n \n {{t \"dictionary.duration\"}}\n \n \n \n \n \n {{#each this.sortedInitiatives as |initiative|}}\n \n \n {{initiative.title}}\n \n \n {{#if initiative.productManager}}\n \n {{else}}\n -\n {{/if}}\n \n \n \n {{get\n initiative\n \"person_weeks_excluding_uncertainty\"\n }}\n pw\n \n \n \n {{get\n initiative\n \"person_weeks_only_uncertainty\"\n }}\n pw\n \n \n \n {{#if initiative.starting_week}}\n {{initiative.startingDateDDMMMYYY}}\n {{else}}\n \n {{/if}}\n \n \n \n {{#if initiative.duration}}\n \n {{initiative.duration}}\n {{t \"dictionary.weeks\" num=initiative.duration}}\n {{else}}\n \n <:trigger>\n {{t \"dictionary.select\"}}\n {{t \"dictionary.duration\"}}\n \n \n <:menuItems>\n {{#each this.betaToggle.durationOptions as |duration|}}\n \n {{duration.label}}\n \n {{/each}}\n \n \n {{/if}}\n \n \n {{else}}\n \n {{t \"_initiatives.title\" num=0}}\n \n {{/each}}\n \n
    \n
    \n
    \n
    \n
    \n */\n {\n \"id\": \"VoRcu6pl\",\n \"block\": \"[[[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex sm:items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,[28,[35,2],[\\\"dashboards.initiatives-explanation\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-8 flow-root px-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"-mx-4 -my-2 sm:-mx-6 lg:-mx-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"inline-block min-w-full py-2 align-middle\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"table\\\"],[14,0,\\\"min-w-full border-separate border-spacing-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.effort\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.start-date\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"th\\\"],[14,\\\"scope\\\",\\\"col\\\"],[14,0,\\\"sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.duration\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"tbody\\\"],[14,0,\\\"bg-white\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"sortedInitiatives\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"tr\\\"],[14,0,\\\"even:bg-gray-50 hover:bg-indigo-50 h-10\\\"],[15,\\\"test-id\\\",[29,[\\\"row-item-\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"hover:underline\\\"],[24,4,\\\"button\\\"],[4,[38,13],[\\\"click\\\",[28,[37,14],[[30,0,[\\\"openPopover\\\"]],[30,1,[\\\"id\\\"]]],null]],null],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"productManager\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"justify-center\\\"]],[[\\\"@people\\\"],[[28,[37,17],[[30,1,[\\\"productManager\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,19],[[30,1],\\\"person_weeks_excluding_uncertainty\\\"],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,[28,[35,19],[[30,1],\\\"person_weeks_only_uncertainty\\\"],null]],[1,\\\"\\\\n pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 py-2 text-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"starting_week\\\"]],[[[1,\\\" \\\"],[10,1],[12],[1,[30,1,[\\\"startingDateDDMMMYYY\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,20],null,[[\\\"@initiative\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"td\\\"],[14,0,\\\"whitespace-nowrap text-sm font-medium text-gray-900 border-b border-gray-200 text-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"duration\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"duration\\\"]]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.weeks\\\"],[[\\\"num\\\"],[[30,1,[\\\"duration\\\"]]]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,21],null,[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center mx-auto\\\",\\\"!top-4\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,2],[\\\"dictionary.select\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"dictionary.duration\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"betaToggle\\\",\\\"durationOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,25],null,[[\\\"@handleSelect\\\"],[[28,[37,14],[[30,0,[\\\"setDuration\\\"]],[30,1],[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],[[[1,\\\" \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"td\\\"],[14,\\\"test-id\\\",\\\"empty-message\\\"],[15,\\\"colspan\\\",[29,[[30,3,[\\\"length\\\"]]]]],[14,0,\\\"text-left pl-6 text-sm py-1\\\"],[12],[1,[28,[35,2],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[0]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"initiative\\\",\\\"duration\\\",\\\"@columns\\\"],[\\\"div\\\",\\\"h1\\\",\\\"t\\\",\\\"p\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"each\\\",\\\"-track-array\\\",\\\"td\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"if\\\",\\\"people/multi-avatar-preview\\\",\\\"array\\\",\\\"span\\\",\\\"get\\\",\\\"timeline/initiatives-table/date-picker\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"tailwind-components/dropdown/option\\\"]]\",\n \"moduleName\": \"scaleflow/components/timeline/initiatives-table/index.hbs\",\n \"isStrictMode\": false\n });\n let TimelineInitiativesTableIndexComponent = _exports.default = (_class = class TimelineInitiativesTableIndexComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n }\n get sortedInitiatives() {\n return (this.args.initiatives ?? []).toSorted((a, b) => (0, _dateSort.default)((0, _moment.default)(b.startingDateDDMMMYYY, 'DD MMM, YYYY'), (0, _moment.default)(a.startingDateDDMMMYYY, 'DD MMM, YYYY')));\n }\n setDuration(initiative, duration) {\n initiative.duration = duration.value;\n initiative.save();\n }\n openPopover(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setDuration\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDuration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPopover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPopover\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TimelineInitiativesTableIndexComponent);\n});","define(\"scaleflow/components/tippy-headless\", [\"exports\", \"ember-tippy/components/tippy-headless\"], function (_exports, _tippyHeadless) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _tippyHeadless.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-tippy/components/tippy-headless\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/tippy-singleton\", [\"exports\", \"ember-tippy/components/tippy-singleton\"], function (_exports, _tippySingleton) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _tippySingleton.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-tippy/components/tippy-singleton\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/tippy\", [\"exports\", \"ember-tippy/components/tippy\"], function (_exports, _tippy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _tippy.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-tippy/components/tippy\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/toast\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n {{yield}}\n \n \n */\n {\n \"id\": \"o0iYS36j\",\n \"block\": \"[[[11,0],[24,0,\\\"pointer-events-none fixed inset-x-0 bottom-0 sm:flex sm:justify-center sm:px-6 sm:pb-5 lg:px-8 z-10\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"pointer-events-auto flex items-center justify-between gap-x-6 bg-gray-900 px-6 py-2.5 sm:rounded-xl sm:py-3 sm:pl-4 sm:pr-3.5\\\"],[12],[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/toast.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"toast\"));\n});","define(\"scaleflow/components/useful-link\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _component2, _tracking, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#if @item.isNew}}\n \n {{else}}\n
    \n {{@item.icon}} {{@item.title}}\n \n \n \n {{#if this.isDisabled}}\n {{t \"dictionary.edit\"}}\n {{t \"dictionary.unlink\"}}\n {{/if}}\n \n \n
    \n {{/if}}\n */\n {\n \"id\": \"CjngEYBK\",\n \"block\": \"[[[41,[30,1,[\\\"isNew\\\"]],[[[1,\\\" \\\"],[11,\\\"input\\\"],[24,1,\\\"new-link\\\"],[16,2,[30,1,[\\\"title\\\"]]],[16,0,[29,[\\\"outline-none text-xs text-gray-600 font-medium\\\\n \\\",[52,[30,1,[\\\"url\\\"]],\\\"underline\\\"]]]],[24,\\\"placeholder\\\",\\\"Link title\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"],[24,4,\\\"text\\\"],[4,[38,2],[[30,0,[\\\"focusElement\\\"]]],null],[4,[38,3],[\\\"keyup\\\",[28,[37,4],[[30,0,[\\\"onEnter\\\"]],\\\"keyup\\\"],null]],null],[4,[38,3],[\\\"keydown\\\",[28,[37,4],[[30,0,[\\\"handleEscapePress\\\"]],[30,1]],null]],null],[4,[38,3],[\\\"input\\\",[30,0,[\\\"handleTitleChange\\\"]]],null],[4,[38,3],[\\\"paste\\\",[30,0,[\\\"handleInputPaste\\\"]]],null],[4,[38,5],[[30,0,[\\\"handleClickOutside\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"mb-2 w-fit\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[30,1,[\\\"url\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"underline hover:no-underline text-xs text-gray-600 font-medium\\\"],[12],[1,[30,1,[\\\"icon\\\"]]],[1,\\\" \\\"],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\",\\\"@trigger\\\",\\\"@interactive\\\",\\\"@hideOnClick\\\",\\\"@onHidden\\\",\\\"@onUntrigger\\\",\\\"@onBeforeUpdate\\\",\\\"@onCreate\\\"],[\\\"top\\\",\\\"mouseenter focus\\\",\\\"true\\\",\\\"false\\\",[30,0,[\\\"onTooltipHide\\\"]],[30,0,[\\\"onUntrigger\\\"]],[30,0,[\\\"onBeforeUpdate\\\"]],[30,0,[\\\"onTooltipCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,\\\"disabled\\\",\\\"true\\\"],[16,2,[30,1,[\\\"url\\\"]]],[16,1,[30,1,[\\\"id\\\"]]],[16,0,[29,[\\\"bg-transparent tooltip-input text-gray-50 font-normal\\\\n \\\",[52,[30,0,[\\\"isDisabled\\\"]],\\\"\\\",\\\"w-full\\\"],\\\"\\\\n text-xs border-0 p-0\\\"]]],[4,[38,2],[[30,0,[\\\"registerElement\\\"]]],null],[4,[38,3],[\\\"keyup\\\",[28,[37,4],[[30,0,[\\\"handleUpdate\\\"]],\\\"keyup\\\"],null]],null],[4,[38,3],[\\\"keydown\\\",[30,0,[\\\"resetTooltip\\\"]]],null],[4,[38,3],[\\\"input\\\",[30,0,[\\\"handleUrlChange\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDisabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,1,\\\"edit-bookmark\\\"],[24,0,\\\"px-3 py-1 font-medium text-gray-50 text-xs rounded overlay-button mx-2\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"handleEdit\\\"]]],null],[12],[1,[28,[35,11],[\\\"dictionary.edit\\\"],null]],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,1,\\\"delete-bookmark\\\"],[24,0,\\\"px-3 py-1 font-medium text-gray-50 text-xs rounded overlay-button\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"handleUnlink\\\"]]],null],[12],[1,[28,[35,11],[\\\"dictionary.unlink\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@item\\\"],[\\\"if\\\",\\\"input\\\",\\\"render-modifiers/on-insert\\\",\\\"on\\\",\\\"fn\\\",\\\"on-click-outside\\\",\\\"div\\\",\\\"a\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"button\\\",\\\"t\\\"]]\",\n \"moduleName\": \"scaleflow/components/useful-link.hbs\",\n \"isStrictMode\": false\n });\n let UsefulLinkComponent = _exports.default = (_class = class UsefulLinkComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"isDisabled\", _descriptor2, this);\n _defineProperty(this, \"editableInputElementContainer\", null);\n _defineProperty(this, \"tippyInstance\", null);\n }\n focusElement(e) {\n e.focus();\n }\n isUrl(text) {\n return text.match(/^(https:\\/\\/)/);\n }\n onEnter() {\n if (this.args.item.title && this.args.item.url && this.isUrl(this.args.item.url)) this.args.item.save();\n }\n registerElement(e) {\n this.editableInputElementContainer = e;\n }\n handleInputPaste(e) {\n e.preventDefault();\n const pastedData = e.clipboardData.getData('Text');\n if (this.isUrl(pastedData)) {\n this.args.item.url = pastedData;\n }\n }\n handleClickOutside() {\n if (this.args.item.title && this.args.item.url && this.isUrl(this.args.item.url)) this.args.item.save();else this.deleteRecord();\n }\n deleteRecord() {\n this.args.item.deleteRecord();\n }\n handleUnlink() {\n this.args.item.destroyRecord();\n }\n enableField() {\n this.editableInputElementContainer.disabled = false;\n }\n disableField() {\n this.editableInputElementContainer.disabled = true;\n }\n handleEdit() {\n if (this.args.handleEdit) {\n this.args.handleEdit(this.args.item);\n this.tippyInstance.hide();\n return;\n }\n this.isDisabled = false;\n this.enableField();\n this.editableInputElementContainer.focus();\n }\n resetDisabled() {\n this.isDisabled = true;\n }\n resetTooltip() {\n this.resetDisabled();\n this.disableField();\n if (!(this.args.item.isDestroyed || this.args.item.isDestroying)) {\n this.args.item.rollbackAttributes();\n }\n }\n handleUpdate() {\n if (!this.isUrl(this.args.item.url)) return;\n this.args.item.save();\n this.resetDisabled();\n this.disableField();\n }\n onTooltipHide() {\n this.resetTooltip();\n }\n onUntrigger() {\n // console.log('onUntrigger', instance, event);\n }\n onBeforeUpdate() {\n // console.log('onBeforeUpdate', instance, partialProps);\n }\n onTooltipCreate(instance) {\n this.tippyInstance = instance;\n }\n handleTitleChange(event) {\n this.args.item.title = event.target.value;\n }\n handleUrlChange(event) {\n this.args.item.url = event.target.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"focusElement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"focusElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isUrl\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onEnter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onEnter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"registerElement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"registerElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInputPaste\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInputPaste\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClickOutside\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClickOutside\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteRecord\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteRecord\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleUnlink\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUnlink\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"enableField\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"enableField\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"disableField\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"disableField\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleEdit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleEdit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetDisabled\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetDisabled\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetTooltip\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetTooltip\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTooltipHide\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTooltipHide\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onUntrigger\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onUntrigger\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onBeforeUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onBeforeUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTooltipCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTooltipCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTitleChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTitleChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleUrlChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleUrlChange\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, UsefulLinkComponent);\n});","define(\"scaleflow/components/vertical-collection\", [\"exports\", \"@html-next/vertical-collection/components/vertical-collection/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _component.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@html-next/vertical-collection/components/vertical-collection/component\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/components/wizard/body/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{yield}}\n
    \n */\n {\n \"id\": \"OegJsKAG\",\n \"block\": \"[[[10,0],[14,0,\\\"col-span-9 p-6 rounded-r-2xl flex flex-col overflow-y-auto\\\"],[12],[1,\\\"\\\\n \\\"],[18,1,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/body/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"body\"));\n});","define(\"scaleflow/components/wizard/empty-state/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

    {{yield\n to=\"message\"\n }}

    \n {{yield to=\"other\"}}\n \n */\n {\n \"id\": \"eBUxQVaa\",\n \"block\": \"[[[11,0],[24,0,\\\"grow flex items-center justify-center flex-col gap-y-2\\\"],[24,\\\"test-id\\\",\\\"empty-state\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"104\\\"],[14,\\\"height\\\",\\\"104\\\"],[14,\\\"viewBox\\\",\\\"0 0 104 104\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"104\\\"],[14,\\\"height\\\",\\\"104\\\"],[14,\\\"rx\\\",\\\"52\\\"],[14,\\\"fill\\\",\\\"url(#paint0_linear_524_47875)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"filter\\\",\\\"url(#filter0_dd_524_47875)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M36 36C36 33.7909 37.7909 32 40 32H56L68 44V68C68 70.2091 66.2091 72 64 72H40C37.7909 72 36 70.2091 36 68V36Z\\\"],[14,\\\"fill\\\",\\\"#7F56D9\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.3\\\"],[14,\\\"d\\\",\\\"M56 32L68 44H60C57.7909 44 56 42.2091 56 40V32Z\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"g\\\"],[14,\\\"clip-path\\\",\\\"url(#clip0_524_47875)\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M47.334 56C47.334 53.4227 49.4233 51.3333 52.0007 51.3333M55.0006 53L52.0006 56M58.6673 56C58.6673 59.6819 55.6825 62.6666 52.0007 62.6666C48.3188 62.6666 45.334 59.6819 45.334 56C45.334 52.3181 48.3188 49.3333 52.0007 49.3333C55.6825 49.3333 58.6673 52.3181 58.6673 56ZM52.6673 56C52.6673 56.3682 52.3688 56.6666 52.0007 56.6666C51.6325 56.6666 51.334 56.3682 51.334 56C51.334 55.6318 51.6325 55.3333 52.0007 55.3333C52.3688 55.3333 52.6673 55.6318 52.6673 56Z\\\"],[14,\\\"stroke\\\",\\\"white\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"defs\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"filter\\\"],[14,1,\\\"filter0_dd_524_47875\\\"],[14,\\\"x\\\",\\\"29\\\"],[14,\\\"y\\\",\\\"30\\\"],[14,\\\"width\\\",\\\"46\\\"],[14,\\\"height\\\",\\\"46\\\"],[14,\\\"filterUnits\\\",\\\"userSpaceOnUse\\\"],[14,\\\"color-interpolation-filters\\\",\\\"sRGB\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"feFlood\\\"],[14,\\\"flood-opacity\\\",\\\"0\\\"],[14,\\\"result\\\",\\\"BackgroundImageFix\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feColorMatrix\\\"],[14,\\\"in\\\",\\\"SourceAlpha\\\"],[14,\\\"values\\\",\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"],[14,\\\"result\\\",\\\"hardAlpha\\\"],[14,4,\\\"matrix\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feOffset\\\"],[14,\\\"dy\\\",\\\"1\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feGaussianBlur\\\"],[14,\\\"stdDeviation\\\",\\\"1\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feColorMatrix\\\"],[14,\\\"values\\\",\\\"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.06 0\\\"],[14,4,\\\"matrix\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feBlend\\\"],[14,\\\"mode\\\",\\\"normal\\\"],[14,\\\"in2\\\",\\\"BackgroundImageFix\\\"],[14,\\\"result\\\",\\\"effect1_dropShadow_524_47875\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feColorMatrix\\\"],[14,\\\"in\\\",\\\"SourceAlpha\\\"],[14,\\\"values\\\",\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"],[14,\\\"result\\\",\\\"hardAlpha\\\"],[14,4,\\\"matrix\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feOffset\\\"],[14,\\\"dy\\\",\\\"1\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feGaussianBlur\\\"],[14,\\\"stdDeviation\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feColorMatrix\\\"],[14,\\\"values\\\",\\\"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.1 0\\\"],[14,4,\\\"matrix\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feBlend\\\"],[14,\\\"mode\\\",\\\"normal\\\"],[14,\\\"in2\\\",\\\"effect1_dropShadow_524_47875\\\"],[14,\\\"result\\\",\\\"effect2_dropShadow_524_47875\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"feBlend\\\"],[14,\\\"mode\\\",\\\"normal\\\"],[14,\\\"in\\\",\\\"SourceGraphic\\\"],[14,\\\"in2\\\",\\\"effect2_dropShadow_524_47875\\\"],[14,\\\"result\\\",\\\"shape\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"linearGradient\\\"],[14,1,\\\"paint0_linear_524_47875\\\"],[14,\\\"x1\\\",\\\"52\\\"],[14,\\\"y1\\\",\\\"0\\\"],[14,\\\"x2\\\",\\\"52\\\"],[14,\\\"y2\\\",\\\"104\\\"],[14,\\\"gradientUnits\\\",\\\"userSpaceOnUse\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"stop-color\\\",\\\"#F9FAFB\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,\\\"stop\\\"],[14,\\\"offset\\\",\\\"1\\\"],[14,\\\"stop-color\\\",\\\"#EDF0F3\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"clipPath\\\"],[14,1,\\\"clip0_524_47875\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"16\\\"],[14,\\\"height\\\",\\\"16\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"transform\\\",\\\"translate(44 48)\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-lg text-gray-900 font-semibold\\\"],[14,\\\"test-id\\\",\\\"message\\\"],[12],[18,2,null],[13],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&message\\\",\\\"&other\\\"],[\\\"div\\\",\\\"svg\\\",\\\"rect\\\",\\\"g\\\",\\\"path\\\",\\\"defs\\\",\\\"filter\\\",\\\"feFlood\\\",\\\"feColorMatrix\\\",\\\"feOffset\\\",\\\"feGaussianBlur\\\",\\\"feBlend\\\",\\\"linearGradient\\\",\\\"stop\\\",\\\"clipPath\\\",\\\"p\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/empty-state/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"empty-state\"));\n});","define(\"scaleflow/components/wizard/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n
    \n {{yield}}\n \n \n \n \n
    \n \n \n */\n {\n \"id\": \"R/wyBcOq\",\n \"block\": \"[[[11,0],[24,0,\\\"w-screen h-screen fixed top-0 left-0 z-10 flex items-center justify-center bg-black/50\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[[52,[30,2],[30,2],\\\"w-[850px]\\\"],\\\"\\\\n rounded-[32px] p-6 bg-gray-300\\\\n \\\",[52,[30,3],[30,3],\\\"h-[608px]\\\"],\\\"\\\\n relative\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full h-full grid grid-cols-12 bg-white rounded-2xl\\\"],[12],[1,\\\"\\\\n \\\"],[18,5,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"bg-white rounded-full w-7 h-7 absolute -right-9 top-0 z-50 hover:bg-white\\\"],[24,\\\"test-id\\\",\\\"close-popover\\\"],[4,[38,4],[\\\"click\\\",[30,4]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-6 h-6 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@width\\\",\\\"@height\\\",\\\"@onClose\\\",\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"yield\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/close\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"wizard\"));\n});","define(\"scaleflow/components/wizard/menu/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n {{! wizard title }}\n \n {{yield to=\"title\"}}\n \n {{! wizard steps }}\n
    \n {{yield to=\"steps\"}}\n
    \n
    \n */\n {\n \"id\": \"Yd1s1KR7\",\n \"block\": \"[[[11,0],[24,0,\\\"col-span-3 py-6 pl-6 pr-4 bg-gray-50 rounded-l-2xl\\\"],[17,1],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[18,2,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"flex flex-col items-start gap-y-4 wizard-steps\\\"],[12],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"&title\\\",\\\"&steps\\\"],[\\\"div\\\",\\\"wizard/title\\\",\\\"yield\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/menu/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"menu\"));\n});","define(\"scaleflow/components/wizard/search/index\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-lifeline\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _object, _emberLifeline, _component2, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-lifeline\",0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n \n \n \n */\n {\n \"id\": \"oxFXXnx7\",\n \"block\": \"[[[11,0],[24,0,\\\"w-full py-2 px-3 border border-gray-200 rounded-md mb-2 flex items-center gap-x-2 transition-all\\\"],[24,\\\"test-id\\\",\\\"wizard-search\\\"],[17,1],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[11,\\\"input\\\"],[24,1,\\\"searchable\\\"],[16,2,[30,0,[\\\"intermediateValue\\\"]]],[24,0,\\\"w-full border-0 focus:outline-none focus:ring-0 p-0 font-normal text-gray-900 placeholder:text-xs text-sm\\\"],[16,\\\"placeholder\\\",[29,[[30,2]]]],[24,4,\\\"text\\\"],[4,[38,3],[\\\"keyup\\\",[30,0,[\\\"propagateTextChange\\\"]]],null],[4,[38,3],[\\\"input\\\",[30,0,[\\\"setIntermediateValue\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@placeholder\\\"],[\\\"div\\\",\\\"tailwind-icons/search\\\",\\\"input\\\",\\\"on\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/search/index.hbs\",\n \"isStrictMode\": false\n });\n let WizardSearchComponent = _exports.default = (_class = class WizardSearchComponent extends _component2.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"intermediateValue\", this.args.value ?? '');\n }\n get _delay() {\n const delay = +this.args?.delay;\n if (isNaN(delay) || delay < 0) return 200;\n return delay;\n }\n get onSearch() {\n return this.args?.onSearch ?? function () {};\n }\n propagateTextChange() {\n try {\n (0, _emberLifeline.debounceTask)(this, 'onSearch', this.intermediateValue, this._delay);\n } catch (err) {\n console.log(err);\n }\n }\n setIntermediateValue(e) {\n this.intermediateValue = e.target.value;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"propagateTextChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"propagateTextChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setIntermediateValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIntermediateValue\"), _class.prototype), _class);\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, WizardSearchComponent);\n});","define(\"scaleflow/components/wizard/step/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n \n {{yield}}\n \n \n */\n {\n \"id\": \"Gjc9Dzfa\",\n \"block\": \"[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[16,0,[29,[\\\"relative h-8 text-sm text-gray-500 font-normal align-sub\\\\n \\\",[52,[30,1],\\\"active\\\"]]]],[24,\\\"test-id\\\",\\\"step\\\"],[17,2],[12],[1,\\\"\\\\n \\\"],[18,3,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"active-indicator\\\"],[12],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@active\\\",\\\"&attrs\\\",\\\"&default\\\"],[\\\"button\\\",\\\"if\\\",\\\"yield\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/step/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"step\"));\n});","define(\"scaleflow/components/wizard/title/index\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{yield}}\n
    \n */\n {\n \"id\": \"oRyH9iHb\",\n \"block\": \"[[[10,\\\"h2\\\"],[14,0,\\\"text-gray-900 text-lg font-semibold\\\"],[14,\\\"test-id\\\",\\\"wizard-title\\\"],[12],[18,1,null],[13],[1,\\\"\\\\n\\\"],[10,\\\"hr\\\"],[14,0,\\\"my-3 border-0\\\"],[12],[13]],[\\\"&default\\\"],[\\\"h2\\\",\\\"yield\\\",\\\"hr\\\"]]\",\n \"moduleName\": \"scaleflow/components/wizard/title/index.hbs\",\n \"isStrictMode\": false\n });\n var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"title\"));\n});","define(\"scaleflow/config/app-structure\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n const conditional = function (path, boolean) {\n if (boolean == true) {\n return path;\n } else {\n return null;\n }\n };\n\n /**\n * This class lists a series of top level and lower level pages in a key:value\n * format.\n * The key = translated into the translation file.\n * The value = a string representation of the Route in the router.\n *\n * Some rules:\n * - We use the \"icon\" key - to indicate that an Icon is needed and what the icon is.\n * This also means we ignore the \"icon\" key as a page.\n *\n * - If there are sub pages - then we assume that a click on the \"top level\"\n * page leads to the first defined sub page.\n *\n */\n class AppStructure {\n constructor() {\n _defineProperty(this, \"pages\", {\n ...this.dashboards,\n ...this.capacity,\n ...this.strategy,\n ...this.roadmap,\n ...this.backlog,\n ...this.operations,\n ...this.settings,\n ...this.progress\n });\n }\n get capacity() {\n return {\n capacity: {\n icon: 'calendar',\n teams: 'capacity.teams',\n roles: 'capacity.roles',\n weeks: 'capacity.weeks'\n }\n };\n }\n get progress() {\n return {\n progress: {\n icon: 'eye-on',\n self: 'progress'\n }\n };\n }\n get dashboards() {\n return {\n dashboards: {\n icon: 'analytics',\n dashboard: conditional('dashboards.index', false),\n roi: {\n self: 'dashboards.roi',\n hidden: true\n },\n capacity: conditional('dashboards.capacity', false),\n 'time-to-value': conditional('dashboards.time-to-value', false)\n }\n };\n }\n get strategy() {\n return {\n strategy: {\n icon: 'euro',\n scenarios: {\n self: 'strategy.investment-scenarios.index',\n hidden: true\n },\n goals: {\n self: 'strategy.goals',\n hidden: true\n },\n financials: {\n self: 'strategy.financials',\n hidden: true\n }\n }\n };\n }\n get roadmap() {\n return {\n roadmap: {\n icon: 'roadmap',\n hidden: true,\n strategy: {\n hidden: true,\n create: {\n self: 'roadmap.strategy.create',\n hidden: true\n },\n roadmap: {\n hidden: true,\n edit: {\n hidden: true,\n self: 'roadmap.strategy.roadmap.edit'\n },\n grid: {\n self: 'roadmap.strategy.roadmap.grid'\n },\n lanes: {\n self: 'roadmap.strategy.roadmap.lanes'\n },\n timeline: {\n self: 'roadmap.strategy.roadmap.timeline'\n }\n }\n },\n overview: conditional('roadmap.index', false),\n timeline: {\n self: 'roadmap.timeline',\n hidden: true\n },\n radar: conditional('roadmap.radar', false),\n 'now-next-later': conditional('roadmap.now-next-later', false),\n concept: conditional('roadmap.radar-concept', false)\n }\n };\n }\n get backlog() {\n return {\n backlog: {\n icon: 'list',\n initiatives: {\n // self: 'backlog.initiatives',\n hidden: true,\n ...this.initiative\n },\n 'business-cases': conditional('backlog.bons', false),\n themes: {\n self: 'backlog.themes',\n hidden: true\n }\n }\n };\n }\n get operations() {\n return {\n operations: {\n icon: 'planning',\n teams: {\n hidden: true,\n active: 'operations.teams.active',\n archived: 'operations.teams.archived',\n team: {\n hidden: true,\n 'check-in': {\n self: 'operations.teams.team.check-in',\n archive: {\n questions: 'operations.teams.team.check-in.archive.questions',\n lls: 'operations.teams.team.check-in.archive.lessons-learned',\n tfos: 'operations.teams.team.check-in.archive.to-figure-outs',\n uncertainties: 'operations.teams.team.check-in.archive.uncertainties',\n wfas: 'operations.teams.team.check-in.archive.waiting-for-answers'\n }\n },\n settings: 'operations.teams.team.settings'\n }\n },\n people: {\n // self: 'operations.people',\n hidden: true,\n active: 'operations.people.active',\n inactive: 'operations.people.inactive',\n create: {\n self: 'operations.people.create',\n hidden: true\n }\n },\n roles: {\n hidden: true,\n self: 'operations.roles',\n create: 'operations.roles.create'\n }\n }\n };\n }\n get initiative() {\n return {\n initiative: {\n hidden: true,\n document: {\n icon: 'document',\n self: 'backlog.initiatives.initiative.document'\n },\n bon: {\n icon: 'back-of-a-napkin',\n self: 'backlog.initiatives.initiative.back-of-a-napkin'\n },\n uncertainties: {\n self: 'backlog.initiatives.initiative.uncertainties',\n icon: 'help'\n },\n wfas: {\n icon: 'clock',\n self: 'backlog.initiatives.initiative.waiting-for-answers'\n },\n weeks: {\n icon: 'planning',\n self: 'backlog.initiatives.initiative.weeks'\n },\n workstreams: {\n self: 'backlog.initiatives.initiative.workstreams',\n icon: 'list'\n // workstream: {\n // archive: 'backlog.initiatives.initiative.planning.workstreams.workstream.archive',\n // },\n },\n settings: {\n icon: 'settings',\n self: 'backlog.initiatives.initiative.settings'\n // general: 'backlog.initiatives.initiative.settings.general-details',\n // planning: 'backlog.initiatives.initiative.settings.planning-and-people',\n // strategy: 'backlog.initiatives.initiative.settings.strategy',\n }\n // planning: {\n // icon: 'planning',\n // weeks: 'backlog.initiatives.initiative.planning.weeks',\n // workstreams: {\n // self: 'backlog.initiatives.initiative.planning.workstreams',\n // workstream: {\n // archive: 'backlog.initiatives.initiative.planning.workstreams.workstream.archive',\n // },\n // },\n // },\n }\n };\n }\n get settings() {\n return {\n settings: {\n icon: 'settings',\n organisation: 'settings.organisation',\n account: 'settings.account'\n }\n };\n }\n *iterator(key) {\n const pages = key == undefined ? this.pages : this.accessNestedKey(this.pages, key);\n if (pages == undefined) return;\n const elementKeys = Object.keys(pages);\n for (let i = 0; i < elementKeys.length; i++) {\n const elementKey = elementKeys[i];\n if (elementKey == 'icon' || elementKey == 'hidden') continue;\n let page = pages[elementKey];\n if (page == undefined || page.hidden == true) continue;\n const pageRecord = this.pageRecordFor(elementKey, page, key);\n if (pageRecord != undefined) {\n yield pageRecord;\n }\n }\n return;\n }\n pageRecordFor(key, value, parentKey) {\n if (value == undefined) return undefined;\n const pageObject = {};\n pageObject.label = this.labelFor(key, value, parentKey);\n pageObject.route = this.routeFor(value);\n pageObject.icon = this.iconFor(value);\n pageObject.children = this.childrenFor(key, value);\n return pageObject;\n }\n indexOfIcon(value) {\n const keys = Object.keys(value);\n return keys.indexOf('icon');\n }\n hasChildren(value) {\n if (typeof value == 'string') return false;\n const keys = Object.keys(value);\n const iconDefinedButNoChildren = keys.length <= 2 && this.iconFor(value) != undefined;\n if (iconDefinedButNoChildren) return false;\n if (keys.length > 1 && !iconDefinedButNoChildren) {\n return true;\n }\n return false;\n }\n labelFor(key, value, parentKey) {\n let label = ['nav', parentKey, key].filter(e => e !== undefined).join('.');\n if (this.hasChildren(value) == true) {\n label += `.self`;\n }\n return label;\n }\n iconFor(value) {\n return value.icon;\n }\n routeFor(value) {\n if (typeof value == 'string' || value instanceof String) {\n return value;\n } else {\n const keys = Object.keys(value);\n const indexOfIcon = this.indexOfIcon(value);\n if (indexOfIcon == 0) {\n return value[keys[1]];\n } else {\n return value[keys[0]];\n }\n }\n }\n childrenFor(key, value) {\n if (this.hasChildren(value)) {\n return this.iterator(key);\n } else {\n return undefined;\n }\n }\n accessNestedKey(obj, nestedKey) {\n const keys = nestedKey.split('.');\n let value = obj;\n for (let key of keys) {\n if (value[key] === undefined) {\n return undefined; // Key doesn't exist, return undefined\n }\n value = value[key];\n }\n return value;\n }\n }\n _exports.default = AppStructure;\n});","define(\"scaleflow/config/echarts_theme\", [\"echarts/core\"], function (echarts) {\n \"use strict\";\n\n 0; //eaimeta@70e063a35619d71f0,\"echarts/core\"eaimeta@70e063a35619d71f\n // /* eslint-disable */\n echarts.registerTheme('producthub', {\n color: ['#2ec7c9', '#b6a2de', '#5ab1ef', '#ffb980', '#d87a80', '#8d98b3', '#e5cf0d', '#97b552', '#95706d', '#dc69aa', '#07a2a4', '#9a7fd1', '#588dd5', '#f5994e', '#c05050', '#59678c', '#c9ab00', '#7eb00a', '#6f5553', '#c14089'],\n backgroundColor: 'rgba(0,0,0,0)',\n textStyle: {},\n title: {\n textStyle: {\n color: '#008acd'\n },\n subtextStyle: {\n color: '#aaaaaa'\n }\n },\n line: {\n itemStyle: {\n borderWidth: 1\n },\n lineStyle: {\n width: 2\n },\n symbolSize: 3,\n symbol: 'emptyCircle',\n smooth: true\n },\n radar: {\n itemStyle: {\n borderWidth: 1\n },\n lineStyle: {\n width: 2\n },\n symbolSize: 3,\n symbol: 'emptyCircle',\n smooth: true\n },\n bar: {\n itemStyle: {\n barBorderWidth: 0,\n barBorderColor: '#ccc'\n }\n },\n pie: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n scatter: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n boxplot: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n parallel: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n sankey: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n funnel: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n gauge: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n }\n },\n candlestick: {\n itemStyle: {\n color: '#d87a80',\n color0: '#2ec7c9',\n borderColor: '#d87a80',\n borderColor0: '#2ec7c9',\n borderWidth: 1\n }\n },\n graph: {\n itemStyle: {\n borderWidth: 0,\n borderColor: '#ccc'\n },\n lineStyle: {\n width: 1,\n color: '#aaaaaa'\n },\n symbolSize: 3,\n symbol: 'emptyCircle',\n smooth: true,\n color: ['#2ec7c9', '#b6a2de', '#5ab1ef', '#ffb980', '#d87a80', '#8d98b3', '#e5cf0d', '#97b552', '#95706d', '#dc69aa', '#07a2a4', '#9a7fd1', '#588dd5', '#f5994e', '#c05050', '#59678c', '#c9ab00', '#7eb00a', '#6f5553', '#c14089'],\n label: {\n color: '#eeeeee'\n }\n },\n map: {\n itemStyle: {\n areaColor: '#dddddd',\n borderColor: '#eeeeee',\n borderWidth: 0.5\n },\n label: {\n color: '#d87a80'\n },\n emphasis: {\n itemStyle: {\n areaColor: 'rgba(254,153,78,1)',\n borderColor: '#444',\n borderWidth: 1\n },\n label: {\n color: 'rgb(100,0,0)'\n }\n }\n },\n geo: {\n itemStyle: {\n areaColor: '#dddddd',\n borderColor: '#eeeeee',\n borderWidth: 0.5\n },\n label: {\n color: '#d87a80'\n },\n emphasis: {\n itemStyle: {\n areaColor: 'rgba(254,153,78,1)',\n borderColor: '#444',\n borderWidth: 1\n },\n label: {\n color: 'rgb(100,0,0)'\n }\n }\n },\n categoryAxis: {\n axisLine: {\n show: true,\n lineStyle: {\n color: '#008acd'\n }\n },\n axisTick: {\n show: true,\n lineStyle: {\n color: '#333'\n }\n },\n axisLabel: {\n show: true,\n color: '#333'\n },\n splitLine: {\n show: false,\n lineStyle: {\n color: ['#eee']\n }\n },\n splitArea: {\n show: false,\n areaStyle: {\n color: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)']\n }\n }\n },\n valueAxis: {\n axisLine: {\n show: true,\n lineStyle: {\n color: '#008acd'\n }\n },\n axisTick: {\n show: true,\n lineStyle: {\n color: '#333'\n }\n },\n axisLabel: {\n show: true,\n color: '#333'\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: ['#eee']\n }\n },\n splitArea: {\n show: true,\n areaStyle: {\n color: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)']\n }\n }\n },\n logAxis: {\n axisLine: {\n show: true,\n lineStyle: {\n color: '#008acd'\n }\n },\n axisTick: {\n show: true,\n lineStyle: {\n color: '#333'\n }\n },\n axisLabel: {\n show: true,\n color: '#333'\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: ['#eee']\n }\n },\n splitArea: {\n show: true,\n areaStyle: {\n color: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)']\n }\n }\n },\n timeAxis: {\n axisLine: {\n show: true,\n lineStyle: {\n color: '#008acd'\n }\n },\n axisTick: {\n show: true,\n lineStyle: {\n color: '#333'\n }\n },\n axisLabel: {\n show: true,\n color: '#333'\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: ['#eee']\n }\n },\n splitArea: {\n show: false,\n areaStyle: {\n color: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)']\n }\n }\n },\n toolbox: {\n iconStyle: {\n borderColor: '#2ec7c9'\n },\n emphasis: {\n iconStyle: {\n borderColor: '#18a4a6'\n }\n }\n },\n legend: {\n textStyle: {\n color: '#333333'\n }\n },\n tooltip: {\n axisPointer: {\n lineStyle: {\n color: '#008acd',\n width: '1'\n },\n crossStyle: {\n color: '#008acd',\n width: '1'\n }\n }\n },\n timeline: {\n lineStyle: {\n color: '#008acd',\n width: 1\n },\n itemStyle: {\n color: '#008acd',\n borderWidth: 1\n },\n controlStyle: {\n color: '#008acd',\n borderColor: '#008acd',\n borderWidth: 0.5\n },\n checkpointStyle: {\n color: '#2ec7c9',\n borderColor: '#2ec7c9'\n },\n label: {\n color: '#008acd'\n },\n emphasis: {\n itemStyle: {\n color: '#a9334c'\n },\n controlStyle: {\n color: '#008acd',\n borderColor: '#008acd',\n borderWidth: 0.5\n },\n label: {\n color: '#008acd'\n }\n }\n },\n visualMap: {\n color: ['#5ab1ef', '#e0ffff']\n },\n dataZoom: {\n backgroundColor: 'rgba(47,69,84,0)',\n dataBackgroundColor: '#efefff',\n fillerColor: 'rgba(182,162,222,0.2)',\n handleColor: '#008acd',\n handleSize: '100%',\n textStyle: {\n color: '#333333'\n }\n },\n markPoint: {\n label: {\n color: '#eeeeee'\n },\n emphasis: {\n label: {\n color: '#eeeeee'\n }\n }\n }\n });\n});","define(\"scaleflow/controllers/404\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let FourOFourController = _exports.default = (_class = class FourOFourController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n get randomMessage() {\n return this.intl.t(`four-o-four-messages.heading.heading-${Math.floor(Math.random() * 3) + 1}`);\n }\n goBack() {\n this.router.transitionTo('dashboards.roi');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goBack\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goBack\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/application\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.HOMEPAGE = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const HOMEPAGE = _exports.HOMEPAGE = 'backlog.initiatives';\n let ApplicationController = _exports.default = (_class = class ApplicationController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"notifications\", _descriptor2, this);\n _initializerDefineProperty(this, \"session\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor4, this);\n _initializerDefineProperty(this, \"store\", _descriptor5, this);\n _initializerDefineProperty(this, \"router\", _descriptor6, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor7, this);\n _defineProperty(this, \"queryParams\", [{\n roadmap_id: {\n as: 'roadmap'\n }\n }, 'initiative_id']);\n _initializerDefineProperty(this, \"roadmap_id\", _descriptor8, this);\n _initializerDefineProperty(this, \"initiative_id\", _descriptor9, this);\n }\n get current_roadmap_id() {\n // eslint-disable-next-line ember/no-side-effects\n this.roadmap_id = this.roadmap.id;\n return '';\n }\n roadmapChanged() {\n this.roadmap_id = this.roadmap.id;\n }\n get pageIsArtifactViewMode() {\n return this.router.currentRoute.name === 'artifacts.artifact.view';\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"roadmap_id\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"initiative_id\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/authenticate\", [\"exports\", \"@ember/controller\", \"@glimmer/tracking\"], function (_exports, _controller, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AuthenticateController = _exports.default = (_class = class AuthenticateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['code']);\n _initializerDefineProperty(this, \"code\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"code\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/backlog/ideas/idea\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasIdeaController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _class = class BacklogIdeasIdeaController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor5, this);\n _initializerDefineProperty(this, \"store\", _descriptor6, this);\n }\n get idea() {\n return this.model;\n }\n get tabs() {\n return [{\n label: this.intl.t('dictionary.description'),\n route: 'backlog.ideas.idea.description',\n key: 'description'\n }];\n }\n isActive(tab) {\n return this.router.currentRouteName?.includes?.(tab.key);\n }\n setIdeaStatus(e) {\n this.model.status = e.value;\n void this.model.save();\n }\n goToIdea(e) {\n const currentRouteName = this.router.currentRoute?.name;\n this.router.transitionTo(currentRouteName, e.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setIdeaStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIdeaStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToIdea\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/ideas/idea/description\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"aws-amplify\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"scaleflow/utils/quill-extenstions/markdown-format\", \"quill\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"scaleflow/validators/idea\"], function (_exports, _controller, _object, _service, _tracking, _awsAmplify, _quill2ImageUploader, _imageFormat, _markdownFormat, _quill, _quillImageResize, _registerIfNotRegistered, _uuid, _idea) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"aws-amplify\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"scaleflow/utils/quill-extenstions/markdown-format\",0,\"quill\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"scaleflow/validators/idea\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/markdown', _markdownFormat.default);\n let BacklogIdeasIdeaDescriptionController = _exports.default = (_class = class BacklogIdeasIdeaDescriptionController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _defineProperty(this, \"ideaValidations\", _idea.default);\n _defineProperty(this, \"queryParams\", ['editMode']);\n _initializerDefineProperty(this, \"editMode\", _descriptor2, this);\n }\n get idea() {\n return this.model;\n }\n setDelta(changeset, e) {\n changeset.set('description', e);\n }\n handleBlur(changeset) {\n //if page is not navigating away\n if (changeset.get('isPristine') === true) {\n this.isDisabled = true;\n } else if (changeset.get('isValid') === true) {\n this.isDisabled = false;\n } else {\n this.isDisabled = true;\n }\n }\n toggleEditMode() {\n this.editMode = !this.editMode;\n }\n handleIdeaDescriptionSave(changeset) {\n changeset.save();\n this.toggleEditMode();\n }\n handleIdeaDescriptionCancel(changeset) {\n changeset.rollback();\n this.toggleEditMode();\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n modules.markdown = true;\n const toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n void _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleIdeaDescriptionSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleIdeaDescriptionSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleIdeaDescriptionCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleIdeaDescriptionCancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/ideas/list\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\", \"ember-concurrency\", \"scaleflow/components/initiatives/table\", \"scaleflow/utils/dateSort\", \"@ember/debug\", \"moment\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service, _tracking, _nameSort, _emberConcurrency, _table, _dateSort, _debug, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\",0,\"ember-concurrency\",0,\"scaleflow/components/initiatives/table\",0,\"scaleflow/utils/dateSort\",0,\"@ember/debug\",0,\"moment\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasListController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('dropdown'), _class = class BacklogIdeasListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"dropdownService\", _descriptor5, this);\n _initializerDefineProperty(this, \"router\", _descriptor6, this);\n _initializerDefineProperty(this, \"featureAccess\", _descriptor7, this);\n _defineProperty(this, \"queryParams\", ['search', 'grouping', 'ideaStatuses', 'sources', 'themes', 'departments', 'areas', 'customers', 'submitters', 'groups', 'columns', 'refresher']);\n _initializerDefineProperty(this, \"search\", _descriptor8, this);\n _initializerDefineProperty(this, \"tableSort\", _descriptor9, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor0, this);\n _initializerDefineProperty(this, \"ideaStatuses\", _descriptor1, this);\n _initializerDefineProperty(this, \"themes\", _descriptor10, this);\n _initializerDefineProperty(this, \"sources\", _descriptor11, this);\n _initializerDefineProperty(this, \"submitters\", _descriptor12, this);\n _initializerDefineProperty(this, \"departments\", _descriptor13, this);\n _initializerDefineProperty(this, \"areas\", _descriptor14, this);\n _initializerDefineProperty(this, \"customers\", _descriptor15, this);\n _initializerDefineProperty(this, \"list\", _descriptor16, this);\n _initializerDefineProperty(this, \"selectedIdeas\", _descriptor17, this);\n _initializerDefineProperty(this, \"groups\", _descriptor18, this);\n _initializerDefineProperty(this, \"creatingInitiative\", _descriptor19, this);\n _initializerDefineProperty(this, \"processIsOngoing\", _descriptor20, this);\n _initializerDefineProperty(this, \"columns\", _descriptor21, this);\n _initializerDefineProperty(this, \"refresher\", _descriptor22, this);\n _defineProperty(this, \"fetchIdeas\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* () {\n yield (0, _emberConcurrency.timeout)(500);\n this.processIsOngoing = true;\n let ideas = [];\n const params = {\n ...this.filters\n };\n delete params['columns'];\n delete params['grouping'];\n if (!params.submitter) delete params['submitter'];\n let status = params.status;\n delete params.status;\n // if (status == undefined || status.length === 0) status = this.defaultStatus;\n ideas = yield this.store.query('idea', {\n ...params,\n status\n });\n this.list = ideas;\n this.processIsOngoing = false;\n }\n }), {\n restartable: true,\n maxConcurrency: 1\n }, \"fetchIdeas\", null));\n }\n get sortedIdeas() {\n return this.list.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n get ideas() {\n let ideas = this.sortedIdeas;\n if (this.search) {\n ideas = ideas.filter(this.isAMatchCallback);\n }\n return ideas;\n }\n deleteIdea(idea) {\n idea.destroyRecord();\n }\n get isAMatchCallback() {\n if (!this.search) return () => true;\n return idea => {\n return (idea.title ?? '').toLowerCase().includes(this.search.toLowerCase());\n };\n }\n get visibleColumnsCount() {\n return this.columns.length;\n }\n get columnOptions() {\n const columns = [{\n label: this.intl.t('dictionary.title'),\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'title',\n showVisibilityToggle: false,\n value: 'title'\n }, {\n label: this.intl.t('dictionary.status'),\n dropdownDataKey: 'ideaStatuses',\n groupingKey: 'statuses',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'status',\n showVisibilityToggle: true,\n value: 'status'\n }, {\n label: this.intl.t('dictionary.source', {\n num: 1\n }),\n showVisibilityToggle: true,\n value: 'source'\n }, {\n label: this.intl.t('dictionary.submitted-by'),\n dropdownDataKey: 'submitters',\n groupingKey: 'submitters',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'submitter',\n showVisibilityToggle: true,\n value: 'submittedBy'\n }, {\n label: this.intl.t('dictionary.created-at'),\n showSorting: true,\n sortKey: 'created_at',\n sortType: 'date',\n showVisibilityToggle: true,\n value: 'createdAt'\n }, {\n label: this.intl.t('department.title', {\n num: 1\n }),\n dropdownDataKey: 'departments',\n groupingKey: 'departments',\n sortKey: 'department',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n showVisibilityToggle: true,\n value: 'department'\n }, {\n label: this.intl.t('area.title', {\n num: 3\n }),\n dropdownDataKey: 'areas',\n groupingKey: 'areas',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'area',\n showVisibilityToggle: true,\n value: 'area'\n }, {\n label: this.intl.t('idea.deadline'),\n showSorting: true,\n sortType: 'date',\n sortKey: 'deadline',\n showVisibilityToggle: true,\n value: 'deadline'\n }, {\n label: this.intl.t('dictionary.themes', {\n num: 2\n }),\n dropdownDataKey: 'themes',\n groupingKey: 'themes',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'theme',\n showVisibilityToggle: true,\n value: 'themes'\n }, {\n label: this.intl.t('customer.title', {\n num: 2\n }),\n dropdownDataKey: 'customers',\n groupingKey: 'customers',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'customer',\n showVisibilityToggle: true,\n value: 'customers'\n }, {\n label: this.intl.t('_initiatives.title', {\n num: 2\n }),\n // dropdownDataKey: 'initiatives',\n groupingKey: 'initiatives',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'initiative',\n showVisibilityToggle: true,\n value: 'initiatives'\n }, {\n label: this.intl.t('group.title', {\n num: 1\n }),\n dropdownDataKey: 'groups',\n groupingKey: 'groups',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'group',\n showVisibilityToggle: true,\n value: 'group'\n }, {\n label: this.intl.t('idea.revenue-existing'),\n showVisibilityToggle: true,\n value: 'revenueExisting'\n }, {\n label: this.intl.t('idea.revenue-potential'),\n showVisibilityToggle: true,\n value: 'revenuePotential'\n }];\n columns.forEach(item => {\n item.show = this.showColumn(item);\n });\n return columns;\n }\n onSortSelect(key, order) {\n const sort = `${key}|${order}`;\n this.tableSort = this.tableSort === sort ? '' : sort;\n }\n get sortSettings() {\n const [sortKey = '', sortOrder = ''] = this.tableSort.split('|');\n return {\n sortKey,\n sortOrder\n };\n }\n onFilterSelect(key, e) {\n this[key] = e;\n }\n anyDropdownFeatureIsAvailable(column) {\n return column.showGrouping || column.showSorting || column.dropdownDataKey || column.showVisibilityToggle;\n }\n showColumn(column) {\n if ((this.columns?.length ?? 0) === 0) {\n if (column.show !== undefined) return column.show;\n return true;\n } else {\n return this.columns.includes(column.value);\n }\n }\n hideColumn(column, allColumns) {\n let values = [...allColumns];\n if (values.includes(column)) {\n values = values.filter(_column => _column !== column);\n } else {\n values.push(column);\n }\n this.onColumnSelect(values);\n }\n onColumnSelect(values) {\n this.columns = values;\n }\n toggleSelection(id) {\n const selectedIdeas = [...this.selectedIdeas];\n const index = selectedIdeas.findIndex(ideaId => ideaId === id);\n if (index < 0) selectedIdeas.push(id);else selectedIdeas.splice(index, 1);\n this.selectedIdeas = selectedIdeas;\n }\n toggleGroupSelection(group, e) {\n const ideas = group.content.map(idea => idea.id);\n let selectedIdeas = [...this.selectedIdeas];\n if (e.target.checked) {\n ideas.forEach(ideaId => {\n selectedIdeas.push(ideaId);\n });\n } else {\n ideas.forEach(ideaId => {\n const index = selectedIdeas.findIndex(id => id === ideaId);\n if (index >= 0) selectedIdeas.splice(index, 1);\n });\n }\n selectedIdeas = Array.from(new Set(selectedIdeas));\n this.selectedIdeas = selectedIdeas;\n }\n groupIsSelected(group) {\n const ideas = group.content ?? [];\n return ideas.every(idea => this.selectedIdeas.includes(idea.id));\n }\n onSearch(value) {\n this.search = value;\n }\n get filters() {\n return {\n status: this.ideaStatuses,\n sources: this.sources,\n themes: this.themes,\n submitter: this.submitters,\n departments: this.departments,\n areas: this.areas,\n customers: this.customers,\n group: this.groups\n };\n }\n get ideasWithConstraintsApplied() {\n let list = [...this.ideas];\n let groupedSort = this.grouping ? this.handleGrouping(list, this.grouping) : null;\n const {\n sortKey,\n sortOrder\n } = this.sortSettings;\n switch (sortKey) {\n case 'title':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.title, b.title, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.title, b.title, sortOrder));\n break;\n }\n case 'source':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.sourceLabel, b.sourceLabel, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.sourceLabel, b.sourceLabel, sortOrder));\n break;\n }\n case 'status':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a.statusLabel, b.statusLabel, sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a.statusLabel, b.statusLabel, sortOrder));\n break;\n }\n case 'submitter':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('submitter.name') ?? '', b?.get('submitter.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('submitter.name') ?? '', b?.get('submitter.name') ?? '', sortOrder));\n break;\n }\n case 'theme':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstTheme.title') ?? '', b?.get('firstTheme.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstTheme.title') ?? '', b?.get('firstTheme.title') ?? '', sortOrder));\n break;\n }\n case 'customer':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstCustomer.name') ?? '', b?.get('firstCustomer.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstCustomer.name') ?? '', b?.get('firstCustomer.name') ?? '', sortOrder));\n break;\n }\n case 'department':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstDepartment.name') ?? '', b?.get('firstDepartment.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstDepartment.name') ?? '', b?.get('firstDepartment.name') ?? '', sortOrder));\n break;\n }\n case 'area':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstArea.name') ?? '', b?.get('firstArea.name') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstArea.name') ?? '', b?.get('firstArea.name') ?? '', sortOrder));\n break;\n }\n case 'initiative':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('firstInitiative.title') ?? '', b?.get('firstInitiative.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('firstInitiative.title') ?? '', b?.get('firstInitiative.title') ?? '', sortOrder));\n break;\n }\n case 'group':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _nameSort.default)(a?.get('group.title') ?? '', b?.get('group.title') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _nameSort.default)(a?.get('group.title') ?? '', b?.get('group.title') ?? '', sortOrder));\n break;\n }\n case 'deadline':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _dateSort.default)(a?.get('deadline') ?? '', b?.get('deadline') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _dateSort.default)(a?.get('deadline') ?? '', b?.get('deadline') ?? '', sortOrder));\n break;\n }\n case 'created_at':\n {\n groupedSort ? Object.keys(groupedSort).forEach(group => {\n groupedSort[group].content.sort((a, b) => (0, _dateSort.default)(a?.get('created_at') ?? '', b?.get('created_at') ?? '', sortOrder));\n }) : list.sort((a, b) => (0, _dateSort.default)(a?.get('created_at') ?? '', b?.get('created_at') ?? '', sortOrder));\n break;\n }\n default:\n list.sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n return this.grouping ? groupedSort : list;\n }\n handleGrouping(list, groupKey) {\n switch (groupKey) {\n case 'statuses':\n {\n const initiatives = (0, _table.sortInitiatives)(list, 'No Status', 'status', 'status', value => {\n return (0, _table.objectExtract)(this.betaService.ideaStatusOptions, value)?.label;\n }, 'tableOrder');\n const sortedRows = Object.keys(initiatives).sort(this.sortStatus).map(item => {\n return initiatives[item];\n });\n return sortedRows;\n }\n case 'sources':\n {\n return (0, _table.sortInitiatives)(list, 'No Source', 'source', 'source');\n }\n case 'submitters':\n {\n return (0, _table.sortInitiatives)(list, 'No PM', 'submitter.id', 'submitter.name');\n }\n case 'customers':\n {\n return (0, _table.sortInitiatives)(list, 'No Customer', 'customer.id', 'customer.name', undefined, undefined, true);\n }\n case 'departments':\n {\n return (0, _table.sortInitiatives)(list, 'No Department', 'department.id', 'department.name', undefined, undefined, true);\n }\n case 'areas':\n {\n return (0, _table.sortInitiatives)(list, 'No Area', 'area.id', 'area.name', undefined, undefined, true);\n }\n case 'initiatives':\n {\n return (0, _table.sortInitiatives)(list, 'No Title', 'firstInitiative.id', 'firstInitiative.title');\n }\n case 'groups':\n {\n return (0, _table.sortInitiatives)(list, 'No Title', 'group.id', 'group.title');\n }\n case 'themes':\n {\n return (0, _table.sortInitiatives)(list, 'No Theme', 'theme.id', 'theme.title', undefined, undefined, true);\n }\n default:\n {\n return (0, _table.sortInitiatives)(list, 'No Status', 'status', 'status');\n }\n }\n }\n onGroupingSelect(e) {\n this.grouping = this.grouping === e.value ? '' : e.value;\n }\n generateIdeasTextDelta(ideas) {\n const delta = [];\n ideas.forEach((idea, index) => {\n if (index > 0) {\n delta.push({\n insert: '\\n'\n });\n }\n delta.push({\n insert: 'Idea - '\n });\n delta.push({\n attributes: {\n bold: true\n },\n insert: idea.title || ''\n });\n if (idea.description?.ops && Array.isArray(idea.description.ops)) {\n delta.push({\n insert: '\\n'\n });\n delta.push(...idea.description.ops);\n }\n delta.push({\n insert: `\\nStatus - ${idea.statusLabel}`\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const sourceValue = idea.sourceLabel || 'Not set';\n delta.push({\n insert: 'Source - '\n });\n delta.push({\n attributes: sourceValue === 'Not set' ? {\n italic: true\n } : {\n bold: true\n },\n insert: sourceValue\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const submitterName = idea.submitter?.content?.name || 'Unknown';\n delta.push({\n insert: 'Submitted by - '\n });\n delta.push({\n attributes: submitterName === 'Unknown' ? {\n italic: true\n } : {\n bold: true\n },\n insert: submitterName\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const createdDate = idea.created_at ? (0, _moment.default)(idea.created_at).format('MMM DD, YYYY') : '';\n delta.push({\n insert: 'Created At - '\n });\n if (createdDate) {\n delta.push({\n attributes: {\n bold: true\n },\n insert: createdDate\n });\n } else {\n delta.push({\n attributes: {\n italic: true\n },\n insert: 'Not set'\n });\n }\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const departments = idea.departments?.content?.map(d => d.name).join(', ') || '';\n delta.push({\n insert: 'Departments - '\n });\n delta.push({\n attributes: departments ? {\n bold: true\n } : {\n italic: true\n },\n insert: departments || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const areas = idea.areas?.content?.map(a => a.name).join(', ') || '';\n delta.push({\n insert: 'Product modules - '\n });\n delta.push({\n attributes: areas ? {\n bold: true\n } : {\n italic: true\n },\n insert: areas || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const deadlineValue = idea.deadline ? (0, _moment.default)(idea.deadline).format('MMM DD, YYYY') : 'Not set';\n delta.push({\n insert: 'Deadline - '\n });\n delta.push({\n attributes: deadlineValue === 'Not set' ? {\n italic: true\n } : {\n bold: true\n },\n insert: deadlineValue\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const themes = idea.themes?.content?.map(t => t.title).join(', ') || '';\n delta.push({\n insert: 'Tags - '\n });\n delta.push({\n attributes: themes ? {\n bold: true\n } : {\n italic: true\n },\n insert: themes || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const customers = idea.customers?.content?.map(c => c.name).join(', ') || '';\n delta.push({\n insert: 'Customers - '\n });\n delta.push({\n attributes: customers ? {\n bold: true\n } : {\n italic: true\n },\n insert: customers || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const revenueExisting = idea.revenue_existing || '';\n delta.push({\n insert: 'Revenue existing - '\n });\n delta.push({\n attributes: revenueExisting ? {\n bold: true\n } : {\n italic: true\n },\n insert: revenueExisting || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n const revenuePotential = idea.revenue_potential || '';\n delta.push({\n insert: 'Revenue potential - '\n });\n delta.push({\n attributes: revenuePotential ? {\n bold: true\n } : {\n italic: true\n },\n insert: revenuePotential || 'Not set'\n });\n delta.push({\n attributes: {\n list: 'bullet'\n },\n insert: '\\n'\n });\n });\n delta.push({\n insert: '\\n'\n });\n return {\n ops: delta\n };\n }\n async createInitiativeFromSelectedIdeas() {\n this.creatingInitiative = true;\n const ideas = this.selectedIdeas;\n if (ideas.length === 0) (false && !(false) && (0, _debug.assert)('No ideas were selected'));\n const ideaRecords = ideas.map(id => this.store.peekRecord('idea', id));\n const firstIdea = ideaRecords[0];\n const title = `Idea - ${firstIdea.title}`;\n const summaryDelta = this.generateIdeasTextDelta(ideaRecords);\n const initiative = this.store.createRecord('initiative', {\n title,\n status: 'DRAFT',\n summary: summaryDelta,\n ideas: ideaRecords\n });\n await initiative.save();\n this.router.transitionTo('backlog.initiatives.initiative', initiative.id);\n this.creatingInitiative = false;\n }\n populateIdeasList() {\n this.fetchIdeas.perform();\n }\n willDestroy() {\n this.processIsOngoing = false;\n super.willDestroy();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"dropdownService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"featureAccess\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"tableSort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"ideaStatuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"submitters\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"departments\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"areas\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"customers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"list\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"selectedIdeas\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"groups\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"creatingInitiative\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"processIsOngoing\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"refresher\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteIdea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteIdea\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSortSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSortSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFilterSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"anyDropdownFeatureIsAvailable\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"anyDropdownFeatureIsAvailable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onColumnSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onColumnSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleGroupSelection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGroupSelection\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"groupIsSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"groupIsSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGrouping\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createInitiativeFromSelectedIdeas\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createInitiativeFromSelectedIdeas\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"populateIdeasList\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"populateIdeasList\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/create\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/initiative\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service, _tracking, _initiative) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/initiative\",0,\"ember-concurrency\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableCreateController = _exports.default = (_class = class RoadmapTableCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"submittedOnce\", _descriptor2, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _initializerDefineProperty(this, \"isDisabled\", _descriptor3, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n this.afterSubmit(changeset);\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n }\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n afterSubmit() {\n const initiative_id = this.model.id;\n this.saveSettings.cancelAll();\n this.router.transitionTo('backlog.initiatives.initiative.description', initiative_id);\n }\n cancelAll() {\n this.saveSettings.cancelAll();\n }\n resetFormAndRedirect() {\n this.saveSettings.cancelAll();\n this.model.deleteRecord();\n this.router.transitionTo('backlog.initiatives');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"submittedOnce\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"afterSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"afterSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelAll\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelAll\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetFormAndRedirect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetFormAndRedirect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/index\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableIndexController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _class = class RoadmapTableIndexController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"favorite\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor5, this);\n _initializerDefineProperty(this, \"intl\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor8, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor9, this);\n _initializerDefineProperty(this, \"search\", _descriptor0, this);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor1, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor10, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'productManagers', 'teams', 'roadmaps', 'columns', 'goals', 'search', 'tableSort']);\n _initializerDefineProperty(this, \"grouping\", _descriptor11, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor12, this);\n _initializerDefineProperty(this, \"themes\", _descriptor13, this);\n _initializerDefineProperty(this, \"sources\", _descriptor14, this);\n _initializerDefineProperty(this, \"productManagers\", _descriptor15, this);\n _initializerDefineProperty(this, \"teams\", _descriptor16, this);\n _initializerDefineProperty(this, \"columns\", _descriptor17, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor18, this);\n _initializerDefineProperty(this, \"goals\", _descriptor19, this);\n _initializerDefineProperty(this, \"tableSort\", _descriptor20, this);\n _initializerDefineProperty(this, \"list\", _descriptor21, this);\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.productManagers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n handleRoadmapSelect(roadmaps) {\n this.roadmaps = roadmaps;\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n get columnOptions() {\n const columns = [...this.betaToggle.columnOptions];\n columns.forEach(item => {\n item.show = this.showColumn(item);\n });\n return columns.slice();\n }\n showColumn(column) {\n if (this.columns.length === 0) {\n if (column.show !== undefined) return column.show;\n return true;\n } else {\n return this.columns.includes(column.label);\n }\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n get initiatives() {\n return this.store.peekAll('initiative');\n }\n onColumnSelect(values) {\n this.columns = values;\n }\n setSearch(e) {\n this.search = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"productManagers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"goals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"tableSort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"list\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleRoadmapSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRoadmapSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onColumnSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onColumnSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSearch\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/utils/text-delta-is-empty\"], function (_exports, _controller, _object, _service, _textDeltaIsEmpty) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/utils/text-delta-is-empty\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _class = class RoadmapTableInitiativeController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor6, this);\n _initializerDefineProperty(this, \"store\", _descriptor7, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor8, this);\n }\n get initiative() {\n return this.model;\n }\n get tabs() {\n const tabs = [{\n label: this.intl.t('_initiatives.description'),\n route: 'backlog.initiatives.initiative.description',\n key: 'description'\n }, {\n label: this.intl.t('dictionary.artifact', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.artifacts',\n key: 'artifacts',\n hide: !this.betaService.showAiFeatures\n }, {\n label: this.intl.t('dictionary.notes'),\n route: 'backlog.initiatives.initiative.notes',\n key: 'notes'\n }, {\n label: this.intl.t('dictionary.investment', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.investments',\n key: 'investments'\n }, {\n label: this.intl.t('dictionary.returns', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.returns',\n key: 'returns'\n }, {\n label: this.intl.t('_initiatives.uncertainty', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.uncertainties',\n key: 'uncertainties'\n }, {\n label: this.intl.t('_initiatives.wfa', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.waiting-for-answers',\n key: 'waiting-for-answers'\n }, {\n label: this.intl.t('pages.document'),\n route: 'backlog.initiatives.initiative.document',\n key: 'document',\n hide: this.initiative.initiative_doc || (0, _textDeltaIsEmpty.default)(this.initiative.text_delta),\n external: this.initiative.initiative_doc\n }, {\n label: this.intl.t('_initiatives.weeks', {\n num: 2\n }),\n route: 'backlog.initiatives.initiative.weeks',\n key: 'weeks',\n hide: !this.betaService.showPlanning\n }, {\n label: this.intl.t('pages.workstreams'),\n route: 'backlog.initiatives.initiative.workstreams',\n key: 'workstreams',\n hide: !this.betaService.showWorkstreams\n }, {\n label: this.intl.t('dictionary.knowledge-base'),\n route: 'backlog.initiatives.initiative.knowledge-base.list',\n key: 'knowledge-base',\n hide: !this.betaService.showAiFeatures\n }];\n return tabs;\n }\n openPopOver() {\n this.initiativeSlideover.open(this.model.id);\n }\n isActive(tab) {\n return this.router.currentRouteName.includes(tab.key);\n }\n setInitiativeStatus(e) {\n this.initiative.status = e.value;\n this.initiative.save();\n }\n goToInitiative(e) {\n const currentRouteName = this.router.currentRoute.name;\n this.router.transitionTo(currentRouteName, e.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"openPopOver\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPopOver\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setInitiativeStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setInitiativeStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/artifacts\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/dateSort\"], function (_exports, _controller, _object, _service, _tracking, _dateSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dateSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeArtifactsController = _exports.default = (_class = class BacklogInitiativesInitiativeArtifactsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get artifacts() {\n let artifacts = (this.store.peekAll('artifact') ?? []).filter(artifact => artifact.initiative.get('id') === this.model.initiative.id).toSorted((a, b) => (0, _dateSort.default)(a.created_at, b.created_at, 'desc'));\n if (this.search) {\n artifacts = artifacts.filter(this.isAMatchCallback);\n }\n return artifacts;\n }\n deleteArtifact(artifact) {\n artifact.destroyRecord();\n }\n get isAMatchCallback() {\n if (!this.search) return () => true;\n return artifact => {\n return (artifact.name ?? '').toLowerCase().includes(this.search.toLowerCase());\n };\n }\n createArtifact() {\n const artifact = this.store.createRecord('artifact', {\n name: 'New Artifact',\n content: '***MARKDOWN CONTENT***',\n initiative: this.model.initiative,\n created_by: {\n type: 'PERSON',\n id: this.currentUser.id\n }\n });\n artifact.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteArtifact\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteArtifact\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createArtifact\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createArtifact\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"ember-lifeline\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/isNullOrUndefined\", \"scaleflow/utils/text-delta-is-empty\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"quill-image-resize\", \"quill\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"aws-amplify\"], function (_exports, _controller, _object, _emberLifeline, _service, _tracking, _isNullOrUndefined, _textDeltaIsEmpty, _quill2ImageUploader, _imageFormat, _quillImageResize, _quill, _registerIfNotRegistered, _uuid, _awsAmplify) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.BON_INIT = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"ember-lifeline\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"scaleflow/utils/text-delta-is-empty\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"quill-image-resize\",0,\"quill\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"aws-amplify\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const BON_INIT = _exports.BON_INIT = {\n value: undefined,\n notes: '',\n investments: {\n value: 0,\n calculations: []\n },\n returns: {\n value: 0,\n calculations: []\n }\n };\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n let RoadmapTableInitiativeBackOfANapkinController = _exports.default = (_class = class RoadmapTableInitiativeBackOfANapkinController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor3, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor4, this);\n _initializerDefineProperty(this, \"index\", _descriptor5, this);\n _initializerDefineProperty(this, \"editMode\", _descriptor6, this);\n _initializerDefineProperty(this, \"showBonSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"showPpwSlideover\", _descriptor8, this);\n _initializerDefineProperty(this, \"showInvestmentConfidenceSlideover\", _descriptor9, this);\n _initializerDefineProperty(this, \"showReturnConfidenceSlideover\", _descriptor0, this);\n _initializerDefineProperty(this, \"showUpsellValueSlideover\", _descriptor1, this);\n _initializerDefineProperty(this, \"showFteSlideover\", _descriptor10, this);\n _initializerDefineProperty(this, \"showClvSlideover\", _descriptor11, this);\n _initializerDefineProperty(this, \"formHasErrors\", _descriptor12, this);\n _defineProperty(this, \"queryParams\", ['editMode']);\n _initializerDefineProperty(this, \"bon\", _descriptor13, this);\n }\n get position() {\n return this.index + 1;\n }\n get bonValue() {\n return this.calculateBonValue(this.bon) ?? '-';\n }\n get formattedBon() {\n this.formatBon();\n return this.bon;\n }\n handleSubmit(e) {\n e.preventDefault();\n }\n get bodySelector() {\n return document.querySelector('body');\n }\n toggleEditMode() {\n this.editMode = !this.editMode;\n this.formatBon();\n if (this.editMode === true) {\n (0, _emberLifeline.runTask)(this, () => {\n document.querySelector('.bon-form').scrollIntoView({\n block: 'nearest',\n behavior: 'smooth'\n });\n });\n }\n }\n customTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.description === '' || !item.description) {\n hasErrors = true;\n document.getElementById(`${type}-custom-description-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-description-${index}`).classList.remove('input--error');\n if (item.value === '' || isNaN(+item.value)) {\n hasErrors = true;\n document.getElementById(`${type}-custom-value-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-value-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n investmentTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.weeks === '' || isNaN(item.weeks)) {\n hasErrors = true;\n document.getElementById(`${type}-weeks-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-weeks-${index}`).classList.remove('input--error');\n if (item.people === '' || isNaN(item.people)) {\n hasErrors = true;\n document.getElementById(`${type}-people-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-people-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n newCustomerTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.new_customers === '' || isNaN(item.new_customers)) {\n hasErrors = true;\n document.getElementById(`${type}-new-customers-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-new-customers-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n upsellTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.customers === '' || isNaN(item.customers)) {\n hasErrors = true;\n document.getElementById(`${type}-customers-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-customers-${index}`).classList.remove('input--error');\n if (item.upsell_value === '' || isNaN(item.upsell_value)) {\n hasErrors = true;\n document.getElementById(`${type}-upsell-value-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-upsell-value-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n costFteTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.ftes === '' || isNaN(item.ftes)) {\n hasErrors = true;\n document.getElementById(`${type}-ftes-${index}`).classList.add('input--error');\n }\n if (!hasErrors) {\n document.getElementById(`${type}-ftes-${index}`).classList.remove('input--error');\n }\n return hasErrors;\n }\n bonHasIncompleteTemplates() {\n const investments = this.bon.investments?.calculations;\n const returns = this.bon.returns?.calculations;\n let formsHaveError = [];\n investments?.forEach((item, index) => {\n if (item.type === 'custom') formsHaveError.push(this.customTemplateValidator('Investment', item, index));\n if (item.type === 'investment' || item.type === 'person-weeks-role') formsHaveError.push(this.investmentTemplateValidator('Investment', item, index));\n });\n returns?.forEach((item, index) => {\n if (item.type === 'custom') formsHaveError.push(this.customTemplateValidator('Return', item, index));\n if (item.type === 'new-customers') formsHaveError.push(this.newCustomerTemplateValidator('Return', item, index));\n if (item.type === 'upsell') formsHaveError.push(this.upsellTemplateValidator('Return', item, index));\n if (item.type === 'cost-fte') formsHaveError.push(this.costFteTemplateValidator('Return', item, index));\n });\n return formsHaveError.includes(true);\n }\n handleSave(e) {\n e.preventDefault();\n if (this.bonHasIncompleteTemplates()) return;\n this.bon.initiative = this.model;\n this.bon.value = this.calculateBonValue(this.bon);\n this.bon.save().then(() => {\n this.toggleEditMode();\n this.model.reload();\n });\n }\n handleNotesChange(e) {\n this.bon.notes = e.target.value;\n }\n calculateBonValue(bon) {\n if (((0, _isNullOrUndefined.default)(bon?.returns) || bon.returns?.value === 0 && bon.returns?.calculations?.length === 0) && ((0, _isNullOrUndefined.default)(bon?.investments) || bon.investments?.value === 0 && bon.investments?.calculations?.length === 0)) return undefined;else return (+bon.returns?.value || 0) - (+bon.investments?.value || 0);\n }\n updateBonInvestments(investments) {\n const bon = this.bon;\n if (bon.investments == undefined) bon.investments = {\n value: 0,\n calculations: []\n };\n bon.investments.calculations = investments.calculations;\n bon.investments.value = investments.calculations.reduce((acc, curr) => {\n return acc + (curr?.value || 0) * (curr?.confidence_value || 0);\n }, 0);\n const bonValue = this.calculateBonValue(bon);\n bon.value = bonValue;\n this.bon = bon;\n }\n updateBonReturns(returns) {\n const bon = this.bon;\n if (bon.returns == undefined) bon.returns = {\n value: 0,\n calculations: []\n };\n bon.returns.calculations = returns.calculations;\n bon.returns.value = returns.calculations.reduce((acc, curr) => {\n return acc + (curr?.value || 0) * (curr?.confidence_value || 0);\n }, 0);\n const bonValue = this.calculateBonValue(bon);\n bon.value = bonValue;\n this.bon = bon;\n }\n handleCancel() {\n if (!this.bon.id) {\n this.resetBon();\n this.toggleEditMode();\n return;\n }\n this.bon.rollbackAttributes();\n this.bon.reload().then(() => {\n this.bon.value = this.calculateBonValue(this.bon);\n this.toggleEditMode();\n });\n }\n toggleBonSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showBonSlideover = flag;else this.showBonSlideover = !this.showBonSlideover;\n }\n togglePpwSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showPpwSlideover = flag;else this.showPpwSlideover = !this.showPpwSlideover;\n }\n toggleInvestmentConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showInvestmentConfidenceSlideover = flag;else this.showInvestmentConfidenceSlideover = !this.showInvestmentConfidenceSlideover;\n }\n toggleReturnConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showReturnConfidenceSlideover = flag;else this.showReturnConfidenceSlideover = !this.showReturnConfidenceSlideover;\n }\n toggleUpsellValueSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showUpsellValueSlideover = flag;else this.showUpsellValueSlideover = !this.showUpsellValueSlideover;\n }\n toggleFteSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFteSlideover = flag;else this.showFteSlideover = !this.showFteSlideover;\n }\n toggleClvSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showClvSlideover = flag;else this.showClvSlideover = !this.showClvSlideover;\n }\n formatBon() {\n const bon = this.bon;\n if (bon.investments?.calculations) {\n bon.investments?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'investment' || item.type === 'person-weeks-role') {\n const value = +item?.price_person_week * +item?.weeks * +item?.people;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon.returns?.calculations) {\n bon.returns?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'cost-fte') {\n const value = +item?.ftes * +item?.price_person_week * +item?.horizon * 4;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'new-customers') {\n const value = +item?.new_customers * +item?.bon_clv;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'upsell') {\n const value = +item?.customers * +item.upsell_value;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon?.text_delta && bon?.text_delta?.ops && bon?.text_delta?.ops?.length === 1 && Object.keys(bon?.text_delta?.ops?.[0])?.length === 0) {\n bon.text_delta = {\n ops: []\n };\n }\n }\n resetBon() {\n const bon = this.bon;\n bon.initiative = this.model;\n bon.value = BON_INIT.value;\n bon.investments = {\n value: 0,\n calculations: []\n };\n bon.returns = {\n value: 0,\n calculations: []\n };\n bon.notes = BON_INIT.notes;\n this.bon = bon;\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n setDelta(e) {\n this.bon.text_delta = e;\n }\n get noSummaryOrDescription() {\n if (!this.model.description && (0, _textDeltaIsEmpty.default)(this.model.summary)) return true;\n return false;\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"index\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showBonSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showPpwSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showInvestmentConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"showReturnConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"showUpsellValueSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"showFteSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"showClvSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"formHasErrors\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"bon\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n value: undefined,\n notes: '',\n text_delta: {\n ops: []\n },\n investments: {\n value: 0,\n calculations: []\n },\n returns: {\n value: 0,\n calculations: []\n }\n };\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"bonHasIncompleteTemplates\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bonHasIncompleteTemplates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleNotesChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleNotesChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateBonInvestments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateBonInvestments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateBonReturns\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateBonReturns\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleBonSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleBonSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePpwSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePpwSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleUpsellValueSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleUpsellValueSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFteSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFteSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleClvSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleClvSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"formatBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"formatBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/description\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"aws-amplify\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"scaleflow/utils/quill-extenstions/markdown-format\", \"quill\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"scaleflow/validators/initiative\"], function (_exports, _controller, _object, _service, _tracking, _awsAmplify, _quill2ImageUploader, _imageFormat, _markdownFormat, _quill, _quillImageResize, _registerIfNotRegistered, _uuid, _initiative) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"aws-amplify\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"scaleflow/utils/quill-extenstions/markdown-format\",0,\"quill\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"scaleflow/validators/initiative\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/markdown', _markdownFormat.default);\n let BacklogInitiativesInitiativeDescriptionController = _exports.default = (_class = class BacklogInitiativesInitiativeDescriptionController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _defineProperty(this, \"queryParams\", ['editMode']);\n _initializerDefineProperty(this, \"editMode\", _descriptor2, this);\n }\n get bon() {\n return this.model;\n }\n setDelta(changeset, e) {\n changeset.set('summary', e);\n }\n handleBlur(changeset) {\n //if page is not navigating away\n if (changeset.get('isPristine') === true) {\n this.isDisabled = true;\n } else if (changeset.get('isValid') === true) {\n this.isDisabled = false;\n } else {\n this.isDisabled = true;\n }\n }\n toggleEditMode() {\n this.editMode = !this.editMode;\n }\n handleProjectDescriptionSave(changeset) {\n changeset.save();\n this.toggleEditMode();\n }\n handleProjectDescriptionCancel(changeset) {\n changeset.rollback();\n this.toggleEditMode();\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n modules.markdown = true;\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleProjectDescriptionSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleProjectDescriptionSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleProjectDescriptionCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleProjectDescriptionCancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/document\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"quill\", \"quill-magic-url\", \"aws-amplify\", \"quill2-image-uploader\", \"quill-cursors\", \"@glimmer/tracking\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/clipboard\", \"scaleflow/utils/quill-extenstions/image-format\", \"scaleflow/utils/quill-extenstions/custom-icons\", \"scaleflow/utils/quill-extenstions/hr\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"tippy.js\", \"scaleflow/utils/dateSort\", \"scaleflow/utils/text-delta-is-empty\", \"scaleflow/utils/initiative-template\"], function (_exports, _controller, _object, _service, _quill, _quillMagicUrl, _awsAmplify, _quill2ImageUploader, _quillCursors, _tracking, _quillImageResize, _clipboard, _imageFormat, _customIcons, _hr, _registerIfNotRegistered, _uuid, _tippy, _dateSort, _textDeltaIsEmpty, _initiativeTemplate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"quill\",0,\"quill-magic-url\",0,\"aws-amplify\",0,\"quill2-image-uploader\",0,\"quill-cursors\",0,\"@glimmer/tracking\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/clipboard\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"scaleflow/utils/quill-extenstions/custom-icons\",0,\"scaleflow/utils/quill-extenstions/hr\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"tippy.js\",0,\"scaleflow/utils/dateSort\",0,\"scaleflow/utils/text-delta-is-empty\",0,\"scaleflow/utils/initiative-template\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n _quill.default.register('formats/image', _imageFormat.default, true);\n _quill.default.register('modules/clipboard', _clipboard.default, true);\n _quill.default.register('modules/magicUrl', _quillMagicUrl.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/cursors', _quillCursors.default);\n const icons = _quill.default.import('ui/icons');\n icons.hr = _customIcons.hrIcon;\n _quill.default.register({\n 'formats/hr': _hr.default\n });\n let RoadmapTableInitiativeDocumentController = _exports.default = (_dec = (0, _service.service)('quill'), _dec2 = (0, _service.service)('beta-toggle'), _dec3 = (0, _service.service)('table-of-contents'), _dec4 = (0, _service.service)('currentUser'), _class = class RoadmapTableInitiativeDocumentController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"quillService\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"tocService\", _descriptor4, this);\n _initializerDefineProperty(this, \"store\", _descriptor5, this);\n _initializerDefineProperty(this, \"currentUserService\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"intl\", _descriptor8, this);\n _initializerDefineProperty(this, \"isLoading\", _descriptor9, this);\n _initializerDefineProperty(this, \"editMode\", _descriptor0, this);\n _initializerDefineProperty(this, \"slideoverIsOpen\", _descriptor1, this);\n _initializerDefineProperty(this, \"documentVersions\", _descriptor10, this);\n _initializerDefineProperty(this, \"selectedVersion\", _descriptor11, this);\n _initializerDefineProperty(this, \"showNotification\", _descriptor12, this);\n _defineProperty(this, \"latestVersion\", null);\n _defineProperty(this, \"notificationTimeout\", null);\n _defineProperty(this, \"initiativeDocVersionAdapter\", this.store.adapterFor('initiative-document-version'));\n _defineProperty(this, \"originalTextDelta\", null);\n _defineProperty(this, \"editor\", null);\n _defineProperty(this, \"timeout\", 3000);\n _defineProperty(this, \"editorId\", 'initiative-document');\n _defineProperty(this, \"options\", {\n placeholder: this.intl.t('_initiatives.start-here'),\n theme: 'bubble',\n bounds: `#${this.editorId}`,\n // formats: ['style'],\n modules: {\n toolbar: {\n container: [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'clean', 'image'],\n // remove formatting button\n ['hr']],\n handlers: {\n hr: this.customHrHandler\n // image: this.imageHandler,\n }\n },\n cursors: true,\n imageUploader: {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => s3Link);\n }\n },\n imageResize: {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n },\n magicUrl: true\n }\n });\n _defineProperty(this, \"totalPeers\", null);\n }\n get modules() {\n return {\n toolbar: {\n container: [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'clean'],\n // remove formatting button\n ['hr']],\n handlers: {\n hr: this.customHrHandler\n },\n magicUrl: true\n }\n };\n }\n get theme() {\n return 'bubble';\n }\n get disabledEditorInstance() {\n return this.quillService.instance(this.editorId);\n }\n get text_delta() {\n return this.model.text_delta;\n }\n get versions() {\n return this.store.peekAll('initiative-document-version').filter(item => item.get('initiative.id') === this.model.id).sort((a, b) => (0, _dateSort.default)(a.created_at, b.created_at)).reverse();\n }\n handleSlideoverOpen() {\n this.openSlideover();\n }\n toggleShowNotification() {\n clearTimeout(this.notificationTimeout);\n this.showNotification = !this.showNotification;\n if (this.showNotification === true) this.notificationTimeout = setTimeout(() => this.toggleShowNotification(), 5000);\n }\n openSlideover() {\n this.slideoverIsOpen = true;\n this.hideTippy();\n }\n closeSlideover() {\n this.slideoverIsOpen = false;\n }\n hideTippy() {\n (0, _tippy.hideAll)();\n }\n onTextChange() {\n this.model.text_delta = this.editor.getContents();\n }\n onEditorChange(e) {\n if (!this.selectedVersion) this.model.text_delta = e;\n }\n customHrHandler() {\n // get the position of the cursor\n const range = this.editor.getSelection();\n if (range) {\n // insert the
    where the cursor is\n this.editor.insertEmbed(range.index, 'hr', 'null');\n }\n }\n saveDoc() {\n this.model.save();\n }\n imageUploadHandler(file) {\n _awsAmplify.Auth.Credentials.set(this.currentUserService.currentSession, 'session');\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }\n async toggleEditMode() {\n if (this.editMode === true) {\n this.model.save();\n }\n //it was read only\n if (this.editMode === false) {\n await this.createVersion();\n }\n this.editMode = !this.editMode;\n }\n cancelEdit() {\n this.model.text_delta = this.latestVersion.text_delta;\n this.editMode = !this.editMode;\n }\n async createVersion() {\n const document = this.store.createRecord('initiative-document-version');\n document.initiative = this.model;\n document.text_delta = this.model.text_delta;\n document.save();\n this.latestVersion = document;\n }\n loadVersionsList() {\n this.model.reload({\n include: 'workstream'\n });\n }\n async restoreVersion(version) {\n await this.initiativeDocVersionAdapter.restoreVersion({\n version_id: version.id,\n initiative_id: this.model.id\n });\n this.model.text_delta = version.text_delta;\n this.closeSlideover();\n this.selectedVersion = null;\n this.originalTextDelta = this.model.text_delta;\n this.loadVersionsList();\n this.toggleShowNotification();\n }\n initiateEditor() {\n setTimeout(() => {\n const editorInstance = this.quillService.instance(this.editorId);\n editorInstance.clipboard.addMatcher('IMG', () => {\n const Delta = _quill.default.import('delta');\n return new Delta().insert('');\n });\n editorInstance.clipboard.addMatcher('PICTURE', () => {\n const Delta = _quill.default.import('delta');\n return new Delta().insert('');\n });\n this.editor = editorInstance;\n this.originalTextDelta = this.model.text_delta;\n }, 0);\n }\n populateEditorWithSelectedVersion() {\n if (this.selectedVersion) {\n this.model.text_delta = this.selectedVersion.text_delta;\n } else {\n this.model.text_delta = this.originalTextDelta;\n }\n }\n onVersionItemClick(version) {\n this.selectedVersion = version;\n this.editMode = false;\n }\n restoreToCurrentVersion() {\n this.selectedVersion = null;\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n get showLoadTemplateButton() {\n return this.editMode && (0, _textDeltaIsEmpty.default)(this.text_delta);\n }\n loadTemplate() {\n this.model.text_delta = _initiativeTemplate.initiative_doc_template;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"quillService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"tocService\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"currentUserService\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"slideoverIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"documentVersions\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"selectedVersion\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"showNotification\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleShowNotification\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleShowNotification\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideTippy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTextChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTextChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onEditorChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onEditorChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"customHrHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"customHrHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveDoc\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveDoc\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelEdit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelEdit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createVersion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createVersion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadVersionsList\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadVersionsList\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restoreVersion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreVersion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiateEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiateEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"populateEditorWithSelectedVersion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"populateEditorWithSelectedVersion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onVersionItemClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onVersionItemClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restoreToCurrentVersion\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreToCurrentVersion\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadTemplate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadTemplate\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/investments\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/isNullOrUndefined\", \"scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin\"], function (_exports, _controller, _object, _service, _tracking, _isNullOrUndefined, _backOfANapkin) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeInvestmentsController = _exports.default = (_class = class BacklogInitiativesInitiativeInvestmentsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"editMode\", _descriptor2, this);\n _initializerDefineProperty(this, \"showInvestmentConfidenceSlideover\", _descriptor3, this);\n _initializerDefineProperty(this, \"showPpwSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"bon\", _descriptor5, this);\n }\n updateBonInvestments(investments) {\n const bon = this.bon;\n if (bon.investments == undefined) bon.investments = {\n value: 0,\n calculations: []\n };\n bon.investments.calculations = investments.calculations;\n bon.investments.value = investments.calculations.reduce((acc, curr) => {\n return acc + (curr?.value || 0) * (curr?.confidence_value || 0);\n }, 0);\n const bonValue = this.calculateBonValue(bon);\n bon.value = bonValue;\n this.bon = bon;\n }\n calculateBonValue(bon) {\n if (((0, _isNullOrUndefined.default)(bon?.returns) || bon.returns?.value === 0 && bon.returns?.calculations?.length === 0) && ((0, _isNullOrUndefined.default)(bon?.investments) || bon.investments?.value === 0 && bon.investments?.calculations?.length === 0)) return undefined;else return (+bon.returns?.value || 0) - (+bon.investments?.value || 0);\n }\n bonHasIncompleteTemplates() {\n const investments = this.bon.investments?.calculations;\n let formsHaveError = [];\n investments?.forEach((item, index) => {\n if (item.type === 'custom') formsHaveError.push(this.customTemplateValidator('Investment', item, index));\n if (item.type === 'investment' || item.type === 'person-weeks-role') formsHaveError.push(this.investmentTemplateValidator('Investment', item, index));\n });\n return formsHaveError.includes(true);\n }\n toggleInvestmentConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showInvestmentConfidenceSlideover = flag;else this.showInvestmentConfidenceSlideover = !this.showInvestmentConfidenceSlideover;\n }\n togglePpwSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showPpwSlideover = flag;else this.showPpwSlideover = !this.showPpwSlideover;\n }\n formatBon() {\n const bon = this.bon;\n if (bon.investments?.calculations) {\n bon.investments?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'investment' || item.type === 'person-weeks-role') {\n const value = +item?.price_person_week * +item?.weeks * +item?.people;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon.returns?.calculations) {\n bon.returns?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'cost-fte') {\n const value = +item?.ftes * +item?.price_person_week * +item?.horizon * 4;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'new-customers') {\n const value = +item?.new_customers * +item?.bon_clv;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'upsell') {\n const value = +item?.customers * +item.upsell_value;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon?.text_delta && bon?.text_delta?.ops && bon?.text_delta?.ops?.length === 1 && Object.keys(bon?.text_delta?.ops?.[0])?.length === 0) {\n bon.text_delta = {\n ops: []\n };\n }\n }\n customTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.description === '' || !item.description) {\n hasErrors = true;\n document.getElementById(`${type}-custom-description-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-description-${index}`).classList.remove('input--error');\n if (item.value === '' || isNaN(+item.value)) {\n hasErrors = true;\n document.getElementById(`${type}-custom-value-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-value-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n investmentTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.weeks === '' || isNaN(item.weeks)) {\n hasErrors = true;\n document.getElementById(`${type}-weeks-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-weeks-${index}`).classList.remove('input--error');\n if (item.people === '' || isNaN(item.people)) {\n hasErrors = true;\n document.getElementById(`${type}-people-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-people-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n toggleEditMode(val = undefined) {\n if (val === undefined) this.editMode = !this.editMode;else this.editMode = val;\n this.formatBon();\n }\n async resetBon() {\n if (!this.bon.id) {\n const bon = {};\n bon.initiative = this.model;\n bon.value = _backOfANapkin.BON_INIT.value;\n bon.investments = {\n value: 0,\n calculations: []\n };\n bon.returns = {\n value: 0,\n calculations: []\n };\n bon.notes = _backOfANapkin.BON_INIT.notes;\n this.bon = bon;\n } else {\n this.bon.rollbackAttributes();\n const bon = await this.store.findRecord('bon', this.bon.id, {\n reload: true\n });\n this.bon = bon;\n }\n this.toggleEditMode();\n }\n handleSave(e) {\n e.preventDefault();\n if (this.bonHasIncompleteTemplates()) return;\n this.bon.initiative = this.model;\n this.bon.value = this.calculateBonValue(this.bon);\n this.bon.save().then(() => {\n this.toggleEditMode();\n this.model.reload();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showInvestmentConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showPpwSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"bon\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n value: undefined,\n notes: '',\n text_delta: {\n ops: []\n },\n investments: {\n value: 0,\n calculations: []\n },\n returns: {\n value: 0,\n calculations: []\n }\n };\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"updateBonInvestments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateBonInvestments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"bonHasIncompleteTemplates\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bonHasIncompleteTemplates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInvestmentConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePpwSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePpwSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"formatBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"formatBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSave\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/knowledge-base/file/file-name\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/aws-clients/s3VDRClient\"], function (_exports, _controller, _object, _service, _tracking, _s3VDRClient) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/aws-clients/s3VDRClient\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeKnowledgeBaseFileFileNameController = _exports.default = (_class = class BacklogInitiativesInitiativeKnowledgeBaseFileFileNameController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"progress\", _descriptor2, this);\n _initializerDefineProperty(this, \"downloading\", _descriptor3, this);\n }\n async handleDownloadRequest(fileName) {\n const downloader = _s3VDRClient.s3VdrClient.downloadFileWithProgress(fileName);\n this.downloading = true;\n let downloadedBlob = null;\n for await (const {\n blob,\n progress\n } of downloader) {\n this.progress = progress;\n if (blob) downloadedBlob = blob;\n }\n\n /**\n * Alternate way to handle the async generator, for funsies\n */\n // while(!downloadedBlob){\n // const {value} = await downloader.next();\n // console.log(\"Progress:\", value);\n // this.progress = value.progress;\n // if(value.blob) downloadedBlob = value.blob;\n // }\n\n const fileUrl = URL.createObjectURL(downloadedBlob);\n const link = document.createElement('a');\n link.href = fileUrl;\n link.download = this.model.file_name.split('/').pop() || 'download';\n document.body.appendChild(link);\n\n // Trigger the download\n link.click();\n document.body.removeChild(link);\n this.downloading = false;\n this.progress = 0;\n }\n get fileName() {\n return this.model.file_name;\n }\n get formattedFileName() {\n return this.model.file_name.split('/').pop();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"progress\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"downloading\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleDownloadRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDownloadRequest\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/knowledge-base/list\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeKnowledgeBaseListController = _exports.default = (_class = class BacklogInitiativesInitiativeKnowledgeBaseListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get idToken() {\n return this.session.data.authenticated?.details?.idToken;\n }\n get tenantId() {\n return this.session.activeTenantId;\n }\n get initiative() {\n return this.model;\n }\n get sourceURL() {\n //return `http://localhost:5173/backlog/initiatives/${this.initiative.id}/knowledge-base/list`;\n return `https://feature-custom-authorization.d249m2t47x8doi.amplifyapp.com/backlog/initiatives/${this.initiative.id}/knowledge-base/list`;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/notes\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\", \"aws-amplify\", \"quill2-image-uploader\", \"scaleflow/utils/quill-extenstions/image-format\", \"quill\", \"quill-image-resize\", \"scaleflow/utils/quill-extenstions/registerIfNotRegistered\", \"uuid\", \"@ember/service\"], function (_exports, _controller, _object, _tracking, _awsAmplify, _quill2ImageUploader, _imageFormat, _quill, _quillImageResize, _registerIfNotRegistered, _uuid, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"aws-amplify\",0,\"quill2-image-uploader\",0,\"scaleflow/utils/quill-extenstions/image-format\",0,\"quill\",0,\"quill-image-resize\",0,\"scaleflow/utils/quill-extenstions/registerIfNotRegistered\",0,\"uuid\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n _quill.default.register('formats/image', _imageFormat.default, true);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageUploader', _quill2ImageUploader.default);\n (0, _registerIfNotRegistered.default)(_quill.default, 'modules/imageResize', _quillImageResize.default);\n let BacklogInitiativesInitiativeNotesController = _exports.default = (_class = class BacklogInitiativesInitiativeNotesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['editMode']);\n _initializerDefineProperty(this, \"editMode\", _descriptor2, this);\n }\n handleBonNotesSave(changeset) {\n changeset.save();\n this.toggleEditMode();\n }\n handleBonNotesCancel(changeset) {\n changeset.rollback();\n this.toggleEditMode();\n }\n get bon() {\n return this.model;\n }\n setBonDelta(changeset, e) {\n changeset.set('text_delta', e);\n }\n toggleEditMode() {\n this.editMode = !this.editMode;\n }\n get modules() {\n const modules = {};\n modules.imageUploader = {\n upload: file => {\n return this.imageUploadHandler(file).then(s3Link => {\n return s3Link;\n });\n }\n };\n modules.imageResize = {\n modules: ['Resize', 'DisplaySize', 'Toolbar']\n };\n let toolbarOptions = [['bold', 'italic', 'strike'],\n // toggled buttons\n ['blockquote', 'code-block'], [{\n header: 1\n }, {\n header: 2\n }],\n // custom button values\n [{\n list: 'ordered'\n }, {\n list: 'bullet'\n }, {\n list: 'check'\n }], ['link', 'image', 'clean'] // remove formatting button\n ];\n modules.toolbar = toolbarOptions;\n return modules;\n }\n imageUploadHandler(file) {\n return _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session').then(() => {\n return new Promise((res, rej) => {\n try {\n const id = (0, _uuid.v4)();\n _awsAmplify.Storage.put(`${id}-${file.name}`, file).then(async ({\n key\n }) => {\n const signedUrl = await _awsAmplify.Storage.get(key);\n res(signedUrl);\n });\n } catch (err) {\n rej(err);\n }\n });\n }).catch(err => console.log(err));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleBonNotesSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBonNotesSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBonNotesCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBonNotesCancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setBonDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBonDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"imageUploadHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageUploadHandler\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/planning/weeks\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativePlanningWeeklyGoalsController = _exports.default = (_class = class RoadmapTableInitiativePlanningWeeklyGoalsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor2, this);\n }\n get uncertainties() {\n return this.store.peekAll('uncertainty').filter(item => item?.initiative.get('id') === this.model.id);\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/planning/workstream/archive\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class RoadmapTableInitiativeWorkstreamsWorkstreamArchiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"visibleBadges\", ['teams', 'weeks']);\n }\n }\n _exports.default = RoadmapTableInitiativeWorkstreamsWorkstreamArchiveController;\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/planning/workstreams\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativePlanningWorkstreamsController = _exports.default = (_dec = (0, _service.service)('current-user'), _dec2 = (0, _service.service)('beta-toggle'), _class = class RoadmapTableInitiativePlanningWorkstreamsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"router\", _descriptor5, this);\n _initializerDefineProperty(this, \"workstreams\", _descriptor6, this);\n _initializerDefineProperty(this, \"workstream_form\", _descriptor7, this);\n _initializerDefineProperty(this, \"showCreateModal\", _descriptor8, this);\n _defineProperty(this, \"visibleBadges\", ['teams', 'weeks', 'delay']);\n _defineProperty(this, \"catchAllBadges\", ['teams', 'weeks', 'delay', 'workstreams']);\n }\n get catchAllItems() {\n return this.store.peekAll('tfo').filter(item => {\n const workstream = item.get('workstream');\n const initiative = item?.initiative.get('id');\n if (!workstream.isTruthy && initiative === this.model.id && !item.archived) return true;else return false;\n });\n }\n async addWorkstream(changeset) {\n if (changeset.title && changeset?.title?.trim()?.length <= 0) return;\n if (this.workstreams.slice().map(item => item.title).includes(changeset.title)) return;\n try {\n this.workstream_form.title = changeset.title.trim();\n this.workstream_form.position = 1;\n this.workstream_form.initiative = this.model;\n this.workstream_form.author = await this.currentUser.getActiveUser();\n this.workstream_form.save().then(() => {\n this.toggleModal(false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n }\n toggleModal(val = false) {\n this.showCreateModal = val;\n if (val === false) {\n this.workstream_form = null;\n } else {\n this.workstream_form = this.store.createRecord('workstream');\n document.querySelector('#title')?.focus();\n }\n }\n onSubmit(e) {\n e.preventDefault();\n document.querySelector('#save-workstream').click();\n }\n handleWorkstreamEdit(workstream) {\n this.workstream_form = workstream;\n this.showCreateModal = true;\n document.querySelector('#title')?.focus();\n }\n get isEditingWorkstream() {\n return !this.workstream_form?.id;\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n archiveAllCheckedItems() {\n const tfos = this.store.peekAll('tfo').slice().filter(item => item.initiative.get('id') === this.model.id && item.completed === true);\n tfos.forEach(item => {\n item.archived = true;\n item.save();\n });\n this.hideTippy();\n }\n goToWorkstreamArchives(id) {\n const workstream = this.store.peekRecord('workstream', id);\n this.router.transitionTo('backlog.initiatives.initiative.planning.workstreams.workstream.archive', this.model.id, workstream.id);\n this.hideTippy();\n }\n onArchiveTippyCreate(instance) {\n this.archiveTippyInstance = instance;\n }\n hideTippy() {\n this.archiveTippyInstance?.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"workstreams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"workstream_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showCreateModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"addWorkstream\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addWorkstream\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleWorkstreamEdit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleWorkstreamEdit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveAllCheckedItems\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveAllCheckedItems\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToWorkstreamArchives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToWorkstreamArchives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onArchiveTippyCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onArchiveTippyCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideTippy\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/returns\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/utils/isNullOrUndefined\", \"scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin\", \"@ember/service\"], function (_exports, _controller, _object, _tracking, _isNullOrUndefined, _backOfANapkin, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/isNullOrUndefined\",0,\"scaleflow/controllers/backlog/initiatives/initiative/back-of-a-napkin\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeReturnsController = _exports.default = (_class = class BacklogInitiativesInitiativeReturnsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"editMode\", _descriptor2, this);\n _initializerDefineProperty(this, \"showReturnConfidenceSlideover\", _descriptor3, this);\n _initializerDefineProperty(this, \"showUpsellValueSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"showFteSlideover\", _descriptor5, this);\n _initializerDefineProperty(this, \"showClvSlideover\", _descriptor6, this);\n _initializerDefineProperty(this, \"showCustomerValuesSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"bon\", _descriptor8, this);\n }\n toggleReturnConfidenceSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showReturnConfidenceSlideover = flag;else this.showReturnConfidenceSlideover = !this.showReturnConfidenceSlideover;\n }\n toggleClvSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showClvSlideover = flag;else this.showClvSlideover = !this.showClvSlideover;\n }\n toggleCustomerValuesSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showCustomerValuesSlideover = flag;else this.showCustomerValuesSlideover = !this.showCustomerValuesSlideover;\n }\n toggleFteSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFteSlideover = flag;else this.showFteSlideover = !this.showFteSlideover;\n }\n toggleUpsellValueSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showUpsellValueSlideover = flag;else this.showUpsellValueSlideover = !this.showUpsellValueSlideover;\n }\n toggleBonSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showBonSlideover = flag;else this.showBonSlideover = !this.showBonSlideover;\n }\n togglePpwSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showPpwSlideover = flag;else this.showPpwSlideover = !this.showPpwSlideover;\n }\n updateBonReturns(returns) {\n const bon = this.bon;\n if (bon.returns == undefined) bon.returns = {\n value: 0,\n calculations: []\n };\n bon.returns.calculations = returns.calculations;\n bon.returns.value = returns.calculations.reduce((acc, curr) => {\n return acc + (curr?.value || 0) * (curr?.confidence_value || 0);\n }, 0);\n const bonValue = this.calculateBonValue(bon);\n bon.value = bonValue;\n this.bon = bon;\n }\n calculateBonValue(bon) {\n if (((0, _isNullOrUndefined.default)(bon?.returns) || bon.returns?.value === 0 && bon.returns?.calculations?.length === 0) && ((0, _isNullOrUndefined.default)(bon?.investments) || bon.investments?.value === 0 && bon.investments?.calculations?.length === 0)) return undefined;else return (+bon.returns?.value || 0) - (+bon.investments?.value || 0);\n }\n newCustomerTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.new_customers === '' || isNaN(item.new_customers)) {\n hasErrors = true;\n document.getElementById(`${type}-new-customers-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-new-customers-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n newCustomerV2TemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.new_customers === '' || isNaN(item.new_customers)) {\n hasErrors = true;\n document.getElementById(`${type}-new-customers-v2-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-new-customers-v2-${index}`).classList.remove('input--error');\n if (!item.bon_clv || isNaN(item.bon_clv)) {\n hasErrors = true;\n document.getElementById(`${type}-customer-values-dropdown-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-customer-values-dropdown-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n upsellTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.customers === '' || isNaN(item.customers)) {\n hasErrors = true;\n document.getElementById(`${type}-customers-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-customers-${index}`).classList.remove('input--error');\n if (item.upsell_value === '' || isNaN(item.upsell_value)) {\n hasErrors = true;\n document.getElementById(`${type}-upsell-value-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-upsell-value-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n costFteTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.ftes === '' || isNaN(item.ftes)) {\n hasErrors = true;\n document.getElementById(`${type}-ftes-${index}`).classList.add('input--error');\n }\n if (!hasErrors) {\n document.getElementById(`${type}-ftes-${index}`).classList.remove('input--error');\n }\n return hasErrors;\n }\n bonHasIncompleteTemplates() {\n const returns = this.bon.returns?.calculations;\n let formsHaveError = [];\n returns?.forEach((item, index) => {\n if (item.type === 'custom') formsHaveError.push(this.customTemplateValidator('Return', item, index));\n if (item.type === 'new-customers') formsHaveError.push(this.newCustomerTemplateValidator('Return', item, index));\n if (item.type === 'new-customers-v2') formsHaveError.push(this.newCustomerV2TemplateValidator('Return', item, index));\n if (item.type === 'upsell') formsHaveError.push(this.upsellTemplateValidator('Return', item, index));\n if (item.type === 'cost-fte') formsHaveError.push(this.costFteTemplateValidator('Return', item, index));\n });\n return formsHaveError.includes(true);\n }\n formatBon() {\n const bon = this.bon;\n if (bon.investments?.calculations) {\n bon.investments?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'investment' || item.type === 'person-weeks-role') {\n const value = +item?.price_person_week * +item?.weeks * +item?.people;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon.returns?.calculations) {\n bon.returns?.calculations.forEach(item => {\n if (item.type === 'custom') return;\n if (item.type === 'cost-fte') {\n const value = +item?.ftes * +item?.price_person_week * +item?.horizon * 4;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'new-customers' || item.type === 'new-customers-v2') {\n const value = +item?.new_customers * +item?.bon_clv;\n item.value = isNaN(value) ? null : value;\n }\n if (item.type === 'upsell') {\n const value = +item?.customers * +item.upsell_value;\n item.value = isNaN(value) ? null : value;\n }\n });\n }\n if (bon?.text_delta && bon?.text_delta?.ops && bon?.text_delta?.ops?.length === 1 && Object.keys(bon?.text_delta?.ops?.[0])?.length === 0) {\n bon.text_delta = {\n ops: []\n };\n }\n }\n customTemplateValidator(type, item, index) {\n let hasErrors = false;\n if (item.description === '' || !item.description) {\n hasErrors = true;\n document.getElementById(`${type}-custom-description-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-description-${index}`).classList.remove('input--error');\n if (item.value === '' || isNaN(+item.value)) {\n hasErrors = true;\n document.getElementById(`${type}-custom-value-${index}`).classList.add('input--error');\n } else document.getElementById(`${type}-custom-value-${index}`).classList.remove('input--error');\n return hasErrors;\n }\n toggleEditMode(val = undefined) {\n if (val === undefined) this.editMode = !this.editMode;else this.editMode = val;\n this.formatBon();\n }\n async resetBon() {\n if (!this.bon.id) {\n const bon = {};\n bon.initiative = this.model;\n bon.value = _backOfANapkin.BON_INIT.value;\n bon.investments = {\n value: 0,\n calculations: []\n };\n bon.returns = {\n value: 0,\n calculations: []\n };\n bon.notes = _backOfANapkin.BON_INIT.notes;\n this.bon = bon;\n } else {\n this.bon.rollbackAttributes();\n const bon = await this.store.findRecord('bon', this.bon.id, {\n reload: true\n });\n this.bon = bon;\n }\n this.toggleEditMode();\n }\n handleSave(e) {\n e.preventDefault();\n if (this.bonHasIncompleteTemplates()) return;\n this.bon.initiative = this.model;\n this.bon.value = this.calculateBonValue(this.bon);\n this.bon.save().then(() => {\n this.toggleEditMode();\n this.model.reload();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showReturnConfidenceSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showUpsellValueSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showFteSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"showClvSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showCustomerValuesSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"bon\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n value: undefined,\n notes: '',\n text_delta: {\n ops: []\n },\n investments: {\n value: 0,\n calculations: []\n },\n returns: {\n value: 0,\n calculations: []\n }\n };\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleReturnConfidenceSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleClvSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleClvSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCustomerValuesSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCustomerValuesSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFteSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFteSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleUpsellValueSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleUpsellValueSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleBonSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleBonSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePpwSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePpwSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateBonReturns\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateBonReturns\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"bonHasIncompleteTemplates\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"bonHasIncompleteTemplates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"formatBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"formatBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEditMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEditMode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetBon\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetBon\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSave\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/settings\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/initiative\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service, _initiative) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/initiative\",0,\"ember-concurrency\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeSettingsController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class BacklogInitiativesInitiativeSettingsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n //EMber changeset throws an error when trying to save a model with async belongs to relationships\n this.setBelongsToRelationships(changeset);\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n }\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.saveSettings.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n resetForm(changeset, e) {\n e.preventDefault();\n changeset.rollback();\n }\n setBelongsToRelationships(changeset) {\n const theme = changeset.get('theme');\n const pm = changeset.get('productManager');\n if (theme?.content) {\n changeset.set('theme', theme.content);\n }\n if (pm?.content) {\n changeset.set('productManager', pm.content);\n }\n }\n async deleteInitiative() {\n try {\n this.router.replaceWith('backlog.initiatives');\n this.model.destroyRecord();\n } catch (err) {\n console.log(err);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setBelongsToRelationships\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBelongsToRelationships\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/settings/general-details\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/initiative\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service, _initiative) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/initiative\",0,\"ember-concurrency\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeSettingsGeneralDetailsController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class RoadmapTableInitiativeSettingsGeneralDetailsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n }\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.saveSettings.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n resetForm(changeset, e) {\n e.preventDefault();\n changeset.rollback();\n }\n deleteInitiative() {\n this.model.destroyRecord().then(() => this.router.transitionTo('backlog.initiatives'));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/settings/planning-and-people\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"scaleflow/validators/initiative\", \"@ember/object\"], function (_exports, _asyncArrowRuntime, _controller, _initiative, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"scaleflow/validators/initiative\",0,\"ember-concurrency\",0,\"@ember/object\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let RoadmapTableInitiativeSettingsPlanningAndPeopleController = _exports.default = (_class = class RoadmapTableInitiativeSettingsPlanningAndPeopleController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"initiativeValidations\", _initiative.default);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n }\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.saveSettings.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n resetForm(changeset, e) {\n e.preventDefault();\n changeset.rollback();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/settings/strategy\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"ember-concurrency\",0,\"@ember/service\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeSettingsStrategyController = _exports.default = (_class = class RoadmapTableInitiativeSettingsStrategyController extends _controller.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"initiativeValidations\", this.initiativeValidations);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _defineProperty(this, \"saveSettings\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* (changeset, e) {\n e.preventDefault();\n if (changeset.get('isDirty')) {\n this.nothingChanged = false;\n changeset.validate().then(() => {\n if (changeset.get('isValid')) {\n changeset.save().then(() => {\n this.submittedOnce = true;\n }).catch(err => {\n console.log(err, 'err');\n changeset.get(this, 'model.errors').forEach(({\n attribute,\n message\n }) => {\n changeset.addError(attribute, message);\n });\n });\n }\n });\n // if there is an extra action that needs to be done after the form is submitted\n } else {\n this.saveSettings.cancelAll();\n }\n }\n }), {}, \"saveSettings\", null));\n }\n resetForm(changeset, e) {\n e.preventDefault();\n changeset.rollback();\n }\n\n // beforePageExit(transition, changeset) {\n // // console.log(changeset.get('source'), console.log(this.router));\n // console.log(transition);\n // transition.abort()\n // }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"resetForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetForm\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/uncertainties\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeUncertaintiesController = _exports.default = (_class = class RoadmapTableInitiativeUncertaintiesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor2, this);\n }\n get openUncertainties() {\n return this.store.peekAll('uncertainty').filter(item => item?.initiative.get('id') === this.model.initiative.id && !item.completed);\n }\n get closedUncertainties() {\n return this.store.peekAll('uncertainty').filter(item => item?.initiative.get('id') === this.model.initiative.id && item.completed === true);\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n addNewUncertainty() {\n const newButton = document.querySelector('.new-uncertainty-button');\n if (newButton) newButton.click();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addNewUncertainty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addNewUncertainty\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/waiting-for-answers\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeWaitingForAnswersController = _exports.default = (_class = class RoadmapTableInitiativeWaitingForAnswersController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get openWfas() {\n return this.store.peekAll('wfa').filter(item => item?.initiative.get('id') === this.model.initiative.id && !item.completed);\n }\n get closedWfas() {\n return this.store.peekAll('wfa').filter(item => item?.initiative.get('id') === this.model.initiative.id && item.completed === true);\n }\n addNewWfa() {\n const newButton = document.querySelector('.new-wfa-button');\n if (newButton) newButton.click();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"addNewWfa\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addNewWfa\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/weeks\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeWeeksController extends _controller.default {}\n _exports.default = BacklogInitiativesInitiativeWeeksController;\n});","define(\"scaleflow/controllers/backlog/initiatives/initiative/workstreams\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeWorkstreamsController = _exports.default = (_dec = (0, _service.service)('current-user'), _dec2 = (0, _service.service)('beta-toggle'), _class = class BacklogInitiativesInitiativeWorkstreamsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor4, this);\n _initializerDefineProperty(this, \"router\", _descriptor5, this);\n _initializerDefineProperty(this, \"workstreams\", _descriptor6, this);\n _initializerDefineProperty(this, \"workstream_form\", _descriptor7, this);\n _initializerDefineProperty(this, \"showCreateModal\", _descriptor8, this);\n _defineProperty(this, \"visibleBadges\", ['teams', 'weeks', 'delay']);\n _defineProperty(this, \"catchAllBadges\", ['teams', 'weeks', 'delay', 'workstreams']);\n }\n get catchAllItems() {\n return this.store.peekAll('tfo').filter(item => {\n const workstream = item.get('workstream');\n const initiative = item?.initiative.get('id');\n if (!workstream.isTruthy && initiative === this.model.id && !item.archived) return true;else return false;\n });\n }\n async addWorkstream(changeset) {\n if (changeset.title && changeset?.title?.trim()?.length <= 0) return;\n if (this.workstreams.slice().map(item => item.title).includes(changeset.title)) return;\n try {\n this.workstream_form.title = changeset.title.trim();\n this.workstream_form.position = 1;\n this.workstream_form.initiative = this.model;\n this.workstream_form.author = await this.currentUser.getActiveUser();\n this.workstream_form.save().then(() => {\n this.toggleModal(false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n }\n toggleModal(val = false) {\n this.showCreateModal = val;\n if (val === false) {\n this.workstream_form = null;\n } else {\n this.workstream_form = this.store.createRecord('workstream');\n document.querySelector('#title')?.focus();\n }\n }\n onSubmit(e) {\n e.preventDefault();\n document.querySelector('#save-workstream').click();\n }\n handleWorkstreamEdit(workstream) {\n this.workstream_form = workstream;\n this.showCreateModal = true;\n document.querySelector('#title')?.focus();\n }\n get isEditingWorkstream() {\n return !this.workstream_form?.id;\n }\n handleSettingsSlideoverOpen() {\n this.initiativeSlideover.open(this.model.id);\n }\n archiveAllCheckedItems() {\n const tfos = this.store.peekAll('tfo').slice().filter(item => item.initiative.get('id') === this.model.id && item.completed === true);\n tfos.forEach(item => {\n item.archived = true;\n item.save();\n });\n this.hideTippy();\n }\n goToWorkstreamArchives(id) {\n const workstream = this.store.peekRecord('workstream', id);\n this.router.transitionTo('backlog.initiatives.initiative.planning.workstreams.workstream.archive', this.model.id, workstream.id);\n this.hideTippy();\n }\n onArchiveTippyCreate(instance) {\n this.archiveTippyInstance = instance;\n }\n hideTippy() {\n this.archiveTippyInstance?.hide();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"workstreams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"workstream_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showCreateModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"addWorkstream\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addWorkstream\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleWorkstreamEdit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleWorkstreamEdit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSettingsSlideoverOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveAllCheckedItems\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveAllCheckedItems\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToWorkstreamArchives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToWorkstreamArchives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onArchiveTippyCreate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onArchiveTippyCreate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideTippy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideTippy\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/backlog/themes\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsThemesController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class SettingsThemesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"theme_form\", _descriptor2, this);\n _initializerDefineProperty(this, \"themeEditMode\", _descriptor3, this);\n _initializerDefineProperty(this, \"show_theme_modal\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor5, this);\n }\n get themes() {\n return this.model.themes;\n }\n showThemeModal() {\n this.theme_form = this.store.createRecord('theme');\n this.show_theme_modal = true;\n // document.querySelector('[data-cy=modal] #title').focus();\n }\n hideThemeModal(isCancelledNewItem = true) {\n this.show_theme_modal = false;\n if (isCancelledNewItem && this.themeEditMode === false) this.theme_form?.deleteRecord?.();\n this.theme_form = null;\n this.themeEditMode = false;\n }\n async addTheme(changeset) {\n if (changeset.title?.length <= 0) return;\n try {\n this.theme_form.title = changeset.title;\n this.theme_form.color = changeset.color;\n this.theme_form.save().then(() => {\n this.hideThemeModal(false, false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n // console.log(changeset.error);\n }\n deleteTheme(theme) {\n theme.destroyRecord();\n }\n editTheme(theme) {\n this.theme_form = theme;\n this.themeEditMode = true;\n this.show_theme_modal = true;\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n await this.addTheme(changeset);\n }\n handleThemeColorSelect(e, changeset) {\n changeset.set('color', e);\n }\n get body() {\n return document.querySelector('body');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"theme_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"themeEditMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"show_theme_modal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"showThemeModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showThemeModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideThemeModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideThemeModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addTheme\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteTheme\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editTheme\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleThemeColorSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemeColorSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/bookmarks\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/bookmark\"], function (_exports, _controller, _object, _service, _tracking, _bookmark) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/bookmark\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BookmarksController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _class = class BookmarksController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"organisationService\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _defineProperty(this, \"bookmarkValidations\", _bookmark.default);\n _initializerDefineProperty(this, \"showModal\", _descriptor5, this);\n _initializerDefineProperty(this, \"bookmark_form\", _descriptor6, this);\n _initializerDefineProperty(this, \"isEdit\", _descriptor7, this);\n }\n get bookmarks() {\n return this.store.peekAll('bookmark').slice().filter(item => !item.get('team.id') && !item.get('initiative.id'));\n }\n showBookmarkModal() {\n this.showModal = true;\n this.bookmark_form = this.store.createRecord('bookmark');\n }\n hideModal() {\n this.showModal = false;\n this.bookmark_form = null;\n this.isEdit = false;\n }\n async addBookmark(changeset) {\n if (changeset.title?.length <= 0) return;\n if (changeset.icon?.length <= 0) return;\n if (changeset.url?.length <= 0) return;\n try {\n this.bookmark_form.title = changeset.title;\n this.bookmark_form.icon = changeset.icon;\n this.bookmark_form.url = changeset.url;\n this.bookmark_form.organisation = this.organisationService.organisation;\n this.bookmark_form.save().then(() => {\n this.hideModal(false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n // console.log(changeset.error);\n }\n editBookmark(bookmark) {\n this.bookmark_form = bookmark;\n this.showModal = true;\n this.isEdit = true;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisationService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"bookmark_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"isEdit\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"showBookmarkModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showBookmarkModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addBookmark\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addBookmark\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editBookmark\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editBookmark\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/goal\"], function (_exports, _controller, _object, _service, _tracking, _goal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/goal\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsCreateController = _exports.default = (_class = class BusinessGoalsCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _defineProperty(this, \"goalValidations\", _goal.default);\n _initializerDefineProperty(this, \"activeStep\", _descriptor4, this);\n _initializerDefineProperty(this, \"goalChangeset\", _descriptor5, this);\n _initializerDefineProperty(this, \"targetChangesets\", _descriptor6, this);\n _defineProperty(this, \"targetChangesetFactory\", void 0);\n _initializerDefineProperty(this, \"selectedGoals\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor8, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor9, this);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor0, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get activePeopleInOrganisation() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get activeGoalsInOrganisation() {\n return this.store.peekAll('goal').filter(g => !g.isNew);\n }\n get goals_without_parents() {\n return this.activeGoalsInOrganisation.filter(goal => !goal.parent.content);\n }\n get metrics() {\n return this.store.peekAll('metric');\n }\n get personsList() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n handleOwnerSelect(changeset, item) {\n changeset.set('owner', item);\n }\n clearOwner(changeset) {\n changeset.set('owner', null);\n }\n handleStatusSelect(changeset, val) {\n changeset.set('active', val);\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n goToListPage() {\n this.router.transitionTo('business.goals.list');\n }\n cancelForm() {\n this.goalChangeset.rollback();\n this.model.deleteRecord();\n this.targetChangesets.forEach(target => {\n target.rollback();\n target.data.deleteRecord();\n });\n this.goToListPage();\n }\n rollbackChanges(changeset) {\n changeset.rollback();\n }\n handleGoalsSelect(goal, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n if (checked) this.selectedGoals = [goal];else this.selectedGoals = [];\n }\n unlinkParentGoal() {\n this.selectedGoals = [];\n this.goalChangeset.set('parent', null);\n }\n handleMetricSelect(metric, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const metrics = this.selectedMetrics;\n const targetChangesets = this.targetChangesets;\n if (checked) {\n metrics.push(metric);\n targetChangesets.push(this.targetChangesetFactory());\n } else {\n const index = metrics.findIndex(_metric => _metric.id === metric.id);\n if (index < 0) return;else {\n metrics.splice(index, 1);\n targetChangesets.splice(index, 1);\n }\n }\n this.selectedMetrics = metrics;\n this.targetChangesets = targetChangesets;\n }\n async saveGoal() {\n const goal = this.model;\n goal.mapChangesetToAttributes(this.goalChangeset.changes);\n if (this.selectedGoals.length) goal.set('parent', this.selectedGoals[0]);\n await goal.save();\n const promises = [];\n for (let i = 0; i < this.targetChangesets.length; i++) {\n const target = this.targetChangesets[i];\n target.set('goal', this.model);\n target.set('metric', this.selectedMetrics[i]);\n promises.push(target.save());\n }\n await Promise.all(promises);\n this.goToListPage();\n }\n\n /** OLD GOAL FORM */\n\n async addGoal(changeset) {\n if (changeset.title?.length <= 0) return;\n try {\n changeset.save().then(() => {\n changeset.rollback();\n this.goToListPage();\n });\n } catch (err) {\n console.log(err);\n }\n }\n cancelOldForm(changeset) {\n changeset.rollback();\n this.model.deleteRecord();\n this.goToListPage();\n }\n async onGoalSubmit(changeset, e) {\n e.preventDefault();\n await this.addGoal(changeset);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"goalChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"targetChangesets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleOwnerSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOwnerSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearOwner\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearOwner\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unlinkParentGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unlinkParentGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMetricSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMetricSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelOldForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelOldForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalSubmit\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/goal\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"moment\", \"scaleflow/utils/text-delta-is-empty\"], function (_exports, _controller, _object, _service, _tracking, _moment, _textDeltaIsEmpty) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"moment\",0,\"scaleflow/utils/text-delta-is-empty\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalController = _exports.default = (_class = class BusinessGoalsGoalController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor4, this);\n _initializerDefineProperty(this, \"selectedGoal\", _descriptor5, this);\n _defineProperty(this, \"textDeltaIsEmpty\", _textDeltaIsEmpty.default);\n }\n deleteMetric() {}\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n confirmDeleteGoal() {\n this.selectedGoal = this.model;\n this.toggleDeleteModal(true);\n }\n deleteGoal() {\n if (this.selectedGoal) {\n this.selectedGoal.destroyRecord().then(() => {\n this.handleDismissDeleteModal();\n this.goToListPage();\n });\n }\n }\n setGoalStatus(status) {\n this.model.active = status.value;\n this.model.save();\n }\n unselectGoal() {\n this.selectedGoal = null;\n }\n handleDismissDeleteModal() {\n this.unselectGoal();\n this.toggleDeleteModal(false);\n }\n goToListPage() {\n this.router.transitionTo('business.goals.list');\n }\n deleteTarget({\n content: metric\n }) {\n const target = metric.targetForGoal(this.model.id);\n target?.destroyRecord?.();\n }\n statusClass(metric) {\n if (!metric) return;\n const target = metric.targetForGoal(this.model.id);\n const measurement = metric?.latestMeasurement?.value ?? 0;\n const isTargetAchieved = measurement >= target.target_value && (0, _moment.default)(measurement.measured_at_utc).isSameOrBefore(target.target_date);\n if (isTargetAchieved) return 'ring ring-green-600';else return 'ring ring-red-400';\n }\n goToGoal(e) {\n const currentRouteName = this.router.currentRoute.name;\n this.router.transitionTo(currentRouteName, e.value);\n }\n get tabs() {\n const tabs = [{\n label: this.intl.t('dictionary.description'),\n route: 'business.goals.goal.description',\n key: 'description'\n }, {\n label: this.intl.t('_initiatives.title', {\n num: 2\n }),\n route: 'business.goals.goal.initiatives',\n key: 'initiatives'\n }, {\n label: this.intl.t('_goals.sub-goals'),\n route: 'business.goals.goal.subgoals',\n key: 'subgoals'\n }];\n return tabs;\n }\n isActive(tab) {\n return this.router.currentRouteName.includes(tab.key);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteMetric\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteMetric\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDeleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDeleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGoalStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGoalStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unselectGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unselectGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteTarget\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteTarget\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"statusClass\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"statusClass\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/goal/description\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalDescriptionController = _exports.default = (_class = class BusinessGoalsGoalDescriptionController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"descriptionIsEditable\", _descriptor, this);\n _initializerDefineProperty(this, \"goalWizardIsOpen\", _descriptor2, this);\n }\n setDelta(changeset, e) {\n changeset.set('description', e);\n }\n handleDescriptionSave(changeset) {\n changeset.save();\n this.toggleDescriptionIsEditable();\n }\n handleDescriptionCancel(changeset) {\n changeset.rollback();\n this.toggleDescriptionIsEditable();\n }\n toggleDescriptionIsEditable() {\n this.descriptionIsEditable = !this.descriptionIsEditable;\n }\n toggleGoalWizard() {\n this.goalWizardIsOpen = !this.goalWizardIsOpen;\n }\n get breadcrumbs() {\n const goal = this.model;\n let parent = goal.get('parent');\n const breadcrumbs = [goal];\n while (parent?.content) {\n breadcrumbs.unshift(parent);\n parent = parent.get('parent');\n }\n return breadcrumbs;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"descriptionIsEditable\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"goalWizardIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setDelta\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setDelta\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDescriptionSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDescriptionSave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDescriptionCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDescriptionCancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDescriptionIsEditable\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDescriptionIsEditable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleGoalWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGoalWizard\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/goal/edit\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/validators/goal\"], function (_exports, _controller, _object, _service, _tracking, _goal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/validators/goal\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalEditController = _exports.default = (_class = class BusinessGoalsGoalEditController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _defineProperty(this, \"goalValidations\", _goal.default);\n _initializerDefineProperty(this, \"activeStep\", _descriptor4, this);\n _initializerDefineProperty(this, \"goalChangeset\", _descriptor5, this);\n _initializerDefineProperty(this, \"targetChangesets\", _descriptor6, this);\n _defineProperty(this, \"targetChangesetFactory\", void 0);\n _initializerDefineProperty(this, \"selectedGoals\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedMetrics\", _descriptor8, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor9, this);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor0, this);\n _initializerDefineProperty(this, \"showDeleteModal\", _descriptor1, this);\n _initializerDefineProperty(this, \"selectedGoal\", _descriptor10, this);\n _initializerDefineProperty(this, \"errorMessage\", _descriptor11, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get activePeopleInOrganisation() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get activeGoalsInOrganisation() {\n return this.store.peekAll('goal').filter(g => !g.isNew);\n }\n get metrics() {\n return this.store.peekAll('metric');\n }\n get personsList() {\n return this.store.peekAll('person').filter(p => p.active);\n }\n get goals_without_parents() {\n return this.activeGoalsInOrganisation.filter(goal => !goal.parent.content);\n }\n handleOwnerSelect(changeset, item) {\n changeset.set('owner', item);\n }\n clearOwner(changeset) {\n changeset.set('owner', null);\n }\n handleStatusSelect(changeset, val) {\n changeset.set('active', val);\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n goToListPage() {\n this.router.transitionTo('business.goals.list');\n }\n goToShowPage() {\n this.router.transitionTo('business.goals.goal');\n }\n cancelForm() {\n if (this.showDeleteModal) return;\n this.goalChangeset.rollback();\n this.targetChangesets.forEach(target => {\n target.rollback();\n });\n this.goToShowPage();\n }\n rollbackChanges(changeset) {\n changeset.rollback();\n }\n handleGoalsSelect(goal, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n if (checked) this.selectedGoals = [goal];else this.selectedGoals = [];\n }\n unlinkParentGoal() {\n this.selectedGoals = [];\n this.goalChangeset.set('parent', null);\n }\n get targets() {\n return this.model.targets.content ?? [];\n }\n handleMetricSelect(metric, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const metrics = this.selectedMetrics;\n const targetChangesets = this.targetChangesets;\n if (checked) {\n metrics.push(metric);\n const existingTarget = this.targets.find(t => {\n return t.metric.id === metric.id;\n });\n const targetChangeset = this.targetChangesetFactory(existingTarget);\n targetChangesets.push(targetChangeset);\n } else {\n const index = metrics.findIndex(_metric => _metric.id === metric.id);\n if (index < 0) return;else {\n metrics.splice(index, 1);\n targetChangesets.splice(index, 1);\n }\n }\n this.selectedMetrics = metrics;\n this.targetChangesets = targetChangesets;\n }\n async deleteDeselectedTargets() {\n const old_targets_by_metric_id = this.targets.reduce((acc, item) => {\n acc[item.metric.get('id')] = item;\n return acc;\n }, {});\n const current_metrics = this.selectedMetrics.reduce((acc, item) => {\n acc[item.id] = true;\n return acc;\n }, {});\n\n ///loop over old metrics, check if that metric is in the new list of metrics, if not delete the target linked to that metric\n const promises = [];\n const old_metrics = Object.keys(old_targets_by_metric_id);\n for (let i = 0; i < old_metrics.length; i++) {\n if (old_metrics[i] in current_metrics) continue;else promises.push(old_targets_by_metric_id[old_metrics[i]].destroyRecord());\n }\n await Promise.all(promises);\n }\n async saveGoal() {\n const goal = this.model;\n goal.mapChangesetToAttributes(this.goalChangeset.changes);\n if (this.selectedGoals.length) goal.set('parent', this.selectedGoals[0]);\n await goal.save();\n await this.deleteDeselectedTargets();\n const promises = [];\n for (let i = 0; i < this.targetChangesets.length; i++) {\n const target = this.targetChangesets[i];\n target.set('goal', this.model);\n target.set('metric', this.selectedMetrics[i]);\n promises.push(target.save());\n }\n await Promise.all(promises);\n this.goToShowPage();\n }\n isInvalid(changeset) {\n return !changeset.get('title');\n }\n toggleDeleteModal(flag) {\n if (flag === undefined) this.showDeleteModal = !this.showDeleteModal;else this.showDeleteModal = flag;\n }\n confirmDeleteGoal() {\n this.selectedGoal = this.model;\n this.toggleDeleteModal(true);\n }\n deleteGoal() {\n if (this.selectedGoal) {\n this.selectedGoal.destroyRecord().then(() => {\n this.goToListPage();\n this.handleDismissDeleteModal();\n }).catch(err => {\n const error = err.errors?.[0];\n if (!error?.detail) return;\n const message = JSON.parse(error.detail)?.[0]?.[1];\n if (!message) return;\n this.errorMessage = message;\n });\n }\n }\n handleAlertClose() {\n this.errorMessage = '';\n }\n unselectGoal() {\n this.selectedGoal = null;\n }\n handleDismissDeleteModal() {\n this.unselectGoal();\n this.toggleDeleteModal(false);\n }\n\n /*** OLD GOAL FORM ***/\n async addGoal(changeset) {\n if (changeset.title?.length <= 0) return;\n const initiatives = changeset.get('initiatives');\n if (initiatives?.content) {\n changeset.set('initiatives', initiatives.content);\n }\n try {\n changeset.save().then(() => {\n changeset.rollback();\n this.goToListPage();\n });\n } catch (err) {\n console.log(err);\n }\n }\n cancelOldForm(changeset) {\n changeset.rollback();\n this.goToListPage();\n }\n async onGoalSubmit(changeset, e) {\n e.preventDefault();\n await this.addGoal(changeset);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"goalChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"targetChangesets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedMetrics\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleOwnerSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOwnerSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearOwner\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearOwner\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToShowPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToShowPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unlinkParentGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unlinkParentGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMetricSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMetricSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteDeselectedTargets\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteDeselectedTargets\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isInvalid\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isInvalid\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDeleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDeleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleAlertClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAlertClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"unselectGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"unselectGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDismissDeleteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDismissDeleteModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelOldForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelOldForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalSubmit\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/goal/initiatives\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalInitiativesController = _exports.default = (_class = class BusinessGoalsGoalInitiativesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'productManagers', 'teams', 'roadmaps', 'columns']);\n _initializerDefineProperty(this, \"grouping\", _descriptor3, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor4, this);\n _initializerDefineProperty(this, \"themes\", _descriptor5, this);\n _initializerDefineProperty(this, \"sources\", _descriptor6, this);\n _initializerDefineProperty(this, \"productManagers\", _descriptor7, this);\n _initializerDefineProperty(this, \"teams\", _descriptor8, this);\n _initializerDefineProperty(this, \"columns\", _descriptor9, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor0, this);\n _initializerDefineProperty(this, \"tableSort\", _descriptor1, this);\n _initializerDefineProperty(this, \"list\", _descriptor10, this);\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n setGoalOnInitiative(initiative) {\n initiative.goals = [this.model];\n initiative.save();\n }\n get columnOptions() {\n const columns = [{\n label: this.intl.t('_initiatives.progress')\n }, {\n label: this.intl.t('_initiatives.product-manager')\n }, {\n label: this.intl.t('_initiatives.teams', {\n num: 3\n })\n }, {\n label: this.intl.t('roadmap.title', {\n num: 3\n }),\n class: '!px-4 !py-3 min-w-[120px]'\n }, {\n label: this.intl.t('_initiatives.status')\n }, {\n label: this.intl.t('_initiatives.source', {\n num: 1\n }),\n sortKey: 'source'\n }, {\n label: this.intl.t('_initiatives.themes', {\n num: 3\n })\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.goals', {\n num: 3\n })),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap'\n }, {\n label: this.intl.t('_initiatives.impact'),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'bon_value'\n }, {\n label: this.intl.t('_initiatives.investment', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] text-right',\n sortKey: 'bon_investment'\n }, {\n label: this.intl.t('_initiatives.returns', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] text-right',\n sortKey: 'bon_returns'\n }, {\n label: this.intl.t('_initiatives.effort'),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks'\n }, {\n label: this.intl.t('_initiatives.uncertainty', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks_only_uncertainty'\n }, {\n label: `${this.intl.t('_initiatives.effort')} ${this.intl.t('_initiatives.details')}`,\n show: false\n }, {\n label: this.intl.t('_initiatives.starting-week')\n }, {\n label: this.intl.t('_initiatives.duration')\n }];\n columns.forEach(item => {\n item.show = this.showColumn(item);\n });\n return columns.slice();\n }\n showColumn(column) {\n if (this.columns.length === 0) {\n if (column.show !== undefined) return column.show;\n return true;\n } else {\n return this.columns.includes(column.label);\n }\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.productManagers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n handleRoadmapSelect(roadmaps) {\n this.roadmaps = roadmaps;\n }\n onColumnSelect(values) {\n this.columns = values;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"productManagers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"tableSort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"list\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGoalOnInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGoalOnInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleRoadmapSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleRoadmapSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onColumnSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onColumnSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/goal/subgoals\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalSubgoalsController = _exports.default = (_class = class BusinessGoalsGoalSubgoalsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"goalWizardIsOpen\", _descriptor, this);\n }\n toggleGoalWizard() {\n this.goalWizardIsOpen = !this.goalWizardIsOpen;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"goalWizardIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleGoalWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleGoalWizard\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/goals/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/nameSort\"], function (_exports, _controller, _object, _service, _tracking, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsListController = _exports.default = (_class = class BusinessGoalsListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _defineProperty(this, \"queryParams\", ['search', 'status', 'initiativesLinked']);\n _initializerDefineProperty(this, \"search\", _descriptor4, this);\n _initializerDefineProperty(this, \"status\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiativesLinked\", _descriptor6, this);\n }\n get sortedGoals() {\n return this.model.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n get goals() {\n let goals = this.sortedGoals;\n if (this.status.length === 0 && !this.initiativesLinked) {\n return goals;\n }\n if (this.status.length !== 0) {\n goals = goals.filter(goal => this.status.includes(goal.active));\n }\n if (this.initiativesLinked.length !== 0) {\n goals = goals.filter(goal => this.initiativesLinked.includes(goal.initiatives.length > 0));\n }\n return goals;\n }\n editGoal(goal) {\n this.goal_form = goal;\n this.goalEditMode = true;\n this.show_goal_modal = true;\n }\n async onGoalSubmit(changeset, e) {\n e.preventDefault();\n await this.addGoal(changeset);\n }\n get goals_without_parents() {\n return this.sortedGoals.filter(goal => !goal.parent.content);\n }\n onStatusSelect(e) {\n this.status = e;\n }\n get trueFalseOptions() {\n return [{\n label: this.intl.t('dictionary.yes'),\n value: true\n }, {\n label: this.intl.t('dictionary.no'),\n value: false\n }];\n }\n onInitiativesLinkedSelect(e) {\n this.initiativesLinked = e;\n }\n get isAMatchCallback() {\n if (!this.search) return () => true;\n return goal => {\n return goal.title.toLowerCase().includes(this.search.toLowerCase());\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiativesLinked\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"editGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativesLinkedSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativesLinkedSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/metrics/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsCreateController = _exports.default = (_class = class BusinessMetricsCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"activeStep\", _descriptor, this);\n _initializerDefineProperty(this, \"metricChangeset\", _descriptor2, this);\n _initializerDefineProperty(this, \"targetChangeset\", _descriptor3, this);\n _initializerDefineProperty(this, \"selectedGoals\", _descriptor4, this);\n _initializerDefineProperty(this, \"goalSearch\", _descriptor5, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor6, this);\n _initializerDefineProperty(this, \"store\", _descriptor7, this);\n _initializerDefineProperty(this, \"router\", _descriptor8, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n get goals() {\n return this.store.peekAll('goal');\n }\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n async saveMetric() {\n this.metricChangeset.changes.forEach(change => {\n this.model.set(change.key, change.value);\n });\n await this.model.save();\n for (let i = 0; i < this.selectedGoals.length; i++) {\n const target = this.store.createRecord('target', {\n target_value: this.targetChangeset.target_value,\n end_date: this.targetChangeset.end_date,\n goal: this.selectedGoals[i],\n metric: this.model\n });\n await target.save();\n }\n this.goToListPage();\n }\n handleGoalsSelect(goal, e) {\n const checked = e.target.checked;\n if (checked === undefined) return;\n const goals = this.selectedGoals;\n if (checked) goals.push(goal);else {\n const index = goals.findIndex(_goal => _goal.id === goal.id);\n if (index < 0) return;else goals.splice(index, 1);\n }\n this.selectedGoals = goals;\n }\n rollbackChanges(changeset) {\n if (!changeset) {\n this.metricChangeset.rollback();\n this.targetChangeset.rollback();\n } else changeset.rollback();\n }\n goToListPage() {\n this.router.transitionTo('business.metrics');\n }\n onFormCancel() {\n this.rollbackChanges();\n this.model.deleteRecord();\n this.goToListPage();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"metricChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"targetChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"selectedGoals\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"goalSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveMetric\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveMetric\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleGoalsSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleGoalsSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFormCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFormCancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/metrics/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsListController = _exports.default = (_class = class BusinessMetricsListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"metricSearch\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor2, this);\n }\n deleteMetric(metric) {\n metric.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"metricSearch\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteMetric\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteMetric\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/metrics/metric/edit\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsMetricEditController = _exports.default = (_class = class BusinessMetricsMetricEditController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"activeStep\", _descriptor, this);\n _initializerDefineProperty(this, \"metricChangeset\", _descriptor2, this);\n // @tracked targetChangeset = {};\n // @tracked selectedGoals = [];\n // @tracked goalSearch = '';\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _initializerDefineProperty(this, \"router\", _descriptor5, this);\n }\n setActiveStep(index) {\n this.activeStep = index;\n }\n\n // get goals() {\n // return this.store.peekAll('goal');\n // }\n\n onDescriptionChange(changeset, e) {\n changeset.set('description', e);\n }\n async saveMetric() {\n this.metricChangeset.changes.forEach(change => {\n this.model.set(change.key, change.value);\n });\n await this.model.save();\n // for (let i = 0; i < this.selectedGoals.length; i++) {\n // const target = this.store.createRecord('target', {\n // target_value: this.targetChangeset.target_value,\n // end_date: this.targetChangeset.end_date,\n // goal: this.selectedGoals[i],\n // metric: this.model,\n // });\n // await target.save();\n // }\n this.goToListPage();\n }\n\n // @action\n // handleGoalsSelect(goal, e) {\n // const checked = e.target.checked;\n // if (checked === undefined) return;\n // const goals = this.selectedGoals;\n // if (checked) goals.push(goal);\n // else {\n // const index = goals.findIndex((_goal) => _goal.id === goal.id);\n // if (index < 0) return;\n // else goals.splice(index, 1);\n // }\n // this.selectedGoals = goals;\n // }\n\n rollbackChanges(changeset) {\n if (!changeset) {\n this.metricChangeset.rollback();\n // this.targetChangeset.rollback();\n } else changeset.rollback();\n }\n goToListPage() {\n this.router.transitionTo('business.metrics');\n }\n onFormCancel() {\n this.rollbackChanges();\n this.goToListPage();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"activeStep\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"metricChangeset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveStep\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveStep\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDescriptionChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDescriptionChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveMetric\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveMetric\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFormCancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFormCancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/themes\", [\"exports\", \"@ember/controller\", \"@ember/object\"], function (_exports, _controller, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let BusinessThemesController = _exports.default = (_class = class BusinessThemesController extends _controller.default {\n get themes() {\n return this.model;\n }\n deleteTheme(theme) {\n theme.destroyRecord();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"deleteTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteTheme\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/themes/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/theme\"], function (_exports, _controller, _object, _service, _theme) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/theme\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesCreateController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class BusinessThemesCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _defineProperty(this, \"themeValidations\", _theme.default);\n }\n cancelForm(changeset) {\n changeset.rollback();\n this.model.deleteRecord();\n this.goToListPage();\n }\n goToListPage() {\n this.router.transitionTo('settings.tags');\n }\n async addTheme(changeset) {\n if (changeset.title?.length <= 0) return;\n try {\n changeset.save().then(() => {\n this.goToListPage();\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n // console.log(changeset.error);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n await this.addTheme(changeset);\n }\n handleThemeColorSelect(e, changeset) {\n changeset.set('color', e);\n }\n get body() {\n return document.querySelector('body');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addTheme\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleThemeColorSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemeColorSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/business/themes/theme/edit\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/theme\"], function (_exports, _controller, _object, _service, _theme) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/theme\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesThemeEditController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class BusinessThemesThemeEditController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor3, this);\n _defineProperty(this, \"themeValidations\", _theme.default);\n }\n cancelForm(changeset) {\n changeset.rollback();\n this.goToListPage();\n }\n goToListPage() {\n this.router.transitionTo('business.themes');\n }\n async editTheme(changeset) {\n if (changeset.title?.length <= 0) return;\n try {\n changeset.save().then(() => {\n this.goToListPage();\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n // console.log(changeset.error);\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n await this.editTheme(changeset);\n }\n handleThemeColorSelect(e, changeset) {\n changeset.set('color', e);\n }\n get body() {\n return document.querySelector('body');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"cancelForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editTheme\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleThemeColorSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleThemeColorSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/claim\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ClaimController = _exports.default = (_class = class ClaimController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _defineProperty(this, \"adapter\", this.store.adapterFor('person'));\n }\n async claimUser(id) {\n await this.adapter.claimUser(id);\n window.location.href = '/';\n }\n async createNewUser() {\n let newUser = await this.currentUser.createUser();\n await this.currentUser.claimUser(newUser.id);\n window.location.href = '/';\n }\n get unclaimedPersons() {\n return this.model.filter(person => {\n return person.is_claimed === false;\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"claimUser\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"claimUser\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewUser\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewUser\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/dashboards/roi\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _service, _object, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AnalyticsAllController = _exports.default = (_dec = (0, _service.service)('roadmap'), _class = class AnalyticsAllController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"datasetFetcher\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor2, this);\n _initializerDefineProperty(this, \"modalIsOpen\", _descriptor3, this);\n _initializerDefineProperty(this, \"dataset\", _descriptor4, this);\n }\n toggleModal(val = undefined) {\n this.modalIsOpen = val ?? !this.modalIsOpen;\n }\n get roadmap() {\n return this.roadmapService.roadmap;\n }\n onLinkMetricClick() {\n this.toggleModal(open);\n }\n async loadDataset() {\n this.dataset = {\n data: await this.datasetFetcher.fetchInitiativesDataset(this.roadmap)\n };\n }\n get initiatives() {\n return this.dataset.data.source;\n }\n get roadmaps() {\n return this.roadmapService.roadmaps;\n }\n get customerInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'CUSTOMER REQUEST CURRENT');\n }\n get visionInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'VISION');\n }\n get maintenanceInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'OPERATIONS AND MAINTENANCE');\n }\n get otherInitiatives() {\n return this.filter_on_field(this.initiatives, 'source', 'OTHER');\n }\n filter_on_field(dataset, field, value) {\n if (dataset == undefined || dataset?.length == 0) return undefined;\n const field_index = dataset[0].indexOf(field);\n const filtered_records = dataset.filter(entry => entry[field_index] == value);\n const returns = [dataset[0]].concat(filtered_records);\n return returns;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"datasetFetcher\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"modalIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"dataset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n data: {\n source: []\n }\n };\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadDataset\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadDataset\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/dashboards/time-to-value\", [\"exports\", \"ember-concurrency/async-arrow-runtime\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _asyncArrowRuntime, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"ember-concurrency\",0,\"ember-concurrency/async-arrow-runtime\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AnalyticsAllController = _exports.default = (_class = class AnalyticsAllController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"datasetFetcher\", _descriptor, this);\n _initializerDefineProperty(this, \"llTrendDataset\", _descriptor2, this);\n _initializerDefineProperty(this, \"modalIsOpen\", _descriptor3, this);\n _defineProperty(this, \"lessonsLearnedDatasetTask\", (0, _asyncArrowRuntime.buildTask)(() => ({\n context: this,\n generator: function* () {\n const res = yield this.datasetFetcher.fetchData('ll-trend');\n\n // Ugly hardcode transformation of dataset to JS object.\n const llCountCurrentPeriod = res.source[1][1];\n const llCountPreviousPeriod = res.source[2][1];\n const lessonsLearned = {\n current: String(llCountCurrentPeriod),\n previous: llCountPreviousPeriod\n };\n this.llTrendDataset = lessonsLearned;\n }\n }), {\n restartable: true\n }, \"lessonsLearnedDatasetTask\", null));\n }\n toggleModal(val = undefined) {\n this.modalIsOpen = val ?? !this.modalIsOpen;\n }\n onLinkMetricClick() {\n this.toggleModal(open);\n }\n get releasesAndTimeToValueDataset() {\n const releases = [];\n releases[0] = this.generateMonthArray();\n releases[1] = ['Front-end', 25, 50, 25, 25, 25, 25, 50, 75, 100];\n releases[2] = ['Back-end', 10, 20, 10, 8, 10, 30, 15, 30, 40];\n const timeToValue = [];\n timeToValue[0] = releases[0].slice(1, -1);\n timeToValue[1] = [175, 125, 175, 80, 60, 70, 50, 30, 30, 20, 22];\n return {\n dataset: [{\n source: releases\n }, {\n source: timeToValue\n }]\n };\n }\n\n // Thank you ChatGPT\n generateMonthArray() {\n const today = new Date();\n const currentYear = today.getFullYear();\n const currentMonth = today.getMonth() + 1; // add 1 as January is represented as 0\n\n const monthArray = ['component']; // start with \"Component\" as the first element\n\n for (let year = currentYear; year <= currentYear; year++) {\n for (let month = 1; month <= 12; month++) {\n if (year === currentYear && month > currentMonth) break; // stop adding months after the current month\n monthArray.push(`${year}-${String(month).padStart(2, '0')}`);\n }\n }\n return monthArray;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"datasetFetcher\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"llTrendDataset\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"modalIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onLinkMetricClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onLinkMetricClick\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/people/active\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleActiveController = _exports.default = (_class = class OperationsPeopleActiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('people.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('people.team', {\n num: 1\n }),\n value: 'team'\n }, {\n label: this.intl.t('people.roles', {\n num: 1\n }),\n value: 'role'\n }];\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'role';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/people/inactive\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleInactiveController = _exports.default = (_class = class OperationsPeopleInactiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('people.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('people.team', {\n num: 1\n }),\n value: 'team'\n }, {\n label: this.intl.t('people.roles', {\n num: 1\n }),\n value: 'role'\n }];\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'role';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/roles\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRolesController = _exports.default = (_class = class OperationsRolesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('roles.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('roles.person', {\n num: 3\n }),\n value: 'person'\n }];\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/active\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsActiveController = _exports.default = (_class = class TeamsActiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"favorite\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('_teams.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor3, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('_teams.person', {\n num: 1\n }),\n value: 'person'\n }];\n }\n addToFavorite(item) {\n this.favorite.addToFavorite(item);\n }\n removeFromFavorite(item) {\n this.favorite.removeFromFavorite(item);\n }\n get teams() {\n return this.model.slice().filter(item => item.active === true);\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"addToFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addToFavorite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeFromFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeFromFavorite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/archived\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { service } from '@ember/service';\n let TeamsArchivedController = _exports.default = (_class = class TeamsArchivedController extends _controller.default {\n constructor(...args) {\n super(...args);\n // @service store;\n _initializerDefineProperty(this, \"notifications\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n get teams() {\n return this.model.slice().filter(item => item.active === false);\n }\n restoreTeam(team) {\n team.active = true;\n team.save().then(() => {\n this.notifications.notificationMessage = this.intl.t('_teams.restored-success');\n this.notifications.toggleShowNotification();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"restoreTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restoreTeam\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/team\", \"ember-changeset-validations/validators\"], function (_exports, _controller, _object, _service, _team, _validators) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/team\",0,\"ember-changeset-validations/validators\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsCreateController = _exports.default = (_class = class TeamsCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"teamValidations\", {\n ..._team.default,\n name: [(0, _validators.validatePresence)({\n presence: true,\n message: this.intl.t('_teams.name-error')\n })]\n });\n }\n CloseDialog() {\n this.model.deleteRecord();\n this.router.transitionTo('operations.teams');\n }\n CloseAfterSubmit() {\n this.router.transitionTo('operations.teams');\n }\n handleCreateTeamDismiss() {\n this.model.deleteRecord();\n this.router.transitionTo('operations.teams.active');\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n changeset.validate();\n if (changeset.isInvalid) return;\n changeset.save().then(() => {\n this.router.transitionTo('operations.teams.active');\n });\n } catch (err) {\n console.log(err);\n }\n }\n validateProperty(changeset, property) {\n return changeset?.validate(property);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"CloseDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"CloseDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"CloseAfterSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"CloseAfterSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCreateTeamDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCreateTeamDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/index\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsListController = _exports.default = (_class = class TeamsListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n transitionToCreateTeam() {\n this.router.transitionTo('operations.teams.create');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateTeam\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/team/check-in\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/active-item-cache\"], function (_exports, _controller, _object, _service, _tracking, _activeItemCache) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/active-item-cache\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('current-user'), _dec3 = (0, _service.service)('editor-active'), _class = class TeamsTeamCheckInController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"allCommentsOpen\", _descriptor3, this);\n _initializerDefineProperty(this, \"active_item\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor5, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor6, this);\n _initializerDefineProperty(this, \"editorActiveService\", _descriptor7, this);\n _defineProperty(this, \"queryParams\", ['tags', 'mentions', 'item']);\n _initializerDefineProperty(this, \"tags\", _descriptor8, this);\n _initializerDefineProperty(this, \"mentions\", _descriptor9, this);\n _initializerDefineProperty(this, \"item\", _descriptor0, this);\n _initializerDefineProperty(this, \"model\", _descriptor1, this);\n // @service('table-of-contents') tocService;\n _initializerDefineProperty(this, \"_questions\", _descriptor10, this);\n _initializerDefineProperty(this, \"_lls\", _descriptor11, this);\n _initializerDefineProperty(this, \"_tfos\", _descriptor12, this);\n _initializerDefineProperty(this, \"_wfas\", _descriptor13, this);\n _initializerDefineProperty(this, \"_uncertainties\", _descriptor14, this);\n _initializerDefineProperty(this, \"_usefulLinks\", _descriptor15, this);\n _initializerDefineProperty(this, \"bookmark_form\", _descriptor16, this);\n _initializerDefineProperty(this, \"showModal\", _descriptor17, this);\n _defineProperty(this, \"bookmarkValidations\", this.bookmarkValidations);\n _defineProperty(this, \"visibleBadges\", ['initiatives', 'workstreams', 'delay']);\n // uncertaintyBadges = ['initiatives'];\n // wfaBadges = ['initiatives'];\n _defineProperty(this, \"initiativeBadge\", ['initiatives']);\n _defineProperty(this, \"llBadges\", []);\n }\n get questions() {\n return this.store.peekAll('question').filter(item => item.team.get('id') === this.model.id && item.archived === false && item.isDeleted === false);\n }\n get lls() {\n return this.store.peekAll('ll').filter(item => item.team.get('id') === this.model.id && item.archived === false && item.isDeleted === false);\n }\n get tfos() {\n const items = this.store.peekAll('tfo').filter(item => item.team.get('id') === this.model.id && item.archived === false && item.isDeleted === false);\n return items;\n }\n get wfas() {\n // console.log(this._questions);\n return this.store.peekAll('wfa').filter(item => item.team.get('id') === this.model.id && item.archived === false && item.isDeleted === false);\n }\n get uncertainties() {\n // console.log(this._questions);\n return this.store.peekAll('uncertainty').filter(item => item.team.get('id') === this.model.id && item.archived === false && item.isDeleted === false);\n }\n get usefulLinks() {\n // console.log(this._questions);\n return this.store.peekAll('bookmark').filter(item => item.team.get('id') === this.model.id);\n }\n get showUncertainties() {\n return this.model?.show_uncertainties;\n }\n get showWfas() {\n return this.model?.show_wfa;\n }\n get breadcrumbsArr() {\n return this.breadcrumbService.breadcrumbs;\n }\n get tagFilter() {\n return this.tags;\n }\n get mentionFilter() {\n return this.mentions;\n }\n toggleAllComments() {\n this.allCommentsOpen = !this.allCommentsOpen;\n }\n isActive(list_name, item, editor_id) {\n if (item.assignees.length < 2) {\n return item.id == this.editorActiveService.activeItem;\n } else {\n return this.editorActiveService.activeEditorId === editor_id;\n }\n }\n activate(list_name, item) {\n this.editorActiveService.setActiveItem(item?.id);\n return false;\n }\n removeTag() {\n this.tags = null;\n }\n removeMention() {\n this.mentions = null;\n }\n handlePageUpdate() {}\n scrollToItem() {\n const item = document.querySelector(`#id-${this.item} .-ml-2`);\n if (item) {\n item.scrollIntoView({\n behavior: 'smooth'\n });\n item.classList.add('bg-purple-100');\n setTimeout(() => item.classList.remove('bg-purple-100'), 2500);\n }\n }\n showBookmarkModal() {\n this.showModal = true;\n this.bookmark_form = this.store.createRecord('bookmark');\n }\n hideModal() {\n this.showModal = false;\n this.bookmark_form = null;\n }\n async addUsefulLink(changeset) {\n if (changeset.title?.length <= 0) return;\n if (changeset.icon?.length <= 0) return;\n if (changeset.url?.length <= 0) return;\n try {\n this.bookmark_form.title = changeset.title;\n this.bookmark_form.icon = changeset.icon;\n this.bookmark_form.url = changeset.url;\n this.bookmark_form.team = this.model;\n this.bookmark_form.save().then(() => {\n this.hideModal(false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n // console.log(changeset.error);\n }\n editBookmark(bookmark) {\n this.bookmark_form = bookmark;\n this.showModal = true;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"allCommentsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"active_item\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new _activeItemCache.ActiveItemCache();\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"editorActiveService\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"mentions\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"item\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"model\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_questions\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_lls\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"_tfos\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_wfas\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"_uncertainties\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"_usefulLinks\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"bookmark_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"showModal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleAllComments\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleAllComments\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"activate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"activate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeTag\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeTag\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeMention\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeMention\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handlePageUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePageUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"scrollToItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"scrollToItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showBookmarkModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showBookmarkModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addUsefulLink\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addUsefulLink\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editBookmark\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editBookmark\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/operations/teams/team/settings\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import mt from 'moment-timezone';\n\n const DEFUALT_TIMEZONE = 'GMT0';\n let TeamsTeamSettingsController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class TeamsTeamSettingsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"teamValidations\", this.teamValidations);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"notifications\", _descriptor3, this);\n _initializerDefineProperty(this, \"intl\", _descriptor4, this);\n _initializerDefineProperty(this, \"time\", _descriptor5, this);\n _initializerDefineProperty(this, \"meridiem\", _descriptor6, this);\n _initializerDefineProperty(this, \"timezone\", _descriptor7, this);\n }\n get showExtraOptions() {\n return this.betaToggle.uncertainties || this.betaToggle.wfa;\n }\n goToTeams() {\n this.router.transitionTo('resources.teams');\n }\n archiveTeam() {\n const team = this.model;\n team.active = false;\n team.save().then(() => {\n this.router.transitionTo('resources.teams.archived');\n this.notifications.notificationMessage = this.intl.t('_teams.archived-success');\n this.notifications.toggleShowNotification();\n });\n }\n convertTo24HourFormat(time, meridiem) {\n if (time.split(':').length !== 2 && !meridiem) return '';\n let [hour, minutes] = time.split(':');\n if (+hour === 12 && meridiem === 'am') hour = '00';else if (+hour < 12 && meridiem === 'pm') hour = `${+hour + 12}`;\n return `${hour}:${minutes}`;\n }\n handleTimezoneSelect(e) {\n this.timezone = e;\n }\n handleTimeSelect(changeset, e) {\n this.time = e.value;\n changeset.set('archive_time', this.autoArchiveTime);\n }\n handleMeridiemSelect(e, changeset) {\n this.meridiem = e;\n changeset.set('archive_time', this.autoArchiveTime);\n }\n setMembers(changeset, e) {\n changeset.set('people', e);\n }\n removeMember(member, changeset) {\n let people = 'promise' in changeset.get('people') ? changeset.get('people').content : changeset.get('people');\n people = people.filter(m => m.id !== member.id);\n changeset.set('people', people);\n }\n get autoArchiveTime() {\n return this.convertTo24HourFormat(this.time, this.meridiem);\n }\n togglePreferences(changeset, id, e) {\n changeset.set(id, e.target.checked);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"time\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"meridiem\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'am';\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"timezone\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return DEFUALT_TIMEZONE;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"goToTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"archiveTeam\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"archiveTeam\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTimezoneSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTimezoneSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTimeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTimeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleMeridiemSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMeridiemSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setMembers\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setMembers\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeMember\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeMember\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"togglePreferences\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"togglePreferences\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardController = _exports.default = (_class = class PlanningDashboardController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n _initializerDefineProperty(this, \"session\", _descriptor4, this);\n }\n // FIXME: why don't we use app structure for this? @indroneelray\n get tabs() {\n return [{\n label: this.intl.t('dictionary.overview'),\n route: 'planning.dashboard.overview'\n }, {\n label: this.intl.t('dictionary.capacity'),\n route: 'planning.dashboard.capacity'\n }, {\n label: this.intl.t('dashboards.impact'),\n route: 'planning.dashboard.roi',\n classes: 'uppercase'\n }, {\n label: this.intl.t('_scenarios.title', {\n num: 1\n }),\n route: 'planning.dashboard.balance'\n }\n // {\n // label: this.intl.t('dictionary.lanes'),\n // route: 'planning.dashboard.lanes',\n // },\n // {\n // label: this.intl.t('dictionary.timeline'),\n // route: 'planning.dashboard.timeline',\n // },\n // {\n // label: this.intl.t('_initiatives.title', {\n // num: 2,\n // }),\n // route: 'backlog.initiatives',\n // query: {\n // roadmaps: [this.roadmap.id],\n // },\n // },\n ];\n }\n isActive(tab) {\n return this.router.currentRouteName.includes(tab.route);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/balance/edit\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardBalanceEditController = _exports.default = (_class = class PlanningDashboardBalanceEditController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n }\n get scenario() {\n return this.roadmap.scenario;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/balance/view\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardBalanceViewController = _exports.default = (_class = class PlanningDashboardBalanceViewController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n }\n get scenario() {\n return this.roadmap.scenario;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/capacity\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityController = _exports.default = (_class = class PlanningDashboardCapacityController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n get tabs() {\n return [{\n label: '_teams.title',\n route: 'planning.dashboard.capacity.teams'\n }, {\n label: 'roles.title',\n route: 'planning.dashboard.capacity.roles'\n }, {\n label: 'dictionary.weeks',\n route: 'planning.dashboard.capacity.weeks'\n }];\n }\n extractRouteName(name) {\n if (!name.includes('index')) return name;else {\n const routeParts = name.split('.');\n routeParts.splice(routeParts.length - 1, 1);\n return routeParts.join('.');\n }\n }\n isActive(tab) {\n const currentRouteName = this.extractRouteName(this.router.currentRoute.name);\n const tabRouteName = this.extractRouteName(tab.route);\n return currentRouteName === tabRouteName;\n }\n get activeTab() {\n const tab = this.tabs.filter(item => this.isActive(item))?.[0] ?? this.tabs[0];\n return tab;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"extractRouteName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractRouteName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityDataProvider = _exports.default = (_dec = (0, _service.service)('roadmap'), _class = class CapacityDataProvider extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor, this);\n }\n get roadmap() {\n return this.roadmapService.get('selected');\n }\n get initiatives() {\n return this.roadmapService.initiatives;\n }\n get scenario() {\n return this.roadmapService.investmentScenario;\n }\n get roadmap_id() {\n return this.roadmap?.id;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/capacity/roles\", [\"exports\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"], function (_exports, _object, _tracking, _capacityDataProvider) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityRolesController = _exports.default = (_class = class PlanningDashboardCapacityRolesController extends _capacityDataProvider.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'productManagers', 'teams', 'columns']);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor3, this);\n _initializerDefineProperty(this, \"themes\", _descriptor4, this);\n _initializerDefineProperty(this, \"sources\", _descriptor5, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor6, this);\n _initializerDefineProperty(this, \"teams\", _descriptor7, this);\n _initializerDefineProperty(this, \"columns\", _descriptor8, this);\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n setRoadmapOnInitiative(initiative) {\n const roadmap = this.store.peekRecord('roadmap', this.roadmap_id);\n initiative.roadmaps = [roadmap];\n initiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'teams';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['Progress', 'Owner', 'Effort', 'Uncertainty', 'Team Effort', 'Starting week', 'Duration'];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmapOnInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmapOnInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/capacity/teams\", [\"exports\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"], function (_exports, _object, _tracking, _capacityDataProvider) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityTeamsController = _exports.default = (_class = class PlanningDashboardCapacityTeamsController extends _capacityDataProvider.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'productManagers', 'teams', 'columns']);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor3, this);\n _initializerDefineProperty(this, \"themes\", _descriptor4, this);\n _initializerDefineProperty(this, \"sources\", _descriptor5, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor6, this);\n _initializerDefineProperty(this, \"teams\", _descriptor7, this);\n _initializerDefineProperty(this, \"columns\", _descriptor8, this);\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n setRoadmapOnInitiative(initiative) {\n const roadmap = this.store.peekRecord('roadmap', this.roadmap_id);\n initiative.roadmaps = [roadmap];\n initiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'teams';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['Progress', 'Owner', 'Effort', 'Uncertainty', 'Team Effort', 'Starting week', 'Duration'];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmapOnInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmapOnInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/capacity/weeks\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"], function (_exports, _object, _service, _tracking, _capacityDataProvider) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/controllers/planning/dashboard/capacity/capacity-data-provider\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityWeeksController = _exports.default = (_dec = (0, _service.service)('roadmap'), _class = class PlanningDashboardCapacityWeeksController extends _capacityDataProvider.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor4, this);\n _initializerDefineProperty(this, \"scenario\", _descriptor5, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor6, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor7, this);\n _initializerDefineProperty(this, \"themes\", _descriptor8, this);\n _initializerDefineProperty(this, \"sources\", _descriptor9, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor0, this);\n _initializerDefineProperty(this, \"teams\", _descriptor1, this);\n _initializerDefineProperty(this, \"columns\", _descriptor10, this);\n }\n async loadInitiatives() {\n this.initiatives = await this.roadmapService.initiatives;\n }\n async loadScenario() {\n this.scenario = await this.roadmapService.scenario;\n }\n async loadRoadmap() {\n this.roadmap = await this.roadmapService.selected;\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n setRoadmapOnInitiative(initiative) {\n const roadmap = this.store.peekRecord('roadmap', this.roadmap_id);\n initiative.roadmaps = [roadmap];\n initiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"scenario\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'statuses';\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['Progress', 'Owner', 'Effort', 'Uncertainty', 'Starting week', 'Duration'];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadScenario\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadScenario\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmapOnInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmapOnInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/grid\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardGridController = _exports.default = (_class = class PlanningDashboardGridController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['column', 'row', 'effort', 'uncertainties', 'waiting', 'updatedAt', 'tickets']);\n _initializerDefineProperty(this, \"column\", _descriptor, this);\n _initializerDefineProperty(this, \"row\", _descriptor2, this);\n _initializerDefineProperty(this, \"effort\", _descriptor3, this);\n _initializerDefineProperty(this, \"uncertainties\", _descriptor4, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor5, this);\n _initializerDefineProperty(this, \"waiting\", _descriptor6, this);\n _initializerDefineProperty(this, \"updatedAt\", _descriptor7, this);\n _initializerDefineProperty(this, \"tickets\", _descriptor8, this);\n _initializerDefineProperty(this, \"slideoverIsOpen\", _descriptor9, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor0, this);\n _initializerDefineProperty(this, \"intl\", _descriptor1, this);\n }\n get activeFields() {\n return {\n effort: this.effort,\n uncertainties: this.uncertainties,\n tfos: this.tfos,\n waiting: this.waiting,\n updatedAt: this.updatedAt,\n tickets: this.tickets\n };\n }\n setColumn(e) {\n this.column = e.value;\n }\n setRow(e) {\n this.row = e.value;\n }\n toggleFilterSlideover() {\n this.slideoverIsOpen = !this.slideoverIsOpen;\n }\n get options() {\n return [{\n label: (0, _capitalize.default)(this.intl.t('_initiatives.source', {\n num: 1\n })),\n value: 'source'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.status')),\n value: 'status'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.teams', {\n num: 1\n })),\n value: 'teams'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.themes', {\n num: 1\n })),\n value: 'theme'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.progress')),\n value: 'latestUpdate'\n }, {\n label: (0, _capitalize.default)(this.intl.t('dictionary.goals', {\n num: 1\n })),\n value: 'goals'\n }];\n }\n excludeSelectedRowOption() {\n return this.options.filter(item => item.value !== this.row);\n }\n excludeSelectedColumnOption() {\n return this.options.filter(item => item.value !== this.column);\n }\n handleFilterSelect({\n target: {\n name,\n checked\n }\n }) {\n this[name] = checked;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"column\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"row\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'teams';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"effort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uncertainties\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"waiting\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"updatedAt\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tickets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"slideoverIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRow\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"excludeSelectedRowOption\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"excludeSelectedRowOption\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"excludeSelectedColumnOption\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"excludeSelectedColumnOption\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/health\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/group-by\"], function (_exports, _controller, _object, _service, _tracking, _groupBy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/group-by\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardRoadmapHealthController = _exports.default = (_dec = (0, _service.service)('roadmap'), _class = class PlanningDashboardRoadmapHealthController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor4, this);\n _defineProperty(this, \"queryParams\", ['health', 'status', 'sort']);\n _initializerDefineProperty(this, \"health\", _descriptor5, this);\n _initializerDefineProperty(this, \"status\", _descriptor6, this);\n _initializerDefineProperty(this, \"sort\", _descriptor7, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor8, this);\n }\n get roadmap() {\n return this.roadmapService.selected;\n }\n get groupedInitiatives() {\n if (!this.roadmap) return [];\n const initiatives = this.store.peekRecord('roadmap', this.roadmap.id)?.initiatives?.content;\n let sortedInitiatives = this.sortInitiatives(initiatives?.slice(), this.sort);\n if (this.status.length !== 0) sortedInitiatives = sortedInitiatives.filter(initiative => this.status.includes(initiative.status));\n if (this.health.length !== 0) sortedInitiatives = sortedInitiatives.filter(initiative => this.health.includes(initiative?.latestUpdate?.status));\n const grouped = (0, _groupBy.default)(sortedInitiatives, initiative => {\n if (this.sort === 'status') return initiative.statusLabel;else return initiative.latestUpdate?.status ?? 'no-records';\n });\n console.log(grouped);\n return grouped;\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n loadInitiatives() {\n if (!this.roadmap) return;\n const roadmap = this.store.peekRecord('roadmap', this.roadmap);\n roadmap?.initiativeIds?.map(initiative_id => {\n this.store.findRecord('initiative', initiative_id, {\n include: 'workstream'\n });\n });\n }\n setHealthFilter(e) {\n this.health = e;\n }\n setStatusFilter(e) {\n this.status = e;\n }\n setSortFilter(e) {\n this.sort = e;\n }\n sortByStatus(initiatives = []) {\n const statusPriorityMap = this.betaToggle.statusPriority;\n return initiatives.sort((a, b) => statusPriorityMap[a.status] - statusPriorityMap[b.status]);\n }\n sortByHealth(initiatives = []) {\n const healthPriorityMap = this.betaToggle.healthPriority;\n return initiatives.sort((a, b) => healthPriorityMap[a?.latestUpdate?.status] - healthPriorityMap[b?.latestUpdate?.status]);\n }\n sortInitiatives(initiatives, sortKey) {\n if (sortKey === 'status') {\n return this.sortByStatus(initiatives);\n }\n if (sortKey === 'health') {\n return this.sortByHealth(initiatives);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"health\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"sort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setHealthFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setHealthFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setStatusFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setStatusFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSortFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSortFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sortInitiatives\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/lanes\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardLanesController = _exports.default = (_class = class PlanningDashboardLanesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n _defineProperty(this, \"initiativeOptions\", []);\n }\n updateSelectedInitiatives() {}\n removeInitiative() {}\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/overview\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewController = _exports.default = (_class = class PlanningDashboardOverviewController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n get tabs() {\n return [{\n label: this.intl.t('_initiatives.progress'),\n route: 'planning.dashboard.overview.grid'\n }, {\n label: this.intl.t('dictionary.lanes'),\n route: 'planning.dashboard.overview.lanes'\n }, {\n label: this.intl.t('dictionary.timeline'),\n route: 'planning.dashboard.overview.timeline'\n }, {\n label: this.intl.t('pages.table'),\n route: 'planning.dashboard.overview.table'\n }];\n }\n extractRouteName(name = '') {\n if (!name.includes('index')) return name;else {\n const routeParts = name.split('.');\n routeParts.splice(routeParts.length - 1, 1);\n return routeParts.join('.');\n }\n }\n isActive(tab) {\n const currentRouteName = this.extractRouteName(this.router.currentRoute?.name);\n const tabRouteName = this.extractRouteName(tab.route);\n return currentRouteName === tabRouteName;\n }\n get activeTab() {\n const tab = this.tabs.filter(item => this.isActive(item))?.[0] ?? this.tabs[0];\n return tab;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"extractRouteName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractRouteName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/overview/grid\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewGridController = _exports.default = (_class = class PlanningDashboardOverviewGridController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['column', 'row', 'effort', 'uncertainties', 'waiting', 'updatedAt', 'tickets', 'hiddenRows', 'hiddenColumns']);\n _initializerDefineProperty(this, \"column\", _descriptor, this);\n _initializerDefineProperty(this, \"row\", _descriptor2, this);\n _initializerDefineProperty(this, \"effort\", _descriptor3, this);\n _initializerDefineProperty(this, \"uncertainties\", _descriptor4, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor5, this);\n _initializerDefineProperty(this, \"waiting\", _descriptor6, this);\n _initializerDefineProperty(this, \"updatedAt\", _descriptor7, this);\n _initializerDefineProperty(this, \"tickets\", _descriptor8, this);\n _initializerDefineProperty(this, \"slideoverIsOpen\", _descriptor9, this);\n _initializerDefineProperty(this, \"hiddenRows\", _descriptor0, this);\n _initializerDefineProperty(this, \"hiddenColumns\", _descriptor1, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor10, this);\n _initializerDefineProperty(this, \"intl\", _descriptor11, this);\n }\n get activeFieldsMap() {\n return {\n effort: this.effort,\n uncertainties: this.uncertainties,\n tfos: this.tfos,\n waiting: this.waiting,\n updatedAt: this.updatedAt,\n tickets: this.tickets\n };\n }\n get fieldOptions() {\n return [{\n label: this.intl.t('dictionary.effort'),\n value: 'effort',\n checked: this.effort\n }, {\n label: this.intl.t('dictionary.uncertainty', {\n num: 2\n }),\n value: 'uncertainties',\n checked: this.uncertainties\n }, {\n label: this.intl.t('dictionary.waiting-for-answers'),\n value: 'waiting',\n checked: this.waiting\n }, {\n label: this.intl.t('dictionary.last-updated'),\n value: 'updatedAt',\n checked: this.updatedAt\n }, {\n label: this.intl.t('_initiatives.tickets'),\n value: 'tickets',\n checked: this.tickets\n }];\n }\n get activeFields() {\n return this.fieldOptions.reduce((acc, field) => {\n if (field.checked !== true) ;else acc.push(field);\n return acc;\n }, []);\n }\n get activeFieldsKeys() {\n return this.activeFields.reduce((acc, item) => {\n acc.push(item.value);\n return acc;\n }, []);\n }\n setColumn(e) {\n this.column = e.value;\n }\n setRow(e) {\n this.row = e.value;\n }\n toggleFilterSlideover() {\n this.slideoverIsOpen = !this.slideoverIsOpen;\n }\n get options() {\n return [{\n label: (0, _capitalize.default)(this.intl.t('_initiatives.source', {\n num: 1\n })),\n value: 'source'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.status')),\n value: 'status'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.teams', {\n num: 1\n })),\n value: 'teams'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.themes', {\n num: 1\n })),\n value: 'theme'\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.progress')),\n value: 'progress'\n }, {\n label: (0, _capitalize.default)(this.intl.t('dictionary.goals', {\n num: 1\n })),\n value: 'goals'\n }];\n }\n onFieldSelect(fields) {\n this.fieldOptions.forEach(item => {\n if (fields.includes(item.value)) this[item.value] = true;else this[item.value] = false;\n });\n }\n updateRowFilters(hiddenRows) {\n this.hiddenRows = JSON.stringify(hiddenRows);\n }\n updateColumnFilters(hiddenColumns) {\n this.hiddenColumns = JSON.stringify(hiddenColumns);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"column\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"row\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'teams';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"effort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uncertainties\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"waiting\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"updatedAt\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tickets\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"slideoverIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"hiddenRows\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"hiddenColumns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRow\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onFieldSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onFieldSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRowFilters\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRowFilters\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateColumnFilters\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateColumnFilters\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/overview/lanes\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewLanesController = _exports.default = (_class = class PlanningDashboardOverviewLanesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n _defineProperty(this, \"initiativeOptions\", []);\n }\n updateSelectedInitiatives() {}\n removeInitiative() {}\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/overview/table\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewTableController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _dec2 = (0, _service.service)('organisation'), _class = class PlanningDashboardOverviewTableController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"favorite\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor4, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor5, this);\n _initializerDefineProperty(this, \"intl\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor8, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor9, this);\n _initializerDefineProperty(this, \"persons\", _descriptor0, this);\n _initializerDefineProperty(this, \"initiativeFormIsVisible\", _descriptor1, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor10, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor11, this);\n _defineProperty(this, \"datepickerInstances\", {});\n _defineProperty(this, \"observer\", null);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'productManagers', 'teams', 'columns']);\n // @tracked sort = '';\n _initializerDefineProperty(this, \"view\", _descriptor12, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor13, this);\n _initializerDefineProperty(this, \"statuses\", _descriptor14, this);\n _initializerDefineProperty(this, \"themes\", _descriptor15, this);\n _initializerDefineProperty(this, \"sources\", _descriptor16, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor17, this);\n _initializerDefineProperty(this, \"teams\", _descriptor18, this);\n _initializerDefineProperty(this, \"columns\", _descriptor19, this);\n _initializerDefineProperty(this, \"tableSort\", _descriptor20, this);\n _initializerDefineProperty(this, \"list\", _descriptor21, this);\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.productManagers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n get roadmap_id() {\n return this.roadmap?.selected?.id;\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n get columnOptions() {\n const columns = [\n // { label: this.intl.t('initiatives.table.title'), class: '!px-4 !py-3 min-w-[320px] w-full', sortKey: 'title' },\n {\n label: this.intl.t('_initiatives.starting-week')\n }, {\n label: this.intl.t('_initiatives.duration')\n }, {\n label: this.intl.t('_initiatives.progress')\n }, {\n label: this.intl.t('_initiatives.product-manager')\n }, {\n label: this.intl.t('_initiatives.teams', {\n num: 3\n })\n }, {\n label: this.intl.t('roadmap.title', {\n num: 3\n }),\n class: '!px-4 !py-3 min-w-[120px]'\n }, {\n label: this.intl.t('_initiatives.status')\n }, {\n label: this.intl.t('_initiatives.source', {\n num: 1\n }),\n sortKey: 'source'\n }, {\n label: this.intl.t('_initiatives.themes', {\n num: 3\n })\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.goals', {\n num: 3\n })),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap'\n }, {\n label: this.intl.t('_initiatives.impact'),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'bon_value'\n }, {\n label: this.intl.t('_initiatives.investment', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] text-right',\n sortKey: 'bon_investment'\n }, {\n label: this.intl.t('_initiatives.returns', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] text-right',\n sortKey: 'bon_returns'\n }, {\n label: this.intl.t('_initiatives.effort'),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks'\n }, {\n label: this.intl.t('_initiatives.uncertainty', {\n num: 1\n }),\n class: '!px-4 !py-3 min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks_only_uncertainty'\n }, {\n label: `${this.intl.t('_initiatives.effort')} ${this.intl.t('_initiatives.details')}`,\n show: false\n }];\n columns.forEach(item => {\n item.show = this.showColumn(item);\n });\n return columns.slice();\n }\n showColumn(column) {\n if (this.columns.length === 0) {\n if (column.show !== undefined) return column.show;\n return true;\n } else {\n return this.columns.includes(column.label);\n }\n }\n toggleInitiativeForm(val) {\n if (val !== undefined) this.initiativeFormIsVisible = val;else this.initiativeFormIsVisible = !this.initiativeFormIsVisible;\n }\n setRoadmapOnInitiative(initiative) {\n const roadmap = this.store.peekRecord('roadmap', this.roadmap_id);\n initiative.roadmaps = [roadmap];\n initiative.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"persons\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"initiativeFormIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"view\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"statuses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"tableSort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"list\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleInitiativeForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInitiativeForm\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmapOnInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmapOnInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/overview/timeline\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"highcharts/highcharts-gantt\", \"moment\", \"scaleflow/utils/colorClasses\", \"scaleflow/utils/custom-events\", \"scaleflow/utils/numberSort\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _highchartsGantt, _moment, _colorClasses, _customEvents, _numberSort, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20; // import Draggable from 'highcharts/modules/draggable-points';\n // import Exportable from 'highcharts/modules/exporting';\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"highcharts/highcharts-gantt\",0,\"moment\",0,\"scaleflow/utils/colorClasses\",0,\"scaleflow/utils/custom-events\",0,\"scaleflow/utils/numberSort\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Draggable(Highcharts);\n // Exportable(Highcharts);\n let PlanningDashboardOverviewTimelineController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class PlanningDashboardOverviewTimelineController extends _controller.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"router\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor8, this);\n _initializerDefineProperty(this, \"selectedTimeRange\", _descriptor9, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'statuses', 'themes', 'sources', 'product_managers', 'teams', 'show_grouping', 'start_date', 'end_date', 'columns']);\n _initializerDefineProperty(this, \"grouping\", _descriptor0, this);\n _initializerDefineProperty(this, \"status\", _descriptor1, this);\n _initializerDefineProperty(this, \"themes\", _descriptor10, this);\n _initializerDefineProperty(this, \"sources\", _descriptor11, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor12, this);\n _initializerDefineProperty(this, \"teams\", _descriptor13, this);\n _initializerDefineProperty(this, \"show_grouping\", _descriptor14, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor15, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor16, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor17, this);\n _initializerDefineProperty(this, \"columns\", _descriptor18, this);\n _defineProperty(this, \"chartInstance\", null);\n _defineProperty(this, \"defaultStatus\", []);\n _initializerDefineProperty(this, \"today\", _descriptor19, this);\n _initializerDefineProperty(this, \"day\", _descriptor20, this);\n document.addEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n this.defaultStatus = this.intl._locale ? this.betaService?.statusOptions?.map(item => item.value) : [];\n }\n get persons() {\n return this.store.peekAll('person');\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n get roadmap_id() {\n return this.roadmap?.selected?.id;\n }\n onRender() {\n this.drawChart();\n }\n getDateFromYYYYWW(yyyy_ww, weeks_to_add) /*yyyy-WW:yyyy-WW*/{\n const parsed = yyyy_ww;\n let date = null;\n const first_day_of_week = this.organisation?.first_day_of_week;\n if (first_day_of_week) {\n date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);\n } else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n if (weeks_to_add) date.add(weeks_to_add, 'week');\n return date;\n }\n get groupingKey() {\n if (!this.grouping) return 'status';\n if (this.grouping.includes('theme')) return 'theme.title';\n if (this.grouping.includes('status')) return 'status';\n if (this.grouping.includes('product-manager')) return 'productManager.name';\n if (this.grouping.includes('team')) return 'team.name';\n if (this.grouping.includes('updates')) return 'latestUpdate';\n return 'source';\n }\n getGroupingLabel(initiative, groupKey) {\n let label = '';\n if (groupKey.toLowerCase() === 'status') {\n label = this.betaService.statusOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'source') {\n label = this.betaService.sourceOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'team.name') {\n label = initiative.teams_sync?.[0]?.name;\n } else if (groupKey === 'latestUpdate') {\n label = initiative?.latestUpdate?.statusLabel;\n } else label = initiative.get(groupKey);\n return label ? (0, _capitalize.default)(label) : 'No group';\n }\n get initiatives() {\n const filteredInitiatives = this.roadmap.initiatives;\n const groupKey = this.groupingKey;\n const dataObject = filteredInitiatives.reduce((acc, item) => {\n if (!item.starting_week || !item.source || !item.duration) return acc;\n const start_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0], item.duration);\n const bon_value = item.bon_value ? Number(item.bon_value).toFixed(2) : '-';\n const accKey = this.getGroupingLabel(item, groupKey);\n const teams = item.teams_sync;\n let initiative = {\n id: item.id,\n title: item.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: item.status,\n status_color: _colorClasses.statusBgColors[item.status],\n source: item.source,\n name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(item.title),\n abbv: item.title.substring(0, 1),\n duration: item.duration,\n bon: bon_value,\n person_weeks: item.person_weeks_including_uncertainty ?? '-',\n uncertainty: item.person_weeks_only_uncertainty ?? '-',\n team_id: teams?.[0]?.get('id'),\n team_name: teams?.[0]?.get('name')\n };\n if (!acc[accKey]) acc[accKey] = {\n data: [initiative],\n name: initiative.name\n };else acc[accKey].data.push({\n ...initiative,\n parent: acc[accKey].data[0].id\n });\n return acc;\n }, {});\n const sortedDataObject = Object.keys(dataObject).sort((a, b) => {\n if (a === 'No group') return -Infinity;\n if (b === 'No group') return -Infinity;\n if (a.charAt(0).toUpperCase() > b.charAt(0).toUpperCase()) return -1;\n if (a.charAt(0).toUpperCase() < b.charAt(0).toUpperCase()) return 1;\n return 0;\n }).reduce((acc, key) => {\n acc[key] = dataObject[key];\n return acc;\n }, {});\n const arrayDataObject = Object.values(sortedDataObject);\n arrayDataObject.forEach(item => {\n item.data = item.data.map((initiative, _index) => {\n return {\n ...initiative,\n ...(_index !== 0 && {\n parent: item.data[0].id,\n name: undefined\n })\n };\n }).sort((a, b) => (0, _numberSort.default)(a.start, b.start, 'asc'));\n });\n return arrayDataObject;\n }\n generatePointDataFromInitiative(initiative) {\n const start_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0], initiative.duration);\n const bon_value = initiative.bon_value ? Number(initiative.bon_value).toFixed(2) : '-';\n const teams = initiative.teams_sync;\n return {\n id: initiative.id,\n title: initiative.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: initiative.status,\n status_color: _colorClasses.statusBgColors[initiative.status],\n source: initiative.source,\n // name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(initiative.title),\n abbv: initiative.title.substring(0, 1),\n duration: initiative.duration,\n bon: bon_value,\n person_weeks: initiative.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: initiative.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams[0]?.get?.('id'),\n team_name: teams[0]?.get?.('name')\n };\n }\n updateInitiativePoint(newPoint, initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n const original_starting_week = initiative.starting_week;\n const split = original_starting_week.split(':');\n const starting_date = (0, _moment.default)(split[0], 'yyyy-WW');\n const ending_date = (0, _moment.default)(split[0], 'yyyy-WW').add(initiative.duration, 'week');\n const startDate = newPoint?.start ? (0, _moment.default)(newPoint.start) : starting_date;\n const endDate = newPoint?.end ? (0, _moment.default)(newPoint?.end) : ending_date;\n const startDateString = startDate.format('yyyy-WW');\n const endDateString = endDate.format('yyyy-WW');\n const yearDifference = +endDateString.split('-')[0] - +startDateString.split('-')[0];\n const starting_week = `${startDateString}:${endDateString}`;\n const difference = yearDifference === 0 ? +endDateString.split('-')[1] - +startDateString.split('-')[1] : 52 * yearDifference + +endDateString.split('-')[1] - +startDateString.split('-')[1];\n const duration = difference;\n initiative.starting_week = starting_week;\n initiative.duration = duration;\n const accKey = this.getGroupingLabel(initiative, this.groupingKey);\n const serie = this.chartInstance.series.find(serie => serie.name === accKey);\n const point = serie.data.find(item => item.id === initiativeId);\n const update = this.generatePointDataFromInitiative(initiative);\n point?.update({\n ...update\n });\n }\n get currentMonthStartEnd() {\n const now = (0, _moment.default)().startOf('month');\n const one_month = now.clone().add(1, 'month');\n return [now.valueOf(), one_month.valueOf()];\n }\n get currentQuarterStartEnd() {\n const startOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).startOf('quarter');\n const endOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).endOf('quarter');\n return [startOfQuarter.valueOf(), endOfQuarter.valueOf()];\n }\n async updateChartData() {\n await this.roadmap.initiatives;\n this.drawChart();\n }\n updateInitiative(initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n initiative.save();\n }\n drawChart() {\n const that = this;\n if (this.chartInstance) this.chartInstance.destroy();\n this.chartInstance = new _highchartsGantt.default.ganttChart('timeline-chart', {\n series: this.initiatives,\n chart: {\n plotBackgroundColor: 'rgb(249 250 251)',\n events: {\n load() {\n let chart = this;\n const [start, end] = [(0, _moment.default)(that.roadmap.selected.start_date).valueOf(), (0, _moment.default)(that.roadmap.selected.end_date).valueOf()];\n chart.xAxis[0].setExtremes(start, end);\n },\n redraw() {}\n },\n panning: {\n enabled: true,\n type: 'x'\n }\n },\n plotOptions: {\n gantt: {\n pointWidth: 50,\n zIndex: 899,\n cursor: 'pointer',\n borderRadius: 8,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n eabled: false\n }\n }\n },\n series: {\n pointPadding: 20,\n animation: false,\n // Do not animate dependency connectors\n enableMouseTracking: true,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n enabled: false\n }\n },\n dragDrop: {\n draggableX: true,\n liveRedraw: false,\n guideBox: {\n default: {\n className: 'highcharts-drag-box-default rounded-md',\n color: 'rgb(229 231 235)',\n cursor: 'move',\n lineColor: 'rgb(75 85 99)',\n lineWidth: 1,\n zIndex: 901\n }\n },\n /* draggableY: true, */\n dragMinY: 0,\n dragMaxY: 2,\n dragPrecisionX: 1000 * 60 * 60 * 24 * 1,\n // Snap to 7 days\n // dragPrecisionX: 0, // Snap to 7 days\n dragHandle: {\n zIndex: 15,\n lineWidth: 3,\n pathFormatter: () => 'M 0 0 L 0 20 A 1 1 0 0 0 0 30 A 1 1 0 0 0 0 20 M 0 30 L 0 52'.split(' ')\n }\n },\n dataLabels: {\n enabled: true,\n format: '
    ' + '{point.title}|' + '{point.person_weeks}pw' + '{#if point.uncertainty}(+{point.uncertainty}){/if}' + '{#if point.team_id}
    {/if}' + '
    ',\n useHTML: true,\n align: 'left',\n overflow: 'justify',\n inside: true,\n allowOverlap: false\n },\n allowPointSelect: false,\n className: 'initiative-point'\n // point: {\n // events: {\n // select: (e) => this.onInitiativeSelect(e.target.id),\n // unselect: () => console.log('on unselect'),\n // remove: () => console.log('on remove'),\n // drop: ({ newPoint, newPointId }) => {\n // this.updateInitiativePoint(newPoint, newPointId);\n // this.updateInitiative(newPointId);\n // },\n // // drag: ({ newPoint, newPointId }) => {\n // // // this.updateInitiativePoint(newPoint, newPointId);\n // // },\n // },\n // },\n }\n },\n title: {\n text: ''\n },\n navigator: {\n enabled: true,\n liveRedraw: true,\n adaptToUpdatedData: false,\n series: {\n type: 'gantt',\n pointPlacement: 0.5,\n pointPadding: 0.25,\n accessibility: {\n enabled: false\n }\n }\n },\n scrollbar: {\n enabled: true\n },\n accessibility: {\n enabled: false\n },\n rangeSelector: {\n enabled: true,\n selected: that.selectedTimeRange,\n allButtonsEnabled: true,\n //customize range selector buttons\n buttons: [{\n type: 'month',\n text: 'Now',\n count: 3,\n events: {\n click: () => {\n const [start, end] = [(0, _moment.default)(this.roadmap.selected.start_date).valueOf(), (0, _moment.default)(that.roadmap.selected.end_date).valueOf()];\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 0;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '1m',\n count: 1,\n events: {\n click: () => {\n const [start, end] = this.currentMonthStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 1;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '3m',\n count: 3,\n events: {\n click: () => {\n const [start, end] = this.currentQuarterStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 2;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '6m',\n count: 6,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(6, 'month').valueOf());\n this.selectedTimeRange = 3;\n return false;\n }\n }\n }, {\n type: 'year',\n text: '1y',\n count: 1,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(1, 'year').valueOf());\n this.selectedTimeRange = 4;\n return false;\n }\n }\n }, {\n type: 'all',\n text: 'All'\n }]\n },\n tooltip: {\n enabled: false,\n formatter: function () {\n // const source = this.point.options.source;\n const currency = that.organisation.locale === 'en-US' ? '$' : '€';\n return '

    ' + (0, _capitalize.default)(this.point.options.source) + '' + 'Duration: ' + (0, _moment.default)(this.point.options.start).format('DD MMM') + '-' + (0, _moment.default)(this.point.options.end).format('DD MMM') + ', ' + this.point.options.duration + 'w' + '' + 'Person weeks: ' + this.point.options.person_weeks + ' pw' + 'Uncertainty: ' + this.point.options.uncertainty + ' pw' + 'Back-of-a-napkin:' + currency + this.point.options.bon + '' + '

    ';\n },\n // shared: true,\n backgroundColor: 'rgba(255,255,255,1)',\n borderRadius: 4,\n borderColor: 'transparent',\n useHTML: true,\n animation: false,\n outside: true,\n shadow: true,\n followPointer: true\n },\n lang: {\n accessibility: {\n axis: {\n xAxisDescriptionPlural: 'The chart has a two-part X axis showing time in both week numbers and days.',\n yAxisDescriptionSingular: 'The chart has a tabular Y axis showing a data table row for each point.'\n }\n }\n },\n // accessibility: {\n // keyboardNavigation: {\n // seriesNavigation: {\n // mode: 'serialize',\n // },\n // },\n // point: {\n // // valueDescriptionFormat: 'Rented to {point.rentedTo} from {point.x:%A, %B %e} to {point.x2:%A, %B %e}.',\n // },\n // series: {\n // descriptionFormatter: function (series) {\n // return series.name + ', car ' + (series.index + 1) + ' of ' + series.chart.series.length + '.';\n // },\n // },\n // },\n xAxis: [\n //for second top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n startOfWeek: this.organisation?.first_day_of_week ?? 1,\n // startOnTick: true,\n gridLineWidth: 1,\n gridLineColor: '#ccd6eb',\n borderColor: '#ccd6eb',\n currentDateIndicator: {\n color: '#4f46e5',\n dashStyle: 'ShortDot',\n width: 2,\n label: {\n format: '%a, %b %e %Y' //find format docs here https://api.highcharts.com/class-reference/Highcharts.Time#dateFormat\n }\n },\n tickInterval: 24 * 3600 * 1000 * 7,\n max: (0, _moment.default)().add('1', 'year').valueOf()\n // events: {\n // afterSetExtremes: (data) => {\n // that.selectedRange = [data.min, data.max];\n // },\n // },\n // custom: {\n // today,\n // weekendPlotBands: true\n // }\n },\n //for top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n }\n }],\n yAxis: {\n labels: {\n enabled: true\n },\n visible: this.show_grouping,\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n gridLineWidth: 0,\n staticScale: 54\n },\n exporting: {\n enabled: false\n // menuItemDefinitions: {\n // toggleGrouping: {\n // text: 'Show/Hide Grouping',\n // onclick: function () {\n // this.yAxis.forEach((axis) => {\n // axis.update({\n // visible: !axis.visible,\n // });\n // });\n // that.show_grouping = !that.show_grouping;\n // },\n // },\n // },\n // buttons: {\n // contextButton: {\n // enabled: true,\n // menuItems: ['toggleGrouping'],\n // },\n // },\n }\n });\n var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);\n if (isSafari) {\n document.querySelectorAll('.highcharts-point').forEach(element => {\n element.classList.add('safari-stroke');\n });\n }\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n onInitiativeUpdate({\n detail: {\n initiative\n }\n }) {\n this.updateInitiativePoint(undefined, initiative);\n }\n willDestroy() {\n super.willDestroy(...arguments);\n document.removeEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n onGroupingVisibilityToggle(e) {\n this.show_grouping = e;\n this, this.chartInstance.yAxis.forEach(axis => {\n axis.update({\n visible: !axis.visible\n });\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selectedTimeRange\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'team.name';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"show_grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"columns\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"today\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Date();\n }\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"day\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 1000 * 60 * 60 * 24;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"updateInitiativePoint\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateInitiativePoint\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChartData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChartData\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"drawChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"drawChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingVisibilityToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingVisibilityToggle\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/progress\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\"eaimeta@70e063a35619d71f\n class PlanningDashboardRoadmapProgressController extends _controller.default {}\n _exports.default = PlanningDashboardRoadmapProgressController;\n});","define(\"scaleflow/controllers/planning/dashboard/roi\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardRoiController = _exports.default = (_dec = (0, _service.service)('roadmap'), _class = class PlanningDashboardRoiController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmapService\", _descriptor, this);\n _initializerDefineProperty(this, \"datasetFetcher\", _descriptor2, this);\n _initializerDefineProperty(this, \"data\", _descriptor3, this);\n }\n get roadmap() {\n return this.roadmapService.selected;\n }\n get initiatives() {\n return this.roadmapService.initiatives;\n }\n loadData() {\n this.datasetFetcher.fetchInitiativesDataset(this.roadmap).then(data => {\n this.data = data;\n }).catch(err => console.log('load data err', err));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmapService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"datasetFetcher\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"data\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"loadData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadData\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/planning/dashboard/timeline\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"highcharts/modules/draggable-points\", \"highcharts/modules/exporting\", \"highcharts/highcharts-gantt\", \"moment\", \"scaleflow/utils/colorClasses\", \"scaleflow/utils/custom-events\", \"scaleflow/utils/numberSort\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _draggablePoints, _exporting, _highchartsGantt, _moment, _colorClasses, _customEvents, _numberSort, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"highcharts/modules/draggable-points\",0,\"highcharts/modules/exporting\",0,\"highcharts/highcharts-gantt\",0,\"moment\",0,\"scaleflow/utils/colorClasses\",0,\"scaleflow/utils/custom-events\",0,\"scaleflow/utils/numberSort\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n (0, _draggablePoints.default)(_highchartsGantt.default);\n (0, _exporting.default)(_highchartsGantt.default);\n let PlanningDashboardTimelineController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class PlanningDashboardTimelineController extends _controller.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"router\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor8, this);\n _initializerDefineProperty(this, \"selectedTimeRange\", _descriptor9, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams', 'show_grouping', 'start_date', 'end_date']);\n _initializerDefineProperty(this, \"grouping\", _descriptor0, this);\n _initializerDefineProperty(this, \"status\", _descriptor1, this);\n _initializerDefineProperty(this, \"themes\", _descriptor10, this);\n _initializerDefineProperty(this, \"sources\", _descriptor11, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor12, this);\n _initializerDefineProperty(this, \"teams\", _descriptor13, this);\n _initializerDefineProperty(this, \"show_grouping\", _descriptor14, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor15, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor16, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor17, this);\n _defineProperty(this, \"chartInstance\", null);\n _initializerDefineProperty(this, \"today\", _descriptor18, this);\n _initializerDefineProperty(this, \"day\", _descriptor19, this);\n document.addEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n get persons() {\n return this.store.peekAll('person');\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n onRender() {\n this.drawChart();\n }\n getDateFromYYYYWW(yyyy_ww, weeks_to_add) /*yyyy-WW:yyyy-WW*/{\n const parsed = yyyy_ww;\n let date = null;\n const first_day_of_week = this.organisation?.first_day_of_week;\n if (first_day_of_week) {\n date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);\n } else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n if (weeks_to_add) date.add(weeks_to_add, 'week');\n return date;\n }\n get groupingKey() {\n if (!this.grouping) return 'status';\n if (this.grouping.includes('theme')) return 'theme.title';\n if (this.grouping.includes('status')) return 'status';\n if (this.grouping.includes('product-manager')) return 'productManager.name';\n if (this.grouping.includes('team')) return 'team.name';\n if (this.grouping.includes('updates')) return 'latestUpdate';\n return 'source';\n }\n getGroupingLabel(initiative, groupKey) {\n let label = '';\n if (groupKey.toLowerCase() === 'status') {\n label = this.betaService.statusOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'source') {\n label = this.betaService.sourceOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'team.name') {\n label = initiative.teams_sync?.[0]?.name;\n } else if (groupKey === 'latestUpdate') {\n label = initiative?.latestUpdate?.statusLabel;\n } else label = initiative.get(groupKey);\n return label ? (0, _capitalize.default)(label) : 'No group';\n }\n get initiatives() {\n const filteredInitiatives = this.roadmap.initiatives;\n const groupKey = this.groupingKey;\n const dataObject = filteredInitiatives.reduce((acc, item) => {\n if (!item.starting_week || !item.source || !item.duration) return acc;\n const start_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0], item.duration);\n const bon_value = item.bon_value ? Number(item.bon_value).toFixed(2) : '-';\n const accKey = this.getGroupingLabel(item, groupKey);\n const teams = item.teams_sync;\n let initiative = {\n id: item.id,\n title: item.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: item.status,\n status_color: _colorClasses.statusBgColors[item.status],\n source: item.source,\n name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(item.title),\n abbv: item.title.substring(0, 1),\n duration: item.duration,\n bon: bon_value,\n person_weeks: item.person_weeks_including_uncertainty ?? '-',\n uncertainty: item.person_weeks_only_uncertainty ?? '-',\n team_id: teams?.[0]?.get('id'),\n team_name: teams?.[0]?.get('name')\n };\n if (!acc[accKey]) acc[accKey] = {\n data: [initiative],\n name: initiative.name\n };else acc[accKey].data.push({\n ...initiative,\n parent: acc[accKey].data[0].id\n });\n return acc;\n }, {});\n const sortedDataObject = Object.keys(dataObject).sort((a, b) => {\n if (a === 'No group') return -Infinity;\n if (b === 'No group') return -Infinity;\n if (a.charAt(0).toUpperCase() > b.charAt(0).toUpperCase()) return -1;\n if (a.charAt(0).toUpperCase() < b.charAt(0).toUpperCase()) return 1;\n return 0;\n }).reduce((acc, key) => {\n acc[key] = dataObject[key];\n return acc;\n }, {});\n const arrayDataObject = Object.values(sortedDataObject);\n arrayDataObject.forEach(item => {\n item.data = item.data.map((initiative, _index) => {\n return {\n ...initiative,\n ...(_index !== 0 && {\n parent: item.data[0].id,\n name: undefined\n })\n };\n }).sort((a, b) => (0, _numberSort.default)(a.start, b.start, 'asc'));\n });\n return arrayDataObject;\n }\n generatePointDataFromInitiative(initiative) {\n const start_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0], initiative.duration);\n const bon_value = initiative.bon_value ? Number(initiative.bon_value).toFixed(2) : '-';\n const teams = initiative.teams_sync;\n return {\n id: initiative.id,\n title: initiative.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: initiative.status,\n status_color: _colorClasses.statusBgColors[initiative.status],\n source: initiative.source,\n // name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(initiative.title),\n abbv: initiative.title.substring(0, 1),\n duration: initiative.duration,\n bon: bon_value,\n person_weeks: initiative.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: initiative.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams[0]?.get?.('id'),\n team_name: teams[0]?.get?.('name')\n };\n }\n updateInitiativePoint(newPoint, initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n const original_starting_week = initiative.starting_week;\n const split = original_starting_week.split(':');\n const starting_date = (0, _moment.default)(split[0], 'yyyy-WW');\n const ending_date = (0, _moment.default)(split[0], 'yyyy-WW').add(initiative.duration, 'week');\n const startDate = newPoint?.start ? (0, _moment.default)(newPoint.start) : starting_date;\n const endDate = newPoint?.end ? (0, _moment.default)(newPoint?.end) : ending_date;\n const startDateString = startDate.format('yyyy-WW');\n const endDateString = endDate.format('yyyy-WW');\n const yearDifference = +endDateString.split('-')[0] - +startDateString.split('-')[0];\n const starting_week = `${startDateString}:${endDateString}`;\n const difference = yearDifference === 0 ? +endDateString.split('-')[1] - +startDateString.split('-')[1] : 52 * yearDifference + +endDateString.split('-')[1] - +startDateString.split('-')[1];\n const duration = difference;\n initiative.starting_week = starting_week;\n initiative.duration = duration;\n const accKey = this.getGroupingLabel(initiative, this.groupingKey);\n const serie = this.chartInstance.series.find(serie => serie.name === accKey);\n const point = serie.data.find(item => item.id === initiativeId);\n const update = this.generatePointDataFromInitiative(initiative);\n point?.update({\n ...update\n });\n }\n get currentMonthStartEnd() {\n const now = (0, _moment.default)().startOf('month');\n const one_month = now.clone().add(1, 'month');\n return [now.valueOf(), one_month.valueOf()];\n }\n get currentQuarterStartEnd() {\n const startOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).startOf('quarter');\n const endOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).endOf('quarter');\n return [startOfQuarter.valueOf(), endOfQuarter.valueOf()];\n }\n async updateChartData() {\n await this.roadmap.initiatives;\n this.drawChart();\n }\n updateInitiative(initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n initiative.save();\n }\n drawChart() {\n const that = this;\n if (this.chartInstance) this.chartInstance.destroy();\n this.chartInstance = new _highchartsGantt.default.ganttChart('timeline-chart', {\n series: this.initiatives,\n chart: {\n plotBackgroundColor: 'rgb(249 250 251)',\n events: {\n load() {\n console.debug('Chart loaded');\n let chart = this;\n const [start, end] = [(0, _moment.default)(that.roadmap.selected.start_date).valueOf(), (0, _moment.default)(that.roadmap.selected.end_date).valueOf()];\n chart.xAxis[0].setExtremes(start, end);\n },\n redraw() {\n console.debug('Chart redrawn');\n }\n },\n panning: {\n enabled: true,\n type: 'x'\n }\n },\n plotOptions: {\n gantt: {\n pointWidth: 50,\n zIndex: 899,\n cursor: 'pointer',\n borderRadius: 8,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n eabled: false\n }\n }\n },\n series: {\n pointPadding: 20,\n animation: false,\n // Do not animate dependency connectors\n enableMouseTracking: true,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n enabled: false\n }\n },\n dragDrop: {\n draggableX: true,\n liveRedraw: false,\n guideBox: {\n default: {\n className: 'highcharts-drag-box-default rounded-md',\n color: 'rgb(229 231 235)',\n cursor: 'move',\n lineColor: 'rgb(75 85 99)',\n lineWidth: 1,\n zIndex: 901\n }\n },\n /* draggableY: true, */\n dragMinY: 0,\n dragMaxY: 2,\n dragPrecisionX: 1000 * 60 * 60 * 24 * 1,\n // Snap to 7 days\n // dragPrecisionX: 0, // Snap to 7 days\n dragHandle: {\n zIndex: 15,\n lineWidth: 3,\n pathFormatter: () => 'M 0 0 L 0 20 A 1 1 0 0 0 0 30 A 1 1 0 0 0 0 20 M 0 30 L 0 52'.split(' ')\n }\n },\n dataLabels: {\n enabled: true,\n format: '
    ' + '{point.title}|' + '{point.person_weeks}pw' + '{#if point.uncertainty}(+{point.uncertainty}){/if}' + '{#if point.team_id}
    {/if}' + '
    ',\n useHTML: true,\n align: 'left',\n overflow: 'justify',\n inside: true,\n allowOverlap: false\n },\n allowPointSelect: true,\n className: 'initiative-point',\n point: {\n events: {\n select: e => this.onInitiativeSelect(e.target.id),\n unselect: () => console.log('on unselect'),\n remove: () => console.log('on remove'),\n drop: ({\n newPoint,\n newPointId\n }) => {\n this.updateInitiativePoint(newPoint, newPointId);\n this.updateInitiative(newPointId);\n }\n // drag: ({ newPoint, newPointId }) => {\n // // this.updateInitiativePoint(newPoint, newPointId);\n // },\n }\n }\n }\n },\n title: {\n text: ''\n },\n navigator: {\n enabled: true,\n liveRedraw: true,\n adaptToUpdatedData: false,\n series: {\n type: 'gantt',\n pointPlacement: 0.5,\n pointPadding: 0.25,\n accessibility: {\n enabled: false\n }\n }\n },\n scrollbar: {\n enabled: true\n },\n rangeSelector: {\n enabled: true,\n selected: that.selectedTimeRange,\n allButtonsEnabled: true,\n //customize range selector buttons\n buttons: [{\n type: 'month',\n text: 'Now',\n count: 3,\n events: {\n click: () => {\n const [start, end] = [(0, _moment.default)(this.roadmap.selected.start_date).valueOf(), (0, _moment.default)(that.roadmap.selected.end_date).valueOf()];\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 0;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '1m',\n count: 1,\n events: {\n click: () => {\n const [start, end] = this.currentMonthStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 1;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '3m',\n count: 3,\n events: {\n click: () => {\n const [start, end] = this.currentQuarterStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 2;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '6m',\n count: 6,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(6, 'month').valueOf());\n this.selectedTimeRange = 3;\n return false;\n }\n }\n }, {\n type: 'year',\n text: '1y',\n count: 1,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(1, 'year').valueOf());\n this.selectedTimeRange = 4;\n return false;\n }\n }\n }, {\n type: 'all',\n text: 'All'\n }]\n },\n tooltip: {\n enabled: false,\n formatter: function () {\n // const source = this.point.options.source;\n const currency = that.organisation.locale === 'en-US' ? '$' : '€';\n return '

    ' + (0, _capitalize.default)(this.point.options.source) + '' + 'Duration: ' + (0, _moment.default)(this.point.options.start).format('DD MMM') + '-' + (0, _moment.default)(this.point.options.end).format('DD MMM') + ', ' + this.point.options.duration + 'w' + '' + 'Person weeks: ' + this.point.options.person_weeks + ' pw' + 'Uncertainty: ' + this.point.options.uncertainty + ' pw' + 'Back-of-a-napkin:' + currency + this.point.options.bon + '' + '

    ';\n },\n // shared: true,\n backgroundColor: 'rgba(255,255,255,1)',\n borderRadius: 4,\n borderColor: 'transparent',\n useHTML: true,\n animation: false,\n outside: true,\n shadow: true,\n followPointer: true\n },\n lang: {\n accessibility: {\n axis: {\n xAxisDescriptionPlural: 'The chart has a two-part X axis showing time in both week numbers and days.',\n yAxisDescriptionSingular: 'The chart has a tabular Y axis showing a data table row for each point.'\n }\n }\n },\n // accessibility: {\n // keyboardNavigation: {\n // seriesNavigation: {\n // mode: 'serialize',\n // },\n // },\n // point: {\n // // valueDescriptionFormat: 'Rented to {point.rentedTo} from {point.x:%A, %B %e} to {point.x2:%A, %B %e}.',\n // },\n // series: {\n // descriptionFormatter: function (series) {\n // return series.name + ', car ' + (series.index + 1) + ' of ' + series.chart.series.length + '.';\n // },\n // },\n // },\n xAxis: [\n //for second top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n startOfWeek: this.organisation?.first_day_of_week ?? 1,\n // startOnTick: true,\n gridLineWidth: 1,\n gridLineColor: '#ccd6eb',\n borderColor: '#ccd6eb',\n currentDateIndicator: {\n color: '#4f46e5',\n dashStyle: 'ShortDot',\n width: 2,\n label: {\n format: '%a, %b %e %Y' //find format docs here https://api.highcharts.com/class-reference/Highcharts.Time#dateFormat\n }\n },\n tickInterval: 24 * 3600 * 1000 * 7,\n max: (0, _moment.default)().add('1', 'year').valueOf()\n // events: {\n // afterSetExtremes: (data) => {\n // that.selectedRange = [data.min, data.max];\n // },\n // },\n // custom: {\n // today,\n // weekendPlotBands: true\n // }\n },\n //for top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n }\n }],\n yAxis: {\n labels: {\n enabled: true\n },\n visible: this.show_grouping,\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n gridLineWidth: 0,\n staticScale: 54\n },\n exporting: {\n enabled: false\n // menuItemDefinitions: {\n // toggleGrouping: {\n // text: 'Show/Hide Grouping',\n // onclick: function () {\n // this.yAxis.forEach((axis) => {\n // axis.update({\n // visible: !axis.visible,\n // });\n // });\n // that.show_grouping = !that.show_grouping;\n // },\n // },\n // },\n // buttons: {\n // contextButton: {\n // enabled: true,\n // menuItems: ['toggleGrouping'],\n // },\n // },\n }\n });\n var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);\n if (isSafari) {\n document.querySelectorAll('.highcharts-point').forEach(element => {\n element.classList.add('safari-stroke');\n });\n }\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n onInitiativeUpdate({\n detail: {\n initiative\n }\n }) {\n this.updateInitiativePoint(undefined, initiative);\n }\n willDestroy() {\n super.willDestroy(...arguments);\n document.removeEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n onGroupingVisibilityToggle(e) {\n this.show_grouping = e;\n this, this.chartInstance.yAxis.forEach(axis => {\n axis.update({\n visible: !axis.visible\n });\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selectedTimeRange\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'team.name';\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"show_grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"today\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Date();\n }\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"day\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 1000 * 60 * 60 * 24;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"updateInitiativePoint\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateInitiativePoint\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChartData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChartData\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"drawChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"drawChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingVisibilityToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingVisibilityToggle\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/progress\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ProgressController = _exports.default = (_class = class ProgressController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor3, this);\n _defineProperty(this, \"queryParams\", ['health', 'status', 'sort']);\n _initializerDefineProperty(this, \"health\", _descriptor4, this);\n _initializerDefineProperty(this, \"status\", _descriptor5, this);\n _initializerDefineProperty(this, \"sort\", _descriptor6, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor7, this);\n }\n get initiatives() {\n const initiatives = this.roadmap?.initiatives?.content ?? [];\n let sortedInitiatives = this.sortInitiatives(initiatives, this.sort);\n if (this.status.length !== 0) sortedInitiatives = sortedInitiatives.filter(initiative => this.status.includes(initiative.status));\n if (this.health.length !== 0) sortedInitiatives = sortedInitiatives.filter(initiative => this.health.includes(initiative?.latestUpdate?.status));\n return sortedInitiatives;\n }\n get roadmaps() {\n return this.model.roadmaps;\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n setHealthFilter(e) {\n this.health = e;\n }\n setStatusFilter(e) {\n this.status = e;\n }\n setSortFilter(e) {\n this.sort = e;\n }\n sortByStatus(initiatives) {\n const statusPriorityMap = this.betaToggle.statusPriority;\n return initiatives.slice().sort((a, b) => statusPriorityMap[a.status] - statusPriorityMap[b.status]);\n }\n sortByHealth(initiatives) {\n const healthPriorityMap = this.betaToggle.healthPriority;\n return initiatives.slice().sort((a, b) => healthPriorityMap[a?.latestUpdate?.status] - healthPriorityMap[b?.latestUpdate?.status]);\n }\n sortInitiatives(initiatives, sortKey) {\n if (sortKey === 'status') {\n return this.sortByStatus(initiatives);\n }\n if (sortKey === 'health') {\n return this.sortByHealth(initiatives);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"health\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"sort\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setHealthFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setHealthFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setStatusFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setStatusFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSortFilter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSortFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"sortInitiatives\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/resources/people\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleController = _exports.default = (_class = class ResourcesPeopleController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['breakout']);\n _initializerDefineProperty(this, \"breakout\", _descriptor3, this);\n }\n setBreakout(value) {\n this.breakout = value;\n }\n isActiveBreakout(value) {\n return this.breakout === value;\n }\n get tabs() {\n return [{\n label: 'dictionary.active',\n route: 'resources.people.active'\n }, {\n label: 'dictionary.inactive',\n route: 'resources.people.inactive'\n }];\n }\n extractRouteName(name) {\n if (!name.includes('index')) return name;else {\n const routeParts = name.split('.');\n routeParts.splice(routeParts.length - 1, 1);\n return routeParts.join('.');\n }\n }\n isActive(tab) {\n const currentRouteName = this.extractRouteName(this.router.currentRoute.name);\n const tabRouteName = this.extractRouteName(tab.route);\n return currentRouteName === tabRouteName;\n }\n get activeTab() {\n const tab = this.tabs.filter(item => this.isActive(item))?.[0] ?? this.tabs[0];\n return tab;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"breakout\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setBreakout\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBreakout\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActiveBreakout\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActiveBreakout\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"extractRouteName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractRouteName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/resources/people/active\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleActiveController = _exports.default = (_dec = (0, _controller.inject)('resources/people'), _class = class ResourcesPeopleActiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"peopleController\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n get breakout() {\n return this.peopleController.breakout;\n }\n get people() {\n return this.store.peekAll('person').filter(person => person.active);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"peopleController\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/resources/people/inactive\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleInactiveController = _exports.default = (_dec = (0, _controller.inject)('resources/people'), _class = class ResourcesPeopleInactiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"peopleController\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n get breakout() {\n return this.peopleController.breakout;\n }\n get people() {\n return this.store.peekAll('person').filter(person => !person.active);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"peopleController\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/resources/roles\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesRolesController = _exports.default = (_class = class ResourcesRolesController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('roles.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('roles.person', {\n num: 3\n }),\n value: 'person'\n }];\n }\n get roles() {\n return this.model.slice();\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/resources/teams\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsController = _exports.default = (_class = class ResourcesTeamsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n get tabs() {\n return [{\n label: 'dictionary.active',\n route: 'resources.teams.active'\n }, {\n label: 'dictionary.archived',\n route: 'resources.teams.archived'\n }];\n }\n extractRouteName(name) {\n if (!name.includes('index')) return name;else {\n const routeParts = name.split('.');\n routeParts.splice(routeParts.length - 1, 1);\n return routeParts.join('.');\n }\n }\n isActive(tab) {\n const currentRouteName = this.extractRouteName(this.router.currentRoute.name);\n const tabRouteName = this.extractRouteName(tab.route);\n return currentRouteName === tabRouteName;\n }\n get activeTab() {\n const tab = this.tabs.filter(item => this.isActive(item))?.[0] ?? this.tabs[0];\n return tab;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"extractRouteName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"extractRouteName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/resources/teams/active\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsActiveController = _exports.default = (_class = class ResourcesTeamsActiveController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"favorite\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _defineProperty(this, \"queryParams\", ['grouping']);\n _defineProperty(this, \"groupingLabel\", this.intl.t('_teams.group-by'));\n _initializerDefineProperty(this, \"grouping\", _descriptor4, this);\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('_teams.person', {\n num: 1\n }),\n value: 'person'\n }];\n }\n addToFavorite(item) {\n this.favorite.addToFavorite(item);\n }\n removeFromFavorite(item) {\n this.favorite.removeFromFavorite(item);\n }\n get teams() {\n return this.store.peekAll('team').filter(item => item.active).slice();\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"addToFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addToFavorite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeFromFavorite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeFromFavorite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/resources/teams/archived\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsArchivedController = _exports.default = (_class = class ResourcesTeamsArchivedController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n get teams() {\n return this.store.peekAll('team').filter(item => !item.active).slice();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/controllers/resources/teams/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"scaleflow/validators/team\", \"ember-changeset-validations/validators\"], function (_exports, _controller, _object, _service, _team, _validators) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/validators/team\",0,\"ember-changeset-validations/validators\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsCreateController = _exports.default = (_class = class ResourcesTeamsCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"teamValidations\", {\n ..._team.default,\n name: [(0, _validators.validatePresence)({\n presence: true,\n message: 'Team name cannot be blank'\n })]\n });\n }\n CloseDialog() {\n this.model.deleteRecord();\n this.router.transitionTo('resources.teams');\n }\n CloseAfterSubmit() {\n this.router.transitionTo('resources.teams');\n }\n handleCreateTeamDismiss() {\n this.model.deleteRecord();\n this.router.transitionTo('resources.teams.active');\n }\n async onSubmit(changeset, e) {\n e.preventDefault();\n try {\n changeset.validate();\n if (changeset.isInvalid) return;\n changeset.save().then(() => {\n this.router.transitionTo('resources.teams.active');\n });\n } catch (err) {\n console.log(err);\n }\n }\n setName(changeset, event) {\n changeset.set('name', event.target.value);\n }\n validateProperty(changeset, property) {\n return changeset?.validate(property);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"CloseDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"CloseDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"CloseAfterSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"CloseAfterSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleCreateTeamDismiss\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleCreateTeamDismiss\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setName\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"validateProperty\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"validateProperty\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/now-next-later\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/radar/radar\", \"scaleflow/utils/radar/color_map\"], function (_exports, _controller, _object, _service, _tracking, _radar, _color_map) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/radar/radar\",0,\"scaleflow/utils/radar/color_map\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapRadarController = _exports.default = (_dec = (0, _service.service)('table-of-contents'), _dec2 = (0, _service.service)('beta-toggle'), _class = class RoadmapRadarController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tocService\", _descriptor, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor6, this);\n _initializerDefineProperty(this, \"status\", _descriptor7, this);\n _initializerDefineProperty(this, \"themes\", _descriptor8, this);\n _initializerDefineProperty(this, \"teams\", _descriptor9, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor0, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams']);\n _initializerDefineProperty(this, \"view\", _descriptor1, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor10, this);\n _initializerDefineProperty(this, \"sources\", _descriptor11, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor12, this);\n _initializerDefineProperty(this, \"themeOptions\", _descriptor13, this);\n _defineProperty(this, \"radarInstance\", null);\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n get radarData() {\n const data_object = {\n timelines: this.timelines,\n initiatives: this.initiatives,\n sections: this.sections,\n color_map: this.color_map,\n markers: []\n };\n return data_object;\n }\n get options() {\n const options = _radar.default_options;\n options.initiatives.onClick = initiative => this.onInitiativeSelect(initiative.id);\n options.markers = {\n today: false,\n center: true\n };\n return options;\n }\n get styles() {\n return _radar.default_styles;\n }\n get sections() {\n return [{\n name: 'Customer Request',\n weight: this.organisation.customer_request_capacity,\n id: 'CUSTOMER REQUEST CURRENT',\n color: '#EFF6FF'\n }, {\n name: 'Operations & Maintenance',\n weight: this.organisation.operations_capacity,\n id: 'OPERATIONS AND MAINTENANCE',\n color: '#ECFDF5'\n }, {\n name: 'Vision',\n weight: this.organisation.vision_capacity,\n id: 'VISION',\n color: '#FFF7ED'\n }];\n }\n get timelines() {\n return [{\n label: 'Now (+3w)',\n date: this.add_weeks_to_date(new Date(), 3),\n capacity: 20\n }, {\n label: 'Next (+12w)',\n date: this.add_weeks_to_date(new Date(), 12),\n capacity: 40\n }, {\n label: 'Later (+24w)',\n date: this.add_weeks_to_date(new Date(), 24),\n capacity: 80\n }];\n }\n add_weeks_to_date(date, weeks) {\n const one_week = 7 * 24 * 60 * 60 * 1000;\n const new_date = new Date(date);\n new_date.setTime(date.getTime() + weeks * one_week);\n return new_date;\n }\n get color_map() {\n const color_map = {};\n for (let i = 0; i < this.themeOptions.length; i++) {\n color_map[this.themeOptions[i].id] = (0, _color_map.get_color_from_class)(this.themeOptions[i].color) ?? this.themeOptions[i].color;\n }\n return color_map;\n }\n get initiatives() {\n if (this.status.length === 0) return this.model.initiatives.slice();else return this.model.initiatives.slice().filter(item => this.status.includes(item.status));\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n initiateRadar() {\n const radarData = this.radarData;\n this.radarInstance = new _radar.Radar('#now-next-later', radarData, this.options, this.styles);\n this.radarInstance.generate();\n }\n updateRadar(element) {\n (element ?? document).querySelector('#now-next-later').innerHTML = '';\n this.initiateRadar();\n }\n onRender() {\n this.tocService.toggleTOC(false);\n this.initiateRadar();\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tocService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['ACTIVE', 'DISCOVERY', 'READY', 'READY FOR PLANNING'];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"view\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"themeOptions\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiateRadar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiateRadar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRadar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRadar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/radar\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/utils/radar/radar\", \"scaleflow/utils/radar/color_map\"], function (_exports, _controller, _object, _service, _tracking, _radar, _color_map) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/radar/radar\",0,\"scaleflow/utils/radar/color_map\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapRadarController = _exports.default = (_dec = (0, _service.service)('table-of-contents'), _dec2 = (0, _service.service)('beta-toggle'), _class = class RoadmapRadarController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tocService\", _descriptor, this);\n _initializerDefineProperty(this, \"betaService\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor5, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor6, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor7, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams']);\n _initializerDefineProperty(this, \"view\", _descriptor8, this);\n _initializerDefineProperty(this, \"grouping\", _descriptor9, this);\n _initializerDefineProperty(this, \"status\", _descriptor0, this);\n _initializerDefineProperty(this, \"themes\", _descriptor1, this);\n _initializerDefineProperty(this, \"sources\", _descriptor10, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor11, this);\n _initializerDefineProperty(this, \"teams\", _descriptor12, this);\n _initializerDefineProperty(this, \"themeOptions\", _descriptor13, this);\n _defineProperty(this, \"radarInstance\", null);\n }\n get persons() {\n return this.store.peekAll('person');\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n get radarData() {\n const data_object = {\n timelines: this.timelines,\n initiatives: this.initiatives,\n sections: this.sections,\n color_map: this.color_map,\n markers: []\n };\n return data_object;\n }\n get options() {\n const options = _radar.default_options;\n options.initiatives.onClick = initiative => this.onInitiativeSelect(initiative.id);\n return options;\n }\n get styles() {\n return _radar.default_styles;\n }\n get sections() {\n return [{\n name: 'Customer Request',\n weight: this.organisation.customer_request_capacity,\n id: 'CUSTOMER REQUEST CURRENT',\n color: '#EFF6FF'\n }, {\n name: 'Operations & Maintenance',\n weight: this.organisation.operations_capacity,\n id: 'OPERATIONS AND MAINTENANCE',\n color: '#ECFDF5'\n }, {\n name: 'Vision',\n weight: this.organisation.vision_capacity,\n id: 'VISION',\n color: '#FFF7ED'\n }];\n }\n get timelines() {\n return [{\n label: '2023',\n date: new Date('2023-01-01')\n }, {\n label: 'Q1',\n date: new Date('2023-04-01')\n }, {\n label: 'Q2',\n date: new Date('2023-07-01')\n }, {\n label: 'Q3',\n date: new Date('2023-10-01')\n }, {\n label: 'Q4',\n date: new Date('2024-01-01')\n }];\n }\n get color_map() {\n const color_map = {};\n for (let i = 0; i < this.themeOptions.length; i++) {\n color_map[this.themeOptions[i].id] = (0, _color_map.get_color_from_class)(this.themeOptions[i].color) ?? this.themeOptions[i].color;\n }\n return color_map;\n }\n get initiatives() {\n return this.model.initiatives.slice();\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n initiateRadar() {\n const radarData = this.radarData;\n this.radarInstance = new _radar.Radar('#radar', radarData, this.options, this.styles);\n this.radarInstance.generate();\n }\n updateRadar(element) {\n (element ?? document).querySelector('#radar').innerHTML = '';\n this.initiateRadar();\n }\n onRender() {\n this.tocService.toggleTOC(false);\n this.initiateRadar();\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n closeSlideOver() {\n this.initiativeSlideover.close();\n this.updateRadar();\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tocService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"view\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"themeOptions\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"initiateRadar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initiateRadar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRadar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRadar\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeSlideOver\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeSlideOver\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/strategy/create\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyCreateController = _exports.default = (_class = class RoadmapStrategyCreateController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams', 'columns']);\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n _initializerDefineProperty(this, \"status\", _descriptor3, this);\n _initializerDefineProperty(this, \"themes\", _descriptor4, this);\n _initializerDefineProperty(this, \"sources\", _descriptor5, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor6, this);\n _initializerDefineProperty(this, \"teams\", _descriptor7, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor8, this);\n }\n get params() {\n return {\n status: this.status,\n themes: this.themes,\n sources: this.sources,\n product_managers: this.product_managers,\n teams: this.teams\n };\n }\n setStatus(e) {\n this.status = e;\n }\n setThemes(e) {\n this.themes = e;\n }\n setSources(e) {\n this.sources = e;\n }\n setPms(e) {\n this.product_managers = e;\n }\n setTeams(e) {\n this.teams = e;\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n fetchInitiatives() {\n this.store.query('initiative', this.params).then(res => {\n this.initiatives = res.slice();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT'];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setThemes\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setThemes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSources\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSources\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPms\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPms\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fetchInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"fetchInitiatives\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/strategy/roadmap/edit\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapEditController = _exports.default = (_class = class RoadmapStrategyRoadmapEditController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams', 'columns']);\n _initializerDefineProperty(this, \"grouping\", _descriptor2, this);\n _initializerDefineProperty(this, \"status\", _descriptor3, this);\n _initializerDefineProperty(this, \"themes\", _descriptor4, this);\n _initializerDefineProperty(this, \"sources\", _descriptor5, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor6, this);\n _initializerDefineProperty(this, \"teams\", _descriptor7, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor8, this);\n }\n get params() {\n return {\n status: this.status,\n themes: this.themes,\n sources: this.sources,\n product_managers: this.product_managers,\n teams: this.teams\n };\n }\n setStatus(e) {\n this.status = e;\n }\n setThemes(e) {\n this.themes = e;\n }\n setSources(e) {\n this.sources = e;\n }\n setPms(e) {\n this.product_managers = e;\n }\n setTeams(e) {\n this.teams = e;\n }\n setGrouping(e) {\n this.grouping = e.value;\n }\n fetchInitiatives() {\n this.store.query('initiative', this.params).then(res => {\n this.initiatives = res.slice();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'source';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT'];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setThemes\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setThemes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setSources\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setSources\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPms\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPms\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTeams\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setTeams\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGrouping\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGrouping\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fetchInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"fetchInitiatives\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/strategy/roadmap/grid\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapGridController = _exports.default = (_class = class RoadmapStrategyRoadmapGridController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", ['column', 'row']);\n _initializerDefineProperty(this, \"column\", _descriptor, this);\n _initializerDefineProperty(this, \"row\", _descriptor2, this);\n _initializerDefineProperty(this, \"slideoverIsOpen\", _descriptor3, this);\n }\n setColumn(e) {\n this.column = e;\n }\n setRow(e) {\n this.row = e;\n }\n toggleFilterSlideover() {\n this.slideoverIsOpen = !this.slideoverIsOpen;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"column\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'source';\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"row\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'teams';\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"slideoverIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setColumn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setColumn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRow\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/strategy/roadmap/lanes\", [\"exports\", \"@ember/controller\", \"@ember/object\"], function (_exports, _controller, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let RoadmapStrategyRoadmapLensController = _exports.default = (_class = class RoadmapStrategyRoadmapLensController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"initiativeOptions\", []);\n }\n updateSelectedInitiatives() {}\n removeInitiative() {}\n get scenario() {\n return this.model?.['investment-scenario'];\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"updateSelectedInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedInitiatives\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeInitiative\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/strategy/roadmap/timeline\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"highcharts/modules/draggable-points\", \"highcharts/modules/exporting\", \"highcharts/highcharts-gantt\", \"moment\", \"scaleflow/utils/colorClasses\", \"scaleflow/utils/custom-events\", \"scaleflow/utils/numberSort\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _draggablePoints, _exporting, _highchartsGantt, _moment, _colorClasses, _customEvents, _numberSort, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"highcharts/modules/draggable-points\",0,\"highcharts/modules/exporting\",0,\"highcharts/highcharts-gantt\",0,\"moment\",0,\"scaleflow/utils/colorClasses\",0,\"scaleflow/utils/custom-events\",0,\"scaleflow/utils/numberSort\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n (0, _draggablePoints.default)(_highchartsGantt.default);\n (0, _exporting.default)(_highchartsGantt.default);\n\n // const Scrollable = function (H) {\n // //internal functions\n // function stopEvent(e) {\n // if (e) {\n // if (e.preventDefault) {\n // e.preventDefault();\n // }\n // if (e.stopPropagation) {\n // e.stopPropagation();\n // }\n // e.cancelBubble = true;\n // }\n // }\n\n // //the wrap\n // H.wrap(H.Chart.prototype, 'render', function (proceed) {\n // var chart = this,\n // mapNavigation = chart.options.mapNavigation;\n\n // proceed.call(chart);\n\n // // Add the mousewheel event\n // H.addEvent(\n // chart.container,\n // document.onmousewheel === undefined ? 'DOMMouseScroll' : 'mousewheel',\n // function (event) {\n // var delta,\n // extr,\n // step,\n // newMin,\n // newMax,\n // axis = chart.yAxis[0];\n\n // let e = chart.pointer.normalize(event);\n // // Firefox uses e.detail, WebKit and IE uses wheelDelta\n // delta = e.detail || -(e.wheelDelta / 120);\n // delta = delta < 0 ? 1 : -1;\n\n // if (chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) {\n // extr = axis.getExtremes();\n // step = ((extr.max - extr.min) / 5) * delta;\n // axis.setExtremes(extr.min + step, extr.max + step, true, false);\n // }\n\n // stopEvent(event); // Issue #5011, returning false from non-jQuery event does not prevent default\n // return false;\n // }\n // );\n // });\n // };\n\n // Scrollable(Highcharts);\n let RoadmapTimelineController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class RoadmapTimelineController extends _controller.default {\n constructor() {\n super(...arguments);\n // @service('table-of-contents') tocService;\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"router\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor6, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedTimeRange\", _descriptor8, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams', 'roadmaps', 'show_grouping', 'start_date', 'end_date']);\n _initializerDefineProperty(this, \"grouping\", _descriptor9, this);\n _initializerDefineProperty(this, \"status\", _descriptor0, this);\n _initializerDefineProperty(this, \"themes\", _descriptor1, this);\n _initializerDefineProperty(this, \"sources\", _descriptor10, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor11, this);\n _initializerDefineProperty(this, \"teams\", _descriptor12, this);\n _initializerDefineProperty(this, \"show_grouping\", _descriptor13, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor14, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor15, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor16, this);\n _defineProperty(this, \"selectedRange\", null);\n _defineProperty(this, \"chartInstance\", null);\n _initializerDefineProperty(this, \"today\", _descriptor17, this);\n _initializerDefineProperty(this, \"day\", _descriptor18, this);\n document.addEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n get persons() {\n return this.store.peekAll('person');\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n get roadmap() {\n return this.model.roadmap;\n }\n onRender() {\n this.drawChart();\n }\n get filteredInitiatives() {\n if (!this.roadmap && this.roadmaps.length === 0) return this.model.initiatives.slice();else {\n let roadmaps = [...this.roadmaps];\n if (this.roadmap.id) roadmaps.push(this.roadmap.id);\n roadmaps = Array.from(new Set(roadmaps));\n const roadmapInitiatives = roadmaps.map(roadmap_id => this.store.peekRecord('roadmap', roadmap_id)?.initiativeIds ?? []).flat();\n const uniqueRoadmapInitiatives = Array.from(new Set(roadmapInitiatives));\n return uniqueRoadmapInitiatives.map(initiative_id => this.store.peekRecord('initiative', initiative_id));\n }\n }\n getDateFromYYYYWW(yyyy_ww, weeks_to_add) /*yyyy-WW:yyyy-WW*/{\n const parsed = yyyy_ww;\n let date = null;\n const first_day_of_week = this.organisation?.first_day_of_week;\n if (first_day_of_week) {\n date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);\n } else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n if (weeks_to_add) date.add(weeks_to_add, 'week');\n return date;\n }\n get groupingKey() {\n if (!this.grouping) return 'source';\n if (this.grouping.includes('theme')) return 'theme.title';\n if (this.grouping.includes('status')) return 'status';\n if (this.grouping.includes('product-manager')) return 'productManager.name';\n if (this.grouping.includes('team')) return 'team.name';\n if (this.grouping.includes('updates')) return 'latestUpdate';\n return 'source';\n }\n getGroupingLabel(initiative, groupKey) {\n let label = '';\n if (groupKey.toLowerCase() === 'status') {\n label = this.betaService.statusOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'source') {\n label = this.betaService.sourceOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'team.name') {\n label = initiative.teams_sync?.[0]?.name;\n } else if (groupKey === 'latestUpdate') {\n label = initiative?.latestUpdate?.statusLabel;\n } else label = initiative.get(groupKey);\n return label ? (0, _capitalize.default)(label) : 'No group';\n }\n get initiatives() {\n const filteredInitiatives = this.filteredInitiatives;\n const groupKey = this.groupingKey;\n const dataObject = filteredInitiatives.reduce((acc, item) => {\n if (!item.starting_week || !item.source || !item.duration) return acc;\n const start_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0], item.duration);\n const bon_value = item.bon_value ? Number(item.bon_value).toFixed(2) : '-';\n const accKey = this.getGroupingLabel(item, groupKey);\n const teams = item.teams_sync;\n let initiative = {\n id: item.id,\n title: item.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: item.status,\n status_color: _colorClasses.statusBgColors[item.status],\n source: item.source,\n name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(item.title),\n abbv: item.title.substring(0, 1),\n duration: item.duration,\n bon: bon_value,\n person_weeks: item.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: item.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams?.[0]?.get('id'),\n team_name: teams?.[0]?.get('name')\n };\n if (!acc[accKey]) acc[accKey] = {\n data: [initiative],\n name: initiative.name\n };else acc[accKey].data.push({\n ...initiative,\n parent: acc[accKey].data[0].id\n });\n return acc;\n }, {});\n const arrayDataObject = Object.values(dataObject);\n arrayDataObject.forEach(item => {\n item.data = item.data.map((initiative, _index) => {\n return {\n ...initiative,\n ...(_index !== 0 && {\n parent: item.data[0].id,\n name: undefined\n })\n };\n }).sort((a, b) => (0, _numberSort.default)(a.start, b.start, 'asc'));\n });\n return arrayDataObject;\n }\n generatePointDataFromInitiative(initiative) {\n const start_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0], initiative.duration);\n const bon_value = initiative.bon_value ? Number(initiative.bon_value).toFixed(2) : '-';\n const teams = initiative.teams_sync;\n return {\n id: initiative.id,\n title: initiative.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: initiative.status,\n status_color: _colorClasses.statusBgColors[initiative.status],\n source: initiative.source,\n // name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(initiative.title),\n abbv: initiative.title.substring(0, 1),\n duration: initiative.duration,\n bon: bon_value,\n person_weeks: initiative.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: initiative.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams[0]?.get?.('id'),\n team_name: teams[0]?.get?.('name')\n };\n }\n updateInitiativePoint(newPoint, initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n const original_starting_week = initiative.starting_week;\n const split = original_starting_week.split(':');\n const starting_date = (0, _moment.default)(split[0], 'yyyy-WW');\n const ending_date = (0, _moment.default)(split[0], 'yyyy-WW').add(initiative.duration, 'week');\n const startDate = newPoint?.start ? (0, _moment.default)(newPoint.start) : starting_date;\n const endDate = newPoint?.end ? (0, _moment.default)(newPoint?.end) : ending_date;\n const startDateString = startDate.format('yyyy-WW');\n const endDateString = endDate.format('yyyy-WW');\n const yearDifference = +endDateString.split('-')[0] - +startDateString.split('-')[0];\n const starting_week = `${startDateString}:${endDateString}`;\n const difference = yearDifference === 0 ? +endDateString.split('-')[1] - +startDateString.split('-')[1] : 52 * yearDifference + +endDateString.split('-')[1] - +startDateString.split('-')[1];\n const duration = difference;\n initiative.starting_week = starting_week;\n initiative.duration = duration;\n const accKey = this.getGroupingLabel(initiative, this.groupingKey);\n const serie = this.chartInstance.series.find(serie => serie.name === accKey);\n const point = serie.data.find(item => item.id === initiativeId);\n const update = this.generatePointDataFromInitiative(initiative);\n point?.update({\n ...update\n });\n }\n get currentMonthStartEnd() {\n const now = (0, _moment.default)().startOf('month');\n const one_month = now.clone().add(1, 'month');\n return [now.valueOf(), one_month.valueOf()];\n }\n get currentQuarterStartEnd() {\n const startOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).startOf('quarter');\n const endOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).endOf('quarter');\n return [startOfQuarter.valueOf(), endOfQuarter.valueOf()];\n }\n updateChartData() {\n this.drawChart();\n }\n updateInitiative(initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n initiative.save();\n }\n drawChart() {\n const that = this;\n if (this.chartInstance) this.chartInstance.destroy();\n const selectedTimeRange = 4;\n const roadmap = this.roadmap;\n this.chartInstance = new _highchartsGantt.default.ganttChart('timeline-chart', {\n series: this.initiatives,\n chart: {\n plotBackgroundColor: 'rgb(249 250 251)',\n events: {\n load() {\n let start = null;\n let end = null;\n let chart = this;\n if (roadmap) {\n chart.xAxis[0].setExtremes((0, _moment.default)(roadmap.start_date).valueOf(), (0, _moment.default)(roadmap.end_date).valueOf());\n } else if (that.selectedRange) [start, end] = that.selectedRange;else {\n [start, end] = that.currentQuarterStartEnd;\n chart.xAxis[0].setExtremes(start, end);\n }\n },\n redraw() {\n console.count('chart redrawn');\n }\n },\n panning: {\n enabled: true,\n type: 'x'\n }\n // scrollablePlotArea: {\n // height: 900,\n // minHeight: 600,\n // },\n },\n plotOptions: {\n gantt: {\n pointWidth: 50,\n zIndex: 899,\n cursor: 'pointer',\n borderRadius: 8,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n eabled: false\n }\n }\n },\n series: {\n pointPadding: 20,\n animation: false,\n // Do not animate dependency connectors\n enableMouseTracking: true,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n enabled: false\n }\n },\n dragDrop: {\n draggableX: true,\n liveRedraw: false,\n guideBox: {\n default: {\n className: 'highcharts-drag-box-default rounded-md',\n color: 'rgb(229 231 235)',\n cursor: 'move',\n lineColor: 'rgb(75 85 99)',\n lineWidth: 1,\n zIndex: 901\n }\n },\n /* draggableY: true, */\n dragMinY: 0,\n dragMaxY: 2,\n dragPrecisionX: 1000 * 60 * 60 * 24 * 1,\n // Snap to 7 days\n // dragPrecisionX: 0, // Snap to 7 days\n dragHandle: {\n zIndex: 15,\n lineWidth: 3,\n pathFormatter: () => 'M 0 0 L 0 20 A 1 1 0 0 0 0 30 A 1 1 0 0 0 0 20 M 0 30 L 0 52'.split(' ')\n }\n },\n dataLabels: {\n enabled: true,\n format: '
    ' + '{point.title}|' + '{point.person_weeks}pw' + '{#if point.uncertainty}(+{point.uncertainty}){/if}' + '{#if point.team_id}
    {/if}' + '
    ',\n useHTML: true,\n align: 'left',\n overflow: 'justify',\n inside: true,\n allowOverlap: false\n },\n allowPointSelect: true,\n className: 'initiative-point',\n point: {\n events: {\n select: e => this.onInitiativeSelect(e.target.id),\n unselect: () => console.log('on unselect'),\n remove: () => console.log('on remove'),\n drop: ({\n newPoint,\n newPointId\n }) => {\n this.updateInitiativePoint(newPoint, newPointId);\n this.updateInitiative(newPointId);\n }\n // drag: ({ newPoint, newPointId }) => {\n // // this.updateInitiativePoint(newPoint, newPointId);\n // },\n }\n }\n }\n },\n title: {\n text: ''\n },\n navigator: {\n enabled: true,\n liveRedraw: true,\n adaptToUpdatedData: false,\n series: {\n type: 'gantt',\n pointPlacement: 0.5,\n pointPadding: 0.25,\n accessibility: {\n enabled: false\n }\n }\n },\n scrollbar: {\n enabled: true\n },\n rangeSelector: {\n enabled: true,\n selected: selectedTimeRange,\n allButtonsEnabled: true,\n //customize range selector buttons\n buttons: [{\n type: 'month',\n text: '1m',\n count: 1,\n events: {\n click: () => {\n const [start, end] = this.currentMonthStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 0;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '3m',\n count: 3,\n events: {\n click: () => {\n const [start, end] = this.currentQuarterStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 1;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '6m',\n count: 6,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(6, 'month').valueOf());\n this.selectedTimeRange = 2;\n return false;\n }\n }\n }, {\n type: 'year',\n text: '1y',\n count: 1,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(1, 'year').valueOf());\n this.selectedTimeRange = 3;\n return false;\n }\n }\n }, {\n type: 'all',\n text: 'All'\n }]\n },\n tooltip: {\n formatter: function () {\n // const source = this.point.options.source;\n return '

    ' + (0, _capitalize.default)(this.point.options.source) + '' + 'Duration: ' + (0, _moment.default)(this.point.options.start).format('DD MMM') + '-' + (0, _moment.default)(this.point.options.end).format('DD MMM') + ', ' + this.point.options.duration + 'w' + '' + 'Person weeks: ' + this.point.options.person_weeks + ' pw' + 'Uncertainty: ' + this.point.options.uncertainty + ' pw' + 'Back-of-a-napkin: €' + this.point.options.bon + '' + '

    ';\n },\n // shared: true,\n backgroundColor: 'rgba(255,255,255,1)',\n borderRadius: 4,\n borderColor: 'transparent',\n useHTML: true,\n animation: false,\n outside: true,\n shadow: true,\n followPointer: true\n },\n lang: {\n accessibility: {\n axis: {\n xAxisDescriptionPlural: 'The chart has a two-part X axis showing time in both week numbers and days.',\n yAxisDescriptionSingular: 'The chart has a tabular Y axis showing a data table row for each point.'\n }\n }\n },\n // accessibility: {\n // keyboardNavigation: {\n // seriesNavigation: {\n // mode: 'serialize',\n // },\n // },\n // point: {\n // // valueDescriptionFormat: 'Rented to {point.rentedTo} from {point.x:%A, %B %e} to {point.x2:%A, %B %e}.',\n // },\n // series: {\n // descriptionFormatter: function (series) {\n // return series.name + ', car ' + (series.index + 1) + ' of ' + series.chart.series.length + '.';\n // },\n // },\n // },\n xAxis: [\n //for second top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n startOfWeek: this.organisation?.first_day_of_week ?? 1,\n // startOnTick: true,\n gridLineWidth: 1,\n gridLineColor: '#ccd6eb',\n borderColor: '#ccd6eb',\n currentDateIndicator: {\n color: '#4f46e5',\n dashStyle: 'ShortDot',\n width: 2,\n label: {\n format: '%a, %b %e %Y' //find format docs here https://api.highcharts.com/class-reference/Highcharts.Time#dateFormat\n }\n },\n tickInterval: 24 * 3600 * 1000 * 7,\n max: (0, _moment.default)().add('1', 'year').valueOf(),\n events: {\n afterSetExtremes: data => {\n that.selectedRange = [data.min, data.max];\n }\n }\n // custom: {\n // today,\n // weekendPlotBands: true\n // }\n },\n //for top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n }\n }],\n yAxis: {\n labels: {\n enabled: true\n },\n visible: this.show_grouping,\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n gridLineWidth: 0,\n staticScale: 54\n },\n exporting: {\n enabled: false\n // menuItemDefinitions: {\n // toggleGrouping: {\n // text: 'Show/Hide Grouping',\n // onclick: function () {\n // this.yAxis.forEach((axis) => {\n // axis.update({\n // visible: !axis.visible,\n // });\n // });\n // that.show_grouping = !that.show_grouping;\n // },\n // },\n // },\n // buttons: {\n // contextButton: {\n // enabled: true,\n // menuItems: ['toggleGrouping'],\n // },\n // },\n }\n });\n var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);\n if (isSafari) {\n document.querySelectorAll('.highcharts-point').forEach(element => {\n element.classList.add('safari-stroke');\n });\n }\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n onInitiativeUpdate({\n detail: {\n initiative\n }\n }) {\n this.updateInitiativePoint(undefined, initiative);\n }\n willDestroy() {\n super.willDestroy(...arguments);\n document.removeEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n onGroupingVisibilityToggle(e) {\n this.show_grouping = e;\n this, this.chartInstance.yAxis.forEach(axis => {\n axis.update({\n visible: !axis.visible\n });\n });\n }\n updateRoadmapFilters(e) {\n this.roadmaps = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedTimeRange\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 4;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"show_grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"today\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Date();\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"day\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 1000 * 60 * 60 * 24;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"updateInitiativePoint\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateInitiativePoint\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChartData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChartData\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"drawChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"drawChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingVisibilityToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingVisibilityToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRoadmapFilters\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRoadmapFilters\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/roadmap/timeline\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"highcharts/modules/draggable-points\", \"highcharts/modules/exporting\", \"highcharts/highcharts-gantt\", \"moment\", \"scaleflow/utils/colorClasses\", \"scaleflow/utils/custom-events\", \"scaleflow/utils/numberSort\", \"scaleflow/utils/capitalize\"], function (_exports, _controller, _object, _service, _tracking, _draggablePoints, _exporting, _highchartsGantt, _moment, _colorClasses, _customEvents, _numberSort, _capitalize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"highcharts/modules/draggable-points\",0,\"highcharts/modules/exporting\",0,\"highcharts/highcharts-gantt\",0,\"moment\",0,\"scaleflow/utils/colorClasses\",0,\"scaleflow/utils/custom-events\",0,\"scaleflow/utils/numberSort\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n (0, _draggablePoints.default)(_highchartsGantt.default);\n (0, _exporting.default)(_highchartsGantt.default);\n\n // const Scrollable = function (H) {\n // //internal functions\n // function stopEvent(e) {\n // if (e) {\n // if (e.preventDefault) {\n // e.preventDefault();\n // }\n // if (e.stopPropagation) {\n // e.stopPropagation();\n // }\n // e.cancelBubble = true;\n // }\n // }\n\n // //the wrap\n // H.wrap(H.Chart.prototype, 'render', function (proceed) {\n // var chart = this,\n // mapNavigation = chart.options.mapNavigation;\n\n // proceed.call(chart);\n\n // // Add the mousewheel event\n // H.addEvent(\n // chart.container,\n // document.onmousewheel === undefined ? 'DOMMouseScroll' : 'mousewheel',\n // function (event) {\n // var delta,\n // extr,\n // step,\n // newMin,\n // newMax,\n // axis = chart.yAxis[0];\n\n // let e = chart.pointer.normalize(event);\n // // Firefox uses e.detail, WebKit and IE uses wheelDelta\n // delta = e.detail || -(e.wheelDelta / 120);\n // delta = delta < 0 ? 1 : -1;\n\n // if (chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) {\n // extr = axis.getExtremes();\n // step = ((extr.max - extr.min) / 5) * delta;\n // axis.setExtremes(extr.min + step, extr.max + step, true, false);\n // }\n\n // stopEvent(event); // Issue #5011, returning false from non-jQuery event does not prevent default\n // return false;\n // }\n // );\n // });\n // };\n\n // Scrollable(Highcharts);\n let RoadmapTimelineController = _exports.default = (_dec = (0, _service.service)('beta-toggle'), _class = class RoadmapTimelineController extends _controller.default {\n constructor() {\n super(...arguments);\n // @service('table-of-contents') tocService;\n _initializerDefineProperty(this, \"betaService\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n _initializerDefineProperty(this, \"router\", _descriptor4, this);\n _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor6, this);\n _initializerDefineProperty(this, \"showFilterSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"selectedTimeRange\", _descriptor8, this);\n _defineProperty(this, \"queryParams\", ['grouping', 'status', 'themes', 'sources', 'product_managers', 'teams', 'roadmaps', 'show_grouping', 'start_date', 'end_date']);\n _initializerDefineProperty(this, \"grouping\", _descriptor9, this);\n _initializerDefineProperty(this, \"status\", _descriptor0, this);\n _initializerDefineProperty(this, \"themes\", _descriptor1, this);\n _initializerDefineProperty(this, \"sources\", _descriptor10, this);\n _initializerDefineProperty(this, \"product_managers\", _descriptor11, this);\n _initializerDefineProperty(this, \"teams\", _descriptor12, this);\n _initializerDefineProperty(this, \"show_grouping\", _descriptor13, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor14, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor15, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor16, this);\n _defineProperty(this, \"selectedRange\", null);\n _defineProperty(this, \"chartInstance\", null);\n _initializerDefineProperty(this, \"today\", _descriptor17, this);\n _initializerDefineProperty(this, \"day\", _descriptor18, this);\n document.addEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n get persons() {\n return this.store.peekAll('person');\n }\n get teamOptions() {\n return this.store.peekAll('team');\n }\n onRender() {\n this.drawChart();\n }\n get filteredInitiatives() {\n if (this.roadmaps.length === 0) return this.model.slice();else {\n const roadmapInitiatives = this.roadmaps.map(roadmap_id => this.store.peekRecord('roadmap', roadmap_id)?.initiativeIds ?? []).flat();\n const uniqueRoadmapInitiatives = Array.from(new Set(roadmapInitiatives));\n return uniqueRoadmapInitiatives.map(initiative_id => this.store.peekRecord('initiative', initiative_id));\n }\n }\n getDateFromYYYYWW(yyyy_ww, weeks_to_add) /*yyyy-WW:yyyy-WW*/{\n const parsed = yyyy_ww;\n let date = null;\n const first_day_of_week = this.organisation?.first_day_of_week;\n if (first_day_of_week) {\n date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);\n } else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week').add('1', 'day');\n if (weeks_to_add) date.add(weeks_to_add, 'week');\n return date;\n }\n get groupingKey() {\n if (!this.grouping) return 'source';\n if (this.grouping.includes('theme')) return 'theme.title';\n if (this.grouping.includes('status')) return 'status';\n if (this.grouping.includes('product-manager')) return 'productManager.name';\n if (this.grouping.includes('team')) return 'team.name';\n if (this.grouping.includes('updates')) return 'latestUpdate';\n return 'source';\n }\n getGroupingLabel(initiative, groupKey) {\n let label = '';\n if (groupKey.toLowerCase() === 'status') {\n label = this.betaService.statusOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'source') {\n label = this.betaService.sourceOptions.find(item => item.value === initiative.get(groupKey)).label;\n } else if (groupKey.toLowerCase() === 'team.name') {\n label = initiative.teams_sync?.[0]?.name;\n } else if (groupKey === 'latestUpdate') {\n label = initiative?.latestUpdate?.statusLabel;\n } else label = initiative.get(groupKey);\n return label ? (0, _capitalize.default)(label) : 'No group';\n }\n get initiatives() {\n const filteredInitiatives = this.filteredInitiatives;\n const groupKey = this.groupingKey;\n const dataObject = filteredInitiatives.reduce((acc, item) => {\n if (!item.starting_week || !item.source || !item.duration) return acc;\n const start_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(item.starting_week.split(':')[0], item.duration);\n const bon_value = item.bon_value ? Number(item.bon_value).toFixed(2) : '-';\n const accKey = this.getGroupingLabel(item, groupKey);\n const teams = item.teams_sync;\n let initiative = {\n id: item.id,\n title: item.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: item.status,\n status_color: _colorClasses.statusBgColors[item.status],\n source: item.source,\n name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(item.title),\n abbv: item.title.substring(0, 1),\n duration: item.duration,\n bon: bon_value,\n person_weeks: item.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: item.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams?.[0]?.get('id'),\n team_name: teams?.[0]?.get('name')\n };\n if (!acc[accKey]) acc[accKey] = {\n data: [initiative],\n name: initiative.name\n };else acc[accKey].data.push({\n ...initiative,\n parent: acc[accKey].data[0].id\n });\n return acc;\n }, {});\n const arrayDataObject = Object.values(dataObject);\n arrayDataObject.forEach(item => {\n item.data = item.data.map((initiative, _index) => {\n return {\n ...initiative,\n ...(_index !== 0 && {\n parent: item.data[0].id,\n name: undefined\n })\n };\n }).sort((a, b) => (0, _numberSort.default)(a.start, b.start, 'asc'));\n });\n return arrayDataObject;\n }\n generatePointDataFromInitiative(initiative) {\n const start_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0]);\n const end_date_moment = this.getDateFromYYYYWW(initiative.starting_week.split(':')[0], initiative.duration);\n const bon_value = initiative.bon_value ? Number(initiative.bon_value).toFixed(2) : '-';\n const teams = initiative.teams_sync;\n return {\n id: initiative.id,\n title: initiative.title,\n start: start_date_moment.valueOf(),\n end: end_date_moment.valueOf(),\n status: initiative.status,\n status_color: _colorClasses.statusBgColors[initiative.status],\n source: initiative.source,\n // name: accKey ?? 'No group',\n avatar_color_class: (0, _colorClasses.getColorFromInitiativeTitle)(initiative.title),\n abbv: initiative.title.substring(0, 1),\n duration: initiative.duration,\n bon: bon_value,\n person_weeks: initiative.person_weeks_including_uncertainty?.toFixed?.(2) ?? '-',\n uncertainty: initiative.person_weeks_only_uncertainty?.toFixed?.(2) ?? '-',\n team_id: teams[0]?.get?.('id'),\n team_name: teams[0]?.get?.('name')\n };\n }\n updateInitiativePoint(newPoint, initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n const original_starting_week = initiative.starting_week;\n const split = original_starting_week.split(':');\n const starting_date = (0, _moment.default)(split[0], 'yyyy-WW');\n const ending_date = (0, _moment.default)(split[0], 'yyyy-WW').add(initiative.duration, 'week');\n const startDate = newPoint?.start ? (0, _moment.default)(newPoint.start) : starting_date;\n const endDate = newPoint?.end ? (0, _moment.default)(newPoint?.end) : ending_date;\n const startDateString = startDate.format('yyyy-WW');\n const endDateString = endDate.format('yyyy-WW');\n const yearDifference = +endDateString.split('-')[0] - +startDateString.split('-')[0];\n const starting_week = `${startDateString}:${endDateString}`;\n const difference = yearDifference === 0 ? +endDateString.split('-')[1] - +startDateString.split('-')[1] : 52 * yearDifference + +endDateString.split('-')[1] - +startDateString.split('-')[1];\n const duration = difference;\n initiative.starting_week = starting_week;\n initiative.duration = duration;\n const accKey = this.getGroupingLabel(initiative, this.groupingKey);\n const serie = this.chartInstance.series.find(serie => serie.name === accKey);\n const point = serie.data.find(item => item.id === initiativeId);\n const update = this.generatePointDataFromInitiative(initiative);\n point?.update({\n ...update\n });\n }\n get currentMonthStartEnd() {\n const now = (0, _moment.default)().startOf('month');\n const one_month = now.clone().add(1, 'month');\n return [now.valueOf(), one_month.valueOf()];\n }\n get currentQuarterStartEnd() {\n const startOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).startOf('quarter');\n const endOfQuarter = (0, _moment.default)().quarter((0, _moment.default)().quarter()).endOf('quarter');\n return [startOfQuarter.valueOf(), endOfQuarter.valueOf()];\n }\n updateChartData() {\n this.drawChart();\n }\n updateInitiative(initiativeId) {\n const initiative = this.store.peekRecord('initiative', initiativeId);\n initiative.save();\n }\n drawChart() {\n const that = this;\n if (this.chartInstance) this.chartInstance.destroy();\n const selectedTimeRange = 4;\n this.chartInstance = new _highchartsGantt.default.ganttChart('timeline-chart', {\n series: this.initiatives,\n chart: {\n plotBackgroundColor: 'rgb(249 250 251)',\n events: {\n load() {\n let start = null;\n let end = null;\n let chart = this;\n if (that.start_date && that.end_date) {\n chart.xAxis[0].setExtremes((0, _moment.default)(that.start_date).valueOf(), (0, _moment.default)(that.end_date).valueOf());\n } else if (that.selectedRange) [start, end] = that.selectedRange;else {\n [start, end] = that.currentQuarterStartEnd;\n chart.xAxis[0].setExtremes(start, end);\n }\n },\n redraw() {\n console.count('chart redrawn');\n }\n },\n panning: {\n enabled: true,\n type: 'x'\n }\n // scrollablePlotArea: {\n // height: 900,\n // minHeight: 600,\n // },\n },\n plotOptions: {\n gantt: {\n pointWidth: 50,\n zIndex: 899,\n cursor: 'pointer',\n borderRadius: 8,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n eabled: false\n }\n }\n },\n series: {\n pointPadding: 20,\n animation: false,\n // Do not animate dependency connectors\n enableMouseTracking: true,\n states: {\n hover: {\n enabled: false\n },\n inactive: {\n enabled: false\n }\n },\n dragDrop: {\n draggableX: true,\n liveRedraw: false,\n guideBox: {\n default: {\n className: 'highcharts-drag-box-default rounded-md',\n color: 'rgb(229 231 235)',\n cursor: 'move',\n lineColor: 'rgb(75 85 99)',\n lineWidth: 1,\n zIndex: 901\n }\n },\n /* draggableY: true, */\n dragMinY: 0,\n dragMaxY: 2,\n dragPrecisionX: 1000 * 60 * 60 * 24 * 1,\n // Snap to 7 days\n // dragPrecisionX: 0, // Snap to 7 days\n dragHandle: {\n zIndex: 15,\n lineWidth: 3,\n pathFormatter: () => 'M 0 0 L 0 20 A 1 1 0 0 0 0 30 A 1 1 0 0 0 0 20 M 0 30 L 0 52'.split(' ')\n }\n },\n dataLabels: {\n enabled: true,\n format: '
    ' + '{point.title}|' + '{point.person_weeks}pw' + '{#if point.uncertainty}(+{point.uncertainty}){/if}' + '{#if point.team_id}
    {/if}' + '
    ',\n useHTML: true,\n align: 'left',\n overflow: 'justify',\n inside: true,\n allowOverlap: false\n },\n allowPointSelect: true,\n className: 'initiative-point',\n point: {\n events: {\n select: e => this.onInitiativeSelect(e.target.id),\n unselect: () => console.log('on unselect'),\n remove: () => console.log('on remove'),\n drop: ({\n newPoint,\n newPointId\n }) => {\n this.updateInitiativePoint(newPoint, newPointId);\n this.updateInitiative(newPointId);\n }\n // drag: ({ newPoint, newPointId }) => {\n // // this.updateInitiativePoint(newPoint, newPointId);\n // },\n }\n }\n }\n },\n title: {\n text: ''\n },\n navigator: {\n enabled: true,\n liveRedraw: true,\n adaptToUpdatedData: false,\n series: {\n type: 'gantt',\n pointPlacement: 0.5,\n pointPadding: 0.25,\n accessibility: {\n enabled: false\n }\n }\n },\n scrollbar: {\n enabled: true\n },\n rangeSelector: {\n enabled: true,\n selected: selectedTimeRange,\n allButtonsEnabled: true,\n //customize range selector buttons\n buttons: [{\n type: 'month',\n text: '1m',\n count: 1,\n events: {\n click: () => {\n const [start, end] = this.currentMonthStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 0;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '3m',\n count: 3,\n events: {\n click: () => {\n const [start, end] = this.currentQuarterStartEnd;\n this.chartInstance.xAxis[0].setExtremes(start, end);\n this.selectedTimeRange = 1;\n return false;\n }\n }\n }, {\n type: 'month',\n text: '6m',\n count: 6,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(6, 'month').valueOf());\n this.selectedTimeRange = 2;\n return false;\n }\n }\n }, {\n type: 'year',\n text: '1y',\n count: 1,\n events: {\n click: () => {\n this.chartInstance.xAxis[0].setExtremes((0, _moment.default)().valueOf(), (0, _moment.default)().add(1, 'year').valueOf());\n this.selectedTimeRange = 3;\n return false;\n }\n }\n }, {\n type: 'all',\n text: 'All'\n }]\n },\n tooltip: {\n formatter: function () {\n // const source = this.point.options.source;\n return '

    ' + (0, _capitalize.default)(this.point.options.source) + '' + 'Duration: ' + (0, _moment.default)(this.point.options.start).format('DD MMM') + '-' + (0, _moment.default)(this.point.options.end).format('DD MMM') + ', ' + this.point.options.duration + 'w' + '' + 'Person weeks: ' + this.point.options.person_weeks + ' pw' + 'Uncertainty: ' + this.point.options.uncertainty + ' pw' + 'Back-of-a-napkin: €' + this.point.options.bon + '' + '

    ';\n },\n // shared: true,\n backgroundColor: 'rgba(255,255,255,1)',\n borderRadius: 4,\n borderColor: 'transparent',\n useHTML: true,\n animation: false,\n outside: true,\n shadow: true,\n followPointer: true\n },\n lang: {\n accessibility: {\n axis: {\n xAxisDescriptionPlural: 'The chart has a two-part X axis showing time in both week numbers and days.',\n yAxisDescriptionSingular: 'The chart has a tabular Y axis showing a data table row for each point.'\n }\n }\n },\n // accessibility: {\n // keyboardNavigation: {\n // seriesNavigation: {\n // mode: 'serialize',\n // },\n // },\n // point: {\n // // valueDescriptionFormat: 'Rented to {point.rentedTo} from {point.x:%A, %B %e} to {point.x2:%A, %B %e}.',\n // },\n // series: {\n // descriptionFormatter: function (series) {\n // return series.name + ', car ' + (series.index + 1) + ' of ' + series.chart.series.length + '.';\n // },\n // },\n // },\n xAxis: [\n //for second top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n startOfWeek: this.organisation?.first_day_of_week ?? 1,\n // startOnTick: true,\n gridLineWidth: 1,\n gridLineColor: '#ccd6eb',\n borderColor: '#ccd6eb',\n currentDateIndicator: {\n color: '#4f46e5',\n dashStyle: 'ShortDot',\n width: 2,\n label: {\n format: '%a, %b %e %Y' //find format docs here https://api.highcharts.com/class-reference/Highcharts.Time#dateFormat\n }\n },\n tickInterval: 24 * 3600 * 1000 * 7,\n max: (0, _moment.default)().add('1', 'year').valueOf(),\n events: {\n afterSetExtremes: data => {\n that.selectedRange = [data.min, data.max];\n }\n }\n // custom: {\n // today,\n // weekendPlotBands: true\n // }\n },\n //for top bar\n {\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n }\n }],\n yAxis: {\n labels: {\n enabled: true\n },\n visible: this.show_grouping,\n grid: {\n enabled: true,\n borderColor: '#ccd6eb'\n },\n gridLineWidth: 0,\n staticScale: 54\n },\n exporting: {\n enabled: false\n // menuItemDefinitions: {\n // toggleGrouping: {\n // text: 'Show/Hide Grouping',\n // onclick: function () {\n // this.yAxis.forEach((axis) => {\n // axis.update({\n // visible: !axis.visible,\n // });\n // });\n // that.show_grouping = !that.show_grouping;\n // },\n // },\n // },\n // buttons: {\n // contextButton: {\n // enabled: true,\n // menuItems: ['toggleGrouping'],\n // },\n // },\n }\n });\n var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);\n if (isSafari) {\n document.querySelectorAll('.highcharts-point').forEach(element => {\n element.classList.add('safari-stroke');\n });\n }\n }\n handleStatusSelect(e) {\n if (this.status.includes(e.value)) {\n this.status = this.status.filter(item => item !== e.value);\n } else {\n const status = this.status;\n status.push(e.value);\n this.status = status;\n }\n }\n onInitiativeSelect(initiative_id) {\n this.initiativeSlideover.open(initiative_id);\n }\n transitionToCreateInitiative() {\n this.router.transitionTo(`/initiatives-create`);\n }\n toggleFilterSlideover(flag) {\n if (flag !== undefined && typeof flag === 'boolean') this.showFilterSlideover = flag;else this.showFilterSlideover = !this.showFilterSlideover;\n }\n onGroupingSelect(e) {\n this.grouping = e.value;\n }\n onStatusSelect(e) {\n this.status = e;\n }\n onThemeSelect(e) {\n this.themes = e;\n }\n onSourceSelect(e) {\n this.sources = e;\n }\n onPmSelect(e) {\n this.product_managers = e;\n }\n onTeamSelect(e) {\n this.teams = e;\n }\n onInitiativeUpdate({\n detail: {\n initiative\n }\n }) {\n this.updateInitiativePoint(undefined, initiative);\n }\n willDestroy() {\n super.willDestroy(...arguments);\n document.removeEventListener(_customEvents.INITIAITVE_SLIDEOVER_SAVE, this.onInitiativeUpdate);\n }\n handleFilterDelete(filter) {\n const param = filter.key;\n const filters = this[param];\n if (Array.isArray(filters)) this[param] = filters.filter(item => item !== filter.value);else this[param] = null;\n }\n onGroupingVisibilityToggle(e) {\n this.show_grouping = e;\n this, this.chartInstance.yAxis.forEach(axis => {\n axis.update({\n visible: !axis.visible\n });\n });\n }\n updateRoadmapFilters(e) {\n this.roadmaps = e;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showFilterSlideover\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"selectedTimeRange\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 4;\n }\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 'status';\n }\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"sources\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"product_managers\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"show_grouping\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"onRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onRender\"), _class.prototype), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"today\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Date();\n }\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"day\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 1000 * 60 * 60 * 24;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"updateInitiativePoint\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateInitiativePoint\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateChartData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateChartData\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"drawChart\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"drawChart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToCreateInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToCreateInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFilterSlideover\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilterSlideover\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onStatusSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onStatusSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onThemeSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onThemeSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSourceSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSourceSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPmSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPmSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onTeamSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onTeamSelect\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInitiativeUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInitiativeUpdate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFilterDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFilterDelete\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGroupingVisibilityToggle\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGroupingVisibilityToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRoadmapFilters\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRoadmapFilters\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsController = _exports.default = (_class = class SettingsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n }\n get tabs() {\n return [{\n label: this.intl.t('personals.account'),\n route: 'settings.account',\n key: 'account'\n }, {\n label: this.intl.t('dictionary.organisation', {\n num: 2\n }),\n route: 'settings.organisation',\n key: 'organisation'\n }, {\n label: this.intl.t('dictionary.financials'),\n route: 'settings.financials',\n key: 'financials',\n icon: 'tailwind-icons/lock-fill'\n }, {\n label: this.intl.t('dictionary.themes', {\n num: 2\n }),\n route: 'settings.tags',\n key: 'tags'\n }, {\n label: this.intl.t('department.title', {\n num: 2\n }),\n route: 'settings.departments.list',\n key: 'departments'\n }, {\n label: this.intl.t('area.title', {\n num: 2\n }),\n route: 'settings.areas.list',\n key: 'areas'\n }, {\n label: this.intl.t('customer.title', {\n num: 2\n }),\n route: 'settings.customers.list',\n key: 'customers',\n hide: !this.betaToggle.showIdeas\n }, {\n label: this.intl.t('group.title', {\n num: 2\n }),\n route: 'settings.groups.list',\n key: 'groups',\n hide: !this.betaToggle.showGroups\n }, {\n label: this.intl.t('agents.title', {\n num: 2\n }),\n route: 'settings.agents.list',\n key: 'agents',\n hide: !this.betaToggle.showAiFeatures\n }];\n }\n isActive(tab) {\n return this.router.currentRouteName?.includes(tab.key);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isActive\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/agents/agent/edit\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/agents/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/agents/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsAgentsAgentEditController = _exports.default = (_class = class SettingsAgentsAgentEditController extends _base.default {\n cancel() {\n // Rollback changes to avoid persisting unsaved changes\n this.model.rollbackAttributes();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/agents/base\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsBaseController = _exports.default = (_class = class SettingsAgentsBaseController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n goToListPage() {\n this.router.transitionTo('settings.agents.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/agents/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsListController = _exports.default = (_class = class SettingsAgentsListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get agents() {\n let agents = this.model;\n if (this.search) {\n agents = agents.filter(agent => {\n return (agent.name ?? '').toLowerCase().includes(this.search.toLowerCase());\n });\n }\n return agents;\n }\n deleteAgent(agent) {\n void agent.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteAgent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteAgent\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/agents/list/create\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/agents/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/agents/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsAgentsListCreateController = _exports.default = (_class = class SettingsAgentsListCreateController extends _base.default {\n cancel() {\n // Delete the record instead of just rolling back\n void this.model.destroyRecord();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/areas/area/edit\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/areas/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/areas/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsAreasAreaEditController = _exports.default = (_class = class SettingsAreasAreaEditController extends _base.default {\n cancel() {\n // Rollback changes to avoid persisting unsaved changes\n this.model.rollbackAttributes();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/areas/base\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasBaseController = _exports.default = (_class = class SettingsAreasBaseController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n goToListPage() {\n this.router.transitionTo('settings.areas.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/areas/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasListController = _exports.default = (_class = class SettingsAreasListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get areas() {\n let areas = this.model;\n if (this.search) {\n areas = areas.filter(area => {\n return (area.name ?? '').toLowerCase().includes(this.search.toLowerCase());\n });\n }\n return areas;\n }\n deleteArea(area) {\n area.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteArea\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteArea\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/areas/list/create\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/areas/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/areas/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsAreasListCreateController = _exports.default = (_class = class SettingsAreasListCreateController extends _base.default {\n cancel() {\n // Delete the record instead of just rolling back\n this.model.destroyRecord();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/customers/base\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersBaseController = _exports.default = (_class = class SettingsCustomersBaseController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n goToListPage() {\n this.router.transitionTo('settings.customers.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/customers/customer/edit\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/customers/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/customers/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsCustomersCustomerEditController = _exports.default = (_class = class SettingsCustomersCustomerEditController extends _base.default {\n cancel() {\n // Rollback changes to avoid persisting unsaved changes\n this.model.rollbackAttributes();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/customers/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersListController = _exports.default = (_class = class SettingsCustomersListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get customers() {\n let customers = this.model;\n if (this.search) {\n customers = customers.filter(customer => {\n return (customer.name ?? '').toLowerCase().includes(this.search.toLowerCase());\n });\n }\n return customers;\n }\n deleteCustomer(customer) {\n customer.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteCustomer\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteCustomer\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/customers/list/create\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/customers/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/customers/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsCustomersListCreateController = _exports.default = (_class = class SettingsCustomersListCreateController extends _base.default {\n cancel() {\n // Delete the record instead of just rolling back\n this.model.destroyRecord();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/departments/base\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsBaseController = _exports.default = (_class = class SettingsDepartmentsBaseController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n goToListPage() {\n this.router.transitionTo('settings.departments.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/departments/department/edit\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/departments/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/departments/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsDepartmentsDepartmentEditController = _exports.default = (_class = class SettingsDepartmentsDepartmentEditController extends _base.default {\n cancel() {\n // Rollback changes to avoid persisting unsaved changes\n this.model.rollbackAttributes();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/departments/list\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/controllers/settings/departments/base\"], function (_exports, _object, _service, _tracking, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/controllers/settings/departments/base\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsListController = _exports.default = (_class = class SettingsDepartmentsListController extends _base.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get departments() {\n let departments = this.model;\n if (this.search) {\n departments = departments.filter(department => {\n return (department.name ?? '').toLowerCase().includes(this.search.toLowerCase());\n });\n }\n return departments;\n }\n deleteDepartment(department) {\n department.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteDepartment\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteDepartment\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/departments/list/create\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/departments/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/departments/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsDepartmentsListCreateController = _exports.default = (_class = class SettingsDepartmentsListCreateController extends _base.default {\n cancel() {\n // Delete the record instead of just rolling back\n this.model.destroyRecord();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/groups/base\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsBaseController = _exports.default = (_class = class SettingsGroupsBaseController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n goToListPage() {\n this.router.transitionTo('settings.groups.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"goToListPage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToListPage\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/groups/group/edit\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/groups/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/groups/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsGroupsGroupEditController = _exports.default = (_class = class SettingsGroupsGroupEditController extends _base.default {\n cancel() {\n // Rollback changes to avoid persisting unsaved changes\n this.model.rollbackAttributes();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/groups/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsListController = _exports.default = (_class = class SettingsGroupsListController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _defineProperty(this, \"queryParams\", ['search']);\n _initializerDefineProperty(this, \"search\", _descriptor3, this);\n }\n get groups() {\n let groups = this.model;\n if (this.search) {\n groups = groups.filter(group => {\n return (group.title ?? '').toLowerCase().includes(this.search.toLowerCase());\n });\n }\n return groups;\n }\n deleteGroup(group) {\n void group.destroyRecord();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"search\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteGroup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGroup\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/groups/list/create\", [\"exports\", \"@ember/object\", \"scaleflow/controllers/settings/groups/base\"], function (_exports, _object, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"scaleflow/controllers/settings/groups/base\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsGroupsListCreateController = _exports.default = (_class = class SettingsGroupsListCreateController extends _base.default {\n cancel() {\n // Delete the record instead of just rolling back\n void this.model.destroyRecord();\n this.goToListPage();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/organisation\", [\"exports\", \"@ember/controller\", \"moment\", \"scaleflow/validators/organisation\", \"@ember/object\"], function (_exports, _controller, _moment, _organisation, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"moment\",0,\"scaleflow/validators/organisation\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsOrganisationDetailsController = _exports.default = (_class = class SettingsOrganisationDetailsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"organisationValidations\", _organisation.default);\n }\n get organisation() {\n return this.model;\n }\n get dayOptions() {\n return Array.apply(null, Array(7)).map(function (_, i) {\n return {\n label: (0, _moment.default)(i, 'e').startOf('week').isoWeekday(i + 1).format('dddd'),\n value: i + 1\n };\n });\n }\n handleOptionSelect(changeset, e) {\n changeset.set('first_day_of_week', e.value);\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"handleOptionSelect\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOptionSelect\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/settings/tags\", [\"exports\", \"@ember/controller\", \"@ember/object\"], function (_exports, _controller, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let SettingsTagsController = _exports.default = (_class = class SettingsTagsController extends _controller.default {\n get themes() {\n return this.model;\n }\n deleteTheme(theme) {\n theme.destroyRecord();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"deleteTheme\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteTheme\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/strategy/goals\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _controller, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyGoalsController = _exports.default = (_class = class StrategyGoalsController extends _controller.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"goal_form\", _descriptor2, this);\n _initializerDefineProperty(this, \"goalEditMode\", _descriptor3, this);\n _initializerDefineProperty(this, \"show_goal_modal\", _descriptor4, this);\n }\n get goals() {\n return this.store.peekAll('goal');\n }\n showGoalModal() {\n this.goal_form = this.store.createRecord('goal');\n this.show_goal_modal = true;\n }\n hideGoalModal(isCancelledNewItem = true) {\n this.show_goal_modal = false;\n if (isCancelledNewItem && this.goalEditMode === false) this.goal_form?.deleteRecord?.();\n this.goal_form = null;\n this.goalEditMode = false;\n }\n async addGoal(changeset) {\n if (changeset.title?.length <= 0) return;\n try {\n this.goal_form.title = changeset.title;\n this.goal_form.save().then(() => {\n this.hideGoalModal(false, false);\n changeset.rollback();\n });\n } catch (err) {\n console.log(err);\n }\n }\n deleteGoal(goal) {\n goal.destroyRecord();\n }\n editGoal(goal) {\n this.goal_form = goal;\n this.goalEditMode = true;\n this.show_goal_modal = true;\n }\n async onGoalSubmit(changeset, e) {\n e.preventDefault();\n await this.addGoal(changeset);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"goal_form\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"goalEditMode\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"show_goal_modal\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"showGoalModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showGoalModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideGoalModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideGoalModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onGoalSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onGoalSubmit\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/strategy/investment-scenarios/create\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\"eaimeta@70e063a35619d71f\n class StrategyListCreateController extends _controller.default {}\n _exports.default = StrategyListCreateController;\n});","define(\"scaleflow/controllers/strategy/investment-scenarios/index\", [\"exports\", \"@ember/controller\", \"@ember/object\"], function (_exports, _controller, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n let StrategyListIndexController = _exports.default = (_class = class StrategyListIndexController extends _controller.default {\n deleteScenario(scenario) {\n scenario.destroyRecord();\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"deleteScenario\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteScenario\"), _class.prototype), _class);\n});","define(\"scaleflow/controllers/strategy/investment-scenarios/investment-scenario/edit\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/controller\"eaimeta@70e063a35619d71f\n class StrategyListStrategyEditController extends _controller.default {}\n _exports.default = StrategyListStrategyEditController;\n});","define(\"scaleflow/custom-translations/en-qpq\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n var _default = _exports.default = {\n dictionary: {\n producthub: 'Scaleforce',\n loading: 'Loading',\n expected: 'Expected',\n returns: '{num, plural, =0 {Return on investment} =1 {Return on investment} other {Returns}}',\n investment: '{num, plural, =0 {Capital investment} =1 {Capital investment} other {Capital investments}}',\n impact: 'Financial impact',\n product: 'Portfolio',\n help: 'Help',\n roles: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n initiatives: '{num, plural, =0 {No Project to display} =1 {Project} other {Projects}}',\n case: 'Case',\n weeks: '{num, plural, =0 {No weeks} =1 {Week} other {Weeks}}',\n view: 'View',\n edit: 'Edit',\n fte: 'FULL-TIME EQUIVALENT',\n delete: 'Delete',\n 'person-weeks': 'Team member-weeks',\n to: 'to',\n from: 'from',\n title: 'Title',\n 'choose-date': 'Choose a date',\n filters: 'Search filters',\n in: 'in',\n goals: '{num, plural, =0 {Strategic objective} =1 {Strategic objective} other {Strategic objectives}}',\n save: 'Save',\n 'save-and-close': 'Save & Close',\n saved: 'Saved',\n confidence: 'confidence level',\n abbreviation: 'abbreviation',\n 'group-by': 'Group by',\n 'breakout-by': 'Breakout by',\n 'sort-by': 'Sort by',\n name: 'Name',\n person: '{num, plural, =0 {Team member} =1 {team member} other {team members}}',\n 'do-later': 'Feel free to do this later',\n team: '{num, plural, =0 {Team} =1 {Team} other {Teams}}',\n active: 'Under development',\n inactive: 'Inactive',\n cancel: 'Cancel',\n themes: '{num, plural, =0 {Tag} =1 {Tag} other {Tags}}',\n source: '{num, plural, =0 {Project source} =1 {Project source} other {Project sources}}',\n status: 'Development status',\n 'start-date': 'Start date',\n 'end-date': 'Commercial operation',\n 'back-of-napkin': '{num, plural, =0 {Financial impact} =1 {Financial impact} other {Financial impact}}',\n details: 'Details',\n 'close-panel': 'Close panel',\n 'close-menu': 'Clone menu',\n select: 'Select',\n selected: 'Selected',\n search: 'Search',\n 'search-for-attribute': 'Search for {attribute}',\n roadmap: '{num, plural, =0 {Pipeline} =1 {Pipeline} other {Pipelines}}',\n 'show-grouping': 'Show grouping',\n no: 'No',\n calculate: 'Calculate',\n approximately: 'approximately',\n settings: 'Configuration',\n 'add-to-favorites': 'Add to favourites',\n unfavorite: 'Remove from favourites',\n favorites: 'Favorites',\n uncertainty: '{num, plural, =0 {Risk factor} =1 {Risk factor} other {Risk factors} }',\n edited: 'Edited',\n show: 'Show',\n info: 'Info',\n notes: 'Notes',\n add: 'Add',\n value: 'Value',\n explanation: 'Explanation',\n 'add-item': 'Add item',\n 'show-archive-of': 'Show archive of',\n unfiled: 'Unfiled',\n 'danger-zone': 'Danger zone',\n 'close-archive': 'Close archive',\n empty: 'No items inactive',\n restore: 'Restore',\n 'tap-to-edit': 'Tap to edit',\n author: 'author',\n 'add-to-attribute': 'Add to {attribute}',\n 'add-a-attribute': 'Add a {attribute}',\n bookmark: '{num, plural, =0 {Favorites} =1 {Favorites} other {Favorites} }',\n 'bookmarks-nav-description': 'Manage external links ',\n icon: 'Icon',\n url: 'URL',\n 'capacity-fte': 'Capacity (FULL-TIME EQUIVALENT)',\n optional: 'optional',\n archived: 'Inactive',\n archive: 'Historical records',\n links: '{num, plural, =0 {Link} =1 {Link} other {Links} }',\n unlink: 'Unlink',\n 'archive-checked-items': 'File checked items',\n 'log-out': 'Log out',\n 'clear-selection': 'Clear selection',\n eligible: 'Eligible',\n 'out-of': 'out of',\n pm: '{num, plural, =0 {Lead} =1 {Lead} other {Leads}}',\n 'unsaved-changes': 'You have unsaved changes',\n capacity: ' Capacity',\n total: 'Total',\n options: '{num, plural, =0 {option} =1 {option} other {options}}',\n default: 'Default',\n roi: 'Projects',\n created: 'Created',\n 'created-at': 'Created at',\n create: 'Create',\n ago: 'ago',\n comments: '{num, plural, =0 {note} =1 {note} other {notes}}',\n drag: 'Drag',\n collapse: 'Collapse',\n expand: 'Expand',\n more: 'more',\n less: 'less',\n unspecified: 'Unspecified',\n 'go-back': 'Go back',\n prev: 'Prev',\n next: 'Next',\n update: 'Update',\n overview: 'Summary',\n for: 'for',\n column: 'Column',\n row: 'Row',\n strategy: 'Investment strategy',\n effort: 'Resource allocation',\n 'waiting-for-answers': 'Blockers',\n horizon: 'Investment horizon',\n or: 'or',\n here: 'here',\n duration: 'Timeline',\n organisation: 'Company',\n financials: 'Economics',\n 'contact-email': 'mailto:project team@getproducthub.com',\n insights: 'Insights',\n 'open-menu': 'Open main menu',\n operations: 'Operations & maintenance',\n grid: 'Status',\n lanes: 'Pipeline view',\n 'quick-links': 'Quick links',\n timeline: 'Schedule view',\n 'progress-overview': 'Status summary',\n reported: 'Reported',\n 'last-updated': 'Last updated',\n 'type-delete-to-confirm': 'Please type \"delete\" to confirm',\n 'progress-hint': 'Please select a development status to save your update',\n authenticating: 'Authenticating',\n date: 'Date',\n metrics: 'KPIs',\n all: 'All',\n 'hide-column': 'Hide column',\n grouping: 'Grouping',\n sorting: 'Sorting',\n visibility: 'Visibility',\n filtering: 'Filtering',\n new: 'New',\n tasks: 'Activities',\n none: 'None',\n columns: 'Columns',\n fields: 'Fields',\n 'switch-account': 'Switch account',\n 'save-and-continue': 'Save and continue',\n skip: 'Skip',\n finish: 'Finish',\n yes: 'Yes',\n 'owned-by': 'Owned by',\n 'no-owner-set': 'No project lead set',\n owner: 'Lead',\n description: 'Description',\n 'general-details': 'General details',\n 'link-to-metrics': 'Link to kpis',\n 'set-targets': 'Set project targets',\n 'oh-no': 'Oh no!',\n resources: 'Resources',\n 'goals-n-metrics': 'Strategic objectives & KPIs',\n activity: 'Activity',\n project: 'Project',\n summary: 'Executive summary',\n 'paid-feature': 'Paid feature',\n 'send-invites': 'Send invites',\n 'invite-members': 'Invite members',\n 'invitations-sent-successfully': 'Invitations sent',\n adjustments: 'Adjustments',\n upgrade: 'Upgrade',\n 'not-set': 'Not set',\n 'submitted-by': 'Submitted by',\n 'confirm-delete': 'Are you sure you want to permanently delete the {resource_type}: {resource_name}',\n 'knowledge-base': 'Knowledge Base',\n copy: 'Copy',\n artifact: '{num, plural, =0 {No Artifacts found} =1 {Artifact} other {Artifacts}}'\n },\n sorting: {\n 'a-z': 'Sort A-Z',\n 'z-a': 'Sort Z-A',\n 'low-to-high': 'Low to High',\n 'high-to-low': 'High to Low',\n 'old-to-new': 'Oldest to Newest',\n 'new-to-old': 'Newest to Oldest'\n },\n personals: {\n organisation: 'Company',\n 'start-of-week': 'Start of week',\n name: 'name',\n account: 'User account',\n details: 'Details',\n abbreviation: 'abbreviation',\n unavailable: 'Unavailable',\n time: 'time',\n holidays: 'Holidays',\n other: 'Other',\n pto: 'Paid time off',\n sick_leave: 'Sick leave',\n total: 'Total',\n type: 'Type',\n duration: 'Timeline',\n flex: 'Operational flex'\n },\n 'status-options': {\n draft: 'Concept',\n 'draft-description': 'Projects are still in concept phase, shaping the documentation and gathering feedback.',\n active: 'Under development',\n 'active-description': 'Projects currently have a team working on them.',\n ready: 'Ready to build',\n 'ready-description': 'Projects have their documentation ready and that will start as soon as they get priority and a team is available.',\n completed: 'Operational',\n 'completed-description': 'Projects are operational.',\n parked: 'On hold',\n 'parked-description': 'Projects have actively been halted or stopped before they were operational with the intention to work on them later. ',\n archived: 'Inactive',\n 'archived-description': \"All Projects don't fit the list above.\",\n discovery: 'Due diligence',\n 'discovery-description': 'It has been decided to spend time to investigate the feasibility and RETURN ON INVESTMENT of the Project',\n planning: 'Shovel ready',\n 'planning-description': 'Projects have passed the validity/feasibility assessment stage, and the development of which is ready to be planned into weeks.',\n 'soft-delete': 'Archived',\n 'soft-delete-description': 'Business Cases are no longer being worked on and are soft deleted'\n },\n 'source-options': {\n vision: 'Strategic vision',\n 'vision-description': 'Projects stem from the mission, strategic vision and investment strategy of the company, but that are not directly placeable in any of the other categories.',\n 'customer-request': 'Investor',\n customer_request: 'Investor',\n customer: 'Investor',\n 'customer-request-description': 'Projects started as a result of one more requests or problems of current investors.',\n 'customer-short': 'Investor',\n operations: 'Operations & maintenance',\n 'operations-short': 'Operations & maintenance',\n 'operations-description': 'Projects started as a result of operational & maintenance activities. Including scale, performance, technical upgrades and automation. Generally holds a lot of technical topics.',\n other: 'Other',\n 'other-description': \"Projects don't fall in any of the above categories.\",\n 'not-classified': 'Not classified',\n flow: 'Op. Flex',\n explanation: 'The project source defines where your Projects derive from. By defining the source for the Projects you can make more informed decisions during your pipeline prioritisation.'\n },\n help: {\n title: 'help',\n 'contact-support': 'Contact support',\n 'help-and-feedback': 'Help & Feedback',\n feedback: 'Submit feedback',\n 'help-center': 'Help center'\n },\n dashboards: {\n title: 'Overview dashboard',\n 'return-on-investment': 'Return on capital investment',\n 'nav-description': \"How's your pipeline looking?\",\n roi: 'Projects',\n overview: 'Summary',\n 'time-to-value': 'Time to value',\n loading: 'Loading',\n expected: 'Expected',\n investment: '{num, plural, =0 {Capital investment} =1 {Capital investment} other {Capital investments}}',\n returns: '{num, plural, =0 {Return on investment} =1 {Return on investment} other {Returns}}',\n impact: 'Financial impact',\n all: 'All {initiatives}',\n 'roi-explanation': 'By glancing over the capital investment, expected returns and the expected financial impact you can easily spot the big fish in the pond. These might require a bit more attention.',\n product: 'Portfolio',\n 'leverage-metric': '{numMetrics, plural, =0 {No metric} =1 {Leverage metric} other {Leverage kpis}}',\n 'leverage-metric-explanation': 'There are two ways to create this metric visualisation. You can either contact us to connect your existing tools or get this out of the box by using the Scaleforce app. What would you like to do? ',\n start: 'Start with',\n 'capacity-overview': 'Capacity summary',\n 'select-roadmap': 'Select Pipeline',\n teams: '{num, plural, =0 {team} =1 {team} other {teams}}',\n roles: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n 'team-capacity': 'Capacity per team',\n 'team-capacity-explanation': '',\n 'initiatives-explanation': 'A list of all Projects that belong to the selected pipeline. Team Resource allocation represents total team resource allocation for this project.',\n 'role-capacity': 'Capacity per Function',\n 'role-capacity-explanation': '',\n weekly: 'Weekly reporting',\n 'weekly-capacity': 'Weekly reporting capacity needed for Development planned {initiatives}',\n 'weekly-capacity-explanation': 'Summary of average capacity needed for all Development planned {initiatives}. Only {initiatives} with a start and commercial operation date are represented.',\n 'weekly-indicators': 'Weekly reporting indicators',\n 'since-last-week': 'Since last week',\n 'since-last-month': 'Since last month',\n 'releases-time-to-value': 'Releases & Time to First Value (demo)',\n 'custom-metric': 'Your custom metric'\n },\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n },\n _goals: {\n title: '{num, plural, =0 {Strategic objective} =1 {Strategic objective} other {Strategic objectives}}',\n add: 'New {goal}',\n edit: 'Edit {goal}',\n heading: 'Investment {goal}',\n 'nav-description': 'What are your investment strategy drivers?',\n 'confirm-delete': 'Are you sure you want to permanently delete the strategic objective: {goal_name}?',\n 'linked-to-attribute': 'Linked to {attribute}',\n 'no-goals': 'There are no {goals}',\n 'empty-state-description': 'You can set a description by',\n 'editing-the-goal': 'editing the {goal}',\n 'link-initiatives': 'You can link {initiatives} to this {goal} from the',\n overview: 'summary',\n 'sub-goals': 'Substrategic objectives',\n 'cannot-link-to-child': \"You can't link to substrategic objectives of the strategic objective you are editing\",\n status: {\n title: 'Development status',\n true: 'In status',\n false: 'Not under development'\n },\n wizard: {\n 'title-label': 'What is the {goal}?',\n 'link-to-goal': 'Link to other {goals}',\n 'link-to-parent-goal': 'Link to parent {goal}'\n },\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n }\n },\n _initiatives: {\n title: '{num, plural, =0 {No Project to display} =1 {Project} other {Projects}}',\n 'nav-description': 'Prepare {initiatives}',\n pm: '{num, plural, =0 {Lead} =1 {Lead} other {Leads}}',\n 'product-manager': 'Lead',\n effort: 'Resource allocation',\n uncertainty: '{num, plural, =0 {Risk factor} =1 {Risk factor} other {Risk factors} }',\n impact: 'Financial impact',\n teams: '{num, plural, =0 {Team} =1 {Team} other {Teams}}',\n roles: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n 'starting-week': 'Starting week',\n duration: 'Timeline',\n priority: 'Priority',\n progress: 'Status',\n 'progress-nav-description': 'Get an summary of how the Projects in your pipeline are running.',\n themes: '{num, plural, =0 {Tag} =1 {Tag} other {Tags}}',\n goals: '{num, plural, =0 {Strategic objective} =1 {Strategic objective} other {Strategic objectives}}',\n add: 'New {initiative}',\n filters: 'Search filters',\n 'clear-attribute': 'Clear {attribute}',\n source: '{num, plural, =0 {Project source} =1 {Project source} other {Project sources}}',\n status: 'Development status',\n 'back-of-napkin': '{num, plural, =0 {Financial impact} =1 {Financial impact} other {Financial impact}}',\n investment: '{num, plural, =0 {Capital investment} =1 {Capital investment} other {Capital investments}}',\n returns: '{num, plural, =0 {Return on investment} =1 {Return on investment} other {Returns}}',\n 'person-weeks': 'Team member-weeks',\n details: 'Details',\n description: 'Description',\n abbreviation: 'abbreviation',\n 'no-records': 'No record',\n update: '{num, plural, =0 {progress update} =1 {progress update} other {progress updates}}',\n updates_on_track: 'On Track',\n updates_needs_review: 'Needs attention',\n updates_at_risk: 'At risk',\n updates_delayed: 'Delayed',\n 'updates_no-records': 'No record',\n 'reported-health-title': 'What is the status of this {initiative}?',\n 'reported-health-description': 'Mark the status of this {initiative} by selecting the number of dots to fill in',\n 'group-by': 'Group by',\n 'display-columns': 'Display columns',\n roadmap: '{num, plural, =0 {Pipeline} =1 {Pipeline} other {Pipelines}}',\n weeks: '{num, plural, =0 {No weeks} =1 {Week} other {Weeks}}',\n strategic: '',\n 'go-to-bon': 'Go to {bon} calculator',\n calculate: 'Calculate',\n 'general-details': 'general-details',\n planning: 'Development planning',\n 'planning-link': 'Development plan',\n 'document-link': 'Document repository',\n people: 'Team members',\n 'select-pm': 'Assign a lead',\n 'select-goal': 'Select a strategic objective',\n 'select-teams': 'Select teams',\n strategy: 'Investment strategy',\n document: 'Documentation',\n 'copy-link': 'Copy {initiative} link',\n settings: 'Configuration',\n 'initiative-link-copied': '{initiative} link copied to clipboard!',\n 'roi-strategy': 'RETURN ON INVESTMENT Investment strategy',\n wfa: 'Blockers',\n 'waiting-for-answers': 'Blockers',\n tickets: 'Tickets',\n closed: 'closed',\n open: 'open',\n 'no-updates': 'No progress updates',\n 'context-to-update': 'Please add some context to your update here',\n 'version-history': 'Document versions',\n 'load-template': 'Load template',\n 'document-linked': 'Please note that you already have documentation linked to this project',\n 'go-to-doc': 'See documentation',\n versions: 'Versions',\n 'current-version': 'Current version',\n restore: 'Restore',\n 'read-only-mode': 'This is a read only saved version.',\n 'version-restored': 'Version restored successfully!',\n 'start-here': '👇 Start your documentation here or click the 📋 button on the top right to load our default template',\n 'planning-linked': 'Please note that you already have a development planning linked to this Project',\n 'go-to-planning': 'See development planning',\n person: '{num, plural, =0 {Team member} =1 {Team member} other {Team members}}',\n 'weekly-goals': 'Weekly reporting strategic objectives',\n 'workstream-name': 'Name',\n 'workstream-placeholder': 'Enter the title of your list',\n workstream: '{num, plural, =0 {Phase} =1 {Phase} other {Phases}}',\n 'timeline-alert': '

    In order to render Projects on a schedule view you need to indicate a start date and timeline

    ',\n 'set-document': 'You can set a documentation link at the configuration page',\n 'set-planning': 'Do you do your development planning in another tool? You can set a Development plan in the side-panel.',\n 'team-settings-relocation': 'Teams can now be set by adding them to your estimations under the Financial impact tab',\n 'planned-initiatives': 'Development planned {initiatives}',\n 'exit-warning-modal': {\n title: 'Save changes?',\n explanation: 'This project has unsaved changes and you are about to go to another page. Before leaving tell us what you would like to do with your changes.'\n },\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n },\n 'empty-state': 'This {initiative} has no {item}',\n 'no-activity': 'There is no activity',\n 'upgrade-snippet': 'There is a more powerful version of this snippet available. Would you like to try it out?'\n },\n metrics: {\n title: 'KPIs',\n targets: 'Targets',\n low: 'Low',\n medium: 'Medium',\n high: 'High',\n unknown: 'N/A',\n description: 'The completion rate is calculated from the amount of typed words'\n },\n _scenarios: {\n title: '{num, plural, =1 {Balance} other {Balances}}',\n 'nav-description': 'Where should resource allocation go? Strategic vision, Investors or Operations & maintenance?',\n create: 'New {scenario}',\n 'no-scenarios': 'Please click on \"+ New {scenario}\" to create your first {scenario}',\n 'summary-investment-strategy': 'Executive summary of Capital investment Investment strategy',\n to: 'to',\n investment: '{num, plural, =0 {Capital investment} =1 {Capital investment} other {Capital investments}}',\n returns: '{num, plural, =0 {Return on investment} =1 {Return on investment} other {Returns}}',\n impact: 'Financial impact',\n initiatives: '{num, plural, =0 {No Project to display} =1 {Project} other {Projects}}',\n budget: 'Total budget',\n percentage: 'Percentage',\n percent: 'Percent',\n 'starting-date': 'Start date',\n 'ending-date': 'Commercial operation date',\n total: 'Total',\n 'planning-limit': 'Development planning limit',\n 'capacity-allocation': 'Capacity allocation',\n distribution: 'Allocation',\n 'size-limit': 'Size limit of {initiative} (pw)',\n min: 'Minimum',\n max: 'Maximum',\n pw: 'pw',\n euros: 'Dollars',\n 'investment-in-initiatives': '{investment} in Projects',\n flow: 'Flow',\n 'number-of-initiatives-to-run': 'Number of {initiative} to run',\n 'investment-sizes-in-euros': '{investment} sizes per project in terms of dollars',\n 'advised-range': 'Advised range',\n 'investment-sizes-in-pw': '{investment} sizes per project in terms of team member weeks of resource allocation',\n 'lower-limit': 'Lower limit',\n 'upper-limit': 'Upper limit',\n strategy: 'Investment strategy',\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n }\n },\n financials: {\n title: 'Economics',\n 'nav-description': 'What sets the costs, productivity and financial impact of engineering?',\n fte: 'FULL-TIME EQUIVALENT',\n effort: 'Resource allocation',\n 'full-time-equivalent': 'Full-time-equivalent',\n 'fte-explanation': 'Full-time-equivalent, measures the total amount of full-time employees working at any one company. It is a way of adding up the hours of full-time, part-time and various other types of employees into measurable \"full-time\" units.',\n 'person-weeks': 'Team member-weeks',\n 'person-weeks-full': 'Price-per-team member-week',\n 'ppw-explanation': 'The capital investment calculation uses an average price-per-team member-per-week.',\n period: 'Period',\n 'global-values': 'global values',\n 'back-of-napkin': '{num, plural, =0 {Financial impact} =1 {Financial impact} other {Financial impact}}',\n bon: 'BC',\n explanation: 'The following attributes are used in the calculation of the {bon}. To edit those values please contact the Scaleforce project team.',\n 'bon-definition': 'The {bon} is a simple way of checking if an idea is a sound investment strategy opportunity.',\n 'bon-uses': \"Creating a {bon} for projects will help you evaluate a project's potential and make informed decisions regarding priorities.\",\n horizon: 'Investment horizon',\n 'horizon-explanation': 'The investment horizon is the limit in time you set to calculate your returns for. Example investment horizon values are 12 or 18 months. When you sell 12 month contracts it makes sense to set your investment horizon at 12 months',\n 'investment-horizon': 'Investment horizon',\n engineering: 'Engineering',\n clv: 'CV',\n 'customer-lifetime-value': 'Investor value',\n 'new-customer-value': 'New investor value',\n confidence: 'confidence level',\n 'confidence-level': '{confidence} level',\n 'confidence-level-explanation': 'This multiplier adjusts the {type} estimation with the level of certainty.',\n investment: '{num, plural, =0 {Capital investment} =1 {Capital investment} other {Capital investments}}',\n returns: '{num, plural, =0 {Return on investment} =1 {Return on investment} other {Returns}}',\n low: 'Low',\n medium: 'Medium',\n high: 'High',\n confirmed: 'Confirmed',\n calculation: 'calculation',\n 'empty-field': 'Empty field',\n templates: 'Templates',\n total: 'Total',\n 'new-customer': '{num, plural, =0 {New investor} =1 {New investor} other {New investors}}',\n customers: '{num, plural, =0 {investor} =1 {investor} other {investors}}',\n 'up-sell': 'Expansion',\n 'saved-ftes': 'Saved FULL-TIME EQUIVALENT',\n months: 'Months',\n 'within-horizon': 'within investment horizon',\n ppw: 'PPW',\n 'upsell-title': 'Expansion value',\n 'upsell-explanation': 'Expansion is a sales investment strategy where investors are offered a more feature rich version of the project portfolio at a higher price point. The expansion value is the difference between what the investor is paying now, and what the investor will pay with the new feature included.',\n 'clv-definition': 'Investor Lifetime Value is the predicted net value a company will gain from a investor over the course of their relationship and can be calculated in various ways. To start we recommend you use the following calculation:',\n 'clv-howto': ' Divide your yearly revenue by the amount of investors you have. Adjust it to fit your investment horizon if needed.',\n 'number-of': 'number of',\n weeks: '{num, plural, =0 {No weeks} =1 {Week} other {Weeks}}',\n 'price-of': 'Price of',\n person: '{num, plural, =0 {Team member} =1 {Team member} other {Team members}}',\n 'customer-values': {\n title: 'Investor values',\n small: 'Small',\n medium: 'Medium',\n large: 'Large',\n custom: 'Custom'\n }\n },\n roles: {\n title: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n 'nav-description': 'Manage your {roles}',\n add: 'New {role}',\n 'group-by': 'Group by',\n person: '{num, plural, =0 {Team member} =1 {Team member} other {Team members}}',\n 'no-roles': 'There are no functions in your company',\n name: 'Name',\n fte: 'FULL-TIME EQUIVALENT',\n 'capacity-fte': 'Capacity (FULL-TIME EQUIVALENT)',\n edit: 'Edit',\n delete: 'Delete',\n 'create-role': 'Create {role}',\n 'edit-role': 'Edit {role}',\n 'name-placeholder': 'Enter function name',\n 'name-cannot-be-blank': 'Function name cannot be blank',\n hint: 'Please fill in a name.',\n 'ftes-placeholder': 'How many FULL-TIME EQUIVALENT can fulfill this function?',\n 'choose-people': 'Who can fulfill this function?',\n 'no-people': 'No team member chosen',\n 'do-later': 'Feel free to do this later',\n 'empty-roles': 'Empty functions'\n },\n agents: {\n title: '{num, plural, =0 {No agents} =1 {Agent} other {Agents}}',\n provider: 'Provider',\n create: 'Create Agent',\n edit: 'Edit Agent'\n },\n people: {\n title: '{num, plural, =0 {Team member} =1 {Team member} other {Team members}}',\n 'no-active-people': 'There are no under development team members in your company',\n 'no-inactive-people': 'There are no inactive team members in your company',\n add: 'New {person}',\n 'group-by': 'Group by',\n team: '{num, plural, =0 {Team} =1 {Team} other {Tams}}',\n roles: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n name: 'Name',\n active: 'Under development',\n inactive: 'Inactive',\n edit: 'Edit',\n 'edit-person': 'Edit {person}',\n 'name-placeholder': 'John Doe',\n 'name-hint': 'Please fill in a name',\n abbreviation: 'Abbreviation',\n 'abbreviation-placeholder': 'JD',\n 'abbreviation-hint': 'Please fill in a two letter abbreviation',\n status: 'Development status',\n 'form-choose-teams': 'What team(s) does this team member belong to?',\n 'form-choose-roles': 'What function(s) does this user fulfill?',\n 'form-no-teams': 'No team(s) chosen',\n 'form-no-roles': 'No function(s) chosen',\n 'nav-description': 'Administer the {people} contributing to Portfolio & Engineering'\n },\n themes: {\n title: '{num, plural, =0 {Tag} =1 {Tag} other {Tags}}',\n 'nav-description': 'Group {initiatives} that belong together.',\n add: 'Add {theme}',\n edit: 'Edit {theme}',\n color: 'Color',\n 'no-color': 'No color selected',\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n }\n },\n idea: {\n title: '{num, plural, =0 {No ideas} =1 {Idea} other {Ideas}}',\n deadline: 'Deadline',\n 'revenue-existing': 'Revenue existing',\n 'revenue-potential': 'Revenue potential',\n status: {\n new: 'New',\n parked: 'Parked',\n long_list: 'Long list',\n short_list: 'Short list',\n incomplete: 'Incomplete',\n in_development: 'In development',\n in_review: 'In review',\n done: 'Done'\n }\n },\n department: {\n title: '{num, plural, =0 {No Department to display} =1 {Department} other {Departments}}',\n create: 'Create Department',\n edit: 'Edit Department'\n },\n area: {\n title: '{num, plural, =0 {No Product modules to display} =1 {Product module} other {Product modules}}',\n create: 'Create Product module',\n edit: 'Edit Product module'\n },\n customer: {\n title: '{num, plural, =0 {No Customer to display} =1 {Customer} other {Customers}}',\n create: 'Create Customer',\n edit: 'Edit Customer'\n },\n lists: {\n workstream: 'List',\n 'add-item': 'Add {item}',\n 'edit-item': 'Edit {item}',\n 'uncertainty-placeholder': 'Which are your big unknowns and risk factors?',\n 'wfa-placeholder': 'What are your questions outside of the team?',\n 'questions-placeholder': 'Anything to ask or share with the team?',\n 'lessons-learned-placeholder': 'What is your lesson learned for the day?',\n 'tfo-placeholder': 'What do you want to do today?',\n questions: 'Questions/FYI',\n 'lessons-learned': 'Lessons Learned',\n 'to-figure-out': 'To do',\n comments: '{num, plural, =0 {no comments} =1 {# comment} other {# comments}}'\n },\n _teams: {\n add: 'Add {team}',\n 'nav-description': 'Manage your {teams}',\n title: '{num, plural, =0 {Team} =1 {Team} other {Teams}}',\n name: 'Name',\n 'name-placeholder': 'Super Mario',\n 'name-hint': 'Please fill in a name. ',\n 'name-error': 'Team name cannot be blank',\n person: '{num, plural, =0 {Team member} =1 {Team member} other {Team members}}',\n 'group-by': 'Group by',\n 'capacity-fte': 'Capacity (FULL-TIME EQUIVALENT)',\n lists: 'lists',\n 'check-in': 'Status update',\n default: 'Default',\n 'default-list-explanation': 'Your Status update always contains the following lists that guide you.',\n 'optional-list-explanation': 'If you want to keep risk factors and blockers front and center, you can activate them in your Status update in the list below.',\n members: '{num, plural, =0 {member} =1 {member} other {members}}',\n 'auto-archive-time': 'Auto filing time',\n 'auto-archive-description': 'Here you can set the auto filing time for the company. This means that on daily basis, all the checked items of the Status update page will be inactive at the selected time.',\n 'time-selection': 'Time selection',\n 'time-zone': 'Time zone',\n am: 'AM',\n pm: 'PM',\n 'archive-team': 'Archive team',\n 'team-status': 'Team development status',\n 'team-status-description': 'If the team is inactive, all the team relevant information is still available from the inactive teams list. Once the team is inactive it will no longer be displayed in the pipeline or in team selection menus.',\n 'archived-success': 'Team is inactive successfully',\n 'restored-success': 'Team is restored successfully',\n 'team-members': 'Team members',\n 'add-member': 'Add member',\n remove: 'Remove member',\n 'active-teams': 'Under development',\n 'inactive-teams': 'Inactive',\n 'no-active-teams': 'There are no under development Teams.',\n 'no-inactive-teams': 'There are no inactive Teams.',\n 'no-members': 'No members',\n restore: 'Restore',\n link: '{num, plural, =0 {Link} =1 {Link} other {Links} }',\n uncertainty: '{num, plural, =0 {Risk factor} =1 {Risk factor} other {Risk factors} }',\n 'waiting-for-answers': 'Blockers',\n questions: 'Questions/FYI',\n 'lessons-learned': 'Lessons Learned',\n 'to-figure-out': 'To do',\n settings: 'Configuration',\n 'timezone-placeholder': 'Search for city'\n },\n roadmap: {\n title: '{num, plural, =0 {Pipeline} =1 {Pipeline} other {Pipelines}}',\n 'roadmap-strategies': 'Portfolio Pipeline',\n 'nav-description': 'Create and View pipelines',\n add: 'Add {roadmap}',\n new: 'New Pipeline',\n 'edit-roadmap': 'Edit Pipeline',\n 'roadmap-link-copied': 'Pipeline link copied to clipboard!',\n overplanned: 'Overplanned',\n planned: 'Development planned',\n total: 'Total',\n uncertainty: '{num, plural, =0 {Risk factor} =1 {Risk factor} other {Risk factors} }',\n available: 'Available',\n 'click-to-assign': 'Click to assign project',\n capacity: 'Capacity',\n table: {\n title: 'Title',\n edit: 'Edit',\n delete: 'Delete'\n },\n 'start-date': 'Start date',\n 'end-date': 'Commercial operation',\n edit: 'Edit',\n delete: 'Delete',\n view: 'View',\n roi: 'Projects',\n 'required-spot': 'Required spot',\n 'optional-spot': 'Optional spot',\n 'not-recommended': 'Not recommended',\n 'is-recommended': 'Recommended',\n 'title-placeholder': 'Enter pipeline title here',\n 'strategy-lens': 'Investment strategy Lens',\n 'capacity-nav-description': 'Understand the capacity allocation and limits of your pipelines.',\n progress: 'status',\n 'confirm-delete': 'Are you sure you want to permanently delete the pipeline: {roadmap_name}?'\n },\n nav: {\n dashboards: {\n self: 'Overview dashboard',\n dashboard: 'Overview dashboard',\n roi: 'Projects',\n 'time-to-value': 'Time to value',\n capacity: 'Capacity'\n },\n capacity: {\n self: 'Capacity',\n teams: '{num, plural, =0 {Team} =1 {Team} other {Teams}}',\n roles: '{num, plural, =0 {Function} =1 {Function} other {Functions}}',\n weeks: '{num, plural, =0 {No weeks} =1 {Week} other {Weeks}}'\n },\n strategy: {\n self: 'Investment strategy',\n overview: 'Summary',\n scenarios: '{num, plural, =1 {Balance} other {Balances}}',\n 'investment-scenarios': {\n self: '{num, plural, =1 {Balance} other {Balances}}',\n 'investment-scenario': {\n edit: 'Edit',\n view: 'View'\n }\n },\n goals: '{num, plural, =0 {Strategic objective} =1 {Strategic objective} other {Strategic objectives}}',\n financials: 'Economics'\n },\n roadmap: {\n self: '{num, plural, =0 {Pipeline} =1 {Pipeline} other {Pipelines}}',\n overview: 'Summary',\n radar: 'Radar',\n timeline: 'Schedule view',\n 'now-next-later': 'Now-Next-Later',\n concept: 'Concept',\n strategy: {\n self: '{num, plural, =0 {Pipeline} =1 {Pipeline} other {Pipelines}}',\n create: 'Create',\n roadmap: {\n grid: 'Status',\n lanes: 'Pipeline view',\n timeline: 'Schedule view'\n }\n }\n },\n backlog: {\n self: 'Backlog',\n overview: 'Summary',\n initiatives: {\n self: '{num, plural, =0 {No Project to display} =1 {Project} other {Projects}}',\n initiative: {\n self: 'Project',\n document: 'Documentation',\n bon: '{num, plural, =0 {Financial impact} =1 {Financial impact} other {Financial impact}}',\n uncertainties: '{num, plural, =0 {Risk factor} =1 {Risk factor} other {Risk factors} }',\n wfas: 'Blockers',\n weeks: '{num, plural, =0 {No weeks} =1 {Week} other {Weeks}}',\n workstreams: '{num, plural, =0 {Phase} =1 {Phase} other {Phases}}',\n planning: {\n self: 'Development planning',\n workstreams: {\n self: 'Activities',\n workstream: {\n archive: 'Historical records'\n }\n },\n weeks: 'Weeks'\n },\n settings: 'Configuration'\n }\n },\n 'business-cases': 'Financial impact'\n },\n operations: {\n self: 'Operations & maintenance',\n overview: 'Summary',\n 'check-ins': 'Status update-ins',\n planning: 'Development planning',\n people: {\n self: 'Team members',\n create: 'Create',\n active: 'Under development',\n inactive: 'Inactive'\n },\n roles: {\n self: 'Functions',\n create: 'Create'\n },\n teams: {\n self: 'Teams',\n active: 'Under development',\n archived: 'Inactive',\n team: {\n settings: 'Configuration',\n 'check-in': {\n self: 'Status update',\n archive: {\n questions: 'Questions',\n lls: 'Lessons Learned',\n tfos: 'To-Dos',\n uncertainties: 'Risk factors',\n wfas: 'Blockers'\n }\n }\n }\n }\n },\n settings: {\n self: 'Configuration',\n organisation: 'Company',\n account: 'User account'\n },\n progress: 'Status'\n },\n currency: {\n euro: '$',\n locale: 'en-US'\n },\n 'four-o-four-messages': {\n heading: {\n 'heading-1': \"Why do you need to be extra nice to bananas? You don't want to hurt their peelings.\",\n 'heading-2': 'What do you call it when a banana eats another banana. Canabananalism.',\n 'heading-3': 'How much time goes by between when you slip on a banana peel and when you hit the ground? A bananosecond'\n },\n 'sub-heading': 'Do you want to talk about it? You can submit your feedback',\n 'or-contact': 'or contact',\n here: 'here',\n support: 'support'\n },\n pages: {\n 404: 'Not found',\n loading: 'Loading',\n account: 'User account',\n organisation: 'Company',\n operations: 'Operations & maintenance',\n weeks: 'Weeks',\n 'investment-scenarios': '{num, plural, =1 {Balance} other {Balances}}',\n 'investment-scenario': '{num, plural, =1 {Balance} other {Balances}}',\n backlog: 'Backlog',\n scenario: '{num, plural, =1 {Balance} other {Balances}}',\n scenarios: '{num, plural, =1 {Balance} other {Balances}}',\n view: 'View',\n dashboards: 'Overview dashboard',\n analytics: 'Analytics',\n roi: 'Projects',\n 'time-to-value': 'Time to Value',\n 'initiative-performance': 'Performance',\n 'team-performance': 'Team performance',\n capacity: 'Capacity',\n settings: 'Configuration',\n 'organisation-details': 'Company project details',\n 'investment-strategy': 'Capital investment investment strategy',\n 'business-cases': 'Investment strategy cases',\n themes: '{num, plural, =0 {Tag} =1 {Tag} other {Tags}}',\n goals: 'Strategic objectives',\n roadmap: 'Pipeline',\n table: 'Table',\n radar: 'Radar',\n 'now-next-later': 'Now-Next-Later',\n 'roadmap-strategy': 'Investment strategy Pipeline',\n 'radar-concept': 'Radar Concept',\n timeline: 'Schedule view',\n 'general-details': 'General details',\n 'planning-and-people': 'Resource planning',\n strategy: 'Investment strategy',\n bookmarks: '{num, plural, =0 {Favorites} =1 {Favorites} other {Favorites} }',\n teams: 'Teams',\n team: 'Team',\n active: 'Under development',\n archived: 'Inactive',\n create: 'Create',\n 'check-in': 'Status update',\n archive: 'Historical records',\n uncertainties: 'Risk factors',\n 'waiting-for-answers': 'Blockers',\n questions: 'Questions',\n 'lessons-learned': 'Lessons learned',\n 'to-figure-outs': 'To dos',\n initiatives: 'Projects',\n initiative: 'Project',\n planning: 'Development planning',\n workstreams: 'Activities',\n workstream: 'List',\n 'back-of-a-napkin': '{num, plural, =0 {Financial impact} =1 {Financial impact} other {Financial impact}}',\n document: 'Documentation',\n 'weekly-goals': 'Development planning',\n current: 'Summary',\n list: 'List',\n financials: 'Economics',\n people: 'Team members',\n roles: 'Functions',\n role: 'Function',\n edit: 'Edit',\n login: 'Login',\n person: 'Team member',\n inactive: 'Inactive',\n progress: 'Status',\n grid: 'Status',\n lanes: 'Pipeline view'\n }\n };\n});","define(\"scaleflow/data-adapter\", [\"exports\", \"@ember-data/debug/data-adapter\"], function (_exports, _dataAdapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _dataAdapter.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/debug/data-adapter\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/deprecation-workflow\", [\"ember-cli-deprecation-workflow\"], function (_emberCliDeprecationWorkflow) {\n \"use strict\";\n\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-deprecation-workflow\"eaimeta@70e063a35619d71f\n /**\n * Docs: https://github.com/ember-cli/ember-cli-deprecation-workflow\n */\n (0, _emberCliDeprecationWorkflow.default)({\n /**\n false by default, but if a developer / team wants to be more aggressive about being proactive with\n handling their deprecations, this should be set to \"true\"\n */\n throwOnUnhandled: false,\n workflow: [\n /* ... handlers ... */\n /* to generate this list, run your app for a while (or run the test suite),\n * and then run in the browser console:\n *\n * deprecationWorkflow.flushDeprecations()\n *\n * And copy the handlers here\n */\n /* example: */\n /* { handler: 'silence', matchId: 'template-action' }, */\n ]\n });\n});","define(\"scaleflow/formats\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n var _default = _exports.default = {\n time: {\n hhmmss: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n }\n },\n date: {\n hhmmss: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n }\n },\n number: {\n EUR: {\n style: 'currency',\n currency: 'EUR',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2\n },\n USD: {\n style: 'currency',\n currency: 'USD',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2\n }\n }\n };\n});","define(\"scaleflow/helpers/-base\", [\"exports\", \"ember-moment/helpers/-base\"], function (_exports, _base) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _base.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/-base\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/-element\", [\"exports\", \"ember-element-helper/helpers/-element\"], function (_exports, _element) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _element.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-element-helper/helpers/-element\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/add\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function add([...args]) {\n let sum = 0;\n args.forEach(item => {\n sum += +item;\n });\n return sum;\n });\n});","define(\"scaleflow/helpers/and\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function and([...args]) {\n let allExists = true;\n args.forEach(item => {\n if (!item) allExists = false;\n });\n return allExists;\n });\n});","define(\"scaleflow/helpers/app-version\", [\"exports\", \"@ember/component/helper\", \"scaleflow/config/environment\", \"ember-cli-app-version/utils/regexp\"], function (_exports, _helper, _environment, _regexp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.appVersion = appVersion;\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/config/environment\",0,\"ember-cli-app-version/utils/regexp\"eaimeta@70e063a35619d71f\n function appVersion(_, hash = {}) {\n const version = _environment.default.APP.version;\n // e.g. 1.0.0-alpha.1+4jds75hf\n\n // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n let versionOnly = hash.versionOnly || hash.hideSha;\n let shaOnly = hash.shaOnly || hash.hideVersion;\n let match = null;\n if (versionOnly) {\n if (hash.showExtended) {\n match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1\n }\n // Fallback to just version\n if (!match) {\n match = version.match(_regexp.versionRegExp); // 1.0.0\n }\n }\n if (shaOnly) {\n match = version.match(_regexp.shaRegExp); // 4jds75hf\n }\n return match ? match[0] : version;\n }\n var _default = _exports.default = (0, _helper.helper)(appVersion);\n});","define(\"scaleflow/helpers/array-includes\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function arrayIncludes([arrayObject = [], item, key]) {\n if (!key) {\n return arrayObject && arrayObject.includes(item);\n }\n // If a key is provided, iterate through the array and check the key values\n return arrayObject.some(_item => _item[key] === item);\n });\n});","define(\"scaleflow/helpers/camelize\", [\"exports\", \"ember-cli-string-helpers/helpers/camelize\"], function (_exports, _camelize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _camelize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/camelize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/can-access-feature\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CanAccessFeatureHelper = _exports.default = (_class = class CanAccessFeatureHelper extends _helper.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"featureAccess\", _descriptor, this);\n }\n compute([feature]) {\n return this.featureAccess.canAccessFeature(feature);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"featureAccess\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/helpers/cancel-all\", [\"exports\", \"ember-concurrency/helpers/cancel-all\"], function (_exports, _cancelAll) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _cancelAll.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/cancel-all\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/capitalize\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/capitalize\"], function (_exports, _helper, _capitalize2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/capitalize\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function capitalize([string]) {\n return (0, _capitalize2.default)(string);\n });\n});","define(\"scaleflow/helpers/changeset-get\", [\"exports\", \"ember-changeset/helpers/changeset-get\"], function (_exports, _changesetGet) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _changesetGet.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-changeset/helpers/changeset-get\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/changeset-set\", [\"exports\", \"ember-changeset/helpers/changeset-set\"], function (_exports, _changesetSet) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _changesetSet.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-changeset/helpers/changeset-set\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/changeset\", [\"exports\", \"ember-changeset/helpers/changeset\"], function (_exports, _changeset) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _changeset.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-changeset/helpers/changeset\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/classify\", [\"exports\", \"ember-cli-string-helpers/helpers/classify\"], function (_exports, _classify) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _classify.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/classify\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/convert-date-format\", [\"exports\", \"@ember/component/helper\", \"moment\"], function (_exports, _helper, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"moment\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function convertDateFormat([dateInYYYYMMDD, format]) {\n return (0, _moment.default)(dateInYYYYMMDD, 'yyyy-MM-DD').format(format);\n });\n});","define(\"scaleflow/helpers/dasherize\", [\"exports\", \"ember-cli-string-helpers/helpers/dasherize\"], function (_exports, _dasherize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _dasherize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/dasherize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/document-query-selector\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function documentQuerySelector(positional /*, named*/) {\n return document.querySelector(positional) ?? null;\n });\n});","define(\"scaleflow/helpers/doubly-sort\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n function doublySort(args) {\n return args;\n }\n var _default = _exports.default = (0, _helper.helper)(doublySort);\n});","define(\"scaleflow/helpers/duration-label-converter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function durationLabelConverter([durationString]) {\n const parsed = String(durationString).split(':');\n if (parsed[0] && parsed[1]) {\n return `${parsed[0]} - ${parsed[1]} weeks`;\n } else return `${parsed[0]}+ weeks`;\n });\n});","define(\"scaleflow/helpers/element\", [\"exports\", \"ember-element-helper/helpers/element\"], function (_exports, _element) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _element.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-element-helper/helpers/element\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/ensure-safe-component\", [\"exports\", \"@embroider/util\"], function (_exports, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _util.EnsureSafeComponentHelper;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@embroider/util\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/eq\"], function (_exports, _eq) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _eq.default;\n }\n });\n Object.defineProperty(_exports, \"equal\", {\n enumerable: true,\n get: function () {\n return _eq.equal;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/eq\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-date-range\", [\"exports\", \"ember-intl/helpers/format-date-range\"], function (_exports, _formatDateRange) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatDateRange.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-date-range\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-date\", [\"exports\", \"ember-intl/helpers/format-date\"], function (_exports, _formatDate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatDate.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-date\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-list\", [\"exports\", \"ember-intl/helpers/format-list\"], function (_exports, _formatList) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatList.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-list\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-message\", [\"exports\", \"ember-intl/helpers/format-message\"], function (_exports, _formatMessage) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatMessage.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-message\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-number\", [\"exports\", \"ember-intl/helpers/format-number\"], function (_exports, _formatNumber) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatNumber.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-number\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-relative-time\", [\"exports\", \"ember-intl/helpers/format-relative-time\"], function (_exports, _formatRelativeTime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatRelativeTime.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-relative-time\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-relative\", [\"exports\", \"ember-intl/helpers/format-relative\"], function (_exports, _formatRelative) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatRelative.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-relative\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/format-time\", [\"exports\", \"ember-intl/helpers/format-time\"], function (_exports, _formatTime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _formatTime.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-time\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/from-now\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/from-now\"], function (_exports, _helper, _fromNow2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/from-now\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function fromNow([date] /*, named*/) {\n return (0, _fromNow2.default)(date);\n });\n});","define(\"scaleflow/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _gt.default;\n }\n });\n Object.defineProperty(_exports, \"gt\", {\n enumerable: true,\n get: function () {\n return _gt.gt;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/gt\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/gte\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\"], function (_exports, _helper, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function gte([num1, num2] /*, named*/) {\n if (isNaN(+num1) || isNaN(+num2)) {\n (false && !(false) && (0, _debug.assert)('Please ensure both arguments are numbers'));\n }\n return num1 >= num2;\n });\n});","define(\"scaleflow/helpers/html-safe\", [\"exports\", \"ember-cli-string-helpers/helpers/html-safe\"], function (_exports, _htmlSafe) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _htmlSafe.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/html-safe\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/humanize\", [\"exports\", \"ember-cli-string-helpers/helpers/humanize\"], function (_exports, _humanize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _humanize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/humanize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/hyphenate\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/hyphenate\"], function (_exports, _helper, _hyphenate2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/hyphenate\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function hyphenate([string]) {\n return (0, _hyphenate2._hyphenate)(string);\n });\n});","define(\"scaleflow/helpers/idea-status-color-class\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/colorClasses\"], function (_exports, _helper, _colorClasses) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/colorClasses\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function ideaStatusColorClass([status]) {\n const bgColor = _colorClasses.ideaStatusBgColors.get(status?.toUpperCase()) ?? 'bg-gray-100';\n const textColor = _colorClasses.ideaStatusTextColors.get(status?.toUpperCase()) ?? 'text-gray-700';\n return `${bgColor} ${textColor}`;\n });\n});","define(\"scaleflow/helpers/is-after\", [\"exports\", \"ember-moment/helpers/is-after\"], function (_exports, _isAfter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isAfter.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-after\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isArray.default;\n }\n });\n Object.defineProperty(_exports, \"isArray\", {\n enumerable: true,\n get: function () {\n return _isArray.isArray;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-array\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-before\", [\"exports\", \"ember-moment/helpers/is-before\"], function (_exports, _isBefore) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isBefore.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-before\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-between\", [\"exports\", \"ember-moment/helpers/is-between\"], function (_exports, _isBetween) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isBetween.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-between\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-empty\", [\"exports\", \"ember-truth-helpers/helpers/is-empty\"], function (_exports, _isEmpty) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isEmpty.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-empty\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isEqual.default;\n }\n });\n Object.defineProperty(_exports, \"isEqual\", {\n enumerable: true,\n get: function () {\n return _isEqual.isEqual;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-equal\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-null-or-undefined\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n function isNullOrUndefined([obj]) {\n return obj === null || obj === undefined;\n }\n var _default = _exports.default = (0, _helper.helper)(isNullOrUndefined);\n});","define(\"scaleflow/helpers/is-same-or-after\", [\"exports\", \"ember-moment/helpers/is-same-or-after\"], function (_exports, _isSameOrAfter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isSameOrAfter.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-after\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-same-or-before\", [\"exports\", \"ember-moment/helpers/is-same-or-before\"], function (_exports, _isSameOrBefore) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isSameOrBefore.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-before\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/is-same\", [\"exports\", \"ember-moment/helpers/is-same\"], function (_exports, _isSame) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _isSame.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/json-parse\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function jsonParse([stringifiedJSON] /*, named*/) {\n if (!stringifiedJSON) return {};\n let json = '';\n try {\n json = JSON.parse(stringifiedJSON);\n } catch (err) {\n console.debug(err);\n }\n return json;\n });\n});","define(\"scaleflow/helpers/label-extract\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports._labelExtract = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n const _labelExtract = (options, value) => {\n return options.find(option => String(option.value)?.toLowerCase() === String(value)?.toLowerCase())?.label ?? '';\n };\n _exports._labelExtract = _labelExtract;\n var _default = _exports.default = (0, _helper.helper)(function labelExtract([options, value] /*, named*/) {\n return _labelExtract(options, value);\n });\n});","define(\"scaleflow/helpers/localize\", [\"exports\", \"@ember/component/helper\", \"@ember/service\", \"scaleflow/utils/localize\"], function (_exports, _helper, _service, _localize2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\",0,\"scaleflow/utils/localize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let FormatCurrencyHelper = _exports.default = (_class = class FormatCurrencyHelper extends _helper.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n compute([value, suffix = '', prefix = '']) {\n const locale = this.intl.t('currency.locale');\n return (0, _localize2.default)(value, suffix, prefix, locale);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/helpers/lowercase\", [\"exports\", \"ember-cli-string-helpers/helpers/lowercase\"], function (_exports, _lowercase) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _lowercase.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/lowercase\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _lt.default;\n }\n });\n Object.defineProperty(_exports, \"lt\", {\n enumerable: true,\n get: function () {\n return _lt.lt;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lt\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _lte.default;\n }\n });\n Object.defineProperty(_exports, \"lte\", {\n enumerable: true,\n get: function () {\n return _lte.lte;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lte\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-add\", [\"exports\", \"ember-moment/helpers/moment-add\"], function (_exports, _momentAdd) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentAdd.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-add\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-calendar\", [\"exports\", \"ember-moment/helpers/moment-calendar\"], function (_exports, _momentCalendar) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentCalendar.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-calendar\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-diff\", [\"exports\", \"ember-moment/helpers/moment-diff\"], function (_exports, _momentDiff) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentDiff.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-diff\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-duration\", [\"exports\", \"ember-moment/helpers/moment-duration\"], function (_exports, _momentDuration) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentDuration.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-duration\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-format\", [\"exports\", \"ember-moment/helpers/moment-format\"], function (_exports, _momentFormat) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentFormat.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-format\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-from-now\", [\"exports\", \"ember-moment/helpers/moment-from-now\"], function (_exports, _momentFromNow) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentFromNow.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from-now\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-from\", [\"exports\", \"ember-moment/helpers/moment-from\"], function (_exports, _momentFrom) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentFrom.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-subtract\", [\"exports\", \"ember-moment/helpers/moment-subtract\"], function (_exports, _momentSubtract) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentSubtract.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-subtract\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-to-date\", [\"exports\", \"ember-moment/helpers/moment-to-date\"], function (_exports, _momentToDate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentToDate.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-date\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-to-now\", [\"exports\", \"ember-moment/helpers/moment-to-now\"], function (_exports, _momentToNow) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentToNow.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-now\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment-to\", [\"exports\", \"ember-moment/helpers/moment-to\"], function (_exports, _momentTo) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _momentTo.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/moment\", [\"exports\", \"ember-moment/helpers/moment\"], function (_exports, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _moment.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-eq\"], function (_exports, _notEq) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _notEq.default;\n }\n });\n Object.defineProperty(_exports, \"notEqualHelper\", {\n enumerable: true,\n get: function () {\n return _notEq.notEqualHelper;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not-eq\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/not-in-archive\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function notInArchive([list] /*, hash*/) {\n let filtered = list.filter(function (item) {\n return item.archived === undefined || item.archived == false;\n });\n return filtered;\n });\n});","define(\"scaleflow/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _not.default;\n }\n });\n Object.defineProperty(_exports, \"not\", {\n enumerable: true,\n get: function () {\n return _not.not;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/now\", [\"exports\", \"ember-moment/helpers/now\"], function (_exports, _now) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _now.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/now\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/or\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function or([option1, option2]) {\n return option1 ? option1 : option2;\n });\n});","define(\"scaleflow/helpers/page-title\", [\"exports\", \"ember-page-title/helpers/page-title\"], function (_exports, _pageTitle) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _pageTitle.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-page-title/helpers/page-title\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/parent-tfos\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ParentTfos = _exports.default = (_class = class ParentTfos extends _helper.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n compute([parent_id, parent_key, hide_archive = true]) {\n const items = this.store.peekAll('tfo').filter(item => item[parent_key].get('id') === parent_id);\n if (hide_archive) {\n return items.filter(item => !item.archived);\n }\n return items;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/helpers/perform\", [\"exports\", \"ember-concurrency/helpers/perform\"], function (_exports, _perform) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _perform.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/perform\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/pluralize\", [\"exports\", \"ember-inflector/helpers/pluralize\"], function (_exports, _pluralize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _pluralize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-inflector/helpers/pluralize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/progress-to-bg\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function progressToBg([progress]) {\n if (progress === 'ON_TRACK') {\n return 'bg-green-300 text-green-600';\n } else if (progress === 'NEEDS_REVIEW') {\n return 'bg-blue-300 text-blue-600';\n } else if (progress === 'AT_RISK') {\n return 'bg-amber-300 text-amber-600';\n } else if (progress === 'DELAYED') {\n return 'bg-red-300 text-red-600';\n } else {\n return 'bg-gray-300 text-gray-900 border border-gray-100';\n }\n });\n});","define(\"scaleflow/helpers/singularize\", [\"exports\", \"ember-inflector/helpers/singularize\"], function (_exports, _singularize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _singularize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-inflector/helpers/singularize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/starting-week-label-converter\", [\"exports\", \"moment\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, moment, _helper, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"moment\",0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StartingWeekLabelConverter = _exports.default = (_dec = (0, _service.service)('organisation'), _class = class StartingWeekLabelConverter extends _helper.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n }\n compute([dateString, format]) {\n // Add type checking to prevent split() errors\n if (!dateString || typeof dateString !== 'string') {\n return '-';\n }\n let date = null;\n const parsed = dateString.split(':')[0];\n const first_day_of_week = this.orgService?.organisation?.get('first_day_of_week');\n if (first_day_of_week) date = moment(parsed, 'yyyy-WW').day(first_day_of_week);else date = moment(parsed, 'yyyy-WW').startOf('week');\n let string = '';\n if (date.diff(moment(), 'week', true) < 6) {\n string = format ? date.format(format) : `The week of ${date.format('MMMM DD, yyyy')}`;\n return string;\n } else {\n string = format ? date.format(format) : `In the period after ${date.format('MMMM DD, yyyy')}`;\n return string;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/helpers/status-color-class\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/colorClasses\"], function (_exports, _helper, _colorClasses) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/colorClasses\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function statusColorClass([status] /*, named*/) {\n const bgColor = _colorClasses.statusBgColors[status?.toUpperCase()] ?? 'bg-gray-100';\n const textColor = _colorClasses.statusTextColors[status?.toUpperCase()] ?? 'text-gray-700';\n return `${bgColor} ${textColor}`;\n });\n});","define(\"scaleflow/helpers/substring\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function substring([string, start, end]) {\n return string.substring(start, end);\n });\n});","define(\"scaleflow/helpers/subtract\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\"], function (_exports, _helper, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function subtract([num1, num2] /*, named*/) {\n if (isNaN(+num1) || isNaN(+num2)) {\n (false && !(false) && (0, _debug.assert)('Please ensure both arguments are numbers'));\n }\n return num1 - num2;\n });\n});","define(\"scaleflow/helpers/t\", [\"exports\", \"ember-intl/helpers/t\"], function (_exports, _t) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _t.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/t\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/task\", [\"exports\", \"ember-concurrency/helpers/task\"], function (_exports, _task) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _task.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/task\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/text-delta-is-empty\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/text-delta-is-empty\"], function (_exports, _helper, _textDeltaIsEmpty2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/text-delta-is-empty\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function textDeltaIsEmpty([text_delta]) {\n return (0, _textDeltaIsEmpty2.default)(text_delta);\n });\n});","define(\"scaleflow/helpers/text-filtered\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function textFiltered([searchTerm, list, ...keys] /*, named*/) {\n if (!searchTerm) return list;\n if (!keys || keys.length === 0) return list;\n if (keys.every(key => !key)) return list;\n if (!list) return [];else return list.filter(item => {\n const strings = keys.map(key => {\n return item?.get?.(key) ?? item[key];\n });\n return strings.some(str => {\n return str?.toLowerCase?.().indexOf(searchTerm?.toLowerCase?.()) >= 0;\n });\n });\n });\n});","define(\"scaleflow/helpers/title-to-bg\", [\"exports\", \"@ember/component/helper\", \"scaleflow/utils/colorClasses\"], function (_exports, _helper, _colorClasses) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"scaleflow/utils/colorClasses\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function titleToBg([initiative]) {\n return (0, _colorClasses.getColorFromInitiativeTitle)(initiative);\n });\n});","define(\"scaleflow/helpers/titleize\", [\"exports\", \"ember-cli-string-helpers/helpers/titleize\"], function (_exports, _titleize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _titleize.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/titleize\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/to-fixed\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function toFixed([value, decimal_points = 1] /*, named*/) {\n const castedValue = Number(value);\n if (isNaN(castedValue)) return null;\n return castedValue.toFixed(decimal_points);\n });\n});","define(\"scaleflow/helpers/to-percentage-string\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function toPercentageString(positional /*, named*/) {\n return Math.round(positional * 100) + '%';\n });\n});","define(\"scaleflow/helpers/trim\", [\"exports\", \"ember-cli-string-helpers/helpers/trim\"], function (_exports, _trim) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _trim.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/trim\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/truncate\", [\"exports\", \"ember-cli-string-helpers/helpers/truncate\"], function (_exports, _truncate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _truncate.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/truncate\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/underscore\", [\"exports\", \"ember-cli-string-helpers/helpers/underscore\"], function (_exports, _underscore) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _underscore.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/underscore\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/unix\", [\"exports\", \"ember-moment/helpers/unix\"], function (_exports, _unix) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _unix.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/unix\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/uppercase\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _helper.helper)(function uppercase([string]) {\n return string.toUpperCase();\n });\n});","define(\"scaleflow/helpers/utc\", [\"exports\", \"ember-moment/helpers/utc\"], function (_exports, _utc) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utc.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/utc\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/w\", [\"exports\", \"ember-cli-string-helpers/helpers/w\"], function (_exports, _w) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _w.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-string-helpers/helpers/w\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _xor.default;\n }\n });\n Object.defineProperty(_exports, \"xor\", {\n enumerable: true,\n get: function () {\n return _xor.xor;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/xor\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/initializers/app-version\", [\"exports\", \"ember-cli-app-version/initializer-factory\", \"scaleflow/config/environment\"], function (_exports, _initializerFactory, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-cli-app-version/initializer-factory\",0,\"scaleflow/config/environment\"eaimeta@70e063a35619d71f\n let name, version;\n if (_environment.default.APP) {\n name = _environment.default.APP.name;\n version = _environment.default.APP.version;\n }\n var _default = _exports.default = {\n name: 'App Version',\n initialize: (0, _initializerFactory.default)(name, version)\n };\n});","define(\"scaleflow/initializers/ember-data\", [\"exports\", \"@ember-data/request-utils/deprecation-support\"], function (_exports, _deprecationSupport) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/request-utils/deprecation-support\"eaimeta@70e063a35619d71f\n /*\n This code initializes EmberData in an Ember application.\n */\n var _default = _exports.default = {\n name: 'ember-data',\n initialize(application) {\n application.registerOptionsForType('serializer', {\n singleton: false\n });\n application.registerOptionsForType('adapter', {\n singleton: false\n });\n }\n };\n});","define(\"scaleflow/initializers/ember-simple-auth\", [\"exports\", \"ember-simple-auth/initializers/ember-simple-auth\"], function (_exports, _emberSimpleAuth) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _emberSimpleAuth.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/initializers/ember-simple-auth\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/initializers/tippy\", [\"exports\", \"tippy.js\"], function (_exports, _tippy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n _exports.initialize = initialize;\n 0; //eaimeta@70e063a35619d71f0,\"tippy.js\"eaimeta@70e063a35619d71f\n function initialize(/* application */\n ) {\n _tippy.default.setDefaultProps({\n placement: 'right-start',\n animation: 'shift-away',\n theme: 'scaleflow',\n arrow: false,\n offset: [-6, 8]\n });\n }\n var _default = _exports.default = {\n initialize\n };\n});","define(\"scaleflow/instance-initializers/sentry-performance\", [\"exports\", \"@sentry/ember/instance-initializers/sentry-performance\"], function (_exports, _sentryPerformance) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _sentryPerformance.default;\n }\n });\n Object.defineProperty(_exports, \"initialize\", {\n enumerable: true,\n get: function () {\n return _sentryPerformance.initialize;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@sentry/ember/instance-initializers/sentry-performance\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/models/agent\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"scaleflow/helpers/label-extract\"], function (_exports, _model, _service, _labelExtract2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"scaleflow/helpers/label-extract\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AgentModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)({\n defaultValue: () => {}\n }), _class = class AgentModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n _initializerDefineProperty(this, \"provider\", _descriptor3, this);\n _initializerDefineProperty(this, \"url\", _descriptor4, this);\n _initializerDefineProperty(this, \"config\", _descriptor5, this);\n }\n get providerLabel() {\n if (!this.provider) return '';\n const label = (0, _labelExtract2._labelExtract)(this.betaToggle.agentProviderOptions, this.provider);\n return label ? label : this.provider;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"provider\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"url\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/area\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AreaModel = _exports.default = (_dec = (0, _model.attr)('string'), _class = class AreaModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"name\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/artifact\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ArtifactModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'artifacts'\n }), _class = class ArtifactModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"name\", _descriptor, this);\n _initializerDefineProperty(this, \"content\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor3, this);\n _initializerDefineProperty(this, \"created_by\", _descriptor4, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor5, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"content\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"created_by\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/assignee\", [\"exports\", \"scaleflow/models/person\"], function (_exports, _person) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/models/person\"eaimeta@70e063a35619d71f\n class AssigneeModel extends _person.default {}\n _exports.default = AssigneeModel;\n});","define(\"scaleflow/models/author\", [\"exports\", \"scaleflow/models/person\"], function (_exports, _person) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/models/person\"eaimeta@70e063a35619d71f\n // import Model from '@ember-data/model';\n class AuthorModel extends _person.default {}\n _exports.default = AuthorModel;\n});","define(\"scaleflow/models/base-item\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BaseItemModel = _exports.default = (_dec = (0, _model.attr)('string', {\n defaultValue: ''\n }), _dec2 = (0, _model.attr)('boolean', {\n defaultValue: false\n }), _dec3 = (0, _model.attr)('boolean', {\n defaultValue: false\n }), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('number'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('string', {\n defaultValue() {\n return new Date().toISOString();\n }\n }), _class = class BaseItemModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"text\", _descriptor, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor2, this);\n _initializerDefineProperty(this, \"completed\", _descriptor3, this);\n _initializerDefineProperty(this, \"archived\", _descriptor4, this);\n _initializerDefineProperty(this, \"age_in_days\", _descriptor5, this);\n _initializerDefineProperty(this, \"position\", _descriptor6, this);\n _initializerDefineProperty(this, \"tags\", _descriptor7, this);\n // @attr mentions;\n _initializerDefineProperty(this, \"updated_at\", _descriptor8, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor9, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"text\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"completed\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"archived\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"age_in_days\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"position\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/bon\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BonModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'bon'\n }), _class = class BonModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"notes\", _descriptor2, this);\n _initializerDefineProperty(this, \"value\", _descriptor3, this);\n _initializerDefineProperty(this, \"investments\", _descriptor4, this);\n _initializerDefineProperty(this, \"returns\", _descriptor5, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor6, this);\n }\n get personWeekInvestments() {\n if (this.investments == undefined) return [];\n return this.investments.calculations.filter(c => {\n return (c.type == 'investment' || c.type == 'person-weeks' || c.type == 'person-weeks-role') && c.weeks != undefined && c.people != undefined && c.confidence_value != undefined;\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"notes\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"value\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"investments\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"returns\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/bookmark\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BookmarkModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.belongsTo)('team', {\n async: true,\n inverse: 'bookmarks'\n }), _dec5 = (0, _model.belongsTo)('organisation', {\n async: true,\n inverse: 'bookmarks'\n }), _dec6 = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'bookmarks'\n }), _class = class BookmarkModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"url\", _descriptor2, this);\n _initializerDefineProperty(this, \"icon\", _descriptor3, this);\n _initializerDefineProperty(this, \"team\", _descriptor4, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor6, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"url\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"icon\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/comment\", [\"exports\", \"@ember-data/model\", \"@ember/object\", \"@ember/service\"], function (_exports, _model, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CommentModel = _exports.default = (_dec = (0, _model.belongsTo)('question', {\n inverse: 'comments',\n async: true\n }), _dec2 = (0, _model.belongsTo)('ll', {\n inverse: 'comments',\n async: true\n }), _dec3 = (0, _model.belongsTo)('tfo', {\n inverse: 'comments',\n async: true\n }), _dec4 = (0, _model.belongsTo)('uncertainty', {\n inverse: 'comments',\n async: true\n }), _dec5 = (0, _model.belongsTo)('wfa', {\n inverse: 'comments',\n async: true\n }), _dec6 = (0, _model.belongsTo)('person', {\n inverse: 'comments',\n async: true\n }), _dec7 = (0, _model.belongsTo)('team', {\n inverse: null,\n async: true\n }), _dec8 = (0, _model.belongsTo)('initiative', {\n inverse: null,\n async: true\n }), _dec9 = (0, _model.belongsTo)('idea', {\n inverse: 'comments',\n async: true\n }), _class = class CommentModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _defineProperty(this, \"commentables\", ['question', 'll', 'tfo', 'uncertainty', 'wfa', 'initiative', 'idea']);\n _initializerDefineProperty(this, \"text\", _descriptor2, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor3, this);\n _initializerDefineProperty(this, \"updated_at\", _descriptor4, this);\n _initializerDefineProperty(this, \"mentions\", _descriptor5, this);\n _initializerDefineProperty(this, \"tags\", _descriptor6, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor7, this);\n _initializerDefineProperty(this, \"question\", _descriptor8, this);\n _initializerDefineProperty(this, \"ll\", _descriptor9, this);\n _initializerDefineProperty(this, \"tfo\", _descriptor0, this);\n _initializerDefineProperty(this, \"uncertainty\", _descriptor1, this);\n _initializerDefineProperty(this, \"wfa\", _descriptor10, this);\n _initializerDefineProperty(this, \"author\", _descriptor11, this);\n _initializerDefineProperty(this, \"team\", _descriptor12, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor13, this);\n _initializerDefineProperty(this, \"idea\", _descriptor14, this);\n }\n get parentType() {\n let parentType = undefined;\n this.commentables.forEach(relationship => {\n if ((0, _object.get)(this, relationship).get('id') !== undefined) {\n parentType = relationship;\n }\n });\n return parentType;\n }\n get parentId() {\n let parentId = undefined;\n this.commentables.forEach(relationship => {\n let id = (0, _object.get)(this, relationship).get('id');\n if (id) parentId = id;\n });\n return parentId;\n }\n get isMyComment() {\n return this.currentUser.id === this.author.content.id;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"text\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"mentions\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"question\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"ll\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"tfo\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"uncertainty\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"wfa\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"idea\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/conversation\", [\"exports\", \"@ember-data/model\", \"scaleflow/utils/dateSort\"], function (_exports, _model, _dateSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/utils/dateSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ConversationModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'conversations'\n }), _dec3 = (0, _model.belongsTo)('person', {\n async: true,\n inverse: 'conversations'\n }), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('boolean', {\n defaultValue: false\n }), _dec6 = (0, _model.attr)('string', {\n defaultValue: 'private'\n }), _dec7 = (0, _model.hasMany)('message', {\n async: true,\n inverse: 'conversation'\n }), _dec8 = (0, _model.attr)('boolean', {\n defaultValue: true\n }), _class = class ConversationModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"provider\", _descriptor, this);\n _initializerDefineProperty(this, \"config\", _descriptor2, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor3, this);\n _initializerDefineProperty(this, \"updated_at\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor5, this);\n _initializerDefineProperty(this, \"person\", _descriptor6, this);\n _initializerDefineProperty(this, \"title\", _descriptor7, this);\n _initializerDefineProperty(this, \"archived\", _descriptor8, this);\n _initializerDefineProperty(this, \"visibility\", _descriptor9, this);\n //public | private\n _initializerDefineProperty(this, \"messages\", _descriptor0, this);\n _initializerDefineProperty(this, \"complete\", _descriptor1, this);\n }\n get sortedMessages() {\n return this.messages.content.toSorted((a, b) => (0, _dateSort.default)(a.created_at, b.created_at, 'asc'));\n }\n setAgentOnConversation(agent) {\n this.config.url = agent.url;\n this.config.agent = agent.id;\n if (agent.config?.['payload']) this.config.payload = agent.config['payload'];\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"provider\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"person\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"archived\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"visibility\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"messages\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"complete\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/customer\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CustomerModel = _exports.default = (_dec = (0, _model.attr)('string'), _class = class CustomerModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"name\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/department\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let DepartmentModel = _exports.default = (_dec = (0, _model.attr)('string'), _class = class DepartmentModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"name\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/favorite\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InitiativeModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _class = class InitiativeModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n _initializerDefineProperty(this, \"type\", _descriptor2, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/goal\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"scaleflow/utils/nameSort\"], function (_exports, _model, _service, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let GoalModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.hasMany)('initiative', {\n async: true,\n inverse: 'goals'\n }), _dec3 = (0, _model.hasMany)('target', {\n async: true,\n inverse: 'goal'\n }), _dec4 = (0, _model.hasMany)('goal', {\n async: true,\n inverse: 'parent'\n }), _dec5 = (0, _model.belongsTo)('goal', {\n async: true,\n inverse: 'children'\n }), _dec6 = (0, _model.attr)('boolean', {\n defaultValue: true\n }), _dec7 = (0, _model.belongsTo)('owner', {\n async: true,\n inverse: 'goals',\n polymorphic: true\n }), _class = class GoalModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"title\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor3, this);\n _initializerDefineProperty(this, \"targets\", _descriptor4, this);\n _initializerDefineProperty(this, \"children\", _descriptor5, this);\n _initializerDefineProperty(this, \"parent\", _descriptor6, this);\n _initializerDefineProperty(this, \"active\", _descriptor7, this);\n _initializerDefineProperty(this, \"owner\", _descriptor8, this);\n _initializerDefineProperty(this, \"description\", _descriptor9, this);\n }\n get metrics() {\n const targets = this.targets.content ?? [];\n return targets.reduce((acc, item) => {\n return acc.concat(item.metric);\n }, []);\n }\n get_target_by_metric_id(metric) {\n return this.targets.content.find(target => target.metric.content.id === metric.id);\n }\n get changeset_object() {\n return {\n title: this.title,\n targets: this.targets.content,\n children: this.children.content,\n parent: this.parent.content,\n owner: this.owner.content,\n description: this.description,\n active: this.active\n };\n }\n mapChangesetToAttributes(changes) {\n changes.forEach(({\n key,\n value\n }) => {\n this[key] = value;\n });\n }\n get activeLabel() {\n return this.intl.t(`_goals.status.${this.active}`);\n }\n get sortedChildren() {\n return this.children?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n get hasMoreThanOneInitiative() {\n const initiatives = this.initiatives.content;\n return initiatives.length > 1 ? initiatives.length - 1 : false;\n }\n get initiativeIds() {\n return this.hasMany('initiatives')?.ids();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"targets\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"children\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"parent\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"active\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"owner\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/group\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let GroupModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.hasMany)('idea', {\n async: true,\n inverse: 'group'\n }), _class = class GroupModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"ideas\", _descriptor2, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"ideas\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/idea\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"scaleflow/utils/dateSort\", \"scaleflow/utils/nameSort\"], function (_exports, _model, _service, _dateSort, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"scaleflow/utils/dateSort\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let IdeaModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('', {\n defaultValue: () => {\n return {\n ops: []\n };\n }\n }), _dec3 = (0, _model.attr)('date'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('string'), _dec8 = (0, _model.hasMany)('department', {\n async: true,\n inverse: null\n }), _dec9 = (0, _model.hasMany)('area', {\n async: true,\n inverse: null\n }), _dec0 = (0, _model.belongsTo)('person', {\n async: true,\n inverse: 'ideas'\n }), _dec1 = (0, _model.hasMany)('theme', {\n async: true,\n inverse: null\n }), _dec10 = (0, _model.hasMany)('customer', {\n async: true,\n inverse: null\n }), _dec11 = (0, _model.belongsTo)('group', {\n async: true,\n inverse: 'ideas'\n }), _dec12 = (0, _model.hasMany)('initiative', {\n async: true,\n inverse: 'ideas'\n }), _dec13 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'idea'\n }), _class = class IdeaModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"featureAccess\", _descriptor3, this);\n _initializerDefineProperty(this, \"title\", _descriptor4, this);\n _initializerDefineProperty(this, \"description\", _descriptor5, this);\n _initializerDefineProperty(this, \"deadline\", _descriptor6, this);\n _initializerDefineProperty(this, \"status\", _descriptor7, this);\n _initializerDefineProperty(this, \"source\", _descriptor8, this);\n _initializerDefineProperty(this, \"revenue_existing\", _descriptor9, this);\n _initializerDefineProperty(this, \"revenue_potential\", _descriptor0, this);\n _initializerDefineProperty(this, \"updated_at\", _descriptor1, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor10, this);\n _initializerDefineProperty(this, \"created_by\", _descriptor11, this);\n _initializerDefineProperty(this, \"updated_by\", _descriptor12, this);\n _initializerDefineProperty(this, \"departments\", _descriptor13, this);\n _initializerDefineProperty(this, \"areas\", _descriptor14, this);\n _initializerDefineProperty(this, \"submitter\", _descriptor15, this);\n _initializerDefineProperty(this, \"themes\", _descriptor16, this);\n _initializerDefineProperty(this, \"customers\", _descriptor17, this);\n _initializerDefineProperty(this, \"group\", _descriptor18, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor19, this);\n _initializerDefineProperty(this, \"comments\", _descriptor20, this);\n }\n get statusLabel() {\n return this.status ? this.intl.t(`idea.status.${this.status.toLowerCase()}`) : 'Unknown status';\n }\n get changeset_object() {\n return {\n title: this.title,\n description: this.description,\n deadline: this.deadline,\n status: this.status,\n source: this.source,\n revenue_existing: this.revenue_existing,\n revenue_potential: this.revenue_potential,\n departments: this.departments.content,\n areas: this.areas.content,\n submitter: this.submitter.content\n };\n }\n mapChangesetToAttributes(changes) {\n changes.forEach(({\n key,\n value\n }) => {\n this[key] = value;\n });\n }\n get themeIds() {\n return this.hasMany('themes')?.ids();\n }\n get hasMoreThanOneTheme() {\n const themeCount = this.themes?.content?.length || 0;\n return themeCount > 1 ? themeCount - 1 : 0;\n }\n get departmentIds() {\n return this.hasMany('departments')?.ids();\n }\n get hasMoreThanOneDepartment() {\n const departmentCount = this.departments?.content?.length || 0;\n return departmentCount > 1 ? departmentCount - 1 : 0;\n }\n get areaIds() {\n return this.hasMany('areas')?.ids();\n }\n get hasMoreThanOneArea() {\n const areaCount = this.areas?.content?.length || 0;\n return areaCount > 1 ? areaCount - 1 : 0;\n }\n get customerIds() {\n return this.hasMany('customers')?.ids();\n }\n get hasMoreThanOneCustomer() {\n const customerCount = this.customers?.content?.length || 0;\n return customerCount > 1 ? customerCount - 1 : 0;\n }\n get initiativeIds() {\n return this.hasMany('initiatives')?.ids();\n }\n get hasMoreThanOneInitiative() {\n const initiativeCount = this.initiatives?.content?.length || 0;\n return initiativeCount > 1 ? initiativeCount - 1 : 0;\n }\n get iAmTheOwner() {\n return this.submitter?.content?.id === this.currentUser.id;\n }\n get canEditIdea() {\n let canEdit = false;\n if (this.isNew) {\n canEdit = true;\n return canEdit;\n }\n const isAdmin = this.featureAccess.isAdmin;\n if (isAdmin) {\n canEdit = true;\n return canEdit;\n }\n if (!isAdmin && this.iAmTheOwner && this.status === 'NEW') {\n canEdit = true;\n return canEdit;\n }\n return canEdit;\n }\n get canEditStatus() {\n let canEdit = false;\n const isAdmin = this.featureAccess.isAdmin;\n if (isAdmin) {\n canEdit = true;\n return canEdit;\n }\n return canEdit;\n }\n get orderedComments() {\n return this.comments?.content?.slice()?.sort((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n }\n get firstTheme() {\n return this.themes?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'))?.[0];\n }\n get firstCustomer() {\n return this.customers?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'))?.[0];\n }\n get firstDepartment() {\n return this.departments?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'))?.[0];\n }\n get firstArea() {\n return this.areas?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'))?.[0];\n }\n get firstInitiative() {\n return this.initiatives?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'))?.[0];\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"featureAccess\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"deadline\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"source\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"revenue_existing\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"revenue_potential\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"created_by\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"updated_by\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"departments\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"areas\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"submitter\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"customers\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"group\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/initiative-document-version\", [\"exports\", \"@ember-data/model\", \"moment\"], function (_exports, _model, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InitiativeDocumentVersionModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'document_versions'\n }), _dec2 = (0, _model.attr)('string'), _class = class InitiativeDocumentVersionModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"text\", _descriptor2, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor3, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor4, this);\n }\n get formattedCreatedAt() {\n return (0, _moment.default)(this.created_at).format('DD MMM, hh:mm A, YYYY');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"text\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/initiative-update\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"moment\"], function (_exports, _model, _service, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.abbreviatedTimeFromNow = _exports.STATUS_KEYS = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const abbreviatedTimeFromNow = date => {\n const diffInSeconds = (0, _moment.default)().diff((0, _moment.default)(date), 'seconds');\n const duration = _moment.default.duration(diffInSeconds, 'seconds');\n if (duration.asSeconds() < 60) {\n return `${Math.floor(duration.asSeconds())}s`;\n } else if (duration.asMinutes() < 60) {\n return `${Math.floor(duration.asMinutes())}m`;\n } else if (duration.asHours() < 24) {\n return `${Math.floor(duration.asHours())}h`;\n } else if (duration.asDays() < 7) {\n return `${Math.floor(duration.asDays())}d`;\n } else if (duration.asWeeks() < 4) {\n return `${Math.floor(duration.asWeeks())}w`;\n } else if (duration.asMonths() < 12) {\n return `${Math.floor(duration.asMonths())}mo`;\n } else {\n return `${Math.floor(duration.asYears())}y`;\n }\n };\n\n /**\n * Maintain the order in which the key values have been defined in STATUS_KEYS, this determines sorting order while viewing\n *\n */\n _exports.abbreviatedTimeFromNow = abbreviatedTimeFromNow;\n const STATUS_KEYS = _exports.STATUS_KEYS = {\n DELAYED: 'DELAYED',\n AT_RISK: 'AT_RISK',\n NEEDS_REVIEW: 'NEEDS_REVIEW',\n ON_TRACK: 'ON_TRACK'\n };\n let InitiativeUpdateModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'initiative-updates'\n }), _class = class InitiativeUpdateModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"initiative_id\", _descriptor2, this);\n _initializerDefineProperty(this, \"status\", _descriptor3, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor5, this);\n _initializerDefineProperty(this, \"created_at\", _descriptor6, this);\n _initializerDefineProperty(this, \"updated_by\", _descriptor7, this);\n _initializerDefineProperty(this, \"updated_at\", _descriptor8, this);\n _initializerDefineProperty(this, \"reported_health\", _descriptor9, this);\n }\n get updatedByPerson() {\n return this.store.peekRecord('person', this.updated_by.id);\n }\n get statusLabel() {\n return this.status ? this.intl.t(`_initiatives.updates_${this.status.toLowerCase()}`) : '';\n }\n get humanReadableUpdatedAt() {\n return abbreviatedTimeFromNow(this.updated_at);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiative_id\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"updated_by\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"reported_health\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/initiative\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"moment\", \"scaleflow/helpers/label-extract\", \"scaleflow/utils/dateSort\", \"scaleflow/utils/localize\", \"scaleflow/utils/nameSort\", \"scaleflow/models/initiative-update\"], function (_exports, _model, _service, _moment, _labelExtract2, _dateSort, _localize, _nameSort, _initiativeUpdate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"moment\",0,\"scaleflow/helpers/label-extract\",0,\"scaleflow/utils/dateSort\",0,\"scaleflow/utils/localize\",0,\"scaleflow/utils/nameSort\",0,\"scaleflow/models/initiative-update\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InitiativeModel = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _model.hasMany)('wfa', {\n async: true,\n inverse: 'initiative'\n }), _dec3 = (0, _model.hasMany)('uncertainty', {\n async: true,\n inverse: 'initiative'\n }), _dec4 = (0, _model.hasMany)('week', {\n async: true,\n inverse: 'initiative'\n }), _dec5 = (0, _model.hasMany)('workstream', {\n async: true,\n inverse: 'initiative'\n }), _dec6 = (0, _model.hasMany)('bookmark', {\n async: true,\n inverse: 'initiative'\n }), _dec7 = (0, _model.hasMany)('tfo', {\n async: true,\n inverse: 'initiative'\n }), _dec8 = (0, _model.hasMany)('ll', {\n async: true,\n inverse: 'initiative'\n }), _dec9 = (0, _model.hasMany)('initiative-document-version', {\n async: true,\n inverse: 'initiative'\n }), _dec0 = (0, _model.hasMany)('goal', {\n async: true,\n inverse: 'initiatives'\n }), _dec1 = (0, _model.belongsTo)('bon', {\n async: true,\n inverse: 'initiative'\n }), _dec10 = (0, _model.belongsTo)('theme', {\n async: true,\n inverse: 'initiatives'\n }), _dec11 = (0, _model.belongsTo)('person', {\n async: true,\n inverse: 'initiatives'\n }), _dec12 = (0, _model.hasMany)('team', {\n async: true,\n inverse: 'initiatives'\n }), _dec13 = (0, _model.hasMany)('roadmap', {\n async: true,\n inverse: 'initiatives'\n }), _dec14 = (0, _model.hasMany)('idea', {\n async: true,\n inverse: 'initiatives'\n }), _dec15 = (0, _model.attr)('string'), _dec16 = (0, _model.attr)('string'), _dec17 = (0, _model.attr)('string'), _dec18 = (0, _model.attr)('string'), _dec19 = (0, _model.attr)('boolean'), _dec20 = (0, _model.attr)('string'), _dec21 = (0, _model.attr)('string'), _dec22 = (0, _model.attr)('string'), _dec23 = (0, _model.attr)('string'), _dec24 = (0, _model.attr)('string'), _dec25 = (0, _model.attr)('string'), _dec26 = (0, _model.attr)('string'), _dec27 = (0, _model.attr)('string'), _dec28 = (0, _model.attr)('string'), _dec29 = (0, _model.hasMany)('initiative-update', {\n async: true,\n inverse: 'initiative'\n }), _dec30 = (0, _model.hasMany)('target', {\n async: true,\n inverse: 'initiative'\n }), _dec31 = (0, _model.hasMany)('artifact', {\n async: true,\n inverse: 'initiative'\n }), _dec32 = (0, _model.hasMany)('conversation', {\n async: true,\n inverse: 'initiative'\n }), _class = class InitiativeModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"orgService\", _descriptor4, this);\n _initializerDefineProperty(this, \"wfas\", _descriptor5, this);\n _initializerDefineProperty(this, \"uncertainties\", _descriptor6, this);\n _initializerDefineProperty(this, \"weeks\", _descriptor7, this);\n _initializerDefineProperty(this, \"workstreams\", _descriptor8, this);\n _initializerDefineProperty(this, \"bookmarks\", _descriptor9, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor0, this);\n _initializerDefineProperty(this, \"lls\", _descriptor1, this);\n _initializerDefineProperty(this, \"document_versions\", _descriptor10, this);\n _initializerDefineProperty(this, \"goals\", _descriptor11, this);\n _initializerDefineProperty(this, \"bon\", _descriptor12, this);\n _initializerDefineProperty(this, \"theme\", _descriptor13, this);\n _initializerDefineProperty(this, \"productManager\", _descriptor14, this);\n _initializerDefineProperty(this, \"teams\", _descriptor15, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor16, this);\n _initializerDefineProperty(this, \"ideas\", _descriptor17, this);\n _initializerDefineProperty(this, \"title\", _descriptor18, this);\n _initializerDefineProperty(this, \"description\", _descriptor19, this);\n _initializerDefineProperty(this, \"summary\", _descriptor20, this);\n _initializerDefineProperty(this, \"initiative_doc\", _descriptor21, this);\n _initializerDefineProperty(this, \"approach\", _descriptor22, this);\n _initializerDefineProperty(this, \"favorite\", _descriptor23, this);\n _initializerDefineProperty(this, \"source\", _descriptor24, this);\n _initializerDefineProperty(this, \"status\", _descriptor25, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor26, this);\n _initializerDefineProperty(this, \"starting_week\", _descriptor27, this);\n _initializerDefineProperty(this, \"duration\", _descriptor28, this);\n _initializerDefineProperty(this, \"abbreviation\", _descriptor29, this);\n _initializerDefineProperty(this, \"bon_investment\", _descriptor30, this);\n _initializerDefineProperty(this, \"bon_returns\", _descriptor31, this);\n _initializerDefineProperty(this, \"bon_value\", _descriptor32, this);\n _initializerDefineProperty(this, \"bon_notes\", _descriptor33, this);\n _initializerDefineProperty(this, \"person_weeks\", _descriptor34, this);\n _initializerDefineProperty(this, \"bon_text_delta\", _descriptor35, this);\n _initializerDefineProperty(this, \"progress\", _descriptor36, this);\n _initializerDefineProperty(this, \"updated_at\", _descriptor37, this);\n _initializerDefineProperty(this, 'initiative-updates', _descriptor38, this);\n _initializerDefineProperty(this, \"targets\", _descriptor39, this);\n _initializerDefineProperty(this, \"artifacts\", _descriptor40, this);\n _initializerDefineProperty(this, \"conversations\", _descriptor41, this);\n }\n get formattedBonInvestment() {\n return this.bon_investment == undefined ? '-' : this.bon_investment;\n }\n get formattedBonReturns() {\n return this.bon_returns == undefined ? '-' : this.bon_returns;\n }\n get formattedBonValue() {\n return this.bon_value == undefined ? '-' : this.bon_value;\n }\n get localizedBonInvestment() {\n return this.bon_investment === undefined || this.bon_investment === null ? '-' : (0, _localize.default)(this.bon_investment, ',-', this.intl.t('currency.euro'));\n }\n get localizedBonReturns() {\n return this.bon_returns === undefined || this.bon_returns === null ? '-' : (0, _localize.default)(this.bon_returns, ',-', this.intl.t('currency.euro'));\n }\n get localizedBonValue() {\n return this.bon_value === undefined || this.bon_value === null ? '-' : (0, _localize.default)(this.bon_value, ',-', this.intl.t('currency.euro'));\n }\n get startingWeek() {\n if (!this.starting_week || typeof this.starting_week !== 'string') return undefined;\n return this.starting_week.split(':')[0].split('-').join('-W');\n }\n get endingWeek() {\n if (this.starting_week == undefined || this.duration == undefined) return undefined;\n let m = (0, _moment.default)(this.startingWeek).add(+this.duration, 'weeks').format('GGGG-[W]WW');\n return m;\n }\n get capacityPerWeek() {\n if (this.person_weeks != undefined && this.duration != undefined) {\n return this.person_weeks / +this.duration;\n } else {\n return this.duration ? +this.duration : 0;\n }\n }\n get personWeekInvestments() {\n if (this.bon_investment == undefined) {\n return [];\n }\n return this.bon.get('personWeekInvestments');\n }\n get teamIds() {\n // if (this.teams?.promise) return this.teams?.content?.map((team) => team.id);\n // return this.teams.map((team) => team.id);\n return this.hasMany('teams')?.ids();\n }\n get goalIds() {\n return this.goals?.content?.map(goal => goal.id);\n }\n get orderedUpdates() {\n return this['initiative-updates']?.content?.slice()?.sort((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n }\n get latestUpdate() {\n return this.orderedUpdates?.[0];\n }\n get firstTeam() {\n return this.teams?.content?.toSorted((a, b) => (0, _nameSort.default)(a.name, b.name, 'asc'))?.[0];\n }\n get firstGoal() {\n return this.goals?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'))?.[0];\n }\n get firstRoadmap() {\n return this.roadmaps?.content?.toSorted((a, b) => (0, _nameSort.default)(a.title, b.title, 'asc'))?.[0];\n }\n get person_weeks_including_uncertainty() {\n const bon = this.bon;\n if (bon == undefined) return 0;\n const person_week_investments = bon.get('personWeekInvestments');\n if (!person_week_investments) return 0;\n const val = person_week_investments.reduce((acc, item) => {\n const weeks = item.weeks ? +item.weeks : 0;\n const people = item.people ? +item.people : 0;\n const confidence_value = item.confidence_value ? +item.confidence_value : 1;\n return acc + weeks * people * confidence_value;\n }, 0);\n return val?.toFixed(1);\n }\n get person_weeks_only_uncertainty() {\n const bon = this.bon;\n if (bon == undefined) return 0;\n const person_week_investments = bon.get('personWeekInvestments');\n if (!person_week_investments) return 0;\n const val = person_week_investments.reduce((acc, item) => {\n const weeks = item.weeks ? +item.weeks : 0;\n const people = item.people ? +item.people : 0;\n const confidence_value = item.confidence_value ? +item.confidence_value : 1;\n return acc + weeks * people * (confidence_value - 1);\n }, 0);\n return val?.toFixed(1);\n }\n get person_weeks_excluding_uncertainty() {\n return (this.person_weeks ?? 0).toFixed(1);\n }\n get unarchivedUncertainties() {\n return this.uncertainties?.content?.filter(item => item.archived === false);\n }\n get unarchivedUncertaintiesDetailed() {\n return this.uncertainties?.content?.filter(item => item.archived === false).reduce((acc, item) => {\n if (item.completed) acc['closed'] += 1;else acc['open'] += 1;\n acc['total'] += 1;\n return acc;\n }, {\n open: 0,\n closed: 0,\n total: 0\n });\n }\n get unarchivedWfas() {\n return this.wfas?.content?.filter(item => item.archived === false);\n }\n get unarchivedWfasDetailed() {\n return this.wfas?.content?.filter(item => item.archived === false).reduce((acc, item) => {\n if (item.completed) acc['closed'] += 1;else acc['open'] += 1;\n acc['total'] += 1;\n return acc;\n }, {\n open: 0,\n closed: 0,\n total: 0\n });\n }\n get openTickets() {\n let count = 0;\n this.tfos?.content?.forEach(tfo => {\n const tfo_is_open = tfo.completed === false;\n if (tfo_is_open) count += 1;\n });\n return count;\n }\n get closedTickets() {\n let count = 0;\n this.tfos?.content?.forEach(tfo => {\n const tfo_is_closed = tfo.completed === true;\n if (tfo_is_closed) count += 1;\n });\n return count;\n }\n get totalTickets() {\n return this.tfos?.content?.length ?? 0;\n }\n get unlistedOpenTickets() {\n return this.tfos?.content?.filter(item => {\n const workstream = item.get('workstream');\n if (!workstream.isTruthy && item.completed === false) return true;else return false;\n }).length;\n }\n get unlistedClosedTickets() {\n return this.tfos?.content?.filter(item => {\n const workstream = item.get('workstream');\n if (!workstream.isTruthy && item.completed === true) return true;else return false;\n }).length;\n }\n get unlistedTickets() {\n return this.tfos?.content?.filter(item => {\n const workstream = item.get('workstream');\n if (!workstream.isTruthy) return true;else return false;\n }).length;\n }\n get roles() {\n const investments = this.personWeekInvestments ?? [];\n const roles = [];\n investments.forEach(investment => {\n if (investment.role_id) {\n const role = this.store.peekRecord('role', investment.role_id);\n if (role) roles.push(role);\n }\n });\n return [...new Set(roles)];\n }\n get closedTicketsScore() {\n return Math.round(+this.closedTickets / +this.totalTickets * 5);\n }\n get closedTicketsPercentage() {\n return Math.round(+this.closedTickets / +this.totalTickets * 100);\n }\n get statusLabel() {\n return (0, _labelExtract2._labelExtract)(this.betaToggle.statusOptions, this.status);\n }\n get sourceLabel() {\n return (0, _labelExtract2._labelExtract)(this.betaToggle.sourceOptions, this.source);\n }\n get expected_health() {\n if (!this.duration || !this.starting_week) return 0;\n const today = (0, _moment.default)();\n const startingWeek = (0, _moment.default)(this.startingWeek);\n const weeks_difference = today.diff(startingWeek, 'week');\n const score = Math.ceil(weeks_difference / +this.duration * 5);\n if (score > 5) return 5;\n if (score <= 0) return 0;\n return score;\n }\n get durationLabel() {\n if (!this.duration) return '-';\n return `~ ${this.duration} ${this.intl.t('dictionary.weeks', {\n num: this.duration\n })}`;\n }\n get startingDateDDMMMYYY() {\n const starting_week = this.starting_week;\n if (!starting_week || typeof starting_week !== 'string') return '-';\n let date = null;\n const parsed = starting_week.split(':')[0];\n const first_day_of_week = this.orgService?.organisation?.get('first_day_of_week');\n if (first_day_of_week) date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week');\n return date.format('DD MMM, YYYY');\n }\n get startingDateObject() {\n const starting_week = this.starting_week;\n if (!starting_week || typeof starting_week !== 'string') return null;\n let date = null;\n const parsed = starting_week.split(':')[0];\n const first_day_of_week = this.orgService?.organisation?.get('first_day_of_week');\n if (first_day_of_week) date = (0, _moment.default)(parsed, 'yyyy-WW').day(first_day_of_week);else date = (0, _moment.default)(parsed, 'yyyy-WW').startOf('week');\n return date.toDate();\n }\n get roadmapIds() {\n return this.hasMany('roadmaps')?.ids();\n }\n get orderedUncertainties() {\n return this.uncertainties?.content?.slice()?.sort((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n }\n get orderedWfas() {\n return this.wfas?.content?.slice()?.sort((a, b) => (0, _dateSort.default)(b.created_at, a.created_at));\n }\n get metrics() {\n const targets = this.targets?.content;\n const metrics = targets.map(item => item.metric);\n return metrics;\n }\n get hasMoreThanOneGoal() {\n const goals = this.goals.content ?? [];\n return goals.length > 1 ? goals.length - 1 : false;\n }\n get openWfas() {\n return this.wfas.content.filter(item => item.completed === false);\n }\n get closedWfas() {\n return this.wfas.content.filter(item => item.completed === true);\n }\n get progressLabel() {\n return this.progress ? this.intl.t(`_initiatives.updates_${this.progress.toLowerCase()}`) : '';\n }\n get route() {\n return 'backlog.initiatives.initiative.investments';\n }\n get attributesStringified() {\n const attributes = [this.title, this.productManager?.content?.name, this.sourceLabel, this.statusLabel, this.theme?.content?.title, this.durationLabel, this.startingDateDDMMMYYY, this.roadmaps?.content?.map(item => item.title).join(','), this.goals?.content?.map(item => item.title).join(','), this.teams?.content?.map(item => item.title).join(','), this.bon_investment, this.bon_value, this.bon_returns];\n return attributes.join(',');\n }\n person_weeks_for_team(id, initiative) {\n if (id == 'unassigned') id = undefined;\n const team_id = 'team_id';\n let pw = 0;\n const investments = initiative.bon.get('investments');\n if (investments !== undefined) {\n investments?.calculations?.forEach(calculation => {\n if (calculation[team_id] == id) {\n pw += (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * (calculation.confidence_value ?? 1);\n }\n });\n }\n return pw;\n }\n get humanReadableUpdatedAt() {\n return (0, _initiativeUpdate.abbreviatedTimeFromNow)(this.updated_at);\n }\n get sortedConversations() {\n return this.conversations.content.toSorted((a, b) => (0, _dateSort.default)(a.created_at, b.created_at, 'desc')) ?? [];\n }\n get latestConversation() {\n return this.sortedConversations?.[0] ?? undefined;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"wfas\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uncertainties\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"weeks\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"workstreams\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"bookmarks\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"lls\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"document_versions\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"goals\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"bon\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"theme\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"productManager\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"ideas\", [_dec14], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec15], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_dec16], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"summary\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"initiative_doc\", [_dec17], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"approach\", [_dec18], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_dec19], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"source\", [_dec20], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_dec21], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"starting_week\", [_dec22], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"duration\", [_dec23], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"abbreviation\", [_dec24], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"bon_investment\", [_dec25], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"bon_returns\", [_dec26], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, \"bon_value\", [_dec27], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, \"bon_notes\", [_dec28], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, \"person_weeks\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, \"bon_text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, \"progress\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, \"updated_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, 'initiative-updates', [_dec29], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, \"targets\", [_dec30], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, \"artifacts\", [_dec31], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, \"conversations\", [_dec32], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/investment-scenario\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.TOTAL_WORKING_DAYS = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const TOTAL_WORKING_DAYS = _exports.TOTAL_WORKING_DAYS = 260;\n let InvestmentScenarioModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.attr)('number', {\n defaultValue: 50\n }), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('number'), _dec6 = (0, _model.attr)('number'), _dec7 = (0, _model.attr)('number'), _dec8 = (0, _model.attr)('number'), _dec9 = (0, _model.attr)('number'), _dec0 = (0, _model.attr)('number'), _dec1 = (0, _model.attr)('number'), _dec10 = (0, _model.attr)('number'), _dec11 = (0, _model.attr)('number'), _dec12 = (0, _model.attr)('number'), _dec13 = (0, _model.hasMany)('roadmap', {\n async: false,\n inverse: 'investment-scenario'\n }), _class = class InvestmentScenarioModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor2, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor3, this);\n _initializerDefineProperty(this, \"fte\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiative_capacity\", _descriptor5, this);\n //percentage\n _initializerDefineProperty(this, \"ops_flex\", _descriptor6, this);\n _initializerDefineProperty(this, \"distribution_vision\", _descriptor7, this);\n _initializerDefineProperty(this, \"distribution_customer\", _descriptor8, this);\n _initializerDefineProperty(this, \"distribution_operations\", _descriptor9, this);\n _initializerDefineProperty(this, \"limit_lower_vision\", _descriptor0, this);\n _initializerDefineProperty(this, \"limit_upper_vision\", _descriptor1, this);\n _initializerDefineProperty(this, \"limit_lower_customer\", _descriptor10, this);\n _initializerDefineProperty(this, \"limit_upper_customer\", _descriptor11, this);\n _initializerDefineProperty(this, \"limit_lower_operations\", _descriptor12, this);\n _initializerDefineProperty(this, \"limit_upper_operations\", _descriptor13, this);\n _initializerDefineProperty(this, \"price_person_week\", _descriptor14, this);\n _initializerDefineProperty(this, \"allocation\", _descriptor15, this);\n _initializerDefineProperty(this, \"unavailable_time\", _descriptor16, this);\n _initializerDefineProperty(this, \"roadmaps\", _descriptor17, this);\n }\n get total_distribution() {\n return this.distribution_vision + this.distribution_customer + this.distribution_operations;\n }\n get percentage_flow() {\n if (!this.unavailable_portion) return 100 - +this.initiative_capacity;\n return Math.round((100 - +this.unavailable_portion) * (100 - +this.initiative_capacity) / 100);\n }\n get percentage_unavailable() {\n return Math.round(+this.unavailable_portion * (100 - +this.initiative_capacity) / 100);\n }\n get percentage_initiatives() {\n return this.initiative_capacity;\n }\n get weeks() {\n // return moment(this.end_date).diff(moment(this.start_date), 'week', true);\n return 13;\n }\n get pw_flow() {\n return this.fte * (this.percentage_flow / 100) * this.weeks;\n }\n get pw_unavailable() {\n return Math.round(this.fte * (this.percentage_unavailable / 100) * this.weeks);\n }\n get pw_initiatives() {\n return this.pw_total - (this.pw_flow + this.pw_unavailable);\n }\n get pw_vision() {\n return this.pw_number(this.distribution_vision);\n }\n get pw_customer() {\n return this.pw_number(this.distribution_customer);\n }\n get pw_operations() {\n return this.pw_number(this.distribution_operations);\n }\n get pw_total() {\n return this.pw_number();\n }\n pw_number(source) {\n if (source == undefined) {\n return this.fte * this.weeks;\n } else {\n return source / this.total_distribution * this.fte * (this.percentage_initiatives / 100) * this.weeks;\n }\n }\n get unavailable_portion() {\n let percent_unavailable = 0;\n if (!this.unavailable_time) ;else {\n const total_unavailable = +this.unavailable_time.total;\n percent_unavailable = Math.floor(total_unavailable / TOTAL_WORKING_DAYS * 100);\n }\n return percent_unavailable;\n }\n copy_to_object(new_scenario) {\n new_scenario.title = this.title + ' (copy)';\n new_scenario.start_date = this.start_date;\n new_scenario.end_date = this.end_date;\n new_scenario.fte = this.fte;\n new_scenario.initiative_capacity = this.initiative_capacity;\n new_scenario.ops_flex = this.ops_flex;\n new_scenario.distribution_vision = this.distribution_vision;\n new_scenario.distribution_customer = this.distribution_customer;\n new_scenario.distribution_operations = this.distribution_operations;\n new_scenario.limit_lower_vision = this.limit_lower_vision;\n new_scenario.limit_upper_vision = this.limit_upper_vision;\n new_scenario.limit_lower_customer = this.limit_lower_customer;\n new_scenario.limit_upper_customer = this.limit_upper_customer;\n new_scenario.limit_lower_operations = this.limit_lower_operations;\n new_scenario.limit_upper_operations = this.limit_upper_operations;\n return new_scenario;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"fte\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiative_capacity\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ops_flex\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"distribution_vision\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"distribution_customer\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"distribution_operations\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"limit_lower_vision\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"limit_upper_vision\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"limit_lower_customer\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"limit_upper_customer\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"limit_lower_operations\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"limit_upper_operations\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"price_person_week\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"allocation\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"unavailable_time\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"roadmaps\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/invitation\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InvitationModel = _exports.default = (_class = class InvitationModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"email\", _descriptor, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"email\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/ll\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/team-based-model\"], function (_exports, _model, _teamBasedModel) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/team-based-model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let LlModel = _exports.default = (_dec = (0, _model.belongsTo)('team', {\n inverse: 'lls',\n async: true\n }), _dec2 = (0, _model.belongsTo)('person', {\n inverse: 'lls',\n async: true\n }), _dec3 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'll'\n }), _dec4 = (0, _model.hasMany)('person', {\n async: true,\n inverse: null\n }), _dec5 = (0, _model.belongsTo)('initiative', {\n inverse: 'lls',\n async: true\n }), _class = class LlModel extends _teamBasedModel.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"team\", _descriptor, this);\n _initializerDefineProperty(this, \"author\", _descriptor2, this);\n _initializerDefineProperty(this, \"comments\", _descriptor3, this);\n _initializerDefineProperty(this, \"assignees\", _descriptor4, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor5, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/measurement\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"moment\", \"scaleflow/utils/localize\"], function (_exports, _model, _service, _moment, _localize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"moment\",0,\"scaleflow/utils/localize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let MeasurementModel = _exports.default = (_dec = (0, _model.belongsTo)('metric', {\n async: true,\n inverse: 'measurements'\n }), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.attr)('number', {\n defaultValue: 2\n }), _class = class MeasurementModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"metric\", _descriptor2, this);\n _initializerDefineProperty(this, \"value\", _descriptor3, this);\n _initializerDefineProperty(this, \"decimals\", _descriptor4, this);\n _initializerDefineProperty(this, \"measured_at_utc\", _descriptor5, this);\n }\n get formattedValue() {\n const metric = this.metric.content;\n const symbol = metric.symbol;\n if (symbol === 'percentage') return `${(0, _localize.default)(this.value, '%')}`;\n if (symbol === 'currency') return `${(0, _localize.default)(this.value, ',-', this.intl.t('currency.euro'))}`;\n return `${(0, _localize.default)(this.value)}`;\n }\n get formattedRecordedDate() {\n return (0, _moment.default)(this.measured_at_utc).format('DD MMM, YYYY');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"metric\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"value\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"decimals\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"measured_at_utc\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/message\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.MESSAGE_STATUS = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const MESSAGE_STATUS = _exports.MESSAGE_STATUS = {\n COMPLETED: 'COMPLETE',\n STREAMING: 'STREAMING',\n STOPPED: 'STOPPED'\n };\n let MessageModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.belongsTo)('conversation', {\n async: true,\n inverse: 'messages'\n }), _dec5 = (0, _model.attr)('string', {\n defaultValue: MESSAGE_STATUS.COMPLETED\n }), _class = class MessageModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"created_at\", _descriptor, this);\n _initializerDefineProperty(this, \"created_by\", _descriptor2, this);\n _initializerDefineProperty(this, \"text\", _descriptor3, this);\n _initializerDefineProperty(this, \"bot_version\", _descriptor4, this);\n _initializerDefineProperty(this, \"type\", _descriptor5, this);\n _initializerDefineProperty(this, \"conversation\", _descriptor6, this);\n _initializerDefineProperty(this, \"loading\", _descriptor7, this);\n _initializerDefineProperty(this, \"status\", _descriptor8, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"created_at\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"created_by\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"text\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"bot_version\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"conversation\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"loading\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"status\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/metric\", [\"exports\", \"@ember-data/model\", \"@ember/object\"], function (_exports, _model, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let MetricModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('boolean'), _dec7 = (0, _model.belongsTo)('owner', {\n async: true,\n polymorphic: true,\n inverse: 'metrics'\n }), _dec8 = (0, _model.hasMany)('target', {\n async: true,\n inverse: 'metric'\n }), _dec9 = (0, _model.hasMany)('measurement', {\n async: true,\n inverse: 'metric'\n }), _class = class MetricModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"description\", _descriptor2, this);\n _initializerDefineProperty(this, \"decimals\", _descriptor3, this);\n _initializerDefineProperty(this, \"symbol\", _descriptor4, this);\n _initializerDefineProperty(this, \"trend\", _descriptor5, this);\n _initializerDefineProperty(this, \"reporting_period\", _descriptor6, this);\n _initializerDefineProperty(this, \"active\", _descriptor7, this);\n _initializerDefineProperty(this, \"owner\", _descriptor8, this);\n _initializerDefineProperty(this, \"targets\", _descriptor9, this);\n _initializerDefineProperty(this, \"measurements\", _descriptor0, this);\n }\n get latestMeasurement() {\n const measurements = this.measurements.content;\n if (!measurements?.length) return undefined;\n const latest = measurements[measurements.length - 1];\n return latest;\n }\n targetForInitiative(initiative_id) {\n const targets = this.targets.content;\n const target = targets.find(_target => {\n return _target.initiative?.content?.id === initiative_id;\n });\n return target;\n }\n targetForGoal(goal_id) {\n const targets = this.targets.content;\n const target = targets.find(_target => {\n return _target.goal?.content?.id === goal_id;\n });\n return target;\n }\n get linkedInitiatives() {\n const targets = this.targets.content;\n const initiative_targets = targets.filter(item => item.initiative.content);\n return initiative_targets;\n }\n get linkedGoals() {\n const targets = this.targets.content;\n const goal_targets = targets.filter(item => item.goal.content);\n return goal_targets;\n }\n get changeset_object() {\n return {\n title: this.title,\n description: this.description,\n decimals: this.decimals,\n symbol: this.symbol,\n trend: this.trend,\n reporting_period: this.reporting_period,\n active: this.active,\n targets: this.targets.content ?? []\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"decimals\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"symbol\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"trend\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"reporting_period\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"active\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"owner\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"targets\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"measurements\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"targetForInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"targetForInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"targetForGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"targetForGoal\"), _class.prototype), _class);\n});","define(\"scaleflow/models/organisation\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OrganisationModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('number'), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('number'), _dec6 = (0, _model.attr)('number'), _dec7 = (0, _model.attr)('number'), _dec8 = (0, _model.attr)('number'), _dec9 = (0, _model.attr)({\n defaultValue: 'nl-NL'\n }), _dec0 = (0, _model.attr)({\n defaultValue() {\n return {\n low: 2,\n medium: 1.5,\n high: 1.25\n };\n }\n }), _dec1 = (0, _model.attr)({\n defaultValue() {\n return {\n low: 0.25,\n medium: 0.5,\n high: 0.75\n };\n }\n }), _dec10 = (0, _model.hasMany)('bookmark', {\n async: true,\n inverse: 'organisation'\n }), _dec11 = (0, _model.hasMany)('theme', {\n async: true,\n inverse: null\n }), _dec12 = (0, _model.attr)('number', {\n defaultValue: 33\n }), _dec13 = (0, _model.attr)('number', {\n defaultValue: 33\n }), _dec14 = (0, _model.attr)('number', {\n defaultValue: 33\n }), _class = class OrganisationModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap_url\", _descriptor, this);\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n _initializerDefineProperty(this, \"first_day_of_week\", _descriptor3, this);\n _initializerDefineProperty(this, \"bon_horizon\", _descriptor4, this);\n _initializerDefineProperty(this, \"bon_price_person_week\", _descriptor5, this);\n _initializerDefineProperty(this, \"bon_clv\", _descriptor6, this);\n _initializerDefineProperty(this, \"capacity_product_development_fte_count\", _descriptor7, this);\n _initializerDefineProperty(this, \"capacity_parallel_initiatives_count\", _descriptor8, this);\n _initializerDefineProperty(this, \"customer_values\", _descriptor9, this);\n _initializerDefineProperty(this, \"locale\", _descriptor0, this);\n _initializerDefineProperty(this, \"metadata\", _descriptor1, this);\n _initializerDefineProperty(this, \"bon_investment_confidences\", _descriptor10, this);\n _initializerDefineProperty(this, \"bon_return_confidences\", _descriptor11, this);\n _initializerDefineProperty(this, \"bookmarks\", _descriptor12, this);\n _initializerDefineProperty(this, \"themes\", _descriptor13, this);\n _initializerDefineProperty(this, \"bucket_size_vision\", _descriptor14, this);\n _initializerDefineProperty(this, \"bucket_size_customer_request\", _descriptor15, this);\n _initializerDefineProperty(this, \"bucket_size_operations\", _descriptor16, this);\n _initializerDefineProperty(this, \"unavailable_time\", _descriptor17, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap_url\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"first_day_of_week\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"bon_horizon\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"bon_price_person_week\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"bon_clv\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"capacity_product_development_fte_count\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"capacity_parallel_initiatives_count\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"customer_values\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"locale\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"metadata\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"bon_investment_confidences\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"bon_return_confidences\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"bookmarks\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"themes\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"bucket_size_vision\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"bucket_size_customer_request\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"bucket_size_operations\", [_dec14], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"unavailable_time\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/owner\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OwnerModel = _exports.default = (_dec = (0, _model.hasMany)('goal', {\n async: true,\n inverse: 'owner',\n as: 'owner'\n }), _dec2 = (0, _model.hasMany)('metric', {\n async: true,\n inverse: 'owner'\n }), _class = class OwnerModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"goals\", _descriptor, this);\n _initializerDefineProperty(this, \"metrics\", _descriptor2, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"goals\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"metrics\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/person\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/owner\", \"@ember/service\", \"scaleflow/utils/nameSort\"], function (_exports, _model, _owner, _service, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/owner\",0,\"@ember/service\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PersonModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('boolean'), _dec5 = (0, _model.hasMany)('question', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec6 = (0, _model.hasMany)('tfo', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec7 = (0, _model.hasMany)('ll', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec8 = (0, _model.hasMany)('uncertainty', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec9 = (0, _model.hasMany)('wfa', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec0 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'author'\n }), _dec1 = (0, _model.hasMany)('workstream', {\n // polymorphic: true,\n async: true,\n inverse: 'author'\n }), _dec10 = (0, _model.hasMany)('initiative', {\n // polymorphic: true,\n async: true,\n inverse: 'productManager'\n }), _dec11 = (0, _model.hasMany)('role', {\n async: true,\n inverse: 'people'\n }), _dec12 = (0, _model.hasMany)('team', {\n async: true,\n inverse: 'people'\n }), _dec13 = (0, _model.hasMany)('idea', {\n async: true,\n inverse: 'submitter'\n }), _dec14 = (0, _model.hasMany)('conversation', {\n async: true,\n inverse: 'person'\n }), _class = class PersonModel extends _owner.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n _initializerDefineProperty(this, \"abbreviation\", _descriptor3, this);\n _initializerDefineProperty(this, \"color\", _descriptor4, this);\n _initializerDefineProperty(this, \"is_claimed\", _descriptor5, this);\n _initializerDefineProperty(this, \"favorites\", _descriptor6, this);\n _initializerDefineProperty(this, \"active\", _descriptor7, this);\n _initializerDefineProperty(this, \"questions\", _descriptor8, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor9, this);\n _initializerDefineProperty(this, \"lls\", _descriptor0, this);\n _initializerDefineProperty(this, \"uncertainties\", _descriptor1, this);\n _initializerDefineProperty(this, \"wfas\", _descriptor10, this);\n _initializerDefineProperty(this, \"comments\", _descriptor11, this);\n _initializerDefineProperty(this, \"workstreams\", _descriptor12, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor13, this);\n _initializerDefineProperty(this, \"roles\", _descriptor14, this);\n _initializerDefineProperty(this, \"teams\", _descriptor15, this);\n _initializerDefineProperty(this, \"ideas\", _descriptor16, this);\n _initializerDefineProperty(this, \"conversations\", _descriptor17, this);\n }\n get favoriteInitiatives() {\n const _initiatives = this.store.peekAll('initiative').filter(item => item['favorite'] === true).sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n return _initiatives;\n }\n get favoriteTeams() {\n const teams = this.store.peekAll('team').filter(item => item['favorite'] === true).sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n return teams;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"abbreviation\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"color\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"is_claimed\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"favorites\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"active\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"questions\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"lls\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"uncertainties\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"wfas\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"workstreams\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"roles\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"ideas\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"conversations\", [_dec14], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/question\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/team-based-model\"], function (_exports, _model, _teamBasedModel) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/team-based-model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let QuestionModel = _exports.default = (_dec = (0, _model.belongsTo)('person', {\n inverse: 'questions',\n async: true\n }), _dec2 = (0, _model.belongsTo)('team', {\n inverse: 'questions',\n async: true\n }), _dec3 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'question'\n }), _dec4 = (0, _model.hasMany)('person', {\n async: true,\n inverse: null\n }), _class = class QuestionModel extends _teamBasedModel.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"author\", _descriptor, this);\n _initializerDefineProperty(this, \"team\", _descriptor2, this);\n _initializerDefineProperty(this, \"comments\", _descriptor3, this);\n _initializerDefineProperty(this, \"assignees\", _descriptor4, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/roadmap\", [\"exports\", \"@ember-data/model\", \"moment\"], function (_exports, _model, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapModel = _exports.default = (_dec = (0, _model.attr)('string', {\n defaultValue: ''\n }), _dec2 = (0, _model.attr)('string', {\n defaultValue: () => new Date().toISOString()\n }), _dec3 = (0, _model.attr)('string', {\n defaultValue: () => new Date().toISOString()\n }), _dec4 = (0, _model.belongsTo)('investment-scenario', {\n async: true,\n inverse: 'roadmaps'\n }), _dec5 = (0, _model.hasMany)('initiative', {\n async: true,\n inverse: 'roadmaps'\n }), _class = class RoadmapModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor2, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor3, this);\n _initializerDefineProperty(this, 'investment-scenario', _descriptor4, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor5, this);\n }\n get weeks() {\n return (0, _moment.default)(this.end_date).diff((0, _moment.default)(this.start_date), 'week', true);\n }\n get initiativeIds() {\n return this.initiatives.content?.map(item => item.id);\n }\n get expected_investment() {\n return this.initiatives?.content?.reduce((acc, item) => Number(acc) + Number(item.bon_investment ?? 0), 0);\n }\n get expected_return() {\n return this.initiatives?.content?.reduce((acc, item) => Number(acc) + Number(item.bon_returns ?? 0), 0);\n }\n get expected_value() {\n return this.initiatives?.content?.reduce((acc, item) => Number(acc) + Number(item.bon_value ?? 0), 0);\n }\n get investmentScenario() {\n return this['investment-scenario']?.content;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, 'investment-scenario', [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/role\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoleModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.hasMany)('person', {\n async: true,\n inverse: 'roles'\n }), _class = class RoleModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"name\", _descriptor, this);\n _initializerDefineProperty(this, \"ftes\", _descriptor2, this);\n _initializerDefineProperty(this, \"people\", _descriptor3, this);\n }\n get teamsThatPeopleOfThisRoleAreIn() {\n const teams = [];\n const people = this.people.content ?? [];\n people.forEach(person => {\n const _teams = person.teams.content ?? [];\n if (_teams) teams.push(..._teams);\n });\n const uniqueTeams = Array.from(new Set(teams));\n return uniqueTeams;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"ftes\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"people\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/target\", [\"exports\", \"@ember-data/model\", \"@ember/service\", \"scaleflow/utils/localize\"], function (_exports, _model, _service, _localize) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/service\",0,\"scaleflow/utils/localize\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TargetModel = _exports.default = (_dec = (0, _model.attr)('number'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.belongsTo)('metric', {\n async: true,\n inverse: 'targets'\n }), _dec4 = (0, _model.belongsTo)('goal', {\n async: true,\n inverse: 'targets'\n }), _dec5 = (0, _model.belongsTo)('initiative', {\n async: true,\n inverse: 'targets'\n }), _class = class TargetModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"start_value\", _descriptor2, this);\n _initializerDefineProperty(this, \"target_value\", _descriptor3, this);\n _initializerDefineProperty(this, \"end_date\", _descriptor4, this);\n _initializerDefineProperty(this, \"start_date\", _descriptor5, this);\n _initializerDefineProperty(this, \"metric\", _descriptor6, this);\n _initializerDefineProperty(this, \"goal\", _descriptor7, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor8, this);\n }\n get formattedTargetValue() {\n const metric = this.metric.content;\n const symbol = metric.symbol;\n if (!this.target_value) return undefined;\n if (symbol === 'percentage') return `${(0, _localize.default)(this.target_value, '%')}`;\n if (symbol === 'currency') return `${(0, _localize.default)(this.target_value, ',-', this.intl.t('currency.euro'))}`;\n return `${(0, _localize.default)(this.target_value)}`;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"start_value\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"target_value\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"end_date\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"start_date\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"metric\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"goal\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/team-based-model\", [\"exports\", \"scaleflow/models/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/models/base-item\"eaimeta@70e063a35619d71f\n class TeamBasedModel extends _baseItem.default {\n get parent() {\n return this.team;\n }\n get parentType() {\n return 'team';\n }\n }\n _exports.default = TeamBasedModel;\n});","define(\"scaleflow/models/team\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/owner\"], function (_exports, _model, _owner) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/owner\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamModel = _exports.default = (_dec = (0, _model.hasMany)('question', {\n async: true,\n inverse: 'team'\n }), _dec2 = (0, _model.hasMany)('tfo', {\n async: true,\n inverse: 'team'\n }), _dec3 = (0, _model.hasMany)('ll', {\n async: true,\n inverse: 'team'\n }), _dec4 = (0, _model.hasMany)('wfa', {\n async: true,\n inverse: 'team'\n }), _dec5 = (0, _model.hasMany)('uncertainty', {\n async: true,\n inverse: 'team'\n }), _dec6 = (0, _model.hasMany)('bookmark', {\n async: true,\n inverse: 'team'\n }), _dec7 = (0, _model.hasMany)('initiative', {\n async: true,\n inverse: 'teams'\n }), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)('boolean'), _dec1 = (0, _model.attr)('boolean'), _dec10 = (0, _model.attr)('boolean', {\n defaultValue: true\n }), _dec11 = (0, _model.attr)('boolean'), _dec12 = (0, _model.attr)('number'), _dec13 = (0, _model.attr)('string', {\n defaultValue: '08:30'\n }), _dec14 = (0, _model.hasMany)('person', {\n async: true,\n inverse: 'teams'\n }), _class = class TeamModel extends _owner.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"questions\", _descriptor, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor2, this);\n _initializerDefineProperty(this, \"lls\", _descriptor3, this);\n _initializerDefineProperty(this, \"wfas\", _descriptor4, this);\n _initializerDefineProperty(this, \"uncertainties\", _descriptor5, this);\n _initializerDefineProperty(this, \"bookmarks\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor7, this);\n _initializerDefineProperty(this, \"name\", _descriptor8, this);\n _initializerDefineProperty(this, \"icon\", _descriptor9, this);\n _initializerDefineProperty(this, \"show_uncertainties\", _descriptor0, this);\n _initializerDefineProperty(this, \"show_wfa\", _descriptor1, this);\n _initializerDefineProperty(this, \"active\", _descriptor10, this);\n _initializerDefineProperty(this, \"favorite\", _descriptor11, this);\n _initializerDefineProperty(this, \"ftes\", _descriptor12, this);\n _initializerDefineProperty(this, \"archive_time\", _descriptor13, this);\n _initializerDefineProperty(this, \"people\", _descriptor14, this);\n }\n get title() {\n return this.name;\n }\n get route() {\n return 'operations.teams.team.check-in';\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"questions\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"lls\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"wfas\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uncertainties\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"bookmarks\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"icon\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"show_uncertainties\", [_dec0], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"show_wfa\", [_dec1], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"active\", [_dec10], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"favorite\", [_dec11], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"ftes\", [_dec12], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"archive_time\", [_dec13], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"people\", [_dec14], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/tfo\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/team-based-model\"], function (_exports, _model, _teamBasedModel) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/team-based-model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TfoModel = _exports.default = (_dec = (0, _model.belongsTo)('person', {\n inverse: 'tfos',\n async: true\n }), _dec2 = (0, _model.belongsTo)('team', {\n inverse: 'tfos',\n async: true\n }), _dec3 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'tfo'\n }), _dec4 = (0, _model.hasMany)('person', {\n async: true,\n inverse: null\n }), _dec5 = (0, _model.belongsTo)('workstream', {\n inverse: 'tfos',\n async: true\n }), _dec6 = (0, _model.belongsTo)('week', {\n inverse: 'tfos',\n async: true\n }), _dec7 = (0, _model.belongsTo)('initiative', {\n inverse: 'tfos',\n async: true\n }), _class = class TfoModel extends _teamBasedModel.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"author\", _descriptor, this);\n _initializerDefineProperty(this, \"team\", _descriptor2, this);\n _initializerDefineProperty(this, \"comments\", _descriptor3, this);\n _initializerDefineProperty(this, \"assignees\", _descriptor4, this);\n _initializerDefineProperty(this, \"workstream\", _descriptor5, this);\n _initializerDefineProperty(this, \"week\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor7, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"workstream\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"week\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/theme\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ThemeModel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.hasMany)('initiative', {\n async: true,\n inverse: 'theme'\n }), _class = class ThemeModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"title\", _descriptor, this);\n _initializerDefineProperty(this, \"color\", _descriptor2, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor3, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"color\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/uncertainty\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/base-item\"], function (_exports, _model, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/base-item\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let UncertaintyModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n inverse: 'uncertainties',\n async: true\n }), _dec2 = (0, _model.belongsTo)('team', {\n inverse: 'uncertainties',\n async: true\n }), _dec3 = (0, _model.belongsTo)('person', {\n inverse: 'uncertainties',\n async: true\n }), _dec4 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'uncertainty'\n }), _dec5 = (0, _model.hasMany)('person', {\n async: true,\n inverse: null\n }), _class = class UncertaintyModel extends _baseItem.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"team\", _descriptor2, this);\n _initializerDefineProperty(this, \"author\", _descriptor3, this);\n _initializerDefineProperty(this, \"comments\", _descriptor4, this);\n _initializerDefineProperty(this, \"assignees\", _descriptor5, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/week\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let WeekModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n inverse: 'weeks',\n async: true\n }), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.hasMany)('tfo', {\n async: false,\n inverse: 'week'\n }), _dec7 = (0, _model.attr)('boolean'), _dec8 = (0, _model.attr)('boolean'), _dec9 = (0, _model.attr)('boolean'), _class = class WeekModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"title\", _descriptor2, this);\n _initializerDefineProperty(this, \"text_delta\", _descriptor3, this);\n _initializerDefineProperty(this, \"text\", _descriptor4, this);\n _initializerDefineProperty(this, \"position\", _descriptor5, this);\n _initializerDefineProperty(this, \"ISOWeek\", _descriptor6, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor7, this);\n _initializerDefineProperty(this, \"archived\", _descriptor8, this);\n _initializerDefineProperty(this, \"is_current_week\", _descriptor9, this);\n _initializerDefineProperty(this, \"weekOpen\", _descriptor0, this);\n _initializerDefineProperty(this, \"tags\", _descriptor1, this);\n _initializerDefineProperty(this, \"mentions\", _descriptor10, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"text_delta\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"text\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"position\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ISOWeek\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_dec6], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"archived\", [_dec7], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"is_current_week\", [_dec8], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"weekOpen\", [_dec9], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"mentions\", [_model.attr], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/wfa\", [\"exports\", \"@ember-data/model\", \"scaleflow/models/base-item\"], function (_exports, _model, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"scaleflow/models/base-item\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let WfaModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n inverse: 'wfas',\n async: true\n }), _dec2 = (0, _model.belongsTo)('team', {\n inverse: 'wfas',\n async: true\n }), _dec3 = (0, _model.belongsTo)('person', {\n inverse: 'wfas',\n async: true\n }), _dec4 = (0, _model.hasMany)('comment', {\n async: true,\n inverse: 'wfa'\n }), _dec5 = (0, _model.hasMany)('person', {\n async: true,\n inverse: null\n }), _class = class WfaModel extends _baseItem.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"team\", _descriptor2, this);\n _initializerDefineProperty(this, \"author\", _descriptor3, this);\n _initializerDefineProperty(this, \"comments\", _descriptor4, this);\n _initializerDefineProperty(this, \"assignees\", _descriptor5, this);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"team\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"comments\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"assignees\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/models/workstream\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let WorkStreamModel = _exports.default = (_dec = (0, _model.belongsTo)('initiative', {\n inverse: 'workstreams',\n async: true\n }), _dec2 = (0, _model.belongsTo)('person', {\n inverse: 'workstreams',\n async: true\n }), _dec3 = (0, _model.hasMany)('tfo', {\n async: false,\n inverse: 'workstream'\n }), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('number'), _class = class WorkStreamModel extends _model.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"initiative\", _descriptor, this);\n _initializerDefineProperty(this, \"author\", _descriptor2, this);\n _initializerDefineProperty(this, \"tfos\", _descriptor3, this);\n _initializerDefineProperty(this, \"title\", _descriptor4, this);\n _initializerDefineProperty(this, \"position\", _descriptor5, this);\n }\n // @attr('boolean', { defaultValue: false }) archived;\n\n get openTickets() {\n let count = 0;\n this.tfos?.forEach(tfo => {\n const tfo_is_open = tfo.archived === false && tfo.completed === false;\n if (tfo_is_open) count += 1;\n });\n return count;\n }\n get closedTickets() {\n let count = 0;\n this.tfos?.forEach(tfo => {\n const tfo_is_closed = tfo.completed === true;\n if (tfo_is_closed) count += 1;\n });\n return count;\n }\n get totalTickets() {\n return this.tfos?.length;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"author\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tfos\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"position\", [_dec5], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/amplitude/initiatives-interaction\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"@ember/service\"], function (_exports, _emberModifier, _destroyable, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n function cleanup(instance) {\n let {\n element,\n event,\n handler\n } = instance;\n if (element && event && handler) {\n element.removeEventListener(event, handler);\n instance.element = null;\n instance.event = null;\n instance.handler = null;\n }\n }\n let AmplitudeInitiativesInteractionModifier = _exports.default = (_class = class AmplitudeInitiativesInteractionModifier extends _emberModifier.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tracker\", _descriptor, this);\n _defineProperty(this, \"element\", null);\n _defineProperty(this, \"event\", null);\n _defineProperty(this, \"handler\", null);\n }\n modify(element, [event, id = undefined]) {\n const handler = () => this.tracker.trackInitiativesTableInteractionEvent(id);\n this.addEventListener(element, event, handler);\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n\n // methods for reuse\n addEventListener(element, event, handler) {\n // Store the current element, event, and handler for when we need to remove\n // them during cleanup.\n this.element = element;\n this.event = event;\n this.handler = handler;\n element.addEventListener(event, handler);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/autofocus\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _emberModifier.modifier)(function autofocus(element /*, positional, named*/) {\n element.focus();\n });\n});","define(\"scaleflow/modifiers/bar-chart\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\"], function (_exports, _emberModifier, _destroyable, echarts, _echarts_theme, _charts, _components, _features, _renderers, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor; // Features like Universal Transition and Label Layout\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Register the required components\n echarts.use([_charts.BarChart, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent, _components.ToolboxComponent]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let BarChartModifier = _exports.default = (_class = class BarChartModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n _defineProperty(this, \"currencyFormatter\", new Intl.NumberFormat(this.organisation.locale === 'en-qpq' ? 'en-US' : this.organisation.locale, {\n style: 'currency',\n currency: this.organisation.locale === 'en-US' ? 'USD' : 'EUR',\n notation: 'compact',\n maximumFractionDigits: 0 // (causes 2500.99 to be printed as €2,501)\n }).format);\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n modify(element, [data], options) {\n this.options = options;\n if (this.chart == undefined) {\n this.setupChart(element);\n this.registerOnClick();\n }\n if (data != undefined) {\n this.updateChart(data, options);\n } else this.updateChart([], options);\n }\n get height() {\n const {\n height\n } = this.options;\n return height ?? 600;\n }\n get clickHandler() {\n const {\n onClick\n } = this.options;\n return onClick;\n }\n setupChart(element) {\n this.chart = echarts.init(element, 'producthub', {\n height: this.height\n });\n this.chart.setOption(this.chartOptions);\n }\n get chartOptions() {\n let options = {\n tooltip: {\n // trigger: 'axis',\n axisPointer: {\n type: 'shadow'\n },\n valueFormatter: this.currencyFormatter\n },\n toolbox: {\n show: false,\n orient: 'horizontal',\n left: 'left',\n top: 'top',\n feature: {\n // mark: { show: true },\n magicType: {\n show: true,\n type: ['stack']\n },\n saveAsImage: {\n show: true\n }\n }\n },\n xAxis: {\n type: 'category',\n data: ['Investment', 'Return', 'Impact'],\n triggerEvents: true\n },\n yAxis: {\n axisLabel: {\n formatter: this.currencyFormatter\n }\n }\n };\n return options;\n }\n registerOnClick() {\n const handler = this.clickHandler;\n if (handler != undefined) this.chart.on('click', {\n targetType: 'axisLabel'\n }, handler);\n }\n updateChart(data) {\n this.chart.setOption({\n ...this.chartOptions,\n ...this.datasetToSeries(data)\n }, true);\n }\n datasetToSeries(source) {\n let series = source.slice(1);\n const options = {\n series: []\n };\n if (source.length == 0) return options;\n const name_index = source[0].indexOf('title');\n const stack_index = source[0].indexOf('source');\n const bon_investment_index = source[0].indexOf('bon_investment');\n const bon_returns_index = source[0].indexOf('bon_returns');\n const bon_value_index = source[0].indexOf('bon_value');\n const id_index = source[0].indexOf('id');\n series.forEach(serie => {\n if (!serie[stack_index]) return;\n if (!serie[bon_investment_index] && !serie[bon_returns_index] && !serie[bon_value_index]) return;\n options.series.push({\n type: 'bar',\n name: serie[name_index],\n stack: 'single',\n //serie[stack_index],\n data: [serie[bon_investment_index], serie[bon_returns_index], serie[bon_value_index]],\n id: serie[id_index]\n });\n });\n return options;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/capacity-chart\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\"], function (_exports, _emberModifier, _destroyable, echarts, _echarts_theme, _charts, _components, _features, _renderers, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor; // Import the echarts core module, which provides the necessary interfaces for using echarts.\n // Import bar charts, all suffixed with Chart\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n // Features like Universal Transition and Label Layout\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Register the required components\n echarts.use([_charts.BarChart, _charts.LineChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let CapacityChartModifier = _exports.default = (_class = class CapacityChartModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n modify(element, [series], options) {\n this.options = options;\n if (this.chart == undefined) {\n this.setupChart(element);\n this.registerOnClick();\n }\n if (series != undefined) {\n this.updateChart(series, options);\n }\n }\n async setupChart(element) {\n this.chart = echarts.init(element, null, {\n height: 400\n });\n const titleOptions = this.titleOptions;\n const tooltipOptions = this.tooltipOptions;\n const options = {\n ...titleOptions,\n ...tooltipOptions,\n ...this.chartOptions,\n yAxis: {}\n };\n\n // Display the chart using the configuration items and data just specified.\n this.chart.setOption(options);\n }\n get clickHandler() {\n const {\n onClick\n } = this.options;\n return onClick;\n }\n registerOnClick() {\n const handler = this.clickHandler;\n if (handler != undefined) this.chart.on('click', {\n targetType: 'axisLabel'\n }, handler);\n }\n get titleOptions() {\n const {\n title,\n subtitle\n } = this.options;\n let titleOptions = {};\n if (title != undefined || subtitle != undefined) {\n titleOptions = {\n title: {\n text: title,\n subtext: subtitle ?? ''\n }\n };\n }\n return titleOptions;\n }\n get tooltipOptions() {\n let context = this;\n return {\n tooltip: {\n trigger: 'axis',\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderColor: '#ccc',\n borderWidth: 1,\n padding: 15,\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12,\n color: '#333'\n },\n extraCssText: 'box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); border-radius: 8px;',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: 'rgba(0, 0, 0, 0.05)'\n }\n },\n formatter: function (params) {\n // For the new percentage-based visualization\n if (params[0].data && typeof params[0].data === 'object' && params[0].data.percentage !== undefined) {\n const data = params[0].data;\n const week = params[0].axisValueLabel;\n const percentage = Math.round(data.raw_percentage);\n const totalWorkload = data.total_workload;\n const initiativeCapacity = data.initiative_capacity;\n const totalCapacity = data.total_capacity;\n const initiativePercentage = initiativeCapacity / totalCapacity * 100;\n\n // Determine status color and text\n let statusColor, statusText;\n if (percentage > 100) {\n statusColor = '#FF4136';\n statusText = 'Exceeding Total Capacity';\n } else if (percentage > initiativePercentage) {\n statusColor = '#FF851B';\n statusText = 'Using Flexible Capacity';\n } else {\n statusColor = '#2ECC40';\n statusText = 'Within Plannable Time';\n }\n let output = `

    Week: ${week}

    `;\n output += `

    Workload: ${percentage}%

    `;\n output += `

    Status: ${statusText}

    `;\n\n // Capacity breakdown\n output += '

    Capacity Breakdown

    ';\n output += '';\n\n // Plannable time (initiative capacity)\n const plannableUsage = Math.min(totalWorkload, initiativeCapacity);\n const plannablePercentage = initiativeCapacity > 0 ? Math.round(plannableUsage / initiativeCapacity * 100) : 0;\n output += `\n \n \n \n `;\n\n // Flexible capacity\n const flexibleCapacity = totalCapacity - initiativeCapacity;\n const flexibleUsage = Math.max(0, Math.min(totalWorkload - initiativeCapacity, flexibleCapacity));\n const flexiblePercentage = flexibleCapacity > 0 ? Math.round(flexibleUsage / flexibleCapacity * 100) : 0;\n output += `\n \n \n \n `;\n\n // Show overflow if exceeding capacity\n let overflow = Math.max(0, totalWorkload - totalCapacity);\n if (overflow > 0) {\n output += `\n \n \n \n `;\n }\n output += `\n \n \n \n `;\n output += '
    Plannable time${Math.round(initiativeCapacity * 100) / 100} pw= 100 ? '#FF851B' : '#2ECC40'}\">\n (${plannablePercentage}% used)\n
    Flexible${Math.round(flexibleCapacity * 100) / 100} pw 0 ? '#FF851B' : '#2ECC40'}\">\n (${flexiblePercentage}% used)\n
    Exceeding Capacity${Math.round(overflow * 100) / 100} pw\n (${Math.round(overflow / totalCapacity * 100)}% over)\n
    Total Capacity${Math.round(totalCapacity * 100) / 100} pw
    ';\n\n // Add note about unspecified sources\n output += '

    Note: Workload includes all initiatives, including those without a specified source.

    ';\n return output;\n }\n\n // Fallback to original tooltip for backward compatibility\n var output = `

    Week: ${params[0].axisValueLabel}

    `;\n output += '

    Investment Plan

    ';\n output += '';\n params.reverse().forEach(function (param) {\n if (param.data != undefined) {\n const value = Math.round(param.data * 100) / 100;\n if (param.seriesType == 'line' && value !== undefined) {\n output += `\n \n \n \n `;\n }\n }\n });\n output += '
    ${param.marker}${param.seriesName}${value} pw
    ';\n output += `

    ${context.intl.t('_initiatives.title', {\n num: 2\n })}

    `;\n output += '';\n params.reverse().forEach(function (param) {\n if (param.data != undefined) {\n const value = Math.round(param.data * 100) / 100;\n if (param.seriesType != 'line' && value !== undefined) {\n output += `\n \n \n \n `;\n }\n }\n });\n return output + '
    ${param.marker}${param.seriesName}${value} pw
    ';\n }\n }\n };\n }\n updateChart(series) {\n this.chart.setOption({\n series: series,\n ...this.chartOptions\n }, {\n replaceMerge: ['series']\n });\n }\n get chartOptions() {\n const chartOptions = {\n backgroundColor: 'rgba(255, 255, 255, 0.6)',\n animation: true,\n animationDuration: 800,\n animationEasing: 'elasticOut',\n grid: {\n left: '2%',\n right: '5%',\n bottom: '8%',\n top: '8%',\n containLabel: true\n },\n legend: {\n show: true,\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12\n },\n selectedMode: false\n },\n yAxis: {\n type: 'value',\n min: 0,\n max: function (value) {\n // Dynamically adjust max value to make highly overallocated weeks still visible\n return Math.max(value.max * 1.1, 120); // At least show 120% for context\n },\n name: 'Workload %',\n nameLocation: 'middle',\n nameGap: 30,\n nameTextStyle: {\n fontFamily: 'Arial',\n fontSize: 13,\n fontWeight: 'bold'\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: '#ccc'\n }\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: 'rgba(220, 220, 220, 0.5)',\n width: 1,\n type: 'dashed'\n }\n },\n axisLabel: {\n fontFamily: 'Arial',\n fontSize: 11,\n formatter: '{value}%'\n }\n },\n xAxis: {\n type: 'category',\n data: this.options.weeks,\n min: this.options.from,\n max: this.options.to,\n axisLine: {\n lineStyle: {\n color: '#ccc'\n }\n },\n axisLabel: {\n fontFamily: 'Arial',\n fontSize: 11,\n color: '#555',\n formatter: value => {\n const label = value.toString().slice(-2);\n if (value == this.options.weekToMark) {\n return `**${label}**\\nnow`;\n } else {\n return label;\n }\n }\n },\n splitLine: {\n show: false\n }\n }\n };\n return chartOptions;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/capacity/roles\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"moment\", \"echarts/core\", \"scaleflow/config/echarts_theme\", \"echarts/charts\", \"echarts/components\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\", \"scaleflow/utils/colors\"], function (_exports, _emberModifier, _destroyable, _moment, echarts, _echarts_theme, _charts, _components, _features, _renderers, _service, _colors) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2; // Import the echarts core module, which provides the necessary interfaces for using echarts.\n // Import bar charts, all suffixed with Chart\n // Import the tooltip, title, rectangular coordinate system, dataset and transform components\n // Features like Universal Transition and Label Layout\n // Import the Canvas renderer\n // Note that including the CanvasRenderer or SVGRenderer is a required step\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"moment\",0,\"echarts/core\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/charts\",0,\"echarts/charts\",0,\"echarts/components\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"scaleflow/utils/colors\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Register the required components\n echarts.use([_charts.BarChart, _charts.LineChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let CapacityRolesModifier = _exports.default = (_class = class CapacityRolesModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _defineProperty(this, \"plannedInitiativesLabel\", 'Plannable time');\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n async modify(element, [roadmap, initiatives, scenario], options) {\n if (this.initiatives == initiatives && this.roadmap == roadmap && this.scenario == scenario) return;\n this.initiatives = await initiatives;\n this.roadmap = await roadmap;\n this.scenario = await scenario;\n this.options = options;\n const promises = [];\n this.initiatives?.forEach(initiative => {\n promises.push(this.store.findRecord('bon', initiative.id));\n });\n await Promise.allSettled(promises);\n this.setupChart(element).then(() => this.updateChart());\n }\n async setupChart(element) {\n if (this.chart != undefined) return;\n this.chart = echarts.init(element, 'producthub', {\n height: this.options.height ?? 512\n });\n }\n updateChart() {\n const options = {\n ...this.chartOptions,\n series: this.series,\n dataset: this.dataset\n };\n this.chart.setOption(options);\n }\n calculate_default_height() {\n return 150 + this.options.roles.length * 50;\n }\n calculate_default_width() {\n return 150 + this.options.roles.length * 50;\n }\n get chartOptions() {\n let context = this;\n const options = {\n tooltip: {\n trigger: 'axis',\n position: function (point, params, dom, rect, size) {\n // Position tooltip to the right of cursor\n return [point[0] + 20, point[1] - size.contentSize[1] / 2];\n },\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderColor: '#ccc',\n borderWidth: 1,\n padding: 15,\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12,\n color: '#333'\n },\n extraCssText: 'box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); border-radius: 8px;',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: 'rgba(0, 0, 0, 0.05)'\n }\n },\n formatter: function (params) {\n const data = params[0].data;\n const roleName = params[0].axisValueLabel;\n const percentage = data.percentage;\n const workDetails = data.work_details;\n const capacityDetails = data.capacity_details;\n let output = `

    Role: ${roleName}

    `;\n\n // Status based on thresholds\n let statusColor, statusText;\n if (!capacityDetails) {\n statusColor = 'gray';\n statusText = 'Unknown';\n } else {\n const totalWork = data.total_work;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n if (totalWork > totalCapacity) {\n statusColor = '#FF4136';\n statusText = 'Exceeding Total Capacity';\n } else if (totalWork > initiativeCapacity) {\n statusColor = '#FF851B';\n statusText = 'Using Flexible Capacity';\n } else {\n statusColor = '#2ECC40';\n statusText = 'Within Capacity';\n }\n }\n output += `

    Workload: ${percentage}%

    `;\n output += `

    Status: ${statusText}

    `;\n\n // Add breakdown details\n if (workDetails && workDetails.initiatives) {\n // Sort initiatives by workload descending\n const sortedInitiatives = workDetails.initiatives.sort((a, b) => b.workload - a.workload);\n output += '

    Business Cases

    ';\n output += '';\n sortedInitiatives.forEach(initiative => {\n output += context._addWorkloadRow(initiative.name, initiative.workload);\n });\n output += `\n \n \n \n `;\n //output += context._addWorkloadRow('Planned Work', data.total_work);\n output += '
    Planned Work${Math.round(data.total_work, 1)} pw
    ';\n }\n\n // Add capacity information with thresholds\n if (capacityDetails) {\n output += '

    Capacity Thresholds

    ';\n output += '';\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const flowCapacity = parseFloat(capacityDetails.flow_capacity);\n const totalCapacity = data.total_capacity;\n const totalWork = data.total_work;\n\n // Initiative capacity with total work percentage\n let totalWorkPercentage = initiativeCapacity > 0 ? Math.round(totalWork / initiativeCapacity * 100) : 0;\n output += `\n \n \n \n `;\n\n // Flow capacity without percentage\n output += `\n \n \n \n `;\n\n // Overflow indicator if exceeding total capacity\n let overflow = Math.max(0, totalWork - totalCapacity);\n if (overflow > 0) {\n output += `\n \n \n \n `;\n }\n output += `\n \n \n \n `;\n output += '
    ${context.plannedInitiativesLabel}${Math.round(initiativeCapacity * 100) / 100} pw 100 ? '#FF4136' : '#2ECC40'}\">\n (${totalWorkPercentage}%)\n
    Flexible${Math.round(flowCapacity * 100) / 100} pw
    Exceeding Capacity${Math.round(overflow * 100) / 100} pw\n (${Math.round(overflow / totalCapacity * 100)}% over)\n
    Total Capacity${Math.round(totalCapacity * 100) / 100} pw
    ';\n }\n return output;\n }\n },\n backgroundColor: 'rgba(255, 255, 255, 0.6)',\n grid: {\n left: '2%',\n right: '10%',\n bottom: '8%',\n top: '10%',\n containLabel: true\n },\n legend: {\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12\n }\n },\n yAxis: {\n type: 'value',\n name: 'Workload %',\n nameLocation: 'center',\n nameGap: 35,\n nameTextStyle: {\n fontFamily: 'Arial',\n fontSize: 13,\n fontWeight: 'bold'\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: '#ccc'\n }\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: 'rgba(220, 220, 220, 0.5)',\n width: 1,\n type: 'dashed'\n }\n },\n axisLabel: {\n fontFamily: 'Arial',\n fontSize: 11,\n formatter: '{value}%'\n },\n // Markers for capacity thresholds\n markLine: {\n silent: true,\n symbol: ['none', 'none'],\n animation: true,\n animationDuration: 800,\n data: [{\n yAxis: 100,\n lineStyle: {\n color: 'rgba(255, 99, 71, 0.6)',\n width: 2,\n type: 'solid',\n shadowBlur: 4,\n shadowColor: 'rgba(255, 99, 71, 0.3)'\n },\n label: {\n formatter: '100% (Full Capacity)',\n position: 'end',\n fontSize: 12,\n fontFamily: 'Arial',\n padding: [4, 8],\n backgroundColor: 'rgba(255, 255, 255, 0.7)',\n borderRadius: 3,\n shadowColor: 'rgba(0, 0, 0, 0.2)',\n shadowBlur: 2\n }\n }]\n }\n },\n xAxis: {\n type: 'category',\n axisLabel: {\n rotate: 45,\n fontFamily: 'Arial',\n fontSize: 11,\n color: '#555',\n margin: 14\n },\n axisLine: {\n lineStyle: {\n color: '#ccc'\n }\n }\n },\n animation: true,\n animationDuration: 800,\n animationEasing: 'elasticOut'\n };\n if (this.options.formatter) {\n options.tooltip.formatter = this.options.formatter;\n }\n return options;\n }\n\n // Helper method for tooltip rows\n _addWorkloadRow(label, value) {\n return `\n ${label}\n ${Math.round(value * 100) / 100} pw\n `;\n }\n get series() {\n const barSeries = {\n type: 'bar',\n id: 'workload',\n encode: {\n x: 'role',\n y: 'percentage'\n },\n barWidth: '50%',\n // Make bars more substantial\n barCategoryGap: '20%',\n // More space between bars for cleaner look\n itemStyle: {\n color: params => {\n const data = params.data;\n const totalWork = data.total_work;\n const capacityDetails = data.capacity_details;\n if (!capacityDetails) return _colors.default.vision;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n\n // Nicer gradient colors based on capacity thresholds\n if (totalWork > totalCapacity) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FF6259'\n },\n // lighter red\n {\n offset: 1,\n color: '#E02A1F'\n } // darker red\n ]\n };\n } else if (totalWork > initiativeCapacity) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FFA53F'\n },\n // lighter orange\n {\n offset: 1,\n color: '#FF7D00'\n } // darker orange\n ]\n };\n } else {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#5BEF6A'\n },\n // lighter green\n {\n offset: 1,\n color: '#28B637'\n } // darker green\n ]\n };\n }\n },\n borderRadius: [5, 5, 0, 0],\n // Rounded corners at the top\n shadowColor: 'rgba(0, 0, 0, 0.2)',\n shadowBlur: 5\n },\n label: {\n show: true,\n position: 'top',\n distance: 10,\n formatter: function (params) {\n const data = params.data;\n const totalWork = data.total_work;\n const capacityDetails = data.capacity_details;\n const labelText = data.percentage + '%';\n if (!capacityDetails) return labelText;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n\n // Match label style to the bar color logic\n if (totalWork > totalCapacity) {\n return '{overCapacity|' + labelText + '}';\n } else if (totalWork > initiativeCapacity) {\n return '{flowCapacity|' + labelText + '}';\n } else {\n return '{initiativeCapacity|' + labelText + '}';\n }\n },\n rich: {\n overCapacity: {\n color: '#E02A1F',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(224, 42, 31, 0.3)',\n shadowBlur: 5\n },\n flowCapacity: {\n color: '#FF7D00',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(255, 125, 0, 0.3)',\n shadowBlur: 5\n },\n initiativeCapacity: {\n color: '#28B637',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(40, 182, 55, 0.3)',\n shadowBlur: 5\n }\n }\n },\n markPoint: {\n symbol: 'roundRect',\n symbolSize: [50, 4],\n itemStyle: {\n color: 'rgba(255, 255, 255, 0.85)',\n borderColor: 'rgba(0, 0, 0, 0.3)',\n borderWidth: 1,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowBlur: 3\n },\n data: this._getInitiativeCapacityMarkers(),\n silent: true,\n // Don't trigger events on markers\n animation: true,\n animationDuration: 600\n }\n };\n return [barSeries];\n }\n\n // Helper to create initiative capacity markers for each role\n _getInitiativeCapacityMarkers() {\n const markers = [];\n const data = this.dataset[0].source;\n data.forEach(item => {\n if (!item.capacity_details) return;\n const initiativeCapacity = parseFloat(item.capacity_details.initiative_capacity);\n const totalCapacity = item.total_capacity;\n if (totalCapacity > 0) {\n const initiativePercentage = Math.min(100, initiativeCapacity / totalCapacity * 100);\n\n // Only add threshold if it's visible (above 0% and below 100%)\n if (initiativePercentage > 0 && initiativePercentage < 100) {\n markers.push({\n name: 'Business Case Capacity',\n coord: [item.role, initiativePercentage],\n value: initiativePercentage,\n itemStyle: {\n color: '#000'\n },\n label: {\n show: false\n }\n });\n }\n }\n });\n return markers;\n }\n get source_buckets_and_uncertainty() {\n let roles_cache;\n if (roles_cache == undefined) {\n roles_cache = {};\n for (let index = 0; index < this.initiatives.length; index++) {\n const initiative = this.initiatives[index];\n const bon = initiative.bon;\n const investments = bon?.get('investments');\n const calculations = investments?.calculations ?? [];\n\n // Calculate time overlap factor for this initiative\n const overlapFactor = this.calculateTimeOverlap(initiative, this.roadmap);\n calculations.forEach(calculation => {\n let role;\n switch (calculation.type) {\n case 'person-weeks':\n case 'investment':\n role = 'unspecified';\n break;\n default:\n role = calculation.role_id;\n break;\n }\n if (role == undefined) role = 'unspecified';\n if (roles_cache[role] == undefined) {\n roles_cache[role] = {\n VISION: 0,\n 'CUSTOMER REQUEST CURRENT': 0,\n 'OPERATIONS AND MAINTENANCE': 0,\n UNSPECIFIED: 0,\n UNCERTAINTY: 0,\n initiatives: []\n };\n }\n\n // Handle undefined or null source\n const source = initiative.source || 'UNSPECIFIED';\n const calculatedWorkload = (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * overlapFactor;\n roles_cache[role][source] += calculatedWorkload;\n roles_cache[role]['UNCERTAINTY'] += (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * (calculation.confidence_value - 1) * overlapFactor;\n\n // Track individual initiative for this role\n const existingInitiative = roles_cache[role].initiatives.find(init => init.id === initiative.id);\n if (existingInitiative) {\n existingInitiative.workload += calculatedWorkload;\n } else {\n roles_cache[role].initiatives.push({\n id: initiative.id,\n name: initiative.title,\n workload: calculatedWorkload,\n source: source\n });\n }\n });\n }\n }\n const source = [];\n for (let [role_id, values] of Object.entries(roles_cache)) {\n const role = this.roles.find(e => e.id == role_id);\n const name = role?.name ?? 'Unspecified';\n const source_object = {\n role: name,\n vision: values['VISION'],\n customer: values['CUSTOMER REQUEST CURRENT'],\n operations: values['OPERATIONS AND MAINTENANCE'],\n unspecified: values['UNSPECIFIED'],\n uncertainty: values['UNCERTAINTY'],\n initiatives: values['initiatives'] || []\n };\n if (name == 'Unspecified') {\n source.unshift(source_object);\n } else {\n source.push(source_object);\n }\n }\n return source;\n }\n get source_initiatives_vs_flow() {\n const role_capacity = [];\n this.roles.forEach(role => {\n const number_of_people = role.ftes ?? role.people.length;\n role_capacity.push({\n role: role.name,\n initiative_capacity: (number_of_people * this.percentage_initiatives * this.weeks)?.toFixed?.(1),\n flow_capacity: (number_of_people * this.percentage_flow * this.weeks)?.toFixed?.(1)\n });\n });\n return role_capacity;\n }\n get dataset() {\n // Calculate workload percentages per role\n const percentageSource = this.roles.map(role => {\n const roleName = role.name;\n const roleWork = this.source_buckets_and_uncertainty.find(d => d.role === roleName);\n const roleCapacity = this.source_initiatives_vs_flow.find(d => d.role === roleName);\n\n // Calculate total workload (including unspecified and uncertainty)\n const totalWork = roleWork ? roleWork.vision + roleWork.customer + roleWork.operations + roleWork.unspecified + roleWork.uncertainty : 0;\n\n // Calculate total capacity\n const totalCapacity = roleCapacity ? parseFloat(roleCapacity.initiative_capacity) + parseFloat(roleCapacity.flow_capacity) : 0;\n\n // Calculate percentage (handle division by zero)\n const percentage = totalCapacity > 0 ? totalWork / totalCapacity * 100 : 0;\n return {\n role: roleName,\n percentage: percentage.toFixed(1),\n raw_percentage: percentage,\n // For coloring logic\n // Keep the original data for tooltips\n total_work: totalWork,\n total_capacity: totalCapacity,\n work_details: roleWork,\n capacity_details: roleCapacity\n };\n }).filter(item => item.raw_percentage > 0); // Only show roles with work\n\n return [{\n dimensions: [{\n name: 'role',\n displayName: 'Role'\n }, {\n name: 'percentage',\n displayName: 'Workload %'\n }],\n source: percentageSource\n }];\n }\n\n /*\n * ACCESSOR METHODS\n */\n\n get roles() {\n return this.options.roles ?? [];\n }\n get percentage_initiatives() {\n return this.scenario?.allocation.initiatives.percent / 100;\n }\n get percentage_flow() {\n return this.scenario?.allocation.operational_flex.percent / 100;\n }\n get pw_initiatives() {\n return this.scenario?.get('pw_initiatives') / this.scenario?.get('weeks') * this.roadmap?.get('weeks');\n }\n get pw_flow() {\n return this.scenario?.get('pw_flow') / this.scenario?.get('weeks') * this.roadmap?.get('weeks');\n }\n get weeks() {\n return this.roadmap?.weeks ?? 0;\n }\n calculateTimeOverlap(initiative, roadmap) {\n // Handle missing data\n if (!initiative || !roadmap || !initiative.starting_week || !initiative.duration) {\n return 1; // Default to full inclusion if data is missing\n }\n\n // Get initiative date range\n const initiativeStart = initiative.startingDateObject;\n const initiativeDurationWeeks = parseInt(initiative.duration, 10);\n if (!initiativeStart || initiativeStart === '-' || isNaN(initiativeDurationWeeks)) {\n return 1; // Default to full inclusion if dates can't be parsed\n }\n const initiativeEnd = (0, _moment.default)(initiativeStart).add(initiativeDurationWeeks, 'weeks').toDate();\n\n // Get roadmap date range\n const roadmapStart = new Date(roadmap.start_date);\n const roadmapEnd = new Date(roadmap.end_date);\n\n // Calculate overlap\n const overlapStart = new Date(Math.max(initiativeStart.getTime(), roadmapStart.getTime()));\n const overlapEnd = new Date(Math.min(initiativeEnd.getTime(), roadmapEnd.getTime()));\n\n // No overlap if start is after end\n if (overlapStart >= overlapEnd) {\n return 0;\n }\n\n // Calculate overlap duration in milliseconds\n const overlapDuration = overlapEnd.getTime() - overlapStart.getTime();\n const initiativeDuration = initiativeEnd.getTime() - initiativeStart.getTime();\n\n // Return ratio of overlap to total initiative duration\n const overlapRatio = overlapDuration / initiativeDuration;\n\n // Clamp between 0 and 1\n return Math.max(0, Math.min(1, overlapRatio));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/capacity/teams\", [\"exports\", \"ember-modifier\", \"scaleflow/utils/colors\", \"@ember/destroyable\", \"moment\", \"scaleflow/config/echarts_theme\", \"echarts/core\", \"echarts/components\", \"echarts/charts\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\"], function (_exports, _emberModifier, _colors, _destroyable, _moment, _echarts_theme, echarts, _components, _charts, _features, _renderers, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2; // Import bar charts, all suffixed with Chart\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"scaleflow/utils/colors\",0,\"@ember/destroyable\",0,\"moment\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/core\",0,\"echarts/components\",0,\"echarts/charts\",0,\"echarts/charts\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Register the required components\n echarts.use([_charts.BarChart, _charts.LineChart, _components.TitleComponent, _components.TooltipComponent, _components.GridComponent, _components.DatasetComponent, _components.TransformComponent, _features.LabelLayout, _features.UniversalTransition, _renderers.CanvasRenderer, _components.LegendComponent]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let CapacityTeamsModifier = _exports.default = (_class = class CapacityTeamsModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _defineProperty(this, \"plannedInitiativesLabel\", 'Plannable time');\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n async modify(element, [roadmap, initiatives, scenario], options) {\n this.initiatives = await initiatives;\n this.roadmap = await roadmap;\n this.scenario = await scenario;\n this.options = options;\n const promises = [];\n this.initiatives?.forEach(initiative => {\n promises.push(this.store.findRecord('bon', initiative.id));\n // promises.push(initiative.belongsTo('bon').load());\n promises.push(initiative.hasMany('teams').load());\n });\n await Promise.allSettled(promises);\n this.setupChart(element).then(() => this.updateChart());\n }\n async setupChart(element) {\n if (this.chart != undefined) return;\n this.chart = echarts.init(element, 'producthub', {\n height: this.options.height ?? 512\n });\n }\n updateChart() {\n const options = {\n ...this.chartOptions,\n series: this.series,\n dataset: this.dataset\n };\n this.chart.setOption(options, {\n notMerge: true\n });\n }\n calculate_default_height() {\n return 150 + this.options.teams.length * 50;\n }\n get chartOptions() {\n let context = this;\n const options = {\n tooltip: {\n trigger: 'axis',\n position: function (point, params, dom, rect, size) {\n // Position tooltip to the right of cursor\n return [point[0] + 20, point[1] - size.contentSize[1] / 2];\n },\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderColor: '#ccc',\n borderWidth: 1,\n padding: 15,\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12,\n color: '#333'\n },\n extraCssText: 'box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); border-radius: 8px;',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: 'rgba(0, 0, 0, 0.05)'\n }\n },\n formatter: function (params) {\n const data = params[0].data;\n const teamName = params[0].axisValueLabel;\n const percentage = data.percentage;\n const workDetails = data.work_details;\n const capacityDetails = data.capacity_details;\n let output = `

    Team: ${teamName}

    `;\n\n // Status based on thresholds\n let statusColor, statusText;\n if (!capacityDetails) {\n statusColor = 'gray';\n statusText = 'Unknown';\n } else {\n const totalWork = data.total_work;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n if (totalWork > totalCapacity) {\n statusColor = '#FF4136';\n statusText = 'Exceeding Total Capacity';\n } else if (totalWork > initiativeCapacity) {\n statusColor = '#FF851B';\n statusText = 'Using Flexible Capacity';\n } else {\n statusColor = '#2ECC40';\n statusText = 'Within Capacity';\n }\n }\n output += `

    Workload: ${percentage}%

    `;\n output += `

    Status: ${statusText}

    `;\n\n // Add breakdown details\n if (workDetails && workDetails.initiatives) {\n // Sort initiatives by workload descending\n const sortedInitiatives = workDetails.initiatives.sort((a, b) => b.workload - a.workload);\n output += '

    Business Cases

    ';\n output += '';\n sortedInitiatives.forEach(initiative => {\n output += context._addWorkloadRow(initiative.name, initiative.workload);\n });\n output += `\n \n \n \n `;\n //output += context._addWorkloadRow('Planned Work', data.total_work);\n output += '
    Planned Work${Math.round(data.total_work, 1)} pw
    ';\n }\n\n // Add capacity information with thresholds\n if (capacityDetails) {\n output += '

    Capacity Thresholds

    ';\n output += '';\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const flowCapacity = parseFloat(capacityDetails.flow_capacity);\n const totalCapacity = data.total_capacity;\n const totalWork = data.total_work;\n\n // Initiative capacity with total work percentage\n let totalWorkPercentage = initiativeCapacity > 0 ? Math.round(totalWork / initiativeCapacity * 100) : 0;\n output += `\n \n \n \n `;\n\n // Flow capacity without percentage\n output += `\n \n \n \n `;\n\n // Overflow indicator if exceeding total capacity\n let overflow = Math.max(0, totalWork - totalCapacity);\n if (overflow > 0) {\n output += `\n \n \n \n `;\n }\n output += `\n \n \n \n `;\n output += '
    ${context.plannedInitiativesLabel}${Math.round(initiativeCapacity * 100) / 100} pw 100 ? '#FF4136' : '#2ECC40'}\">\n (${totalWorkPercentage}%)\n
    Flexible${Math.round(flowCapacity * 100) / 100} pw
    Exceeding Capacity${Math.round(overflow * 100) / 100} pw\n (${Math.round(overflow / totalCapacity * 100)}% over)\n
    Total Capacity${Math.round(totalCapacity * 100) / 100} pw
    ';\n }\n return output;\n }\n },\n backgroundColor: 'rgba(255, 255, 255, 0.6)',\n grid: {\n left: '2%',\n right: '10%',\n bottom: '8%',\n top: '10%',\n containLabel: true\n },\n legend: {\n textStyle: {\n fontFamily: 'Arial',\n fontSize: 12\n }\n },\n yAxis: {\n type: 'value',\n name: 'Workload %',\n nameLocation: 'center',\n nameGap: 35,\n nameTextStyle: {\n fontFamily: 'Arial',\n fontSize: 13,\n fontWeight: 'bold'\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: '#ccc'\n }\n },\n splitLine: {\n show: true,\n lineStyle: {\n color: 'rgba(220, 220, 220, 0.5)',\n width: 1,\n type: 'dashed'\n }\n },\n axisLabel: {\n fontFamily: 'Arial',\n fontSize: 11,\n formatter: '{value}%'\n },\n // Markers for capacity thresholds\n markLine: {\n silent: true,\n symbol: ['none', 'none'],\n animation: true,\n animationDuration: 800,\n data: [{\n yAxis: 100,\n lineStyle: {\n color: 'rgba(255, 99, 71, 0.6)',\n width: 2,\n type: 'solid',\n shadowBlur: 4,\n shadowColor: 'rgba(255, 99, 71, 0.3)'\n },\n label: {\n formatter: '100% (Full Capacity)',\n position: 'end',\n fontSize: 12,\n fontFamily: 'Arial',\n padding: [4, 8],\n backgroundColor: 'rgba(255, 255, 255, 0.7)',\n borderRadius: 3,\n shadowColor: 'rgba(0, 0, 0, 0.2)',\n shadowBlur: 2\n }\n }]\n }\n },\n xAxis: {\n type: 'category',\n axisLabel: {\n rotate: 45,\n fontFamily: 'Arial',\n fontSize: 11,\n color: '#555',\n margin: 14\n },\n axisLine: {\n lineStyle: {\n color: '#ccc'\n }\n }\n },\n animation: true,\n animationDuration: 800,\n animationEasing: 'elasticOut'\n };\n if (this.options.formatter) {\n options.tooltip.formatter = this.options.formatter;\n }\n return options;\n }\n\n // Helper method for tooltip rows\n _addWorkloadRow(label, value) {\n return `\n ${label}\n ${Math.round(value * 100) / 100} pw\n `;\n }\n get series() {\n const barSeries = {\n type: 'bar',\n id: 'workload',\n encode: {\n x: 'team',\n y: 'percentage'\n },\n barWidth: '50%',\n // Make bars more substantial\n barCategoryGap: '20%',\n // More space between bars for cleaner look\n itemStyle: {\n color: params => {\n const data = params.data;\n const totalWork = data.total_work;\n const capacityDetails = data.capacity_details;\n if (!capacityDetails) return _colors.default.vision;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n\n // Nicer gradient colors based on capacity thresholds\n if (totalWork > totalCapacity) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FF6259'\n },\n // lighter red\n {\n offset: 1,\n color: '#E02A1F'\n } // darker red\n ]\n };\n } else if (totalWork > initiativeCapacity) {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#FFA53F'\n },\n // lighter orange\n {\n offset: 1,\n color: '#FF7D00'\n } // darker orange\n ]\n };\n } else {\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: '#5BEF6A'\n },\n // lighter green\n {\n offset: 1,\n color: '#28B637'\n } // darker green\n ]\n };\n }\n },\n borderRadius: [5, 5, 0, 0],\n // Rounded corners at the top\n shadowColor: 'rgba(0, 0, 0, 0.2)',\n shadowBlur: 5\n },\n label: {\n show: true,\n position: 'top',\n distance: 10,\n formatter: function (params) {\n const data = params.data;\n const totalWork = data.total_work;\n const capacityDetails = data.capacity_details;\n const labelText = data.percentage + '%';\n if (!capacityDetails) return labelText;\n const initiativeCapacity = parseFloat(capacityDetails.initiative_capacity);\n const totalCapacity = data.total_capacity;\n\n // Match label style to the bar color logic\n if (totalWork > totalCapacity) {\n return '{overCapacity|' + labelText + '}';\n } else if (totalWork > initiativeCapacity) {\n return '{flowCapacity|' + labelText + '}';\n } else {\n return '{initiativeCapacity|' + labelText + '}';\n }\n },\n rich: {\n overCapacity: {\n color: '#E02A1F',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(224, 42, 31, 0.3)',\n shadowBlur: 5\n },\n flowCapacity: {\n color: '#FF7D00',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(255, 125, 0, 0.3)',\n shadowBlur: 5\n },\n initiativeCapacity: {\n color: '#28B637',\n fontWeight: 'bold',\n fontFamily: 'Arial',\n fontSize: 14,\n padding: [2, 7],\n borderRadius: 4,\n backgroundColor: 'rgba(255, 255, 255, 0.8)',\n shadowColor: 'rgba(40, 182, 55, 0.3)',\n shadowBlur: 5\n }\n }\n },\n markPoint: {\n symbol: 'roundRect',\n symbolSize: [50, 4],\n itemStyle: {\n color: 'rgba(255, 255, 255, 0.85)',\n borderColor: 'rgba(0, 0, 0, 0.3)',\n borderWidth: 1,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowBlur: 3\n },\n data: this._getInitiativeCapacityMarkers(),\n silent: true,\n // Don't trigger events on markers\n animation: true,\n animationDuration: 600\n }\n };\n return [barSeries];\n }\n\n // Helper to create initiative capacity markers for each team\n _getInitiativeCapacityMarkers() {\n const markers = [];\n const data = this.dataset[0].source;\n data.forEach(team => {\n if (!team.capacity_details) return;\n const initiativeCapacity = parseFloat(team.capacity_details.initiative_capacity);\n const totalCapacity = team.total_capacity;\n if (totalCapacity > 0) {\n const initiativePercentage = Math.min(100, initiativeCapacity / totalCapacity * 100);\n\n // Only add threshold if it's visible (above 0% and below 100%)\n if (initiativePercentage > 0 && initiativePercentage < 100) {\n markers.push({\n name: 'Business Case Capacity',\n coord: [team.team, initiativePercentage],\n value: initiativePercentage,\n itemStyle: {\n color: '#000'\n },\n label: {\n show: false\n }\n });\n }\n }\n });\n return markers;\n }\n get source_buckets_and_uncertainty() {\n let teams_cache = {};\n for (let index = 0; index < this.initiatives?.length; index++) {\n const initiative_id = this.initiatives[index].id;\n const initiative = this.store.peekRecord('initiative', initiative_id);\n let number_of_teams = 1;\n const bon = this.store.peekRecord('bon', initiative_id);\n const investments = bon?.get('investments');\n if (investments == undefined) continue;\n const team_ids_on_bon = investments.calculations.map(c => c.team_id).filter(v => v !== undefined);\n const unique_team_ids_on_bon = new Set(team_ids_on_bon);\n number_of_teams = unique_team_ids_on_bon.size;\n number_of_teams = number_of_teams > 0 ? number_of_teams : 1;\n\n // Calculate time overlap factor for this initiative\n const overlapFactor = this.calculateTimeOverlap(initiative, this.roadmap);\n unique_team_ids_on_bon.forEach(team_id => {\n investments?.calculations?.forEach(calculation => {\n if (teams_cache[team_id] == undefined) {\n teams_cache[team_id] = {\n VISION: 0,\n 'CUSTOMER REQUEST CURRENT': 0,\n 'OPERATIONS AND MAINTENANCE': 0,\n UNSPECIFIED: 0,\n UNCERTAINTY: 0,\n initiatives: []\n };\n }\n if (calculation.team_id == team_id) {\n // Handle undefined or null source\n const source = initiative.source || 'UNSPECIFIED';\n const calculatedWorkload = (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * overlapFactor;\n teams_cache[team_id][source] += calculatedWorkload;\n teams_cache[team_id]['UNCERTAINTY'] += (calculation.people ?? 1) * (calculation.weeks ?? 1) * (calculation.person_weeks ?? 1) * (calculation.confidence_value - 1) * overlapFactor;\n\n // Track individual initiative for this team\n const existingInitiative = teams_cache[team_id].initiatives.find(init => init.id === initiative.id);\n if (existingInitiative) {\n existingInitiative.workload += calculatedWorkload;\n } else {\n teams_cache[team_id].initiatives.push({\n id: initiative.id,\n name: initiative.title,\n workload: calculatedWorkload,\n source: source\n });\n }\n }\n });\n });\n }\n const source = [];\n for (let [team_id, values] of Object.entries(teams_cache)) {\n const team = this.teams.find(e => e.id == team_id);\n const name = team?.name ?? 'Unspecified';\n const source_object = {\n team: name,\n vision: values['VISION'],\n customer: values['CUSTOMER REQUEST CURRENT'],\n operations: values['OPERATIONS AND MAINTENANCE'],\n unspecified: values['UNSPECIFIED'],\n uncertainty: values['UNCERTAINTY'],\n initiatives: values['initiatives'] || []\n };\n if (name == 'Unspecified') {\n source.unshift(source_object);\n } else {\n source.push(source_object);\n }\n }\n return source;\n }\n get source_initiatives_vs_flow() {\n return this.teams.map(team => {\n const number_of_people = team.ftes ?? team.people.length;\n return {\n team: team.name,\n initiative_capacity: (number_of_people * this.percentage_initiatives * this.weeks)?.toFixed?.(1),\n flow_capacity: (number_of_people * this.percentage_flow * this.weeks)?.toFixed?.(1)\n };\n });\n }\n get dataset() {\n // Calculate workload percentages per team\n const percentageSource = this.teams.map(team => {\n const teamName = team.name;\n const teamWork = this.source_buckets_and_uncertainty.find(d => d.team === teamName);\n const teamCapacity = this.source_initiatives_vs_flow.find(d => d.team === teamName);\n\n // Calculate total workload (including unspecified and uncertainty)\n const totalWork = teamWork ? teamWork.vision + teamWork.customer + teamWork.operations + teamWork.unspecified + teamWork.uncertainty : 0;\n\n // Calculate total capacity\n const totalCapacity = teamCapacity ? parseFloat(teamCapacity.initiative_capacity) + parseFloat(teamCapacity.flow_capacity) : 0;\n\n // Calculate percentage (handle division by zero)\n const percentage = totalCapacity > 0 ? totalWork / totalCapacity * 100 : 0;\n return {\n team: teamName,\n percentage: percentage.toFixed(1),\n raw_percentage: percentage,\n // For coloring logic\n // Keep the original data for tooltips\n total_work: totalWork,\n total_capacity: totalCapacity,\n work_details: teamWork,\n capacity_details: teamCapacity\n };\n }).filter(item => item.raw_percentage > 0); // Only show teams with work\n\n return [{\n dimensions: [{\n name: 'team',\n displayName: 'Team'\n }, {\n name: 'percentage',\n displayName: 'Workload %'\n }],\n source: percentageSource\n }];\n }\n\n /*\n * ACCESSOR METHODS\n */\n\n get teams() {\n return this.options.teams ?? [];\n }\n get percentage_initiatives() {\n return (this.scenario?.allocation?.initiatives?.percent ?? 0) / 100;\n }\n get percentage_flow() {\n return (this.scenario?.allocation?.operational_flex?.percent ?? 0) / 100;\n }\n get weeks() {\n return this.roadmap?.weeks ?? 0;\n }\n calculateTimeOverlap(initiative, roadmap) {\n // Handle missing data\n if (!initiative || !roadmap || !initiative.starting_week || !initiative.duration) {\n return 1; // Default to full inclusion if data is missing\n }\n\n // Get initiative date range\n const initiativeStart = initiative.startingDateObject;\n const initiativeDurationWeeks = parseInt(initiative.duration, 10);\n if (!initiativeStart || initiativeStart === '-' || isNaN(initiativeDurationWeeks)) {\n return 1; // Default to full inclusion if dates can't be parsed\n }\n const initiativeEnd = (0, _moment.default)(initiativeStart).add(initiativeDurationWeeks, 'weeks').toDate();\n\n // Get roadmap date range\n const roadmapStart = new Date(roadmap.start_date);\n const roadmapEnd = new Date(roadmap.end_date);\n\n // Calculate overlap\n const overlapStart = new Date(Math.max(initiativeStart.getTime(), roadmapStart.getTime()));\n const overlapEnd = new Date(Math.min(initiativeEnd.getTime(), roadmapEnd.getTime()));\n\n // No overlap if start is after end\n if (overlapStart >= overlapEnd) {\n return 0;\n }\n\n // Calculate overlap duration in milliseconds\n const overlapDuration = overlapEnd.getTime() - overlapStart.getTime();\n const initiativeDuration = initiativeEnd.getTime() - initiativeStart.getTime();\n\n // Return ratio of overlap to total initiative duration\n const overlapRatio = overlapDuration / initiativeDuration;\n\n // Clamp between 0 and 1\n return Math.max(0, Math.min(1, overlapRatio));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/chat/scroll\", [\"exports\", \"ember-modifier\", \"ember-lifeline\"], function (_exports, _emberModifier, _emberLifeline) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"ember-lifeline\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _emberModifier.modifier)(function chatScroll(element, [setUserScrolledUp]) {\n let userIsScrolledUp = false;\n let throttleActionId = null;\n this.rawScrollHandler = () => {\n const userIsAtBottom = Math.abs(element.scrollHeight - element.scrollTop - element.clientHeight) <= 100;\n // Condition 1: User was scrolled up and now reached the bottom\n if (userIsScrolledUp && userIsAtBottom) {\n userIsScrolledUp = false;\n setUserScrolledUp(false); // Flip state and Notify component\n }\n\n // Condition 2: User was at the bottom (or not explicitly scrolled up) and now scrolled away from the bottom\n else if (!userIsScrolledUp && !userIsAtBottom) {\n userIsScrolledUp = true;\n setUserScrolledUp(true); // Flip state and Notify component\n }\n };\n const throttledScrollHandler = () => {\n throttleActionId = (0, _emberLifeline.throttleTask)(this, 'rawScrollHandler', 100, false);\n };\n element.addEventListener('scroll', throttledScrollHandler);\n\n // Initial check: After render, determine initial scroll state\n // This is crucial for when content loads and the container might not be full,\n // or if content is pre-filled and the user is not at the very bottom initially.\n (0, _emberLifeline.scheduleTask)(this, 'actions', () => {\n const isAtBottomInitially = Math.abs(element.scrollHeight - element.scrollTop - element.clientHeight) <= 1;\n if (!isAtBottomInitially) {\n // If not at bottom initially, set userScrolledUp to true\n userIsScrolledUp = true;\n setUserScrolledUp(true);\n }\n // If it is at bottom initially, isUserScrolledUp remains false (correct)\n });\n\n // Teardown: Remove event listener when the modifier is removed\n return () => {\n element.removeEventListener('scroll', throttledScrollHandler);\n if (throttleActionId) (0, _emberLifeline.cancelTask)(this, throttleActionId);\n };\n });\n});","define(\"scaleflow/modifiers/content-editable\", [\"exports\", \"ember-content-editable-modifier/modifiers/content-editable\"], function (_exports, _contentEditable) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _contentEditable.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-content-editable-modifier/modifiers/content-editable\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/did-insert\", [\"exports\", \"@ember/render-modifiers/modifiers/did-insert\"], function (_exports, _didInsert) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _didInsert.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/did-insert\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/did-update\", [\"exports\", \"@ember/render-modifiers/modifiers/did-update\"], function (_exports, _didUpdate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _didUpdate.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/did-update\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/hide-tippy-on-click\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _emberModifier.modifier)(function hideTippyOnClick(element, [tippyInstance]) {\n const hideTippy = () => {\n tippyInstance?.hide();\n };\n element.addEventListener('click', hideTippy);\n return () => {\n element.removeEventListener('click', hideTippy);\n };\n });\n});","define(\"scaleflow/modifiers/initiative/ticket-stats\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"scaleflow/config/echarts_theme\", \"echarts/core\", \"echarts/components\", \"echarts/charts\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _emberModifier, _destroyable, _echarts_theme, echarts, _components, _charts, _features, _renderers, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3; // Import the echarts core module, which provides the necessary interfaces for using echarts.\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/core\",0,\"echarts/components\",0,\"echarts/charts\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n echarts.use([_charts.SunburstChart, _components.TooltipComponent, _components.LegendComponent, _charts.PieChart, _renderers.CanvasRenderer, _features.LabelLayout]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let InitiativeTicketStatsModifier = _exports.default = (_class = class InitiativeTicketStatsModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor2, this);\n _initializerDefineProperty(this, \"workstreams\", _descriptor3, this);\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n async modify(element, [initiative], options) {\n if (!initiative) return;\n this.initiative = initiative;\n this.options = options;\n let promises = [];\n const workstreams = (await this.initiative?.hasMany?.('workstreams')?.load?.()) ?? [];\n this.workstreams = workstreams;\n workstreams.forEach(workstream => {\n promises.push(workstream.hasMany('tfos').load());\n });\n await Promise.all(promises);\n await this.setupChart(element);\n }\n async setupChart(element) {\n if (this.chart != undefined) return;\n this.chart = echarts.init(element, 'producthub', {\n height: this.options.height ?? 256,\n width: this.options.width ?? 512\n });\n const options = {\n ...this.chartOptions,\n series: this.series\n };\n this.chart.setOption(options);\n }\n get chartOptions() {\n const options = {\n tooltip: {\n trigger: 'item'\n }\n };\n if (this.options.formatter) {\n options.tooltip.formatter = this.options.formatter;\n }\n return options;\n }\n get chartData() {\n const data = this.workstreams.map(workstream => {\n return {\n name: workstream.title,\n value: workstream.totalTickets,\n tooltip: {\n formatter: `{b}: {c} Total tickets`\n },\n children: [{\n value: workstream.openTickets,\n name: 'Open',\n tooltip: {\n formatter: `{b}: {c} Tickets`\n }\n }, {\n value: workstream.closedTickets,\n name: 'Closed',\n tooltip: {\n formatter: `{b}: {c} Tickets`\n }\n }]\n };\n });\n if (this.initiative.unlistedTickets !== 0) {\n data.push({\n name: 'Unlisted',\n value: this.initiative.unlistedTickets,\n tooltip: {\n formatter: `{b}: {c} Total tickets`\n },\n children: [{\n value: this.initiative.unlistedOpenTickets,\n name: 'Open',\n tooltip: {\n formatter: `{b}: {c} Tickets`\n }\n }, {\n value: this.initiative.unlistedClosedTickets,\n name: 'Closed',\n tooltip: {\n formatter: `{b}: {c} Tickets`\n }\n }]\n });\n }\n return data;\n }\n get series() {\n const series = {\n type: 'sunburst',\n radius: [0, '90%'],\n itemStyle: {\n borderRadius: 7,\n borderWidth: 2\n },\n label: {\n show: true,\n rotate: 'radial',\n fontWeight: 'normal'\n // formatter: '{b}: {c} Tickets'\n },\n data: this.chartData\n };\n return series;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"workstreams\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _class);\n});","define(\"scaleflow/modifiers/on-click-outside\", [\"exports\", \"ember-click-outside/modifiers/on-click-outside\"], function (_exports, _onClickOutside) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _onClickOutside.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-click-outside/modifiers/on-click-outside\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/on-escape\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\"], function (_exports, _emberModifier, _destroyable) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function cleanup(instance) {\n instance.element.removeEventListener('keydown', instance.keyDownHandler);\n }\n class OnEscapeModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _defineProperty(this, \"onEscape\", null);\n _defineProperty(this, \"element\", null);\n _defineProperty(this, \"keyDownHandler\", e => {\n if (e.key === 'Escape' || e.key === 'Esc') {\n /**\n * To prevent side effects of esc key event on forms,\n * otherwise we run into a situation where pressing escape while focused on an input with invalid entry\n * would cause changeset to change its errors property and also call modal close at the same time leading to render warnings from Ember\n */\n this.clearFocus();\n this.onEscape();\n }\n });\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n modify(_element, [onEscape, attachToElement = false]) {\n this.onEscape = onEscape;\n this.element = attachToElement ? _element : document;\n this.element.addEventListener('keydown', this.keyDownHandler);\n }\n clearFocus() {\n document.activeElement.blur();\n }\n }\n var _default = _exports.default = OnEscapeModifier;\n});","define(\"scaleflow/modifiers/render-modifiers/on-insert\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class OnInsertModifier extends _emberModifier.default {\n // The constructor allows you to initialize any properties\n constructor(element, args) {\n super(element, args);\n _defineProperty(this, \"count\", void 0);\n this.count = 0;\n }\n\n // The modify method is called to apply the logic to the element\n modify(element, [callback, ...args]) {\n if (this.count !== 0) return;\n this.count = this.count + 1;\n if (typeof callback === 'function') {\n callback(element, ...args);\n }\n }\n }\n _exports.default = OnInsertModifier;\n});","define(\"scaleflow/modifiers/render-modifiers/on-update\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class onUpdateModifier extends _emberModifier.default {\n // The constructor allows you to initialize any properties\n constructor(element, args) {\n super(element, args);\n _defineProperty(this, \"count\", void 0);\n this.count = 0;\n }\n\n // The modify method is called to apply the logic to the element\n modify(element, [callback, ...args]) {\n this.count = this.count + 1;\n if (this.count === 1) return;\n if (typeof callback === 'function') {\n callback(element, ...args);\n }\n }\n }\n _exports.default = onUpdateModifier;\n});","define(\"scaleflow/modifiers/scroll-to-top\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n class ScrollToTopModifier extends _emberModifier.default {\n modify(element) {\n (document.querySelector('#main') ?? element).scrollTop = 0;\n }\n }\n var _default = _exports.default = ScrollToTopModifier;\n});","define(\"scaleflow/modifiers/strategy/card\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"scaleflow/config/echarts_theme\", \"echarts/core\", \"echarts/components\", \"echarts/charts\", \"echarts/features\", \"echarts/renderers\"], function (_exports, _emberModifier, _destroyable, _echarts_theme, echarts, _components, _charts, _features, _renderers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/core\",0,\"echarts/components\",0,\"echarts/charts\",0,\"echarts/features\",0,\"echarts/renderers\"eaimeta@70e063a35619d71f\n // Import the echarts core module, which provides the necessary interfaces for using echarts.\n echarts.use([_components.TooltipComponent, _components.LegendComponent, _charts.PieChart, _renderers.CanvasRenderer, _features.LabelLayout]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n class StrategyCardModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n modify(element, [strategy], options) {\n this.strategy = strategy;\n this.options = options;\n this.setupChart(element);\n }\n async setupChart(element) {\n if (this.chart != undefined) return;\n this.chart = echarts.init(element, 'producthub', {\n height: this.options.height ?? 256,\n width: this.options.width ?? 512\n });\n const options = {\n ...this.chartOptions,\n series: this.series\n };\n this.chart.setOption(options);\n }\n get chartOptions() {\n const options = {\n tooltip: {\n trigger: 'item'\n },\n legend: {\n show: false,\n left: 'center',\n width: '100%',\n // doesn't perfectly work with our tricks, disable it\n selectedMode: false\n }\n };\n if (this.options.formatter) {\n options.tooltip.formatter = this.options.formatter;\n }\n return options;\n }\n get series() {\n const firstRoundItemStyle = {\n itemStyle: {\n borderRadius: [20, 0, 20, 0]\n }\n };\n const lastRoundItemStyle = {\n itemStyle: {\n borderRadius: [0, 20, 0, 20]\n }\n };\n const series = [{\n name: 'Investment Distribution',\n type: 'pie',\n radius: ['40%', '60%'],\n center: ['50%', '90%'],\n top: this.options.height * -1.1,\n startAngle: 180,\n label: {\n show: true,\n formatter(param) {\n return param.name + ' (' + param.value + '%)';\n },\n position: 'outer',\n alignTo: 'none',\n margin: 5\n },\n data: [{\n value: this.strategy?.distribution_vision,\n name: 'Vision',\n ...firstRoundItemStyle\n }, {\n value: this.strategy?.distribution_customer,\n name: 'Customer'\n }, {\n value: this.strategy?.distribution_operations,\n name: 'Operations',\n ...lastRoundItemStyle\n },\n // Make a record to fill the bottom half and stop it from rendering\n {\n value: this.strategy?.total_distribution,\n itemStyle: {\n color: 'none',\n decal: {\n symbol: 'none'\n }\n },\n label: {\n show: false\n }\n }]\n }, {\n name: 'Flow vs. Initiatives',\n type: 'pie',\n radius: ['25%', '35%'],\n center: ['50%', '90%'],\n top: this.options.height * -1.1,\n startAngle: 180,\n label: {\n show: false,\n formatter(param) {\n return param.name + ' (' + param.value + '%)';\n },\n position: 'center',\n alignTo: 'none',\n margin: 5\n },\n data: [{\n value: this.strategy?.initiative_percentage,\n name: 'Initiatives',\n ...firstRoundItemStyle\n }, {\n value: this.strategy?.flow_percentage,\n name: 'Flow',\n ...lastRoundItemStyle\n },\n // Make a record to fill the bottom half and stop it from rendering\n {\n value: 100,\n itemStyle: {\n color: 'none',\n decal: {\n symbol: 'none'\n }\n },\n label: {\n show: false\n }\n }]\n }];\n return series;\n }\n }\n _exports.default = StrategyCardModifier;\n});","define(\"scaleflow/modifiers/strategy/sunburst\", [\"exports\", \"ember-modifier\", \"@ember/destroyable\", \"scaleflow/config/echarts_theme\", \"echarts/core\", \"echarts/components\", \"echarts/charts\", \"echarts/features\", \"echarts/renderers\", \"@ember/service\"], function (_exports, _emberModifier, _destroyable, _echarts_theme, echarts, _components, _charts, _features, _renderers, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/destroyable\",0,\"scaleflow/config/echarts_theme\",0,\"echarts/core\",0,\"echarts/components\",0,\"echarts/charts\",0,\"echarts/features\",0,\"echarts/renderers\",0,\"@ember/service\",0,\"echarts/charts\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n echarts.use([_charts.SunburstChart, _components.TooltipComponent, _components.LegendComponent, _charts.PieChart, _renderers.CanvasRenderer, _features.LabelLayout]);\n function cleanup(instance) {\n instance?.chart?.dispose?.();\n }\n let StrategySunburstModifier = _exports.default = (_class = class StrategySunburstModifier extends _emberModifier.default {\n constructor(owner, args) {\n super(owner, args);\n _initializerDefineProperty(this, \"intl\", _descriptor, this);\n _defineProperty(this, \"DEFAULT_COLOR\", '#d6d6d6');\n _defineProperty(this, \"DATA_MAP\", {\n uncertainty: {\n color: '#aaaaaa',\n label: this.intl.t('dictionary.uncertainty', {\n num: 1\n })\n },\n customer_request: {\n color: '#5ab1ef',\n label: this.intl.t('source-options.customer-request'),\n label_options: {\n show: true,\n rotate: 'tangential'\n }\n },\n vision: {\n color: '#ffb980',\n label: this.intl.t('source-options.vision'),\n label_options: {\n show: true,\n rotate: 'tangential'\n }\n },\n operations: {\n color: '#97b552',\n label: this.intl.t('source-options.operations'),\n label_options: {\n show: true,\n rotate: 'tangential',\n abbv: 'Operations'\n }\n },\n initiatives: {\n color: '#59678c',\n label: this.intl.t('dictionary.initiatives', {\n num: 2\n }),\n label_options: {\n show: true,\n abbv: 'Initiatives',\n rotate: 'tangential'\n }\n },\n operational_flex: {\n color: '#c9ab00',\n label: this.intl.t('source-options.flow', {\n num: 2\n }),\n label_options: {\n show: true,\n abbv: 'Flex',\n rotate: 'tangential'\n }\n },\n unavailable: {\n color: '#d6d6d6',\n label: this.intl.t('personals.unavailable'),\n label_options: {\n show: true,\n abbv: 'N/A',\n rotate: 'tangential'\n }\n },\n holidays: {\n color: '#d6d6d6',\n label: this.intl.t('personals.holidays'),\n label_options: {\n show: false\n }\n },\n other: {\n color: '#d6d6d6',\n label: this.intl.t('personals.other'),\n label_options: {\n show: false\n }\n },\n pto: {\n color: '#d6d6d6',\n label: this.intl.t('personals.pto'),\n label_options: {\n show: false\n }\n },\n sick_leave: {\n color: '#d6d6d6',\n label: this.intl.t('personals.sick_leave'),\n label_options: {\n show: false\n }\n }\n });\n (0, _destroyable.registerDestructor)(this, cleanup);\n }\n modify(element, [strategy], options) {\n this.strategy = strategy;\n this.options = options;\n this.setupChart(element);\n }\n async setupChart(element) {\n if (this.chart != undefined) return;\n this.chart = echarts.init(element, 'producthub', {\n height: this.options.height ?? 326,\n width: this.options.width ?? 512\n });\n const options = {\n ...this.chartOptions,\n series: this.series\n };\n this.chart.setOption(options);\n }\n get chartOptions() {\n const options = {\n tooltip: {\n trigger: 'item',\n position: 'right'\n }\n };\n if (this.options.formatter) {\n options.tooltip.formatter = this.options.formatter;\n }\n return options;\n }\n extractDataObject(key, value) {\n const obj = {};\n const label = this.DATA_MAP[key]?.label_options?.abbv ?? this.DATA_MAP[key]?.label ?? key;\n obj.value = value.effort;\n obj.name = label;\n obj.id = key;\n const color_key = this.DATA_MAP[key]?.color ?? this.DATA_MAP[key].default.color;\n obj.itemStyle = {\n color: color_key\n };\n obj.label = this.DATA_MAP[key]?.label_options;\n if (value.items) {\n obj.children = Object.entries(value.items).map(([_key, _value]) => this.extractDataObject(_key, _value));\n }\n return obj;\n }\n get series() {\n const allocation = this.strategy?.allocation ?? {};\n const data = [];\n Object.entries(allocation).forEach(([key, value]) => {\n if (key === 'total_effort' || key === 'total_value') return;\n data.push(this.extractDataObject(key, value));\n });\n const series = {\n type: 'sunburst',\n radius: [0, '90%'],\n itemStyle: {\n borderRadius: 7,\n borderWidth: 2\n },\n data\n };\n return series;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/modifiers/tippy\", [\"exports\", \"ember-tippy/modifiers/tippy\"], function (_exports, _tippy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _tippy.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-tippy/modifiers/tippy\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/will-destroy\", [\"exports\", \"@ember/render-modifiers/modifiers/will-destroy\"], function (_exports, _willDestroy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _willDestroy.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/will-destroy\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/modifiers/window-post-message\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-modifier\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _emberModifier.modifier)(function windowPostMessage(element, positional, {\n message,\n allowedOrigins = []\n } /*, positional, named*/) {\n const handleMessage = event => {\n if (!allowedOrigins.includes(event.origin)) return;\n if (event.data.type !== 'IFRAME_READY') return;\n element.contentWindow.postMessage({\n type: 'access-token',\n message: message\n }, event.origin);\n\n // if (event.data && event.data.type === 'postMessage') {\n // element.textContent = event.data.message;\n // }\n };\n window.addEventListener('message', handleMessage);\n return () => {\n window.removeEventListener('message', handleMessage);\n };\n });\n});","define(\"scaleflow/router\", [\"exports\", \"@ember/routing/router\", \"scaleflow/config/environment\"], function (_exports, _router, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/router\",0,\"scaleflow/config/environment\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class Router extends _router.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"location\", _environment.default.locationType);\n _defineProperty(this, \"rootURL\", _environment.default.rootURL);\n }\n }\n _exports.default = Router;\n Router.map(function () {\n this.route('dashboards', function () {\n this.route('roi');\n this.route('health');\n this.route('planning');\n this.route('capacity');\n this.route('time-to-value');\n });\n this.route('strategy', function () {\n this.route('investment-scenarios', function () {\n this.route('create');\n this.route('investment-scenario', {\n path: '/:investment_scenario_id'\n }, function () {\n this.route('edit');\n this.route('view');\n });\n });\n this.route('goals');\n this.route('financials');\n this.route('capacity', function () {\n this.route('people', function () {\n this.route('create');\n this.route('person', {\n path: '/:person_id'\n }, function () {\n this.route('edit');\n });\n this.route('active');\n this.route('inactive');\n });\n this.route('teams', function () {\n this.route('create');\n this.route('team', {\n path: '/:team'\n }, function () {\n this.route('settings');\n this.route('check-in', function () {\n this.route('archive', function () {\n this.route('questions');\n this.route('lessons-learned');\n this.route('to-figure-outs');\n this.route('uncertainties');\n this.route('waiting-for-answers');\n });\n });\n });\n this.route('active');\n this.route('archived');\n });\n this.route('roles', function () {\n this.route('create');\n this.route('role', {\n path: '/:role'\n }, function () {\n this.route('edit');\n });\n });\n });\n });\n this.route('roadmap', function () {\n this.route('timeline');\n this.route('radar');\n this.route('now-next-later');\n this.route('settings');\n this.route('strategy', function () {\n this.route('index');\n this.route('create');\n this.route('roadmap', {\n path: '/:roadmap_id'\n }, function () {\n this.route('edit');\n this.route('lanes');\n this.route('grid');\n this.route('timeline');\n });\n });\n });\n this.route('backlog', function () {\n this.route('themes');\n this.route('bons');\n this.route('initiatives', function () {\n this.route('create');\n this.route('initiative', {\n path: '/:initiative'\n }, function () {\n this.route('uncertainties');\n this.route('waiting-for-answers');\n this.route('planning', function () {\n this.route('weeks');\n this.route('workstreams', function () {\n this.route('workstream', {\n path: '/:workstream'\n }, function () {\n this.route('archive');\n });\n });\n });\n this.route('document');\n this.route('back-of-a-napkin');\n this.route('settings', function () {\n this.route('general-details');\n this.route('planning-and-people');\n this.route('strategy');\n });\n this.route('weeks');\n this.route('workstreams');\n this.route('overview');\n this.route('description');\n this.route('investments');\n this.route('returns');\n this.route('notes');\n this.route('knowledge-base', function () {\n this.route('list');\n this.route('file', function () {\n this.route('file-name', {\n path: '/:file_name'\n });\n });\n });\n this.route('artifacts');\n });\n });\n this.route('ideas', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('idea', {\n path: '/:idea_id'\n }, function () {\n this.route('edit');\n this.route('description');\n });\n });\n });\n this.route('operations', function () {\n this.route('people', function () {\n this.route('create');\n this.route('person', {\n path: '/:person_id'\n }, function () {\n this.route('edit');\n });\n this.route('active');\n this.route('inactive');\n });\n this.route('teams', function () {\n this.route('create');\n this.route('team', {\n path: '/:team'\n }, function () {\n this.route('settings');\n this.route('check-in', function () {\n this.route('archive', function () {\n this.route('questions');\n this.route('lessons-learned');\n this.route('to-figure-outs');\n this.route('uncertainties');\n this.route('waiting-for-answers');\n });\n });\n });\n this.route('active');\n this.route('archived');\n });\n this.route('roles', function () {\n this.route('create');\n this.route('role', {\n path: '/:role'\n }, function () {\n this.route('edit');\n });\n });\n });\n this.route('settings', function () {\n this.route('organisation');\n this.route('account');\n this.route('financials');\n this.route('tags');\n this.route('departments', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('department', {\n path: '/:department_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('areas', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('area', {\n path: '/:area_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('customers', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('customer', {\n path: '/:customer_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('groups', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('group', {\n path: '/:group_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('agents', function () {\n this.route('list', function () {\n this.route('create');\n });\n this.route('agent', {\n path: '/:agent_id'\n }, function () {\n this.route('edit');\n });\n });\n });\n this.route('bookmarks');\n this.route('login');\n this.route('logout');\n this.route('authenticate');\n this.route('reset-password');\n this.route('roles', function () {\n this.route('role');\n });\n this.route('insights');\n this.route('progress');\n\n /**\n * NEW IA\n */\n this.route('planning', function () {\n this.route('dashboard', function () {\n this.route('progress');\n this.route('capacity', function () {\n this.route('teams');\n this.route('weeks');\n this.route('roles');\n });\n this.route('roi');\n this.route('balance', function () {\n this.route('edit');\n this.route('view');\n });\n this.route('health');\n this.route('grid');\n this.route('timeline');\n this.route('lanes');\n this.route('overview', function () {\n this.route('grid');\n this.route('lanes');\n this.route('timeline');\n this.route('table');\n });\n });\n });\n this.route('business', function () {\n this.route('investment-profiles', function () {\n this.route('create');\n this.route('list');\n this.route('investment-profile', {\n path: '/:investment_scenario_id'\n }, function () {\n this.route('view');\n this.route('edit');\n });\n });\n this.route('goals', function () {\n this.route('list');\n this.route('create');\n this.route('goal', {\n path: '/:goal_id'\n }, function () {\n this.route('edit');\n this.route('description');\n this.route('initiatives');\n this.route('subgoals');\n });\n });\n this.route('themes', function () {\n this.route('create');\n this.route('theme', {\n path: '/:theme_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('financials');\n this.route('metrics', function () {\n this.route('create');\n this.route('metric', {\n path: '/:metric_id'\n }, function () {\n this.route('edit');\n });\n this.route('list');\n });\n });\n this.route('claim');\n this.route('resources', function () {\n this.route('roles', function () {\n this.route('create');\n this.route('role', {\n path: '/:role_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('people', function () {\n this.route('active');\n this.route('inactive');\n this.route('create');\n this.route('person', {\n path: '/:person_id'\n }, function () {\n this.route('edit');\n });\n });\n this.route('teams', function () {\n this.route('active');\n this.route('archived');\n this.route('create');\n });\n this.route('balance');\n });\n this.route('artifacts', function () {\n this.route('artifact', {\n path: '/:artifact_id'\n }, function () {\n this.route('view');\n });\n });\n this.route('404', {\n path: '/*path'\n });\n this.route('ideas', function () {});\n this.route('backlogs', function () {\n this.route('ideas', function () {\n this.route('idea', function () {});\n });\n });\n });\n});","define(\"scaleflow/routes/application\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.unprotectedRoutes = _exports.default = void 0;\n var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const unprotectedRoutes = _exports.unprotectedRoutes = ['login', 'logout', undefined, 'index', 'authenticate', 'reset-password'];\n let ApplicationRoute = (_dec = (0, _service.service)('data-socket'), _dec2 = (0, _service.service)('beta-toggle'), _dec3 = (0, _service.service)('page-loader-ui'), _dec4 = (0, _service.service)('feature-access'), _class = class ApplicationRoute extends _route.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor4, this);\n _initializerDefineProperty(this, \"socketService\", _descriptor5, this);\n _initializerDefineProperty(this, \"betaToggleService\", _descriptor6, this);\n _initializerDefineProperty(this, \"initiativeSlideover\", _descriptor7, this);\n _initializerDefineProperty(this, \"pageLoader\", _descriptor8, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor9, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor0, this);\n _initializerDefineProperty(this, \"versionChecker\", _descriptor1, this);\n _initializerDefineProperty(this, \"store\", _descriptor10, this);\n _initializerDefineProperty(this, \"intl\", _descriptor11, this);\n _initializerDefineProperty(this, \"featureAccessService\", _descriptor12, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor13, this);\n _defineProperty(this, \"queryParams\", [{\n roadmap_id: {\n refreshModel: true\n },\n initiative_id: {\n refreshModel: false\n }\n }]);\n this.router.on('routeWillChange', async () => {\n this.pageLoader.show();\n });\n this.router.on('routeDidChange', () => {\n this.pageLoader.hide();\n const url = this.router.currentURL;\n const title = this.router.currentRouteName || 'unknown';\n this.tracker.trackPage({\n url,\n title\n });\n if (this.versionChecker.app_should_update) {\n window.location.reload();\n }\n });\n }\n async setupSessionAndRefreshIfNeeded() {\n await this.session.setup();\n const isExpiredSession = this.session.tokenIsExpired;\n if (isExpiredSession) {\n await this.session.refreshToken();\n }\n }\n async beforeModel(transition) {\n this.intl.setLocale('en-US');\n try {\n await this.setupSessionAndRefreshIfNeeded();\n } catch (err) {\n console.debug(err);\n return this.router.transitionTo('logout');\n }\n await this.versionChecker.setup();\n await this.betaToggleService.setup();\n await this.featureAccessService.setup();\n if (!this.session.isAuthenticated) {\n const routeToTransitionTo = unprotectedRoutes.includes(transition.to.name) ? transition.to.name : 'login';\n this.router.transitionTo(routeToTransitionTo);\n } else {\n const promises = [];\n promises.push(this.currentUser.load(), this.organisation.load(), this.roadmap.setup(), this.socketService.setup());\n return Promise.allSettled(promises).then(() => {\n this.chatv2.setup();\n });\n }\n }\n model(params) {\n if (params.roadmap_id !== undefined) {\n this.roadmap.setId(params.roadmap_id);\n }\n if (params.initiative_id !== undefined) {\n this.store.findRecord('initiative', params.initiative_id, {\n include: 'workstream'\n }).then(initiative => {\n this.initiativeSlideover.open(initiative.id);\n }).catch(err => console.debug(err));\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"socketService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"betaToggleService\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"initiativeSlideover\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"pageLoader\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"versionChecker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"featureAccessService\", [_dec4], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = ApplicationRoute;\n});","define(\"scaleflow/routes/artifacts/artifact\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ArtifactsArtifactRoute = (_class = class ArtifactsArtifactRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model(params) {\n return this.store.findRecord('artifact', params.artifact_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ArtifactsArtifactRoute);\n});","define(\"scaleflow/routes/artifacts/artifact/view\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class ArtifactsArtifactViewRoute extends _route.default {\n model() {\n return this.modelFor('artifacts.artifact');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ArtifactsArtifactViewRoute);\n});","define(\"scaleflow/routes/authenticate\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AuthenticationRoute = _exports.default = (_dec = (0, _service.service)('data-socket'), _class = class AuthenticationRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"store\", _descriptor4, this);\n _initializerDefineProperty(this, \"socketService\", _descriptor5, this);\n _defineProperty(this, \"queryParams\", {\n code: {\n refreshModel: false\n }\n });\n }\n async beforeModel() {\n await this.session.invalidate();\n }\n model(params) {\n const {\n code\n } = params;\n this.session.authenticate('authenticator:oauth2-implicit-grant', {\n code\n }).catch(error => {\n console.log(error);\n this.router.transitionTo('login');\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"socketService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/backlog/ideas\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasRoute = (_dec = (0, _service.service)('feature-access'), _class = class BacklogIdeasRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor3, this);\n _initializerDefineProperty(this, \"featureAccessService\", _descriptor4, this);\n }\n beforeModel() {\n if (this.betaToggle.showIdeas !== true) {\n if (this.featureAccessService.canAccessFeature('/initiatives')) {\n this.router.replaceWith('backlog.initiatives');\n }\n }\n return Promise.all([this.store.findAll('department'), this.store.findAll('area'), this.store.findAll('theme'), this.store.findAll('customer'), this.store.findAll('person'), this.store.findAll('initiative'), this.store.findAll('group')]);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"featureAccessService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasRoute);\n});","define(\"scaleflow/routes/backlog/ideas/idea\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasIdeaRoute = (_class = class BacklogIdeasIdeaRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.store.findAll('idea');\n }\n model({\n idea_id\n }) {\n return this.store.findRecord('idea', idea_id);\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('backlog.ideas.list');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasIdeaRoute);\n});","define(\"scaleflow/routes/backlog/ideas/idea/description\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogIdeasIdeaDescriptionRoute extends _route.default {\n model() {\n return this.modelFor('backlog.ideas.idea');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasIdeaDescriptionRoute);\n});","define(\"scaleflow/routes/backlog/ideas/idea/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogIdeasIdeaEditRoute extends _route.default {\n model() {\n return this.modelFor('backlog.ideas.idea');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasIdeaEditRoute);\n});","define(\"scaleflow/routes/backlog/ideas/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasIndexRoute = _exports.default = (_class = class BacklogIdeasIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('backlog.ideas.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/backlog/ideas/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasListRoute = (_class = class BacklogIdeasListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return [];\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n controller.set('list', model);\n if (controller.get('columns').length === 0) {\n const columns = controller.get('columnOptions').reduce((acc, item) => {\n if (item.show === undefined) acc.push(item.value);else if (item.show === true) acc.push(item.value);\n return acc;\n }, []);\n controller.set('columns', columns);\n }\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n controller.set('selectedIdeas', []);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasListRoute);\n});","define(\"scaleflow/routes/backlog/ideas/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogIdeasListCreateRoute = (_class = class BacklogIdeasListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n }\n model() {\n return this.store.createRecord('idea', {\n submitter: this.currentUser._currentUser\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogIdeasListCreateRoute);\n});","define(\"scaleflow/routes/backlog/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogRoute = _exports.default = (_class = class BacklogRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('backlog.initiatives'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/backlog/initiatives/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableCreateRoute = (_class = class RoadmapTableCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n const submittedOnce = controller.get('submittedOnce');\n if (submittedOnce === false) {\n const model = controller.get('model');\n if (!model.isDestroyed) model.deleteRecord();\n }\n }\n }\n beforeModel() {\n return _rsvp.default.all([this.store.findAll('person'), this.store.findAll('goal'), this.store.findAll('theme')]);\n }\n model() {\n return this.store.createRecord('initiative', {\n status: 'DRAFT'\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableCreateRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableIndexRoute = (_class = class RoadmapTableIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT']);\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team'), this.store.findAll('goal'), this.store.findAll('role'), this.store.findAll('roadmap'), this.store.findAll('investment-scenario')];\n return Promise.all(promises);\n }\n model() {\n return [];\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (!controller.get('sort')) {\n controller.set('sort', 'status');\n }\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n if (!controller.get('grouping')) {\n controller.set('grouping', 'statuses');\n }\n if (controller.get('columns').length === 0) {\n const columns = controller.get('columnOptions').reduce((acc, item) => {\n if (item.show === undefined) acc.push(item.label);else if (item.show === true) acc.push(item.label);\n return acc;\n }, []);\n controller.set('columns', columns);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableIndexRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\", \"scaleflow/utils/aws-clients/s3VDRClient\"], function (_exports, _route, _service, _ember, _rsvp, _s3VDRClient) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\",0,\"scaleflow/utils/aws-clients/s3VDRClient\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeRoute = (_class = class RoadmapTableInitiativeRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor3, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor4, this);\n _initializerDefineProperty(this, \"session\", _descriptor5, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor6, this);\n }\n beforeModel() {\n const idToken = this.session.idToken;\n if (!idToken) this.router.transitionTo('login');else {\n const promises = [this.store.findAll('team'), this.store.findAll('goal'), this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('role'), this.store.findAll('metric'), this.store.findAll('investment-scenario'), this.store.findAll('agent')];\n if (this.betaToggle.showAiFeatures) promises.push((0, _s3VDRClient.default)(idToken).catch(() => null));\n return _rsvp.default.all(promises);\n }\n }\n model(params) {\n return this.store.findRecord('initiative', `${params.initiative}`, {\n include: 'conversations',\n reload: true\n }).catch(err => {\n if (err.errors?.[0]?.status === '404') {\n this.router.transitionTo('backlog.initiatives');\n }\n });\n }\n async afterModel(model) {\n this.tracker.trackInitiativeOpenedEvent(model.id);\n await this.store.findAll('conversation', {\n reload: true\n });\n // await this.chatv2.populateChatWindow();\n }\n resetController(controller, isExiting, transition) {\n if (isExiting) {\n this.chatv2.toggleChatWindow(false);\n }\n super.resetController(controller, isExiting, transition);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/activity/impediments\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeActivityImpedimentsRoute extends _route.default {\n async model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n const wfas = await initiative.wfas;\n const {\n open,\n closed\n } = wfas.reduce((acc, item) => {\n if (item.completed === true) acc.closed.push(item);else acc.open.push(item);\n return acc;\n }, {\n open: [],\n closed: []\n });\n return {\n open,\n closed,\n initiative\n };\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeActivityImpedimentsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/activity/uncertainties\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeActivityUncertaintiesRoute extends _route.default {\n async model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n const uncertainties = await initiative.uncertainties;\n const {\n open,\n closed\n } = uncertainties.reduce((acc, item) => {\n if (item.completed === true) acc.closed.push(item);else acc.open.push(item);\n return acc;\n }, {\n open: [],\n closed: []\n });\n return {\n open,\n closed,\n initiative\n };\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeActivityUncertaintiesRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/activity/updates\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeActivityUpdatesRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeActivityUpdatesRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/artifacts\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeArtifactsRoute = (_class = class BacklogInitiativesInitiativeArtifactsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return _rsvp.default.hash({\n initiative: this.modelFor('backlog.initiatives.initiative'),\n artifacts: this.store.query('artifact', {\n filter: {\n initiative: this.modelFor('backlog.initiatives.initiative').id\n }\n })\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeArtifactsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/back-of-a-napkin\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\", \"scaleflow/config/environment\", \"aws-amplify\"], function (_exports, _route, _service, _ember, _moment, _environment, _awsAmplify) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\",0,\"scaleflow/config/environment\",0,\"aws-amplify\",0,\"aws-amplify\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeBackOfANapkinRoute = (_class = class RoadmapTableInitiativeBackOfANapkinRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n model.bon.then(async results => {\n const bon = results ?? this.store.createRecord('bon');\n if (bon.id) {\n await this.revalidateImages(bon);\n }\n controller.set('bon', bon);\n // controller.set('editMode', true);\n\n //if a bon object already exists run formatBon to fill value fields in the object\n if (bon.id) {\n controller.get('formatBon')?.();\n }\n });\n }\n resetController(controller) {\n super.resetController(...arguments);\n controller.set('index', 0);\n controller.set('editMode', false);\n controller.set('showBonSlideover', false);\n controller.set('showPpwSlideover', false);\n controller.set('showInvestmentConfidenceSlideover', false);\n controller.set('showReturnConfidenceSlideover', false);\n controller.set('showUpsellValueSlideover', false);\n controller.set('showFteSlideover', false);\n }\n beforeModel() {\n this.router.transitionTo('backlog.initiatives.initiative.investments');\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n async revalidateImages(bon) {\n const notes = bon.text_delta;\n let hasImage = false;\n let images = [];\n for (let i = 0; i < notes?.ops?.length; i++) {\n const item = notes.ops[i];\n if (typeof item?.insert?.image === 'string') {\n const imageLink = decodeURIComponent(item.insert.image);\n if (imageLink.startsWith(`${_environment.default.API_ENDPOINT}`)) {\n continue;\n }\n const split = imageLink.split('&').filter(item => item.includes('X-Amz-Date') || item.includes('X-Amz-Expires'));\n const date = split?.[0]?.split?.('=')?.[1];\n const expires = split?.[1]?.split?.('=')?.[1];\n const expiryDate = (0, _moment.default)(date).add(expires, 'second');\n // console.log(expiryDate);\n if (date && expires && !(0, _moment.default)().isAfter(expiryDate)) {\n //Image hasn't expired yet\n break;\n }\n hasImage = true;\n const withoutBaseLink = imageLink.split(_environment.default.S3_BASE_HREF)[1];\n const withoutSignedCreds = withoutBaseLink?.split('?');\n const fileKey = withoutSignedCreds?.[0];\n if (fileKey) {\n images.push([i, fileKey]);\n }\n }\n }\n if (images.length !== 0) await _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session');\n for (let i = 0; i < images.length; i++) {\n const [position, fileKey] = images[i];\n const link = await _awsAmplify.Storage.get(fileKey);\n notes.ops[position].insert.image = link;\n }\n if (!hasImage) return;\n bon.text_delta = notes;\n await bon.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeBackOfANapkinRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/description\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeDescriptionRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeDescriptionRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/document\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeDocumentRoute = (_class = class RoadmapTableInitiativeDocumentRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"initiativeDocVersionAdapter\", this.store.adapterFor('initiative-document-version'));\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n const editorWasInEditMode = controller.get('editMode');\n if (editorWasInEditMode) controller.get('model').save();else clearTimeout(controller.get('populateEditorTimeout'));\n controller.set('editMode', false);\n controller.set('selectedVersion', null);\n controller.set('showNotification', false);\n controller.get('notificationTimeout') && clearTimeout(controller.get('notificationTimeout'));\n }\n }\n model() {\n const model = this.modelFor('backlog.initiatives.initiative');\n return model;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeDocumentRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeIndexRoute = (_class = class RoadmapTableInitiativeIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n afterModel() {\n this.router.transitionTo('backlog.initiatives.initiative.description');\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeIndexRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/investments\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeInvestmentsRoute = (_class = class BacklogInitiativesInitiativeInvestmentsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n model.bon.then(async results => {\n const bon = results ?? this.store.createRecord('bon');\n // if (bon.id) {\n // await this.revalidateImages(bon);\n // }\n controller.set('bon', bon);\n // controller.set('editMode', true);\n\n //if a bon object already exists run formatBon to fill value fields in the object\n if (bon.id) {\n controller.get('formatBon')?.();\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeInvestmentsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/knowledge-base\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeKnowledgeBaseRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeKnowledgeBaseRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/knowledge-base/file/file-name\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"scaleflow/utils/aws-clients/s3VDRClient\"], function (_exports, _object, _route, _service, _ember, _s3VDRClient) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.VDR_CONFIG = void 0;\n var Sentry = _ember;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"@sentry/ember\",0,\"scaleflow/utils/aws-clients/s3VDRClient\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const VDR_CONFIG = _exports.VDR_CONFIG = {\n region: 'eu-west-1',\n user_pool_id: 'eu-west-1_csOGPmGAV',\n identity_pool_id: 'eu-west-1:441ffc1c-2175-4c15-be5d-f8b7a48e7fdf',\n user_pool_client_id: 'v7k44pru84aj2pcamjcruf1av',\n bucket: 'scaleforce-app-vdr-storage'\n };\n let BacklogInitiativesInitiativeKnowledgeBaseFileFileNameRoute = (_class = class BacklogInitiativesInitiativeKnowledgeBaseFileFileNameRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n async model({\n file_name\n }) {\n if (!file_name) throw new Error('File name is required to fetch the file.');\n const file = await _s3VDRClient.s3VdrClient.fileExists(file_name);\n if (!file) {\n throw new Error('File not found');\n }\n const initiative = this.modelFor('backlog.initiatives.initiative');\n return {\n initiative,\n file_name\n };\n }\n error(error) {\n if (error?.message !== 'File not found') {\n Sentry.captureException(error);\n }\n this.router.transitionTo('backlog.initiatives.initiative.knowledge-base.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeKnowledgeBaseFileFileNameRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/knowledge-base/list\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class BacklogInitiativesInitiativeKnowledgeBaseListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"queryParams\", {\n search: {\n refreshModel: false\n }\n });\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeKnowledgeBaseListRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/notes\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\", \"scaleflow/config/environment\", \"aws-amplify\"], function (_exports, _route, _service, _ember, _moment, _environment, _awsAmplify) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\",0,\"scaleflow/config/environment\",0,\"aws-amplify\",0,\"aws-amplify\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeNotesRoute = (_class = class BacklogInitiativesInitiativeNotesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n }\n async model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n let bon = await initiative.bon;\n if (bon?.id) {\n await this.revalidateImages(bon);\n }\n if (!bon) bon = this.store.createRecord('bon', {\n initiative\n });\n return bon;\n }\n async revalidateImages(bon) {\n const notes = bon.text_delta;\n let hasImage = false;\n let images = [];\n for (let i = 0; i < notes?.ops?.length; i++) {\n const item = notes.ops[i];\n if (typeof item?.insert?.image === 'string') {\n const imageLink = decodeURIComponent(item.insert.image);\n if (imageLink.startsWith(`${_environment.default.API_ENDPOINT}`)) {\n continue;\n }\n const split = imageLink.split('&').filter(item => item.includes('X-Amz-Date') || item.includes('X-Amz-Expires'));\n const date = split?.[0]?.split?.('=')?.[1];\n const expires = split?.[1]?.split?.('=')?.[1];\n const expiryDate = (0, _moment.default)(date).add(expires, 'second');\n // console.log(expiryDate);\n if (date && expires && !(0, _moment.default)().isAfter(expiryDate)) {\n //Image hasn't expired yet\n break;\n }\n hasImage = true;\n const withoutBaseLink = imageLink.split(_environment.default.S3_BASE_HREF)[1];\n const withoutSignedCreds = withoutBaseLink?.split('?');\n const fileKey = withoutSignedCreds?.[0];\n if (fileKey) {\n images.push([i, fileKey]);\n }\n }\n }\n if (images.length !== 0) await _awsAmplify.Auth.Credentials.set(this.currentUser.currentSession, 'session');\n for (let i = 0; i < images.length; i++) {\n const [position, fileKey] = images[i];\n const link = await _awsAmplify.Storage.get(fileKey);\n notes.ops[position].insert.image = link;\n }\n if (!hasImage) return;\n bon.text_delta = notes;\n await bon.save();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeNotesRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/overview\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeOverviewRoute extends _route.default {\n async beforeModel() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n await initiative.reload();\n }\n model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n return initiative;\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeOverviewRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativePlanningRoute = _exports.default = (_class = class RoadmapTableInitiativePlanningRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativePlanningIndexRoute = (_class = class RoadmapTableInitiativePlanningIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('backlog.initiatives.initiative.planning.weeks');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativePlanningIndexRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/weeks\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class RoadmapTableInitiativePlanningWeeksRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativePlanningWeeksRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/workstreams\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class RoadmapTableInitiativePlanningWorkstreamsRoute extends _route.default {\n async setupController(controller, model) {\n super.setupController(controller, model);\n model.tfos.then(() => {});\n model.workstreams.then(results => controller.set('workstreams', results));\n model.weeks.then(() => {});\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativePlanningWorkstreamsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeWorkstreamsRoute = (_class = class RoadmapTableInitiativeWorkstreamsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"users\", _descriptor2, this);\n }\n async setupController(controller, model) {\n super.setupController(controller, model);\n this.users.getUsers();\n model.weeks.then(results => controller.set('_weeks', results));\n model.tfos.then(results => controller.set('otherItems', results));\n model.workstreams.then(results => controller.set('workstreams', results));\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"users\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeWorkstreamsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/workstream\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeWorkstreamsWorkstreamRoute = (_class = class RoadmapTableInitiativeWorkstreamsWorkstreamRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(6, 'weeks').format('yyyy-MM-DD'));\n }\n model(params) {\n return this.store.query('tfo', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...params //{workstream:id}\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeWorkstreamsWorkstreamRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/planning/workstreams/workstream/archive\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n class RoadmapTableInitiativeWorkstreamsWorkstreamArchiveRoute extends _route.default {\n async model() {\n try {\n const archivedTfos = this.modelFor('backlog.initiatives.initiative.planning.workstreams.workstream');\n let uniqueDates = this.groupByDate(archivedTfos, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n const {\n initiative\n } = this.paramsFor('backlog.initiatives.initiative');\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: initiative\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: initiative\n };\n }\n } catch (err) {\n console.log(err);\n if (err?.errors[0].status === '404') {\n this.router.transitionTo('backlog.initiatives.initiative.workstreams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeWorkstreamsWorkstreamArchiveRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/returns\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BacklogInitiativesInitiativeReturnsRoute = (_class = class BacklogInitiativesInitiativeReturnsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n model.bon.then(async results => {\n const bon = results ?? this.store.createRecord('bon');\n controller.set('bon', bon);\n if (bon.id) {\n controller.get('formatBon')?.();\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeReturnsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/settings\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeSettingsRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeSettingsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/settings/general-details\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class RoadmapTableInitiativeSettingsGeneralDetailsRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeSettingsGeneralDetailsRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/settings/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeSettingsIndexRoute = (_class = class RoadmapTableInitiativeSettingsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n } // beforeModel() {\n // this.router.transitionTo('backlog.initiatives.initiative.settings.general-details');\n // }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeSettingsIndexRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/settings/planning-and-people\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class RoadmapTableInitiativeSettingsPlanningAndPeopleRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeSettingsPlanningAndPeopleRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/settings/strategy\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeSettingsStrategyRoute = (_class = class RoadmapTableInitiativeSettingsStrategyRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('backlog.initiatives.initiative.investments');\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeSettingsStrategyRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/uncertainties\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeUncertaintiesRoute = (_class = class RoadmapTableInitiativeUncertaintiesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n async model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n const uncertainties = await initiative.hasMany('uncertainties').load();\n await this.store.query('uncertainty', {\n filter: {\n archived: true,\n initiative: initiative.id\n }\n });\n return {\n initiative,\n uncertainties\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeUncertaintiesRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/waiting-for-answers\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTableInitiativeWaitingForAnswersRoute = (_class = class RoadmapTableInitiativeWaitingForAnswersRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n async model() {\n const initiative = this.modelFor('backlog.initiatives.initiative');\n const wfas = await initiative.hasMany('wfas').load();\n await this.store.query('wfa', {\n filter: {\n archived: true,\n initiative: initiative.id\n }\n });\n return {\n initiative,\n wfas\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTableInitiativeWaitingForAnswersRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/weeks\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeWeeksRoute extends _route.default {\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeWeeksRoute);\n});","define(\"scaleflow/routes/backlog/initiatives/initiative/workstreams\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BacklogInitiativesInitiativeWorkstreamsRoute extends _route.default {\n async setupController(controller, model) {\n super.setupController(controller, model);\n model.tfos.then(() => {});\n model.workstreams.then(results => controller.set('workstreams', results));\n model.weeks.then(() => {});\n }\n model() {\n return this.modelFor('backlog.initiatives.initiative');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BacklogInitiativesInitiativeWorkstreamsRoute);\n});","define(\"scaleflow/routes/backlog/themes\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsThemesRoute = (_class = class SettingsThemesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('business.goals.list');\n }\n async model() {\n return _rsvp.default.hash({\n organisation: this.modelFor('settings'),\n themes: this.store.findAll('theme')\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsThemesRoute);\n});","define(\"scaleflow/routes/bookmarks\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class BookmarksRoute extends _route.default {}\n _exports.default = BookmarksRoute;\n});","define(\"scaleflow/routes/business\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessRoute = (_class = class BusinessRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _defineProperty(this, \"redirectToInnerPage\", transition => {\n if (transition?.to?.name === 'business.index') this.router.transitionTo('business.goals.list');\n });\n _defineProperty(this, \"blockInnerToParentPage\", transition => {\n if (transition?.to?.name === 'business.index' && ['business.investment-profiles.list', 'business.goals', 'business.goals.list', 'business.themes', 'business.financials'].includes(transition?.from?.name)) transition.abort();\n });\n }\n beforeModel() {\n this.router.on('routeDidChange', this.redirectToInnerPage);\n this.router.on('routeWillChange', this.blockInnerToParentPage);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.router.off('routeDidChange', this.redirectToInnerPage);\n this.router.off('routeWillChange', this.blockInnerToParentPage);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessRoute);\n});","define(\"scaleflow/routes/business/financials\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessFinancialsRoute = (_class = class BusinessFinancialsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n model() {\n return this.organisation.organisation;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessFinancialsRoute);\n});","define(\"scaleflow/routes/business/goals\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsRoute = (_class = class BusinessGoalsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('goal', {\n include: 'target'\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsRoute);\n});","define(\"scaleflow/routes/business/goals/create\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"scaleflow/validators/goal\", \"scaleflow/validators/target\", \"ember-changeset\"], function (_exports, _object, _route, _service, _ember, _goal, _target, _emberChangeset) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"scaleflow/validators/goal\",0,\"scaleflow/validators/target\",0,\"ember-changeset\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsCreateRoute = (_class = class BusinessGoalsCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n goalValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_goal.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n targetValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_target.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n beforeModel() {\n return Promise.all([this.store.findAll('person'), this.store.findAll('metric')]);\n }\n model() {\n return this.store.createRecord('goal');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n const goalChangeset = (0, _emberChangeset.Changeset)(model.changeset_object, this.goalValidator);\n const targetChangesetFactory = () => {\n const target = this.store.createRecord('target', {});\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n };\n controller.set('goalChangeset', goalChangeset);\n controller.set('targetChangesetFactory', targetChangesetFactory);\n }\n resetForm(controller) {\n controller.set('activeStep', 0);\n controller.set('targetChangesets', []);\n controller.set('selectedGoals', []);\n controller.set('selectedMetrics', []);\n controller.set('goalSearch', '');\n controller.set('metricSearch', '');\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.resetForm(controller);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsCreateRoute);\n});","define(\"scaleflow/routes/business/goals/goal\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalRoute = (_class = class BusinessGoalsGoalRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return Promise.all([this.store.findAll('person'), this.store.findAll('initiative')]);\n }\n model({\n goal_id\n }) {\n return this.store.findRecord('goal', goal_id, {\n include: 'target'\n });\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('business.goals.list');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsGoalRoute);\n});","define(\"scaleflow/routes/business/goals/goal/description\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessGoalsGoalDescriptionRoute extends _route.default {\n model() {\n return this.modelFor('business.goals.goal');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsGoalDescriptionRoute);\n});","define(\"scaleflow/routes/business/goals/goal/edit\", [\"exports\", \"@ember/routing/route\", \"ember-changeset\", \"scaleflow/validators/target\", \"scaleflow/validators/goal\", \"@ember/service\", \"@ember/object\"], function (_exports, _route, _emberChangeset, _target, _goal, _service, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"ember-changeset\",0,\"scaleflow/validators/target\",0,\"scaleflow/validators/goal\",0,\"@ember/service\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalEditRoute = _exports.default = (_class = class BusinessGoalsGoalEditRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n beforeModel() {\n return Promise.all([this.store.findAll('person'), this.store.findAll('metric')]);\n }\n model() {\n return this.modelFor('business.goals.goal');\n }\n goalValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_goal.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n targetValidator({\n key,\n newValue,\n oldValue,\n changes,\n content\n }) {\n let validator = (0, _object.get)(_target.default, key);\n if (typeof validator === 'function') {\n return validator(newValue, oldValue, changes, content);\n }\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n const goalChangeset = (0, _emberChangeset.Changeset)(model.changeset_object, this.goalValidator);\n const targetChangesetFactory = (targetModel = undefined) => {\n const target = targetModel ?? this.store.createRecord('target', {});\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n };\n controller.set('goalChangeset', goalChangeset);\n controller.set('selectedGoals', model.parent?.content ? [model.parent.content] : []);\n controller.set('selectedMetrics', model.metrics);\n controller.set('targetChangesetFactory', targetChangesetFactory);\n const targets = model.targets.content ?? [];\n const targetChangesets = targets.map(target => {\n return (0, _emberChangeset.Changeset)(target, this.targetValidator);\n });\n controller.set('targetChangesets', targetChangesets);\n }\n resetForm(controller) {\n controller.set('activeStep', 0);\n controller.set('targetChangesets', []);\n controller.set('selectedGoals', []);\n controller.set('selectedMetrics', []);\n controller.set('goalSearch', '');\n controller.set('metricSearch', '');\n controller.set('goalChangeset', null);\n controller.set('showDeleteModal', false);\n controller.set('selectedGoal', null);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.resetForm(controller);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/business/goals/goal/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalIndexRoute = (_class = class BusinessGoalsGoalIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('business.goals.goal.description');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsGoalIndexRoute);\n});","define(\"scaleflow/routes/business/goals/goal/initiatives\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsGoalInitiativesRoute = (_class = class BusinessGoalsGoalInitiativesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor2, this);\n _defineProperty(this, \"defaultStatus\", this.betaToggle.statusOptions.map(item => item.value));\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: false\n },\n sources: {\n refreshModel: false\n },\n productManagers: {\n refreshModel: false\n },\n themes: {\n refreshModel: false\n },\n teams: {\n refreshModel: false\n },\n roadmaps: {\n refreshModel: false\n },\n goals: {\n refreshModel: false\n }\n });\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team'), this.store.findAll('goal'), this.store.findAll('role'), this.store.findAll('roadmap'), this.store.findAll('investment-scenario')];\n return Promise.all(promises);\n }\n model(params) {\n const _params = {\n ...params\n };\n delete _params['columns'];\n delete _params['grouping'];\n if (_params.status == undefined || _params.status.length === 0) _params.status = this.defaultStatus;\n return _rsvp.default.hash({\n // initiatives: this.store.query('initiative', {\n // ..._params,\n // goals: [this.modelFor('business.goals.goal').id],\n // include: 'workstream',\n // }),\n goal: this.modelFor('business.goals.goal')\n });\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (!controller.get('sort')) {\n controller.set('sort', 'status');\n }\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n if (!controller.get('grouping')) {\n controller.set('grouping', 'statuses');\n }\n if (controller.get('columns').length === 0) {\n const columns = controller.get('columnOptions').reduce((acc, item) => {\n if (item.show === undefined) acc.push(item.label);else if (item.show === true) acc.push(item.label);\n return acc;\n }, []);\n controller.set('columns', columns);\n }\n // controller.set('list', model.initiatives);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsGoalInitiativesRoute);\n});","define(\"scaleflow/routes/business/goals/goal/subgoals\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessGoalsGoalSubgoalsRoute extends _route.default {\n model() {\n return this.modelFor('business.goals.goal');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsGoalSubgoalsRoute);\n});","define(\"scaleflow/routes/business/goals/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsIndexRoute = (_class = class BusinessGoalsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('business.goals.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsIndexRoute);\n});","define(\"scaleflow/routes/business/goals/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessGoalsListRoute = (_class = class BusinessGoalsListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n beforeModel() {\n return Promise.all([this.store.findAll('person'), this.store.findAll('initiative')]);\n }\n model() {\n return this.modelFor('business.goals');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessGoalsListRoute);\n});","define(\"scaleflow/routes/business/investment-profiles\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessInvestmentProfilesRoute extends _route.default {}\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesRoute);\n});","define(\"scaleflow/routes/business/investment-profiles/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessInvestmentProfilesCreateRoute = (_class = class BusinessInvestmentProfilesCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n const isSubmitted = controller.get('isSubmitted');\n if (isSubmitted === false) {\n const model = controller.get('model');\n if (!model.isDestroyed) model.deleteRecord();\n }\n }\n }\n model() {\n return this.store.createRecord('investment-scenario', {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesCreateRoute);\n});","define(\"scaleflow/routes/business/investment-profiles/investment-profile\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessInvestmentProfilesInvestmentProfileRoute = (_class = class BusinessInvestmentProfilesInvestmentProfileRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model({\n investment_scenario_id\n }) {\n return this.store.findRecord('investment-scenario', investment_scenario_id);\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('business.investment-profiles.list');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesInvestmentProfileRoute);\n});","define(\"scaleflow/routes/business/investment-profiles/investment-profile/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessInvestmentProfilesInvestmentProfileEditRoute extends _route.default {\n model() {\n return this.modelFor('business.investment-profiles.investment-profile');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesInvestmentProfileEditRoute);\n});","define(\"scaleflow/routes/business/investment-profiles/investment-profile/view\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessInvestmentProfilesInvestmentProfileViewRoute extends _route.default {\n model() {\n return this.modelFor('business.investment-profiles.investment-profile');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesInvestmentProfileViewRoute);\n});","define(\"scaleflow/routes/business/investment-profiles/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessInvestmentProfilesListRoute = (_class = class BusinessInvestmentProfilesListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.balance');\n }\n model() {\n return this.store.findAll('investment-scenario', {\n reload: true\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessInvestmentProfilesListRoute);\n});","define(\"scaleflow/routes/business/metrics/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"scaleflow/validators/metric\", \"scaleflow/validators/target\", \"ember-changeset\", \"@ember/object\", \"@sentry/ember\"], function (_exports, _route, _service, _metric, _target, _emberChangeset, _object, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"scaleflow/validators/metric\",0,\"scaleflow/validators/target\",0,\"ember-changeset\",0,\"@ember/object\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsCreateRoute = (_class = class BusinessMetricsCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n metricValidator({\n key,\n newValue\n }) {\n let validator = (0, _object.get)(_metric.default, key);\n if (typeof validator === 'function') {\n return validator(key, newValue);\n }\n }\n targetValidator({\n key,\n newValue\n }) {\n let validator = (0, _object.get)(_target.default, key);\n if (typeof validator === 'function') {\n return validator(key, newValue);\n }\n }\n beforeModel() {\n return this.store.findAll('goal');\n }\n model() {\n return this.store.createRecord('metric');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n const metricChangeset = (0, _emberChangeset.Changeset)(model.changeset_object, this.metricValidator);\n const targetChangeset = (0, _emberChangeset.Changeset)(model, this.targetValidator);\n controller.set('metricChangeset', metricChangeset);\n controller.set('targetChangeset', targetChangeset);\n }\n resetForm(controller) {\n controller.set('activeStep', 0);\n controller.set('selectedGoals', []);\n controller.set('goalSearch', '');\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.resetForm(controller);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessMetricsCreateRoute);\n});","define(\"scaleflow/routes/business/metrics/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsIndexRoute = (_class = class BusinessMetricsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('business.metrics.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessMetricsIndexRoute);\n});","define(\"scaleflow/routes/business/metrics/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsListRoute = (_class = class BusinessMetricsListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('metric');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessMetricsListRoute);\n});","define(\"scaleflow/routes/business/metrics/metric\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsMetricRoute = (_class = class BusinessMetricsMetricRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n metric_id\n }) {\n return this.store.findRecord('metric', metric_id, {\n include: 'target'\n });\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('business.metrics.list');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessMetricsMetricRoute);\n});","define(\"scaleflow/routes/business/metrics/metric/edit\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"scaleflow/validators/metric\", \"ember-changeset\", \"@ember/object\"], function (_exports, _route, _service, _ember, _metric, _emberChangeset, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"scaleflow/validators/metric\",0,\"ember-changeset\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessMetricsMetricEditRoute = (_class = class BusinessMetricsMetricEditRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n metricValidator({\n key,\n newValue\n }) {\n let validator = (0, _object.get)(_metric.default, key);\n if (typeof validator === 'function') {\n return validator(key, newValue);\n }\n }\n async beforeModel() {\n await this.store.findAll('goal');\n const model = this.modelFor('business.metrics.metric');\n await model.hasMany('targets').load();\n }\n model() {\n return this.modelFor('business.metrics.metric');\n }\n async setupController(controller, model) {\n super.setupController(controller, model);\n const metricChangeset = (0, _emberChangeset.Changeset)(model.changeset_object, this.metricValidator);\n controller.set('metricChangeset', metricChangeset);\n }\n resetForm(controller) {\n controller.set('activeStep', 0);\n // controller.set('selectedGoals', []);\n // controller.set('goalSearch', '');\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.resetForm(controller);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessMetricsMetricEditRoute);\n});","define(\"scaleflow/routes/business/themes\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesRoute = (_class = class BusinessThemesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model() {\n return this.store.findAll('theme');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessThemesRoute);\n});","define(\"scaleflow/routes/business/themes/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesCreateRoute = (_class = class BusinessThemesCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('theme', {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessThemesCreateRoute);\n});","define(\"scaleflow/routes/business/themes/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesIndexRoute = (_class = class BusinessThemesIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.tags');\n }\n model() {\n return this.store.findAll('theme');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessThemesIndexRoute);\n});","define(\"scaleflow/routes/business/themes/theme\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BusinessThemesThemeRoute = (_class = class BusinessThemesThemeRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model({\n theme_id\n }) {\n return this.store.findRecord('theme', theme_id);\n }\n afterModel() {\n this.router.transitionTo('business.themes.theme.edit');\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('business.themes');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessThemesThemeRoute);\n});","define(\"scaleflow/routes/business/themes/theme/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class BusinessThemesThemeEditRoute extends _route.default {\n model() {\n return this.modelFor('business.themes.theme');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(BusinessThemesThemeEditRoute);\n});","define(\"scaleflow/routes/capacity\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityRoute = (_class = class CapacityRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return _rsvp.default.hash({\n teams: this.store.query('team', {\n filter: {\n active: true\n }\n }),\n roles: this.store.findAll('role')\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(CapacityRoute);\n});","define(\"scaleflow/routes/capacity/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityIndexRoute = (_class = class CapacityIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('capacity.teams');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(CapacityIndexRoute);\n});","define(\"scaleflow/routes/capacity/roles\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityRolesRoute = (_class = class CapacityRolesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.capacity.roles');\n }\n model() {\n return this.modelFor('capacity');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(CapacityRolesRoute);\n});","define(\"scaleflow/routes/capacity/teams\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityTeamsRoute = (_class = class CapacityTeamsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.capacity.teams');\n }\n model() {\n return this.modelFor('capacity');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(CapacityTeamsRoute);\n});","define(\"scaleflow/routes/capacity/weeks\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CapacityWeeksRoute = (_class = class CapacityWeeksRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.capacity.weeks');\n }\n model() {\n return this.modelFor('capacity');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(CapacityWeeksRoute);\n});","define(\"scaleflow/routes/claim\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ClaimRoute = _exports.default = (_class = class ClaimRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('person');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/dashboards/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AnalyticsAllRoute = _exports.default = (_class = class AnalyticsAllRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('dashboards.roi'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/dashboards/roi\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AnalyticsROIRoute = (_class = class AnalyticsROIRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.grid');\n }\n async model() {}\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(AnalyticsROIRoute);\n});","define(\"scaleflow/routes/dashboards/time-to-value\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class AnalyticsTimeToValueRoute extends _route.default {}\n _exports.default = AnalyticsTimeToValueRoute;\n});","define(\"scaleflow/routes/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let IndexRoute = (_class = class IndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n }\n beforeModel() {\n this.router.transitionTo('login');\n }\n model() {\n return {};\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(IndexRoute);\n});","define(\"scaleflow/routes/insights\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class InsightsRoute extends _route.default {}\n _exports.default = InsightsRoute;\n});","define(\"scaleflow/routes/login\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"scaleflow/controllers/application\", \"scaleflow/config/environment\"], function (_exports, _route, _service, _ember, _application, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"scaleflow/controllers/application\",0,\"scaleflow/config/environment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let LoginRoute = (_class = class LoginRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n this.session.prohibitAuthentication(_application.HOMEPAGE);\n if (!this.session.isAuthenticated) {\n window.location.replace(this.loginURL());\n }\n }\n model() {\n return {\n loginURL: this.loginURL()\n };\n }\n loginURL() {\n return `${_environment.default.cognito.domain}/login?client_id=${_environment.default.cognito.clientId}&response_type=code&scope=aws.cognito.signin.user.admin+email+openid&redirect_uri=${window.location.origin}/authenticate`;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(LoginRoute);\n});","define(\"scaleflow/routes/logout\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"scaleflow/config/environment\"], function (_exports, _route, _service, _ember, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"scaleflow/config/environment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let LogoutRoute = (_class = class LogoutRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor3, this);\n }\n async beforeModel() {\n await this.session.invalidate();\n await this.tracker.trackLogout();\n window.location.href = this.logoutURL();\n }\n logoutURL() {\n return `${_environment.default.cognito.domain}/logout?client_id=${_environment.default.cognito.clientId}&response_type=code&scope=aws.cognito.signin.user.admin+email+openid&redirect_uri=${window.location.origin}/authenticate`;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(LogoutRoute);\n});","define(\"scaleflow/routes/operations/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRoute = _exports.default = (_class = class OperationsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('resources.teams'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/people/active\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleActiveRoute = (_class = class OperationsPeopleActiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.people.active');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeopleActiveRoute);\n});","define(\"scaleflow/routes/operations/people/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleCreateRoute = (_class = class OperationsPeopleCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.people.create');\n }\n model() {\n const person = this.store.createRecord('person');\n person.active = false;\n return person;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeopleCreateRoute);\n});","define(\"scaleflow/routes/operations/people/inactive\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleInactiveRoute = (_class = class OperationsPeopleInactiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.people.inactive');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeopleInactiveRoute);\n});","define(\"scaleflow/routes/operations/people/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeopleRoute = (_class = class OperationsPeopleRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('operations.people.active');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeopleRoute);\n});","define(\"scaleflow/routes/operations/people/person\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsPeoplePersonRoute = (_class = class OperationsPeoplePersonRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model(params) {\n const person_id = params.person_id;\n return this.store.findRecord('person', person_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeoplePersonRoute);\n});","define(\"scaleflow/routes/operations/people/person/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class OperationsPeoplePersonEditRoute extends _route.default {\n model() {\n return this.modelFor('operations.people.person');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsPeoplePersonEditRoute);\n});","define(\"scaleflow/routes/operations/roles\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRolesRoute = (_class = class OperationsRolesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.roles');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsRolesRoute);\n});","define(\"scaleflow/routes/operations/roles/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRolesCreateRoute = (_class = class OperationsRolesCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('role');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsRolesCreateRoute);\n});","define(\"scaleflow/routes/operations/roles/role\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRolesRoleRoute = (_class = class OperationsRolesRoleRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model(params) {\n return this.store.findRecord('role', `${params.role}`, {\n reload: true\n }).catch(err => {\n console.log(err);\n if (err?.errors[0].status === '404') {\n this.router.transitionTo('operations.roles');\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsRolesRoleRoute);\n});","define(\"scaleflow/routes/operations/roles/role/edit\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OperationsRolesRoleEditRoute = (_class = class OperationsRolesRoleEditRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model() {\n return this.modelFor('operations.roles.role');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OperationsRolesRoleEditRoute);\n});","define(\"scaleflow/routes/operations/teams/active\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsActiveRoute = _exports.default = (_class = class TeamsActiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.teams.active');\n }\n model() {\n return this.store.query('team', {\n active: true\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/teams/archived\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsArchivedRoute = _exports.default = (_class = class TeamsArchivedRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.teams.archived');\n }\n model() {\n return this.store.query('team', {\n active: false\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/teams/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsCreateRoute = (_class = class TeamsCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n beforeModel() {\n return this.router.transitionTo('resources.teams.create');\n }\n model() {\n return this.store.createRecord('team', {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsCreateRoute);\n});","define(\"scaleflow/routes/operations/teams/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsRoute = _exports.default = (_class = class TeamsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('resources.teams'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/teams/team\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamRoute = (_dec = (0, _service.service)('Team-id-storage'), _class = class TeamsTeamRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"teamStorage\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"users\", _descriptor4, this);\n }\n async afterModel(team) {\n this.teamStorage.setTeam(team.id);\n }\n model(params) {\n return this.store.findRecord('team', `${params.team}`, {\n filters: {\n archived: false\n }\n }).catch(err => {\n if (err.errors[0].status === '404') {\n this.router.transitionTo('/operations/teams');\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"teamStorage\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"users\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamRoute);\n});","define(\"scaleflow/routes/operations/teams/team/check-in\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInRoute = _exports.default = (_class = class TeamsTeamCheckInRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"teamIdStorage\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n async setupController(controller, model) {\n super.setupController(controller, model);\n Promise.all([model.questions, model.lls, model.tfos, model.uncertainties, model.wfas, model.bookmarks, this.store.findAll('initiative')]).then(() => {\n return;\n });\n }\n async beforeModel() {\n const team = this.modelFor('operations.teams.team');\n if (team && team.id) this.teamIdStorage.setTeamId(team.id);\n await this.store.findAll('person');\n }\n model() {\n return this.modelFor('operations.teams.team');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"teamIdStorage\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/teams/team/check-in/archive/lessons-learned\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInArchiveLessonsLearnedRoute = (_class = class TeamsTeamCheckInArchiveLessonsLearnedRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(12, 'weeks').format('yyyy-MM-DD'));\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n this.store.findAll('person').then(results => controller.set('usersModel', results));\n }\n async model() {\n const param = this.paramsFor(this.router.currentURL.includes('teams') ? 'operations.teams.team' : 'initiatives.initiative');\n try {\n let archivedLls = await this.store.query('ll', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...param\n }\n });\n let uniqueDates = this.groupByDate(archivedLls, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: Object.values(param)[0]\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: Object.values(param)[0]\n };\n }\n } catch (err) {\n if (err.errors[0].status === '404') {\n this.router.transitionTo('/teams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamCheckInArchiveLessonsLearnedRoute);\n});","define(\"scaleflow/routes/operations/teams/team/check-in/archive/questions\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInArchiveQuestionsRoute = (_class = class TeamsTeamCheckInArchiveQuestionsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(12, 'weeks').format('yyyy-MM-DD'));\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n this.store.findAll('person').then(results => controller.set('usersModel', results));\n }\n async model() {\n const param = this.paramsFor(this.router.currentURL.includes('teams') ? 'operations.teams.team' : 'initiatives.initiative');\n try {\n let archivedQuestions = await this.store.query('question', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...param\n }\n });\n let uniqueDates = this.groupByDate(archivedQuestions, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: Object.values(param)[0]\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: Object.values(param)[0]\n };\n }\n } catch (err) {\n console.log(err);\n if (err?.errors[0].status === '404') {\n this.router.transitionTo('/teams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamCheckInArchiveQuestionsRoute);\n});","define(\"scaleflow/routes/operations/teams/team/check-in/archive/to-figure-outs\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInArchiveToFigureOutsRoute = (_class = class TeamsTeamCheckInArchiveToFigureOutsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(12, 'weeks').format('yyyy-MM-DD'));\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n this.store.findAll('person').then(results => controller.set('usersModel', results));\n }\n async model() {\n const param = this.paramsFor(this.router.currentURL.includes('teams') ? 'operations.teams.team' : 'initiatives.initiative');\n try {\n let archivedTfo = await this.store.query('tfo', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...param\n }\n });\n let uniqueDates = this.groupByDate(archivedTfo, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: Object.values(param)[0]\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: Object.values(param)[0]\n };\n }\n } catch (err) {\n if (err.errors[0].status === '404') {\n this.router.transitionTo('/teams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamCheckInArchiveToFigureOutsRoute);\n});","define(\"scaleflow/routes/operations/teams/team/check-in/archive/uncertainties\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInArchiveUncertaintiesRoute = (_class = class TeamsTeamCheckInArchiveUncertaintiesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(12, 'weeks').format('yyyy-MM-DD'));\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n this.store.findAll('person').then(results => controller.set('usersModel', results));\n }\n async model() {\n const param = this.paramsFor(this.router.currentURL.includes('teams') ? 'operations.teams.team' : 'initiatives.initiative');\n try {\n let archivedQuestions = await this.store.query('uncertainty', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...param\n }\n });\n let uniqueDates = this.groupByDate(archivedQuestions, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: Object.values(param)[0]\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: Object.values(param)[0]\n };\n }\n } catch (err) {\n console.log(err);\n if (err?.errors[0].status === '404') {\n this.router.transitionTo('/teams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamCheckInArchiveUncertaintiesRoute);\n});","define(\"scaleflow/routes/operations/teams/team/check-in/archive/waiting-for-answers\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"moment\"], function (_exports, _route, _service, _ember, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamCheckInArchiveWaitingForAnswersRoute = (_class = class TeamsTeamCheckInArchiveWaitingForAnswersRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"today\", (0, _moment.default)().add(2, 'day').format('yyyy-MM-DD'));\n _defineProperty(this, \"two_weeks_ago\", (0, _moment.default)().subtract(12, 'weeks').format('yyyy-MM-DD'));\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n this.store.findAll('person').then(results => controller.set('usersModel', results));\n }\n async model() {\n const param = this.paramsFor(this.router.currentURL.includes('teams') ? 'operations.teams.team' : 'initiatives.initiative');\n try {\n let archivedQuestions = await this.store.query('wfa', {\n filter: {\n archived: true,\n after: this.two_weeks_ago,\n before: this.today,\n ...param\n }\n });\n let uniqueDates = this.groupByDate(archivedQuestions, 'created_at');\n let orderedDates = this.orderDates(uniqueDates);\n if (Object.keys(orderedDates).length === 0) {\n return {\n data: false,\n parent_id: Object.values(param)[0]\n };\n } else {\n let formattedDates = this.formatDates(orderedDates);\n return {\n data: formattedDates,\n parent_id: Object.values(param)[0]\n };\n }\n } catch (err) {\n console.log(err);\n if (err?.errors[0].status === '404') {\n this.router.transitionTo('/teams');\n }\n }\n }\n formatDates(object) {\n for (const key in object) {\n let momentFormat = (0, _moment.default)(key).calendar(null, {\n sameDay: '[Today]',\n lastDay: '[Yesterday]',\n lastWeek: 'ddd, DD MMM YYYY',\n sameElse: 'ddd, DD MMM YYYY'\n });\n delete Object.assign(object, {\n [momentFormat]: object[key]\n })[key];\n }\n return object;\n }\n groupByDate(array, key) {\n return array.reduce(function (rv, x) {\n const dateKey = (0, _moment.default)(x.get(key)).format('YYYY-MM-DD');\n (rv[dateKey] = rv[dateKey] || []).push(x);\n return rv;\n }, {});\n }\n orderDates(unordered) {\n return Object.keys(unordered).sort().reverse().reduce((obj, key) => {\n obj[key] = unordered[key];\n return obj;\n }, {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamCheckInArchiveWaitingForAnswersRoute);\n});","define(\"scaleflow/routes/operations/teams/team/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamRoute = _exports.default = (_class = class TeamRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('operations.teams.team.check-in'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/operations/teams/team/settings\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsTeamSettingsRoute = (_class = class TeamsTeamSettingsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n const time_regex = /[0-9]{2}:[0-9]{2}/g;\n if (!model.archive_time || !time_regex.test(model.archive_time)) return;\n const [hours, minutes] = model.archive_time.split(':');\n if (+hours === 0) {\n controller.set('meridiem', 'am');\n controller.set('time', `${12}:${minutes}`);\n } else if (+hours > 12) {\n controller.set('meridiem', 'pm');\n controller.set('time', `${String(+hours - 12).padStart(2, '0')}:${minutes}`);\n } else if (+hours === 12) {\n controller.set('meridiem', 'pm');\n controller.set('time', `12:${minutes}`);\n } else {\n controller.set('meridiem', 'am');\n controller.set('time', `${+hours}:${minutes}`);\n }\n }\n beforeModel() {\n return _rsvp.default.all([this.store.findAll('person')]);\n }\n model() {\n return this.modelFor('operations.teams.team');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(TeamsTeamSettingsRoute);\n});","define(\"scaleflow/routes/planning\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningRoute = (_class = class PlanningRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor2, this);\n }\n beforeModel(transition) {\n if (this.organisation.is_trial) {\n this.router.transitionTo('backlog.initiatives.index');\n }\n if (transition.to?.name.split('.').length >= 3 //i.e. it is an inner page of planning dashboard\n ) ;else this.router.transitionTo('planning.dashboard');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningRoute);\n});","define(\"scaleflow/routes/planning/dashboard\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardRoute = (_class = class PlanningDashboardRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor3, this);\n _defineProperty(this, \"selectedRoadmap\", null);\n }\n async loadRoadmapInitiatives(initiative_ids) {\n const promises = [];\n for (let i = 0; i < initiative_ids.length; i++) {\n promises.push(this.store.findRecord('initiative', initiative_ids[i], {\n include: 'workstream'\n }));\n await Promise.allSettled(promises);\n }\n }\n async beforeModel() {\n if (!this.roadmap.id) await this.roadmap.setup();\n let roadmap_id = this.roadmap.id;\n let roadmap = this.store.peekRecord('roadmap', roadmap_id);\n if (!roadmap || roadmap?.isDestroyed) await this.roadmap.setup();\n roadmap_id = this.roadmap.id;\n roadmap = this.store.peekRecord('roadmap', roadmap_id);\n this.selectedRoadmap = roadmap;\n const initiative_ids = roadmap.hasMany('initiatives').ids();\n await this.loadRoadmapInitiatives(initiative_ids);\n await this.store.findAll('role');\n return roadmap;\n }\n async model() {\n return this.selectedRoadmap;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardRoute);\n});","define(\"scaleflow/routes/planning/dashboard/balance\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardBalanceRoute = (_class = class PlanningDashboardBalanceRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"roadmap\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n model() {\n const scenario_id = this.roadmap.scenario.id;\n return this.store.findRecord('investment-scenario', scenario_id, {\n reload: true\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardBalanceRoute);\n});","define(\"scaleflow/routes/planning/dashboard/balance/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class PlanningDashboardBalanceEditRoute extends _route.default {\n model() {\n return this.modelFor('planning.dashboard.balance');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardBalanceEditRoute);\n});","define(\"scaleflow/routes/planning/dashboard/balance/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardBalanceIndexRoute = (_class = class PlanningDashboardBalanceIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.modelFor('planning.dashboard.balance')?.reload();\n return this.router.transitionTo('planning.dashboard.balance.view');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardBalanceIndexRoute);\n});","define(\"scaleflow/routes/planning/dashboard/balance/view\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class PlanningDashboardBalanceViewRoute extends _route.default {\n model() {\n return this.modelFor('planning.dashboard.balance');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardBalanceViewRoute);\n});","define(\"scaleflow/routes/planning/dashboard/capacity\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityRoute = (_class = class PlanningDashboardCapacityRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"redirectToInnerPage\", transition => {\n if (transition?.to?.name === 'planning.dashboard.capacity.index') this.router.transitionTo('planning.dashboard.capacity.teams');\n });\n _defineProperty(this, \"blockInnerToParentPage\", transition => {\n if (transition?.to?.name === 'planning.dashboard.capacity.index' && ['planning.dashboard.capacity.weeks', 'planning.dashboard.capacity.roles', 'planning.dashboard.capacity.teams'].includes(transition?.from?.name)) transition.abort();\n });\n }\n beforeModel() {\n this.router.on('routeDidChange', this.redirectToInnerPage);\n this.router.on('routeWillChange', this.blockInnerToParentPage);\n }\n model() {\n return _rsvp.default.hash({\n roadmap: this.modelFor('planning.dashboard'),\n teams: this.store.query('team', {\n filter: {\n active: true\n }\n }),\n roles: this.store.findAll('role')\n });\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.router.off('routeDidChange', this.redirectToInnerPage);\n this.router.off('routeWillChange', this.blockInnerToParentPage);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardCapacityRoute);\n});","define(\"scaleflow/routes/planning/dashboard/capacity/roles\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityRolesRoute = (_class = class PlanningDashboardCapacityRolesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", this.betaToggle.statusOptions.map(item => item.value));\n }\n model() {\n return this.modelFor('planning.dashboard.capacity');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n if (!controller.get('grouping')) {\n controller.set('grouping', 'teams');\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardCapacityRolesRoute);\n});","define(\"scaleflow/routes/planning/dashboard/capacity/teams\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityTeamsRoute = (_class = class PlanningDashboardCapacityTeamsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", this.betaToggle.statusOptions.map(item => item.value));\n }\n model() {\n return this.modelFor('planning.dashboard.capacity');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n if (!controller.get('grouping')) {\n controller.set('grouping', 'teams');\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardCapacityTeamsRoute);\n});","define(\"scaleflow/routes/planning/dashboard/capacity/weeks\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardCapacityWeeksRoute = (_class = class PlanningDashboardCapacityWeeksRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", this.betaToggle.statusOptions.map(item => item.value));\n }\n model() {\n return this.modelFor('planning.dashboard.capacity');\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardCapacityWeeksRoute);\n});","define(\"scaleflow/routes/planning/dashboard/grid\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardGridRoute = (_class = class PlanningDashboardGridRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.overview.grid');\n }\n model() {\n return this.modelFor('planning.dashboard');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardGridRoute);\n});","define(\"scaleflow/routes/planning/dashboard/health\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class PlanningDashboardHealthRoute extends _route.default {\n model() {\n return this.modelFor('planning.dashboard');\n }\n }\n _exports.default = PlanningDashboardHealthRoute;\n});","define(\"scaleflow/routes/planning/dashboard/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardIndexRoute = (_class = class PlanningDashboardIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n return this.router.transitionTo('planning.dashboard.overview.grid');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardIndexRoute);\n});","define(\"scaleflow/routes/planning/dashboard/lanes\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n class PlanningDashboardLanesRoute extends _route.default {\n async model() {\n const roadmap = this.modelFor('planning.dashboard');\n return _rsvp.default.hash({\n roadmap,\n scenario: await roadmap.scenario\n });\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardLanesRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class PlanningDashboardOverviewRoute extends _route.default {}\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview/grid\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class PlanningDashboardOverviewGridRoute extends _route.default {\n model() {\n return this.modelFor('planning.dashboard');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewGridRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewIndexRoute = (_class = class PlanningDashboardOverviewIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n return this.router.transitionTo('planning.dashboard.overview.grid');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewIndexRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview/lanes\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n class PlanningDashboardOverviewLanesRoute extends _route.default {\n async model() {\n const roadmap = this.modelFor('planning.dashboard');\n return _rsvp.default.hash({\n roadmap,\n scenario: await roadmap.scenario\n });\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewLanesRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview/table\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewTableRoute = (_class = class PlanningDashboardOverviewTableRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: false\n },\n sources: {\n refreshModel: false\n },\n productManagers: {\n refreshModel: false\n },\n themes: {\n refreshModel: false\n },\n teams: {\n refreshModel: false\n },\n roadmaps: {\n refreshModel: false\n }\n });\n _defineProperty(this, \"teams\", []);\n _defineProperty(this, \"persons\", []);\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team'), this.store.findAll('goal'), this.store.findAll('role'), this.store.findAll('roadmap')];\n return Promise.all(promises).then(([, persons, teams]) => {\n this.persons = persons;\n this.teams = teams;\n });\n }\n model(params) {\n const _params = {\n ...params\n };\n delete _params['columns'];\n delete _params['grouping'];\n if (_params.status == undefined || _params.status.length === 0) _params.status = this.defaultStatus;\n return _rsvp.default.hash({\n initiatives: this.store.query('initiative', {\n ..._params,\n include: 'workstream'\n }),\n roadmap: this.modelFor('planning.dashboard')\n });\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (controller.get('statuses').length === 0) {\n controller.set('statuses', this.defaultStatus);\n }\n if (!controller.get('grouping')) {\n controller.set('grouping', 'statuses');\n }\n if (controller.get('columns').length === 0) {\n const columns = controller.get('columnOptions').reduce((acc, item) => {\n if (item.show === undefined) acc.push(item.label);else if (item.show === true) acc.push(item.label);\n return acc;\n }, []);\n controller.set('columns', columns);\n }\n controller.set('persons', this.persons);\n controller.set('teamOptions', this.teams);\n controller.set('list', model);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewTableRoute);\n});","define(\"scaleflow/routes/planning/dashboard/overview/timeline\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardOverviewTimelineRoute = (_class = class PlanningDashboardOverviewTimelineRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n },\n show_grouping: {\n refreshModel: false\n }\n });\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team')];\n return Promise.all(promises).then(() => {});\n }\n relationshipPromises(initiative) {\n return [initiative.teams, initiative.belongsTo('bon').load()];\n }\n async model() {\n const results = (await this.store.query('initiative', {\n include: 'week'\n })).slice();\n const promises = [];\n for (let i = 0; i < results.length; i++) {\n promises.push(this.relationshipPromises(results[i]));\n }\n const resolved_promises = await Promise.allSettled(promises.flat());\n for (let i = 0, j = 0; j < resolved_promises.length; i++, j += 2) {\n if (resolved_promises[j].status === 'fulfilled') results[i].teams_sync = resolved_promises[j].value.slice();\n }\n return results;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardOverviewTimelineRoute);\n});","define(\"scaleflow/routes/planning/dashboard/progress\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class PlanningDashboardProgressRoute extends _route.default {}\n _exports.default = PlanningDashboardProgressRoute;\n});","define(\"scaleflow/routes/planning/dashboard/roi\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class PlanningDashboardRoiRoute extends _route.default {}\n _exports.default = PlanningDashboardRoiRoute;\n});","define(\"scaleflow/routes/planning/dashboard/timeline\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let PlanningDashboardTimelineRoute = (_class = class PlanningDashboardTimelineRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n },\n show_grouping: {\n refreshModel: false\n }\n });\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team')];\n return Promise.all(promises).then(() => {});\n }\n relationshipPromises(initiative) {\n return [initiative.teams, initiative.belongsTo('bon').load()];\n }\n async model() {\n const results = (await this.store.query('initiative', {\n include: 'week'\n })).slice();\n const promises = [];\n for (let i = 0; i < results.length; i++) {\n promises.push(this.relationshipPromises(results[i]));\n }\n const resolved_promises = await Promise.allSettled(promises.flat());\n for (let i = 0, j = 0; j < resolved_promises.length; i++, j += 3) {\n if (resolved_promises[j].status === 'fulfilled') results[i].teams_sync = resolved_promises[j].value.slice();\n }\n return results;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(PlanningDashboardTimelineRoute);\n});","define(\"scaleflow/routes/progress\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ProgressRoute = (_class = class ProgressRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n }\n beforeModel() {\n this.router.transitionTo('planning.dashboard.health');\n // return this.store.findAll('roadmap', { reload: true }).then((roadmaps) => {\n // this.roadmaps = roadmaps;\n // });\n }\n model() {\n const roadmap = this.roadmaps.find(r => r.id == this.roadmap?.selected?.id) ?? this.roadmaps[this.roadmaps.length - 1];\n return _rsvp.default.hash({\n roadmaps: this.roadmaps,\n roadmap: roadmap,\n initiatives: roadmap.initiatives\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ProgressRoute);\n});","define(\"scaleflow/routes/resources\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesRoute = (_class = class ResourcesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _defineProperty(this, \"redirectToInnerPage\", transition => {\n if (transition?.to?.name === 'resources.index') this.router.transitionTo('resources.teams');\n });\n _defineProperty(this, \"blockInnerToParentPage\", transition => {\n if (transition?.to?.name === 'resources.index' && ['resources.teams', 'resources.people', 'resources.roles'].includes(transition?.from?.name)) transition.abort();\n });\n }\n beforeModel() {\n this.router.on('routeDidChange', this.redirectToInnerPage);\n this.router.on('routeWillChange', this.blockInnerToParentPage);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.router.off('routeDidChange', this.redirectToInnerPage);\n this.router.off('routeWillChange', this.blockInnerToParentPage);\n }\n }\n model() {\n return _rsvp.default.hash({\n people: {\n active: this.store.query('person', {\n filter: {\n active: true\n }\n }),\n inactive: this.store.query('person', {\n filter: {\n active: false\n }\n })\n },\n roles: this.store.findAll('role'),\n teams: {\n active: this.store.query('team', {\n active: true\n }),\n archived: this.store.query('team', {\n active: false\n })\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesRoute);\n});","define(\"scaleflow/routes/resources/balance\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesBalanceRoute = (_class = class ResourcesBalanceRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('investment-scenario', {\n reload: true\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesBalanceRoute);\n});","define(\"scaleflow/routes/resources/people\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class ResourcesPeopleRoute extends _route.default {}\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeopleRoute);\n});","define(\"scaleflow/routes/resources/people/active\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleActiveRoute = (_class = class ResourcesPeopleActiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('resources').people.active;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeopleActiveRoute);\n});","define(\"scaleflow/routes/resources/people/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleCreateRoute = (_class = class ResourcesPeopleCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n const person = this.store.createRecord('person');\n person.active = true;\n return person;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeopleCreateRoute);\n});","define(\"scaleflow/routes/resources/people/inactive\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeopleInactiveRoute = (_class = class ResourcesPeopleInactiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('resources').people.inactive;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeopleInactiveRoute);\n});","define(\"scaleflow/routes/resources/people/person\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesPeoplePersonRoute = (_class = class ResourcesPeoplePersonRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n person_id\n }) {\n return this.store.findRecord('person', person_id);\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('resources.people.active');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeoplePersonRoute);\n});","define(\"scaleflow/routes/resources/people/person/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class ResourcesPeoplePersonEditRoute extends _route.default {\n model() {\n return this.modelFor('resources.people.person');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesPeoplePersonEditRoute);\n});","define(\"scaleflow/routes/resources/roles\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesRolesRoute = (_class = class ResourcesRolesRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('resources').roles;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesRolesRoute);\n});","define(\"scaleflow/routes/resources/roles/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesRolesCreateRoute = (_class = class ResourcesRolesCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('role');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesRolesCreateRoute);\n});","define(\"scaleflow/routes/resources/roles/role\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _object, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesRolesRoleRoute = (_class = class ResourcesRolesRoleRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n }\n model({\n role_id\n }) {\n return this.store.findRecord('role', role_id);\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('resources.roles');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesRolesRoleRoute);\n});","define(\"scaleflow/routes/resources/roles/role/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class ResourcesRolesRoleEditRoute extends _route.default {\n model() {\n return this.modelFor('resources.roles.role');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesRolesRoleEditRoute);\n});","define(\"scaleflow/routes/resources/teams\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsRoute = (_class = class ResourcesTeamsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _defineProperty(this, \"redirectToInnerPage\", transition => {\n if (transition?.to?.name === 'resources.teams.index') this.router.transitionTo('resources.teams.active');\n });\n _defineProperty(this, \"blockInnerToParentPage\", transition => {\n if (transition?.to?.name === 'resources.teams.index' && ['resources.active', 'resources.archived'].includes(transition?.from?.name)) transition.abort();\n });\n }\n beforeModel() {\n this.router.on('routeDidChange', this.redirectToInnerPage);\n this.router.on('routeWillChange', this.blockInnerToParentPage);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.router.off('routeDidChange', this.redirectToInnerPage);\n this.router.off('routeWillChange', this.blockInnerToParentPage);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesTeamsRoute);\n});","define(\"scaleflow/routes/resources/teams/active\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsActiveRoute = (_class = class ResourcesTeamsActiveRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('resources').teams.active;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesTeamsActiveRoute);\n});","define(\"scaleflow/routes/resources/teams/archived\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsArchivedRoute = (_class = class ResourcesTeamsArchivedRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.modelFor('resources').teams.archived;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesTeamsArchivedRoute);\n});","define(\"scaleflow/routes/resources/teams/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ResourcesTeamsCreateRoute = (_class = class ResourcesTeamsCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('team', {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(ResourcesTeamsCreateRoute);\n});","define(\"scaleflow/routes/roadmap/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapIndexRoute = _exports.default = (_class = class RoadmapIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel(/* transition */\n ) {\n this.router.transitionTo('roadmap.strategy'); // Implicitly aborts the on-going transition.\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/roadmap/now-next-later\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapRadarRoute = (_dec = (0, _service.service)('current-user'), _class = class RoadmapRadarRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n }\n });\n _defineProperty(this, \"themes\", []);\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team')];\n return Promise.all(promises).then(([themes]) => {\n this.themes = themes;\n });\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n controller.set('themeOptions', this.themes);\n if (controller.get('status').length === 0) {\n controller.set('status', this.defaultStatus);\n }\n }\n async model(params) {\n const _params = {\n ...params\n };\n delete _params['grouping'];\n if (_params.status.length === 0) _params.status = this.defaultStatus;\n const initiatives = this.store.query('initiative', _params);\n return {\n organisation: this.organisation.organisation,\n initiatives\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapRadarRoute);\n});","define(\"scaleflow/routes/roadmap/radar\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapRadarRoute = (_dec = (0, _service.service)('current-user'), _class = class RoadmapRadarRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n }\n });\n _defineProperty(this, \"themes\", []);\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team')];\n return Promise.all(promises).then(([themes]) => {\n this.themes = themes;\n });\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n controller.set('themeOptions', this.themes);\n if (controller.get('status').length === 0) {\n controller.set('status', this.defaultStatus);\n }\n }\n async model(params) {\n const _params = {\n ...params\n };\n delete _params['grouping'];\n if (_params.status.length === 0) _params.status = this.defaultStatus;\n const initiatives = await this.store.query('initiative', _params);\n return {\n organisation: this.organisation.organisation,\n initiatives\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapRadarRoute);\n});","define(\"scaleflow/routes/roadmap/strategy/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.copyExistingScenarioToNewScenario = copyExistingScenarioToNewScenario;\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n function copyExistingScenarioToNewScenario(existing_scenario) {\n let new_scenario = this.store.createRecord('investment-scenario');\n new_scenario = existing_scenario.copy_to_object(new_scenario);\n return new_scenario;\n }\n let RoadmapStrategyCreateRoute = (_class = class RoadmapStrategyCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: false\n },\n from: {\n refreshModel: false\n },\n to: {\n refreshModel: false\n },\n sources: {\n refreshModel: false\n },\n product_managers: {\n refreshModel: false\n },\n themes: {\n refreshModel: false\n },\n teams: {\n refreshModel: false\n }\n });\n _defineProperty(this, \"scenarios\", []);\n }\n setupController(controller, model) {\n super.setupController(...arguments);\n controller.set('initiatives', model.initiatives);\n }\n async model(params) {\n const _params = {\n ...params\n };\n delete _params['grouping'];\n if (_params.status == undefined || _params.status.length === 0) _params.status = this.defaultStatus;\n const scenarios = await this.store.findAll('investment-scenario', {\n reload: true\n });\n const scenario = copyExistingScenarioToNewScenario.call(this, scenarios?.[0]);\n return _rsvp.default.hash({\n initiatives: this.store.query('initiative', _params).then(async results => {\n const initiatives = results.slice();\n const promises = [];\n initiatives.forEach(initiative => {\n promises.push(initiative.belongsTo('bon').load());\n promises.push(initiative.hasMany('initiative-updates').load());\n });\n await Promise.all(promises);\n return results;\n }),\n scenarios,\n roadmap: this.store.createRecord('roadmap'),\n scenario: scenario\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapStrategyCreateRoute);\n});","define(\"scaleflow/routes/roadmap/strategy/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyIndexRoute = (_class = class RoadmapStrategyIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('roadmap');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapStrategyIndexRoute);\n});","define(\"scaleflow/routes/roadmap/strategy/roadmap\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _object, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapRoute = _exports.default = (_class = class RoadmapStrategyRoadmapRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"redirectToInnerPage\", transition => {\n if (transition?.to?.name === 'roadmap.strategy.roadmap.index') this.router.transitionTo('roadmap.strategy.roadmap.grid');\n });\n _defineProperty(this, \"blockInnerToParentPage\", transition => {\n if (transition?.to?.name === 'roadmap.strategy.roadmap.index' && ['roadmap.strategy.roadmap.grid', 'roadmap.strategy.roadmap.lanes'].includes(transition?.from?.name)) transition.abort();\n });\n }\n beforeModel() {\n this.router.on('routeDidChange', this.redirectToInnerPage);\n this.router.on('routeWillChange', this.blockInnerToParentPage);\n }\n model(params) {\n return this.store.findRecord('roadmap', params.roadmap_id);\n }\n error(error) {\n if (error.code === 'NotFoundError') {\n this.router.replaceWith('planning.dashboard');\n } else {\n // Let the route above this handle the error.\n return true;\n }\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n this.router.off('routeDidChange', this.redirectToInnerPage);\n this.router.off('routeWillChange', this.blockInnerToParentPage);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"error\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"error\"), _class.prototype), _class);\n});","define(\"scaleflow/routes/roadmap/strategy/roadmap/edit\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\", \"rsvp\"], function (_exports, _route, _service, _ember, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\",0,\"rsvp\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapEditRoute = (_class = class RoadmapStrategyRoadmapEditRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY', 'DRAFT']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: false\n },\n from: {\n refreshModel: false\n },\n to: {\n refreshModel: false\n },\n sources: {\n refreshModel: false\n },\n product_managers: {\n refreshModel: false\n },\n themes: {\n refreshModel: false\n },\n teams: {\n refreshModel: false\n }\n });\n }\n setupController(controller, model) {\n super.setupController(...arguments);\n controller.set('initiatives', model.initiatives);\n }\n async model(params) {\n const _params = {\n ...params\n };\n delete _params['grouping'];\n if (_params.status == undefined || _params.status.length === 0) _params.status = this.defaultStatus;\n const roadmap = this.modelFor('roadmap.strategy.roadmap');\n return _rsvp.default.hash({\n initiatives: this.store.query('initiative', _params).then(async results => {\n const initiatives = results.slice();\n const promises = [];\n initiatives.forEach(initiative => {\n promises.push(initiative.belongsTo('bon').load());\n });\n await Promise.all(promises);\n return results;\n }),\n scenarios: this.store.findAll('investment-scenario', {\n include: 'roadmap',\n reload: true\n }),\n roadmap: roadmap,\n scenario: roadmap.get('investment-scenario')\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapStrategyRoadmapEditRoute);\n});","define(\"scaleflow/routes/roadmap/strategy/roadmap/grid\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapViewGridRoute = (_class = class RoadmapStrategyRoadmapViewGridRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n }\n beforeModel() {\n const model = this.modelFor('roadmap.strategy.roadmap');\n this.roadmap.setId(model.id);\n this.router.transitionTo('planning.dashboard.grid');\n }\n model() {\n return this.modelFor('roadmap.strategy.roadmap');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapStrategyRoadmapViewGridRoute);\n});","define(\"scaleflow/routes/roadmap/strategy/roadmap/lanes\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapLensRoute = _exports.default = (_class = class RoadmapStrategyRoadmapLensRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n }\n beforeModel() {\n const model = this.modelFor('roadmap.strategy.roadmap');\n this.roadmap.setId(model.id);\n this.router.transitionTo('planning.dashboard.lanes');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/roadmap/strategy/roadmap/timeline\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapStrategyRoadmapTimelineRoute = (_class = class RoadmapStrategyRoadmapTimelineRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor2, this);\n _initializerDefineProperty(this, \"store\", _descriptor3, this);\n // defaultStatus = ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY'];\n _defineProperty(this, \"defaultStatus\", []);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n },\n roadmaps: {\n refreshModel: false\n },\n show_grouping: {\n refreshModel: false\n }\n });\n }\n beforeModel() {\n const model = this.modelFor('roadmap.strategy.roadmap');\n this.roadmap.setId(model.id);\n this.router.transitionTo('planning.dashboard.timeline');\n }\n // const promises = [\n // this.store.findAll('theme'),\n // this.store.findAll('person'),\n // this.store.findAll('team'),\n // ];\n // return Promise.all(promises).then(() => {});\n\n // setupController(controller, model) {\n // super.setupController(controller, model);\n // if (controller.get('status').length === 0) {\n // controller.set('status', this.defaultStatus);\n // }\n // }\n\n relationshipPromises(initiative) {\n return [initiative.teams, initiative.hasMany('initiative-updates').load(), initiative.belongsTo('bon').load()];\n }\n async model(params) {\n const roadmap = this.modelFor('roadmap.strategy.roadmap');\n const _params = {\n ...params\n };\n delete _params['start_date'];\n delete _params['end_date'];\n if (_params.status.length === 0) _params.status = this.defaultStatus;\n const results = (await this.store.query('initiative', {\n ..._params,\n include: 'week'\n })).slice();\n const promises = [];\n for (let i = 0; i < results.length; i++) {\n promises.push(this.relationshipPromises(results[i]));\n // await results[i].hasMany('initiative-updates').load();\n // await results[i].belongsTo('bon').load()\n }\n const resolved_promises = await Promise.all(promises.flat());\n for (let i = 0, j = 0; j < resolved_promises.length; i++, j += 3) {\n results[i].teams_sync = resolved_promises[j].slice();\n }\n return {\n initiatives: results,\n roadmap\n };\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapStrategyRoadmapTimelineRoute);\n});","define(\"scaleflow/routes/roadmap/timeline\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapTimelineRoute = (_class = class RoadmapTimelineRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"defaultStatus\", ['ACTIVE', 'READY', 'READY FOR PLANNING', 'DISCOVERY']);\n _defineProperty(this, \"queryParams\", {\n status: {\n refreshModel: true\n },\n sources: {\n refreshModel: true\n },\n product_managers: {\n refreshModel: true\n },\n themes: {\n refreshModel: true\n },\n teams: {\n refreshModel: true\n },\n roadmaps: {\n refreshModel: false\n },\n show_grouping: {\n refreshModel: false\n }\n });\n }\n beforeModel() {\n const promises = [this.store.findAll('theme'), this.store.findAll('person'), this.store.findAll('team')];\n return Promise.all(promises).then(() => {});\n }\n setupController(controller, model) {\n super.setupController(controller, model);\n if (controller.get('status').length === 0) {\n controller.set('status', this.defaultStatus);\n }\n }\n relationshipPromises(initiative) {\n return [initiative.teams, initiative.hasMany('initiative-updates').load(), initiative.belongsTo('bon').load()];\n }\n async model(params) {\n const _params = {\n ...params\n };\n delete _params['grouping'];\n delete _params['start_date'];\n delete _params['end_date'];\n if (_params.status.length === 0) _params.status = this.defaultStatus;\n const results = (await this.store.query('initiative', {\n ..._params,\n include: 'week'\n })).slice();\n const promises = [];\n for (let i = 0; i < results.length; i++) {\n promises.push(this.relationshipPromises(results[i]));\n // await results[i].hasMany('initiative-updates').load();\n // await results[i].belongsTo('bon').load()\n }\n const resolved_promises = await Promise.all(promises.flat());\n for (let i = 0, j = 0; j < resolved_promises.length; i++, j += 3) {\n results[i].teams_sync = resolved_promises[j].slice();\n }\n return results;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(RoadmapTimelineRoute);\n});","define(\"scaleflow/routes/settings/account\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let AccountRoute = (_dec = (0, _service.service)('current-user'), _class = class AccountRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n }\n model() {\n return this.currentUser.currentUser;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(AccountRoute);\n});","define(\"scaleflow/routes/settings/agents/agent\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsAgentRoute = (_class = class SettingsAgentsAgentRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n agent_id\n }) {\n return this.store.findRecord('agent', agent_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAgentsAgentRoute);\n});","define(\"scaleflow/routes/settings/agents/agent/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class SettingsAgentsAgentEditRoute extends _route.default {\n model() {\n return this.modelFor('settings.agents.agent');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAgentsAgentEditRoute);\n});","define(\"scaleflow/routes/settings/agents/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsIndexRoute = (_class = class SettingsAgentsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.agents.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAgentsIndexRoute);\n});","define(\"scaleflow/routes/settings/agents/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsListRoute = (_class = class SettingsAgentsListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('agent');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAgentsListRoute);\n});","define(\"scaleflow/routes/settings/agents/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAgentsListCreateRoute = (_class = class SettingsAgentsListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('agent');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAgentsListCreateRoute);\n});","define(\"scaleflow/routes/settings/areas/area\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasAreaRoute = (_class = class SettingsAreasAreaRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n area_id\n }) {\n return this.store.findRecord('area', area_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAreasAreaRoute);\n});","define(\"scaleflow/routes/settings/areas/area/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class SettingsAreasAreaEditRoute extends _route.default {\n model() {\n return this.modelFor('settings.areas.area');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAreasAreaEditRoute);\n});","define(\"scaleflow/routes/settings/areas/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasIndexRoute = (_class = class SettingsAreasIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.areas.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAreasIndexRoute);\n});","define(\"scaleflow/routes/settings/areas/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasListRoute = (_class = class SettingsAreasListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('area');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAreasListRoute);\n});","define(\"scaleflow/routes/settings/areas/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsAreasListCreateRoute = (_class = class SettingsAreasListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('area');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsAreasListCreateRoute);\n});","define(\"scaleflow/routes/settings/customers/customer\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersCustomerRoute = (_class = class SettingsCustomersCustomerRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n customer_id\n }) {\n return this.store.findRecord('customer', customer_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsCustomersCustomerRoute);\n});","define(\"scaleflow/routes/settings/customers/customer/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class SettingsCustomersCustomerEditRoute extends _route.default {\n model() {\n return this.modelFor('settings.customers.customer');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsCustomersCustomerEditRoute);\n});","define(\"scaleflow/routes/settings/customers/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersIndexRoute = (_class = class SettingsCustomersIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.customers.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsCustomersIndexRoute);\n});","define(\"scaleflow/routes/settings/customers/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersListRoute = (_class = class SettingsCustomersListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('customer');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsCustomersListRoute);\n});","define(\"scaleflow/routes/settings/customers/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsCustomersListCreateRoute = (_class = class SettingsCustomersListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('customer');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsCustomersListCreateRoute);\n});","define(\"scaleflow/routes/settings/departments/department\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsDepartmentRoute = (_class = class SettingsDepartmentsDepartmentRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n department_id\n }) {\n return this.store.findRecord('department', department_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsDepartmentsDepartmentRoute);\n});","define(\"scaleflow/routes/settings/departments/department/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class SettingsDepartmentsDepartmentEditRoute extends _route.default {\n model() {\n return this.modelFor('settings.departments.department');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsDepartmentsDepartmentEditRoute);\n});","define(\"scaleflow/routes/settings/departments/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsIndexRoute = (_class = class SettingsDepartmentsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.departments.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsDepartmentsIndexRoute);\n});","define(\"scaleflow/routes/settings/departments/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsListRoute = (_class = class SettingsDepartmentsListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('department');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsDepartmentsListRoute);\n});","define(\"scaleflow/routes/settings/departments/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsDepartmentsListCreateRoute = (_class = class SettingsDepartmentsListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('department');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsDepartmentsListCreateRoute);\n});","define(\"scaleflow/routes/settings/financials\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsFinancialsRoute = (_class = class SettingsFinancialsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n model() {\n return this.organisation.organisation;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsFinancialsRoute);\n});","define(\"scaleflow/routes/settings/groups/group\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsGroupRoute = (_class = class SettingsGroupsGroupRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model({\n group_id\n }) {\n return this.store.findRecord('group', group_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsGroupsGroupRoute);\n});","define(\"scaleflow/routes/settings/groups/group/edit\", [\"exports\", \"@ember/routing/route\", \"@sentry/ember\"], function (_exports, _route, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n class SettingsGroupsGroupEditRoute extends _route.default {\n model() {\n return this.modelFor('settings.groups.group');\n }\n }\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsGroupsGroupEditRoute);\n});","define(\"scaleflow/routes/settings/groups/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsIndexRoute = (_class = class SettingsGroupsIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('settings.groups.list');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsGroupsIndexRoute);\n});","define(\"scaleflow/routes/settings/groups/list\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsListRoute = (_class = class SettingsGroupsListRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('group');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsGroupsListRoute);\n});","define(\"scaleflow/routes/settings/groups/list/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsGroupsListCreateRoute = (_class = class SettingsGroupsListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.createRecord('group');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsGroupsListCreateRoute);\n});","define(\"scaleflow/routes/settings/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let IndexRoute = (_class = class IndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n async beforeModel() {\n this.router.transitionTo('settings.account');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(IndexRoute);\n});","define(\"scaleflow/routes/settings/organisation\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let OrganisationRoute = (_class = class OrganisationRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n model() {\n return this.organisation.organisation;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(OrganisationRoute);\n});","define(\"scaleflow/routes/settings/tags\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let SettingsTagsRoute = (_class = class SettingsTagsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('theme');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(SettingsTagsRoute);\n});","define(\"scaleflow/routes/strategy/financials\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyFinancialsRoute = (_class = class StrategyFinancialsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n model() {\n return this.organisation.organisation;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyFinancialsRoute);\n});","define(\"scaleflow/routes/strategy/goals\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyGoalsRoute = (_class = class StrategyGoalsRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n async model() {\n return this.store.findAll('goal');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyGoalsRoute);\n});","define(\"scaleflow/routes/strategy/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyIndexRoute = (_class = class StrategyIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('resources.balance');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyIndexRoute);\n});","define(\"scaleflow/routes/strategy/investment-scenarios/create\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyListCreateRoute = (_class = class StrategyListCreateRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n const isSubmitted = controller.get('isSubmitted');\n if (isSubmitted === false) {\n const model = controller.get('model');\n if (!model.isDestroyed) model.deleteRecord();\n }\n }\n }\n model() {\n return this.store.createRecord('investment-scenario', {});\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyListCreateRoute);\n});","define(\"scaleflow/routes/strategy/investment-scenarios/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyListIndexRoute = (_class = class StrategyListIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model() {\n return this.store.findAll('investment-scenario', {\n reload: true\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyListIndexRoute);\n});","define(\"scaleflow/routes/strategy/investment-scenarios/investment-scenario\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@sentry/ember\"], function (_exports, _route, _service, _ember) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyListStrategyEditRoute = (_class = class StrategyListStrategyEditRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n }\n model(params) {\n return this.store.findRecord('investment-scenario', params.investment_scenario_id);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n var _default = _exports.default = (0, _ember.instrumentRoutePerformance)(StrategyListStrategyEditRoute);\n});","define(\"scaleflow/routes/strategy/investment-scenarios/investment-scenario/edit\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class StrategyInvestmentScenariosInvestmentScenarioEditRoute extends _route.default {\n model() {\n return this.modelFor('strategy.investment-scenarios.investment-scenario');\n }\n }\n _exports.default = StrategyInvestmentScenariosInvestmentScenarioEditRoute;\n});","define(\"scaleflow/routes/strategy/investment-scenarios/investment-scenario/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let StrategyInvestmentScenariosInvestmentScenarioIndexRoute = _exports.default = (_class = class StrategyInvestmentScenariosInvestmentScenarioIndexRoute extends _route.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n }\n beforeModel() {\n this.router.transitionTo('strategy.investment-scenarios.investment-scenario.view');\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/routes/strategy/investment-scenarios/investment-scenario/view\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n class StrategyInvestmentScenariosInvestmentScenarioViewRoute extends _route.default {\n model() {\n return this.modelFor('strategy.investment-scenarios.investment-scenario');\n }\n }\n _exports.default = StrategyInvestmentScenariosInvestmentScenarioViewRoute;\n});","define(\"scaleflow/serializers/application\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n // @ts-expect-error I dunno why but i get module not exported errors\n class Application extends _jsonApi.default {\n keyForAttribute(key) {\n return key;\n }\n }\n\n // // DO NOT DELETE: this is how TypeScript knows how to look up your serializers.\n // declare module 'ember-data/types/registries/serializer' {\n // export default interface SerializerRegistry {\n // application: Application;\n // }\n // }\n _exports.default = Application;\n});","define(\"scaleflow/serializers/base-item\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n class BaseItemSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return attr;\n }\n normalize(typeHash, hash) {\n if (hash.attributes) {\n if (hash.attributes.status === 'O' || !hash.attributes.status) {\n hash.attributes.status = false;\n } else {\n hash.attributes.status = true;\n }\n }\n return super.normalize(typeHash, hash);\n }\n serialize() {\n let json = super.serialize(...arguments);\n if (json.data?.attributes?.updated_at || json.data?.attributes?.updated_at == null) {\n delete json.data.attributes.updated_at;\n }\n return json;\n }\n }\n _exports.default = BaseItemSerializer;\n});","define(\"scaleflow/serializers/conversation\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n class ConversationSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return attr;\n }\n serialize() {\n let json = super.serialize(...arguments);\n if (json.data?.relationships?.person !== undefined) {\n delete json.data.relationships.person;\n }\n return json;\n }\n }\n _exports.default = ConversationSerializer;\n});","define(\"scaleflow/serializers/initiative\", [\"exports\", \"@ember-data/serializer/json-api\", \"@ember/service\", \"@ember/string\", \"scaleflow/utils/convert-markdown-to-text-delta\", \"scaleflow/utils/quill-extenstions/custom-quill-template\"], function (_exports, _jsonApi, _service, _string, _convertMarkdownToTextDelta, _customQuillTemplate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\",0,\"@ember/service\",0,\"@ember/string\",0,\"scaleflow/utils/convert-markdown-to-text-delta\",0,\"scaleflow/utils/quill-extenstions/custom-quill-template\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let Initiativeerializer = _exports.default = (_class = class Initiativeerializer extends _jsonApi.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"organisation\", _descriptor, this);\n }\n keyForAttribute(attr) {\n return (0, _string.underscore)(attr);\n }\n serialize() {\n let json = super.serialize(...arguments);\n json.data.attributes.external_urls = {\n initiative_doc: json.data.attributes?.initiative_doc || '',\n approach: json.data.attributes?.approach || ''\n };\n delete json.data.attributes.initiative_doc;\n delete json.data.attributes.approach;\n delete json.data.attributes.favorite;\n if (!Object.hasOwnProperty.apply(json.data.attributes, ['active'])) {\n json.data.attributes.active = true;\n }\n if (json.data.attributes.duration && json.data.attributes.duration?.split(':').length !== 2) {\n const duration = json.data.attributes.duration;\n json.data.attributes.duration = `${duration}:${duration}`;\n }\n if (this.initiativeIsNew(json) && this.tenantIsEligibleForCustomTemplate(this.organisation.id)) {\n this.injectSummaryTextDelta(json);\n }\n return json;\n }\n injectSummaryTextDelta(json) {\n json.data.attributes.summary = _customQuillTemplate.default;\n }\n initiativeIsNew(json) {\n return !json.data.id;\n }\n tenantIsEligibleForCustomTemplate(organisation_id) {\n return organisation_id === 'samotics';\n }\n normalize(store, model) {\n const {\n attributes\n } = model;\n if (!attributes) return super.normalize(...arguments);\n if (typeof attributes.duration === 'object') {\n const duration = attributes.duration?.from ?? '';\n attributes.duration = duration;\n }\n if (typeof attributes.starting_week === 'object') {\n const from = attributes.starting_week?.from ?? '';\n const to = attributes.starting_week?.to ?? '';\n // Only set starting_week if we have valid values\n if (from && to) {\n attributes.starting_week = `${from}:${to}`;\n } else {\n attributes.starting_week = null;\n }\n }\n\n //remove 'team' relationship from the payload\n const relationships = model?.relationships;\n if (relationships) delete relationships['team'];\n if (relationships) delete relationships['conversations'];\n return super.normalize(...arguments);\n }\n normalizeResponse(store, primaryModelClass, payload) {\n if (payload?.data?.attributes?.external_urls) {\n payload.data.attributes.initiative_doc = payload.data.attributes.external_urls?.initiative_doc || '';\n payload.data.attributes.approach = payload.data.attributes.external_urls?.approach || '';\n }\n if (payload?.data?.attributes?.starting_week) {\n const from = payload.data.attributes.starting_week?.from ?? '';\n const to = payload.data.attributes.starting_week?.to ?? '';\n // Only set starting_week if we have valid values\n if (from && to) {\n payload.data.attributes.starting_week = `${from}:${to}`;\n } else {\n payload.data.attributes.starting_week = null;\n }\n }\n if (payload?.data?.attributes?.duration) {\n const duration = payload.data.attributes.duration?.from ?? '';\n payload.data.attributes.duration = duration;\n }\n if (payload?.data?.attributes?.bon_text_delta) {\n payload.data.attributes.bon_text_delta = (0, _convertMarkdownToTextDelta.processMarkdownInTextDelta)(payload?.data.attributes.bon_text_delta);\n }\n if (payload?.data?.attributes?.summary) {\n payload.data.attributes.summary = (0, _convertMarkdownToTextDelta.processMarkdownInTextDelta)(payload.data.attributes.summary);\n }\n return super.normalizeResponse(...arguments);\n }\n normalizeFindAllResponse(store, _, payload) {\n payload.data.forEach(item => {\n this.normalizeResponse(undefined, undefined, {\n data: {\n ...item\n }\n });\n });\n return super.normalizeFindAllResponse(...arguments);\n }\n normalizeQueryResponse(store, _, payload) {\n payload.data.forEach(item => {\n this.normalizeResponse(undefined, undefined, {\n data: {\n ...item\n }\n });\n });\n return super.normalizeFindAllResponse(...arguments);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/serializers/ll\", [\"exports\", \"scaleflow/serializers/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/serializers/base-item\"eaimeta@70e063a35619d71f\n class LlSerializer extends _baseItem.default {}\n _exports.default = LlSerializer;\n});","define(\"scaleflow/serializers/message\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n class MessageSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return attr;\n }\n serialize() {\n let json = super.serialize(...arguments);\n if (json.data?.attributes?.loading !== undefined) {\n delete json.data.attributes.loading;\n }\n return json;\n }\n }\n _exports.default = MessageSerializer;\n});","define(\"scaleflow/serializers/person\", [\"exports\", \"@ember-data/serializer/json-api\", \"@ember/string\"], function (_exports, _jsonApi, _string) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\",0,\"@ember/string\"eaimeta@70e063a35619d71f\n class PersonSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return (0, _string.underscore)(attr);\n }\n\n // serialize() {\n // let json = super.serialize(...arguments);\n // json.data.attributes.settings = {\n // show_uncertainties: json.data.attributes.show_uncertainties,\n // show_wfa: json.data.attributes.show_wfa,\n // };\n\n // delete json.data.attributes.show_uncertainties;\n // delete json.data.attributes.show_wfa;\n\n // return json;\n // }\n }\n _exports.default = PersonSerializer;\n});","define(\"scaleflow/serializers/question\", [\"exports\", \"scaleflow/serializers/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/serializers/base-item\"eaimeta@70e063a35619d71f\n class QuestionSerializer extends _baseItem.default {}\n _exports.default = QuestionSerializer;\n});","define(\"scaleflow/serializers/roadmap\", [\"exports\", \"@ember-data/serializer/json-api\", \"scaleflow/utils/create-iso-string-from-date\"], function (_exports, _jsonApi, _createIsoStringFromDate) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\",0,\"scaleflow/utils/create-iso-string-from-date\"eaimeta@70e063a35619d71f\n const isISODateString = dateString => {\n // ISO 8601 regex\n const isoRegex = /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})(\\.\\d+)?(Z|([+-]\\d{2}:\\d{2}))?$|^(\\d{4})-(\\d{2})-(\\d{2})$/;\n\n // Test against the regex\n return isoRegex.test(dateString);\n };\n class RoadmapSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return attr;\n }\n serialize() {\n let json = super.serialize(...arguments);\n const start_date = json.data?.attributes?.start_date;\n if (!isISODateString(start_date)) json.data.attributes.start_date = (0, _createIsoStringFromDate.default)(start_date);\n const end_date = json.data?.attributes?.end_date;\n if (!isISODateString(end_date)) json.data.attributes.end_date = (0, _createIsoStringFromDate.default)(end_date);\n return json;\n }\n }\n _exports.default = RoadmapSerializer;\n});","define(\"scaleflow/serializers/target\", [\"exports\", \"@ember-data/serializer/json-api\", \"moment\"], function (_exports, _jsonApi, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\",0,\"moment\"eaimeta@70e063a35619d71f\n class TargetSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return attr;\n }\n normalize(typeHash, hash) {\n if (hash?.attributes?.end_date) {\n hash.attributes.end_date = (0, _moment.default)(hash.attributes.end_date).format('YYYY-MM-DD');\n }\n return super.normalize(typeHash, hash);\n }\n }\n _exports.default = TargetSerializer;\n});","define(\"scaleflow/serializers/team\", [\"exports\", \"@ember-data/serializer/json-api\", \"@ember/string\"], function (_exports, _jsonApi, _string) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\",0,\"@ember/string\"eaimeta@70e063a35619d71f\n class TeamSerializer extends _jsonApi.default {\n keyForAttribute(attr) {\n return (0, _string.underscore)(attr);\n }\n serialize() {\n let json = super.serialize(...arguments);\n json.data.attributes.settings = {\n show_uncertainties: json.data.attributes.show_uncertainties,\n show_wfa: json.data.attributes.show_wfa\n };\n delete json.data.attributes.show_uncertainties;\n delete json.data.attributes.show_wfa;\n delete json.data.attributes.favorite;\n return json;\n }\n normalizeResponse(store, primaryModelClass, payload) {\n if (payload.data.attributes && payload.data.attributes.settings) {\n payload.data.attributes.show_uncertainties = payload.data.attributes.settings.show_uncertainties;\n payload.data.attributes.show_wfa = payload.data.attributes.settings.show_wfa;\n delete payload.data.attributes.settings;\n }\n return super.normalizeResponse(...arguments);\n }\n normalizeFindAllResponse(store, _, payload) {\n payload.data.forEach(item => {\n this.normalizeResponse(undefined, undefined, {\n data: {\n ...item\n }\n });\n });\n return super.normalizeFindAllResponse(...arguments);\n }\n }\n _exports.default = TeamSerializer;\n});","define(\"scaleflow/serializers/tfo\", [\"exports\", \"scaleflow/serializers/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/serializers/base-item\"eaimeta@70e063a35619d71f\n class TfoSerializer extends _baseItem.default {}\n _exports.default = TfoSerializer;\n});","define(\"scaleflow/serializers/uncertainty\", [\"exports\", \"scaleflow/serializers/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/serializers/base-item\"eaimeta@70e063a35619d71f\n class UncertaintySerializer extends _baseItem.default {}\n _exports.default = UncertaintySerializer;\n});","define(\"scaleflow/serializers/wfa\", [\"exports\", \"scaleflow/serializers/base-item\"], function (_exports, _baseItem) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"scaleflow/serializers/base-item\"eaimeta@70e063a35619d71f\n class WfaSerializer extends _baseItem.default {}\n _exports.default = WfaSerializer;\n});","define(\"scaleflow/services/-ea-motion\", [\"exports\", \"ember-animated/services/motion\"], function (_exports, _motion) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _motion.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-animated/services/motion\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/-ensure-registered\", [\"exports\", \"@embroider/util/services/ensure-registered\"], function (_exports, _ensureRegistered) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _ensureRegistered.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@embroider/util/services/ensure-registered\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/beta-toggle\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\", \"scaleflow/models/initiative-update\", \"scaleflow/utils/capitalize\", \"scaleflow/utils/numberSort\"], function (_exports, _service, _tracking, _initiativeUpdate, _capitalize, _numberSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"scaleflow/models/initiative-update\",0,\"scaleflow/utils/capitalize\",0,\"scaleflow/utils/numberSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let BetaToggleService = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _service.service)('current-user'), _class = class BetaToggleService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"orgService\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"config\", _descriptor4, this);\n }\n get orgId() {\n return this.orgService.id;\n }\n async setup() {\n if (this.config == undefined) {\n const res = await fetch('/js/appconfig.json');\n const json = await res.json();\n this.config = json;\n }\n }\n get showCheckin() {\n return this.retrievePermission('checkin');\n }\n get initiativeDocumentRoute() {\n return 'initiative-doc-v2';\n }\n get showMetrics() {\n return this.retrievePermission('metrics');\n }\n get balanceProfile() {\n return this.retrievePermission('balanceProfile');\n }\n get showPlanning() {\n return this.retrievePermission('planning');\n }\n get showWorkstreams() {\n return this.retrievePermission('workstreams');\n }\n get hideCapacity() {\n return this.retrievePermission('hide-capacity');\n }\n get newCustomersV2Snippet() {\n // return this.retrievePermission('new-customers-v2-snippet');\n return true;\n }\n get showAiFeatures() {\n return this.retrievePermission('ai');\n }\n get showIdeas() {\n return this.retrievePermission('ideas');\n }\n get showGroups() {\n return this.retrievePermission('groups');\n }\n get showInitiativeAbbrvFieldInQuickAddFormForQPQ() {\n return this.orgId === '01JWX0S5B0X2Z7RS5EANMYPP1Z';\n }\n get statusOptions() {\n const options = [{\n label: this.intl.t('status-options.draft'),\n value: 'DRAFT',\n description: this.intl.t('status-options.draft-description'),\n tableOrder: 4\n }, {\n label: this.intl.t('status-options.discovery'),\n value: 'DISCOVERY',\n description: this.intl.t('status-options.discovery-description'),\n tableOrder: 3\n }, {\n label: this.intl.t('status-options.planning'),\n value: 'READY FOR PLANNING',\n description: this.intl.t('status-options.planning-description'),\n tableOrder: 2\n }, {\n label: this.intl.t('status-options.ready'),\n value: 'READY',\n description: this.intl.t('status-options.ready-description'),\n tableOrder: 1\n }, {\n label: this.intl.t('status-options.active'),\n value: 'ACTIVE',\n description: this.intl.t('status-options.active-description'),\n tableOrder: 0\n }, {\n label: this.intl.t('status-options.completed'),\n value: 'COMPLETED',\n description: this.intl.t('status-options.completed-description'),\n tableOrder: 6\n }, {\n label: this.intl.t('status-options.archived'),\n value: 'ARCHIVED',\n description: this.intl.t('status-options.archived-description'),\n tableOrder: 8\n }, {\n label: this.intl.t('status-options.parked'),\n value: 'PARKED',\n description: this.intl.t('status-options.parked-description'),\n tableOrder: 5\n }];\n if (['01JWX0S5B0X2Z7RS5EANMYPP1Z', '2'].includes(this.orgId)) {\n options.push({\n label: this.intl.t('status-options.soft-delete'),\n value: 'SOFT DELETE',\n description: this.intl.t('status-options.soft-delete-description'),\n tableOrder: 12\n });\n }\n return options;\n }\n get sortedStatusOptions() {\n return [...this.statusOptions].sort((a, b) => (0, _numberSort.default)(a.tableOrder, b.tableOrder, 'asc'));\n }\n get statusPriority() {\n return this.statusOptions.reduce((acc, status) => {\n acc[status.value] = status.tableOrder;\n return acc;\n }, {});\n }\n get healthPriority() {\n return Object.keys(_initiativeUpdate.STATUS_KEYS).reduce((acc, item, index) => {\n acc[item] = index;\n return acc;\n }, {});\n }\n get sourceOptions() {\n return [{\n label: this.intl.t('source-options.vision'),\n value: 'VISION',\n description: this.intl.t('source-options.vision-description'),\n tableOrder: 1\n }, {\n label: this.intl.t('source-options.customer-request'),\n value: 'CUSTOMER REQUEST CURRENT',\n description: this.intl.t('source-options.customer-request-description'),\n tableOrder: 2\n }, {\n label: this.intl.t('source-options.operations'),\n value: 'OPERATIONS AND MAINTENANCE',\n description: this.intl.t('source-options.operations-description'),\n tableOrder: 3\n }];\n }\n get themeColorOptions() {\n return [{\n label: 'Grey',\n value: 'bg-gray-600'\n }, {\n label: 'Yellow',\n value: 'bg-amber-600'\n }, {\n label: 'Orange',\n value: 'bg-orange-600'\n }, {\n label: 'Green',\n value: 'bg-green-600'\n }, {\n label: 'Blue',\n value: 'bg-blue-600'\n }, {\n label: 'Purple',\n value: 'bg-purple-600'\n }, {\n label: 'Pink',\n value: 'bg-pink-600'\n }, {\n label: 'Red',\n value: 'bg-red-600'\n }];\n }\n retrievePermission(key) {\n if (!this.config) return;\n const permissionsObj = this.config[key];\n if (!permissionsObj) {\n return true;\n }\n if (permissionsObj.enabled === false) {\n return false;\n }\n const tenants = permissionsObj.tenants;\n if (!tenants) return true;\n return tenants.includes(String(this.orgId));\n }\n get groupingOptions() {\n return [{\n label: this.intl.t('_initiatives.status'),\n value: 'status',\n default: true\n }, {\n label: `${this.intl.t('_initiatives.progress')} ${(0, _capitalize.default)(this.intl.t('_initiatives.update', {\n num: 1\n }))}`,\n value: 'updates'\n }, {\n label: this.intl.t('_initiatives.product-manager'),\n value: 'productManager'\n }, {\n label: this.intl.t('_initiatives.teams', {\n num: 1\n }),\n value: 'team'\n }, {\n label: this.intl.t('_initiatives.source', {\n num: 1\n }),\n value: 'source'\n }, {\n label: this.intl.t('_initiatives.themes', {\n num: 1\n }),\n value: 'theme'\n }, {\n label: this.intl.t('_initiatives.roadmap', {\n num: 1\n }),\n value: 'roadmap'\n }];\n }\n get reportingPeriodOptions() {\n return [{\n label: 'Day',\n value: 'DAY'\n }, {\n label: 'Week',\n value: 'WEEK'\n }, {\n label: 'Month',\n value: 'MONTH'\n }, {\n label: 'Year',\n value: 'YEAR'\n }, {\n label: \"Doesn't matter\",\n value: 'NONE'\n }];\n }\n get trendOptions() {\n return [{\n label: 'Increase',\n value: 'UP'\n }, {\n label: 'Decrease',\n value: 'DOWN'\n }, {\n label: \"Doesn't matter\",\n value: 'NEUTRAL'\n }];\n }\n get symbolOptions() {\n return [{\n label: 'Number',\n value: 'number'\n }, {\n label: 'Percentage',\n value: 'percentage'\n }, {\n label: 'Currency',\n value: 'currency'\n }];\n }\n get healthOptions() {\n return [{\n value: _initiativeUpdate.STATUS_KEYS.DELAYED,\n label: this.intl.t('_initiatives.updates_delayed')\n }, {\n value: _initiativeUpdate.STATUS_KEYS.AT_RISK,\n label: this.intl.t('_initiatives.updates_at_risk')\n }, {\n value: _initiativeUpdate.STATUS_KEYS.NEEDS_REVIEW,\n label: this.intl.t('_initiatives.updates_needs_review')\n }, {\n value: _initiativeUpdate.STATUS_KEYS.ON_TRACK,\n label: this.intl.t('_initiatives.updates_on_track')\n }];\n }\n get goalStatusOptions() {\n return [{\n label: this.intl.t('_goals.status.true'),\n value: true\n }, {\n label: this.intl.t('_goals.status.false'),\n value: false\n }];\n }\n get durationOptions() {\n return [{\n label: `1 ${this.intl.t('dictionary.weeks', {\n num: 1\n })}`,\n value: 1\n }, {\n label: `2 ${this.intl.t('dictionary.weeks', {\n num: 2\n })}`,\n value: 2\n }, {\n label: `4 ${this.intl.t('dictionary.weeks', {\n num: 4\n })}`,\n value: 4\n }, {\n label: `8 ${this.intl.t('dictionary.weeks', {\n num: 8\n })}`,\n value: 8\n }, {\n label: `12 ${this.intl.t('dictionary.weeks', {\n num: 8\n })}`,\n value: 12\n }, {\n label: `18 ${this.intl.t('dictionary.weeks', {\n num: 8\n })}`,\n value: 18\n }, {\n label: `24 ${this.intl.t('dictionary.weeks', {\n num: 8\n })}`,\n value: 24\n }];\n }\n get columnOptions() {\n const columns = [{\n label: (0, _capitalize.default)(this.intl.t('_initiatives.abbreviation')),\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'abbreviation',\n showVisibilityToggle: true,\n show: this.showInitiativeAbbrvFieldInQuickAddFormForQPQ\n }, {\n label: this.intl.t('_initiatives.progress'),\n dropdownDataKey: 'updates',\n groupingKey: 'progress',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'progress',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.product-manager'),\n dropdownDataKey: 'productManagers',\n groupingKey: 'productManagers',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'productManager',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.teams', {\n num: 3\n }),\n dropdownDataKey: 'teams',\n groupingKey: 'teams',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'team',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('roadmap.title', {\n num: 3\n }),\n class: 'min-w-[120px]',\n dropdownDataKey: 'roadmaps',\n groupingKey: 'roadmaps',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'roadmap',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.status'),\n dropdownDataKey: 'statuses',\n groupingKey: 'statuses',\n showGrouping: true,\n showSorting: true,\n sortKey: 'status',\n sortType: 'alphabetic',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.source', {\n num: 1\n }),\n dropdownDataKey: 'sources',\n groupingKey: 'sources',\n sortKey: 'source',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.themes', {\n num: 3\n }),\n dropdownDataKey: 'themes',\n groupingKey: 'themes',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'theme',\n showVisibilityToggle: true\n }, {\n label: (0, _capitalize.default)(this.intl.t('_initiatives.goals', {\n num: 3\n })),\n class: 'min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap',\n dropdownDataKey: 'goals',\n groupingKey: 'goals',\n showGrouping: true,\n showSorting: true,\n sortType: 'alphabetic',\n sortKey: 'goal',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.impact'),\n class: 'min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'bon_value',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n textAlignment: 'right',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.investment', {\n num: 1\n }),\n class: 'min-w-[120px] text-right',\n sortKey: 'bon_investment',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n textAlignment: 'right',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.returns', {\n num: 1\n }),\n class: 'min-w-[120px] max-w-[200px] text-right',\n sortKey: 'bon_returns',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n textAlignment: 'right',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.effort'),\n class: 'min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n textAlignment: 'right',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.uncertainty', {\n num: 1\n }),\n class: 'min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-right',\n sortKey: 'person_weeks_only_uncertainty',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n textAlignment: 'right',\n showVisibilityToggle: true\n }, {\n label: `${this.intl.t('_teams.title', {\n num: 1\n })} ${this.intl.t('_initiatives.effort')}`,\n class: 'min-w-[120px] max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap text-center',\n sortKey: 'team_effort',\n showGrouping: false,\n showSorting: true,\n sortType: 'numeric',\n show: false,\n showVisibilityToggle: true\n }, {\n label: `${this.intl.t('_initiatives.effort')} ${this.intl.t('_initiatives.details')}`,\n show: false,\n showGrouping: false,\n showSorting: false,\n showVisibilityToggle: true,\n textAlignment: 'right'\n }, {\n label: this.intl.t('_initiatives.starting-week'),\n showGrouping: false,\n showSorting: true,\n sortType: 'date',\n sortKey: 'starting_week',\n class: '!max-w-fit',\n showVisibilityToggle: true\n }, {\n label: this.intl.t('_initiatives.duration'),\n /*dropdownDataKey: 'durations',*/groupingKey: 'durations',\n showGrouping: true,\n showSorting: true,\n sortType: 'numeric',\n sortKey: 'duration',\n showVisibilityToggle: true\n }];\n return columns;\n }\n get agentProviderOptions() {\n return [{\n label: 'n8n',\n value: 'N8N'\n }, {\n label: 'Flowise',\n value: 'FLOWISE'\n }, {\n label: 'Writer',\n value: 'WRITER',\n disabled: true\n }, {\n label: 'Sana',\n value: 'SANA',\n disabled: true\n }, {\n label: 'Langchain',\n value: 'LANGCHAIN',\n disabled: true\n }];\n }\n get ideaStatusOptions() {\n return [{\n label: this.intl.t('idea.status.new'),\n value: 'NEW',\n tableOrder: 1\n }, {\n label: this.intl.t('idea.status.parked'),\n value: 'PARKED',\n tableOrder: 2\n }, {\n label: this.intl.t('idea.status.long_list'),\n value: 'LONG_LIST',\n tableOrder: 3\n }, {\n label: this.intl.t('idea.status.short_list'),\n value: 'SHORT_LIST',\n tableOrder: 4\n }, {\n label: this.intl.t('idea.status.incomplete'),\n value: 'INCOMPLETE',\n tableOrder: 5\n }, {\n label: this.intl.t('idea.status.in_development'),\n value: 'IN_DEVELOPMENT',\n tableOrder: 6\n }, {\n label: this.intl.t('idea.status.in_review'),\n value: 'IN_REVIEW',\n tableOrder: 7\n }, {\n label: this.intl.t('idea.status.done'),\n value: 'DONE',\n tableOrder: 8\n }];\n }\n get payloadOptions() {\n return [{\n key: 'Access Token',\n value: '$access_token',\n type: 'fixed'\n }, {\n key: `${this.intl.t('_initiatives.title', {\n num: 1\n })} ID`,\n value: '$initiative_id',\n type: 'fixed'\n }, {\n key: `${this.intl.t('dictionary.organisation')} ID`,\n value: '$tenant_id',\n type: 'fixed'\n }, {\n key: 'User ID',\n value: '$user_id',\n type: 'fixed'\n }, {\n key: 'Custom',\n value: 'ABC123',\n type: 'custom'\n }];\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"orgService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _class);\n});","define(\"scaleflow/services/chatv2\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\", \"moment\", \"@ember/object\", \"@ember/debug\"], function (_exports, _service, _tracking, _moment, _object, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"moment\",0,\"@ember/object\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let Chatv2Service = _exports.default = (_class = class Chatv2Service extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"activeConversation\", _descriptor4, this);\n _initializerDefineProperty(this, \"chatWindowIsOpen\", _descriptor5, this);\n _initializerDefineProperty(this, \"isFullScreen\", _descriptor6, this);\n _initializerDefineProperty(this, \"recentChatsIsVisible\", _descriptor7, this);\n _defineProperty(this, \"setupCalled\", false);\n _defineProperty(this, \"routeDidChangeHandler\", () => {\n this.setupCalled = true;\n void this.populateChatWindow();\n });\n _defineProperty(this, \"populateChatWindow\", async () => {\n if (!this.currentInitiative?.id) {\n return;\n }\n const initiative = this.store.peekRecord('initiative', this.currentInitiative.id);\n const conversations = await initiative.conversations;\n if (conversations.length === 0) await this.initiateConversation();else {\n const latestConversation = initiative.latestConversation;\n await this.restoreConversation(latestConversation);\n if (conversations.length !== 1) this.toggleRecentChatsIsVisible(true);\n }\n });\n }\n get messageAdapter() {\n return this.store.adapterFor('message');\n }\n setup() {\n this.router.on('routeDidChange', this.routeDidChangeHandler);\n }\n get activeConversationRecord() {\n if (!this.activeConversation) return null;\n return this.store.peekRecord('conversation', this.activeConversation);\n }\n setConversationLoading(conversation_id, isComplete = true) {\n const conversationRecord = this.store.peekRecord('conversation', conversation_id);\n conversationRecord.complete = isComplete;\n }\n get currentInitiative() {\n const isInitiativePage = this.router.currentRoute?.name?.includes('initiatives.initiative');\n if (!isInitiativePage) return {};else {\n return this.router['currentRoute']?.parent?.attributes;\n }\n }\n async saveMessage(userMessage, conversation_id) {\n //Persist locally\n const _message = this.store.createRecord('message', {\n text: userMessage,\n type: 'USER',\n created_at: new Date().toISOString(),\n conversation: this.store.peekRecord('conversation', conversation_id),\n created_by: {\n type: 'PERSON',\n id: this.currentUser.id\n }\n });\n await _message.save();\n }\n sendMessage(message, conversation_id) {\n // Set Conversation to loading\n this.setConversationLoading(conversation_id, false);\n void this.saveMessage(message, conversation_id);\n }\n async restoreConversation(conversation) {\n if (!conversation) (false && !(true) && (0, _debug.assert)('Conversation is undefined', true));\n\n //If already active conversation, do nothing\n if (this.activeConversation === conversation.id) return;\n\n //If initiative does not exist, return\n const initiative = conversation.initiative.content;\n if (!initiative) (false && !(true) && (0, _debug.assert)('Initiative is undefined', true));\n\n //Else load messages\n this.activeConversation = conversation.id;\n await conversation.messages;\n this.closeRecentChatsWindowIfMinimized();\n }\n closeRecentChatsWindowIfMinimized() {\n //If chat window is minimized, close the sidebar so that the selected chat is immediately visible\n if (this.chatWindowIsOpen && !this.isFullScreen) {\n this.toggleRecentChatsIsVisible(false);\n }\n }\n toggleRecentChatsIsVisible(val) {\n if (val === undefined) this.recentChatsIsVisible = !this.recentChatsIsVisible;else this.recentChatsIsVisible = val;\n }\n toggleChatWindow(val) {\n if (val === undefined) this.chatWindowIsOpen = !this.chatWindowIsOpen;else this.chatWindowIsOpen = Boolean(val);\n }\n toggleFullScreen() {\n this.isFullScreen = !this.isFullScreen;\n }\n async initiateConversation() {\n const initiative = this.currentInitiative;\n if (!initiative?.id) return;\n const conversation = this.store.createRecord('conversation', {\n title: `${initiative.title} - ${(0, _moment.default)().format('DD/MM/YYYY HH:mm')}`,\n provider: 'n8n',\n config: {\n url: '',\n payload: {}\n },\n initiative,\n created_at: new Date().toISOString()\n });\n await conversation.save();\n this.activeConversation = conversation.id;\n this.closeRecentChatsWindowIfMinimized();\n }\n async fillConversationDetails(conversation_id, agent) {\n const activeConversation = conversation_id;\n const conversation = this.store.peekRecord('conversation', activeConversation);\n const initiative_id = conversation.initiative.id;\n const initiative = this.store.peekRecord('initiative', initiative_id);\n conversation.initiative = initiative;\n conversation.title = `${agent.name} - ${(0, _moment.default)().format('DD/MM/YYYY HH:mm')}`;\n conversation.setAgentOnConversation(agent);\n await conversation.save();\n }\n async handleConversationInitiateWithAgent(agent) {\n await this.fillConversationDetails(this.activeConversation, agent);\n const query = agent.config['query'];\n this.sendMessage(query, this.activeConversation);\n }\n stopConversation() {\n const messages = this.activeConversationRecord.sortedMessages;\n const lastBotMessage = messages.filter(m => m.type === 'BOT').pop();\n if (!lastBotMessage) return;\n lastBotMessage.status = 'STOPPED';\n lastBotMessage.save();\n }\n willDestroy() {\n if (this.setupCalled) this.router.off('routeDidChange', this.routeDidChangeHandler);\n super.willDestroy();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeConversation\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"chatWindowIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isFullScreen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"recentChatsIsVisible\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleRecentChatsIsVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleChatWindow\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleChatWindow\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleFullScreen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFullScreen\"), _class.prototype), _class); // Don't remove this declaration: this is what enables TypeScript to resolve\n // this service using `Owner.lookup('service:chatv2')`, as well\n // as to check when you pass the service name as an argument to the decorator,\n // like `@service('chatv2') declare altName: Chatv2Service;`.\n});","define(\"scaleflow/services/confetti\", [\"exports\", \"@ember/service\", \"canvas-confetti\"], function (_exports, _service, _canvasConfetti) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"canvas-confetti\"eaimeta@70e063a35619d71f\n class ConfettiService extends _service.default {\n play() {\n var myCanvas = document.createElement('canvas');\n myCanvas.className = 'confetti fixed z-50 inset-0 h-full w-full pointer-events-none';\n document.body.appendChild(myCanvas);\n var myConfetti = _canvasConfetti.default.create(myCanvas, {\n resize: true,\n useWorker: true\n });\n myConfetti({\n particleCount: 100,\n spread: 160,\n origin: {\n y: 0.6\n }\n\n // any other options from the global\n // confetti function\n }).finally(() => document.body.removeChild(myCanvas));\n }\n }\n _exports.default = ConfettiService;\n});","define(\"scaleflow/services/cookies\", [\"exports\", \"ember-cookies/services/cookies\"], function (_exports, _cookies) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _cookies.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-cookies/services/cookies\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/current-user\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"@sentry/browser\", \"amazon-cognito-identity-js\"], function (_exports, _object, _service, _tracking, Sentry, _amazonCognitoIdentityJs) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@sentry/browser\",0,\"amazon-cognito-identity-js\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const loggedOutUser = {\n id: undefined\n };\n let CurrentUserService = _exports.default = (_class = class CurrentUserService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor4, this);\n _initializerDefineProperty(this, \"_currentUser\", _descriptor5, this);\n _defineProperty(this, \"adapter\", this.store.adapterFor('person'));\n }\n get id() {\n return this.currentUser?.id ?? undefined;\n }\n get name() {\n return this.currentUser?.name;\n }\n get abbreviation() {\n return this.currentUser?.abbreviation;\n }\n get email() {\n return this.session?.data?.authenticated?.details?.email ?? undefined;\n }\n get permissions() {\n return this.session?.data?.authenticated?.details?.permissions ?? [];\n }\n get profileColor() {\n return this.currentUser?.color;\n }\n /**\n * Set the current user and set context on Sentry logs\n *\n * @remarks\n * We on purpose don't set any username or email. Sentry can't remove that data once it's logged\n * And due to \"the right to be forgotten\" - we don't want to spill emails and usernames into places\n * where we can't remove them.\n */\n set currentUser(value) {\n if (value.id != undefined) {\n this._currentUser = value;\n Sentry.setUser({\n id: value.id\n });\n this.tracker.setUserId(value.id);\n } else {\n this._currentUser = loggedOutUser;\n Sentry.setUser(null);\n }\n }\n get currentUser() {\n return this._currentUser;\n }\n\n /**\n * This session object is generated using cognito credentials. This can be manually set as credentials for the Amplify Auth packge,\n * which will allow other amplify services like Storage etc to be used without issus\n */\n get currentSession() {\n const {\n idToken,\n refreshToken,\n accessToken\n } = this.session.data?.authenticated?.details ?? {};\n if (!idToken || !refreshToken || !accessToken) return null;\n const session = new _amazonCognitoIdentityJs.CognitoUserSession({\n IdToken: new _amazonCognitoIdentityJs.CognitoIdToken({\n IdToken: idToken\n }),\n RefreshToken: new _amazonCognitoIdentityJs.CognitoRefreshToken({\n RefreshToken: refreshToken\n }),\n AccessToken: new _amazonCognitoIdentityJs.CognitoAccessToken({\n AccessToken: accessToken\n })\n });\n return session;\n }\n\n /**\n * Try and get the currentUser out of local cache, and if it's not there, get one from the database.\n *\n * @privateRemarks\n * Since the getUser command is async, we can't collapse this function yet in the currentUser getter / setter.\n * It would be nice to make sure that currentUser is always set, so that we can just use the getters and the setters.\n *\n * @returns User\n */\n getActiveUser() {\n return this.currentUser;\n }\n\n /**\n * Return the favorite objects of the user.\n *\n * @example\n * Example of return value:\n * ```\n * [\n * { type: 'TEAM', id: '01G6JK4AHE7FP6CXBSS748A68Z' },\n * { type: 'TEAM', id: '01G6N31TWQ9BFPTQEWQDV7BE08' },\n * { type: 'INITIATIVE', id: '01G4FNPAJ5NB9J9EN4Z2GFX06M' },\n * { type: 'INITIATIVE', id: '01G51QH4WG8CSHHA3B2RC4Y93W' },\n * ];\n * ```\n */\n get favorites() {\n return this.currentUser?.get?.('favorites') ?? [];\n }\n async load() {\n if (this.session.isAuthenticated) {\n const person = await this.getUser();\n if (person.id === undefined) {\n let newPerson = await this.createUser();\n await this.claimUser(newPerson.id);\n }\n }\n }\n async getUser() {\n let person = null;\n try {\n person = await this.store.queryRecord('person', {\n me: true\n });\n } catch (error) {\n console.log('error fetching user', error);\n return loggedOutUser;\n }\n this.currentUser = person;\n if (this.favorites) this.formatFavorites(this.favorites);\n return this.currentUser;\n }\n async getRecord(type, id) {\n let record = null;\n record = await this.store.peekRecord(type, id);\n if (!record) record = this.store.findRecord(type, id).catch(() => false);\n return record;\n }\n async formatFavorites(favorites) {\n let length = favorites.length;\n for (let i = 0; i < length; i++) {\n const {\n type,\n id\n } = favorites[i];\n this.getRecord(type.toLowerCase(), id).then(record => {\n if (record) {\n record.favorite = true;\n }\n }).catch(() => null);\n }\n }\n\n /**\n * Create a Persona in the application based on the email address used to sign in.\n *\n * @remarks\n * If sombody logs in, but doesn't have a persona in the system yet. We create a person using their emailadres to give them a name.\n * The person can then later edit this themselves.\n *\n * @returns Person\n */\n async createUser(email = undefined) {\n let name = email ?? this.session?.data?.authenticated?.details?.email.split('@')[0].split('+')[0];\n name = name.charAt(0).toUpperCase() + name.slice(1);\n const personCreate = this.store.createRecord('person', {\n name\n });\n const response = await personCreate.save();\n return response;\n }\n goToLogout() {\n this.router.transitionTo('/logout');\n }\n\n /**\n * Attach your CognitoID to a user in the Database\n *\n * @remarks\n * We have 2 types of \"users\": Users & Personas.\n *\n * The first type of users are in AWS Cognito, it's where your username (email) and password are stored.\n * The application doesn't really know anything about that.\n *\n * The second type of \"user\" are the personals we create in the application. It you, or your colleague, Bill or Jean.\n * These personas can exist even if there is no \"User\" attached in Cognito. You can actually assign items to \"Bob\"\n * even when Bob has never logged into Scaleflow.\n *\n * However, when Bob DOES log into scaleflow using his User in Cognito, he can come in and say \"Hey...that's me, I'm that Bob!\"\n * That'se why this function is called \"ClaimUser\" - Bob (Cognito) can claim (Bob) in the application.\n *\n * @param id - the ID of the user in the backend.\n * @returns user\n */\n async claimUser(id) {\n let claimUser = await this.adapter.claimUser(id);\n if (claimUser) {\n const person = await this.store.queryRecord('person', {\n me: true\n });\n this.currentUser = person;\n return this.currentUser;\n }\n return claimUser;\n }\n\n /**\n * Clear the current user for a logged out User\n *\n */\n clear() {\n this.currentUser = loggedOutUser;\n }\n get favoriteTeams() {\n return this._currentUser.favoriteTeams;\n }\n get favoriteInitiatives() {\n return this._currentUser.favoriteInitiatives;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"_currentUser\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return loggedOutUser;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"getUser\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"getUser\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"goToLogout\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"goToLogout\"), _class.prototype), _class);\n});","define(\"scaleflow/services/data-socket\", [\"exports\", \"@ember/object\", \"@ember/service\", \"scaleflow/config/environment\"], function (_exports, _object, _service, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/service\",0,\"scaleflow/config/environment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let DataSocketService = _exports.default = (_dec = (0, _service.service)('current-user'), _class = class DataSocketService extends _service.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"session\", _descriptor3, this);\n _defineProperty(this, \"socket\", null);\n _defineProperty(this, \"reconnectAttemtps\", 0);\n _defineProperty(this, \"_messageQueue\", []);\n _defineProperty(this, \"QUEUED\", 'queued');\n _defineProperty(this, \"SENT\", 'sent');\n _defineProperty(this, \"FAILED\", 'failed');\n this.setupBFCacheHandling();\n this.setupVisibilityHandling();\n this.setupNetworkHandling();\n }\n get JWTToken() {\n const token = this.session?.data?.authenticated?.details?.accessToken;\n return token;\n }\n get tenantId() {\n const tenant_id = this.session.activeTenantId;\n return tenant_id;\n }\n async socketURL() {\n if (this.session.tokenIsExpired) {\n try {\n await this.session.refreshToken();\n } catch (err) {\n console.debug('Invalidating session due to failed token refresh', err);\n this.session.invalidate();\n }\n }\n return `${_environment.default.WSS_ENDPOINT}?JWT_TOKEN=${this.JWTToken ?? ''}&tenant_id=${this.tenantId}`;\n }\n get healthy() {\n return this.socket?.readyState === WebSocket.OPEN || this.socket?.readyState === WebSocket.CONNECTING;\n }\n get unhealthy() {\n return !this.healthy;\n }\n setup() {\n if (this.socket == undefined) {\n this.connect();\n }\n }\n connect(delay = 0, backOff = true) {\n // If we have a healthy connection, do not connect.\n if (this.healthy) {\n this.reconnectAttempts = 0;\n return;\n }\n if (this.reconnectAttempts >= 5) {\n console.info('❌ Max websocket reconnect attempts reached');\n return;\n }\n if (backOff) {\n delay = Math.pow(2, this.reconnectAttempts) * delay;\n }\n this.reconnectAttempts++;\n if (delay > 0) {\n setTimeout(() => {\n this.connect(0, backOff); // This will trigger onopen when successful\n }, delay);\n } else {\n this._connect();\n }\n }\n async _connect() {\n const socket = new WebSocket(await this.socketURL());\n this.socket = socket;\n socket.onopen = () => this.openHandler();\n socket.onmessage = event => this.messageHandler(event);\n socket.onclose = event => this.closeHandler(event);\n socket.onerror = event => this.errorHandler(event);\n }\n close(message) {\n if (this.socket) {\n this.socket.close(1000, message);\n }\n }\n send(message) {\n // Layer 1: Prevent obvious failures\n if (!this.socket) {\n this._queue(message);\n this.connect();\n return this.QUEUED;\n }\n\n // Layer 2: Be smart about message queueing.\n switch (this.socket.readyState) {\n case WebSocket.CONNECTING:\n return this._queue(message);\n case WebSocket.OPEN:\n return this._send(message);\n case WebSocket.CLOSING:\n case WebSocket.CLOSED:\n return this._queue(message);\n default:\n console.debug('Unknown WebSocket state:', this.socket.readyState);\n this.connect(100);\n this._queue(message);\n }\n }\n\n // We assume all normal checks have been done before calling\n // the internal _send function. So we do a try catch to recover\n // from completely unexpected errors. No retries. No nothing.\n // just recover and continue.\n _send(message) {\n try {\n this.socket.send(JSON.stringify(message));\n return this.SENT; // ✅ Success\n } catch (error) {\n console.debug('Send failed:', error);\n return this.FAILED;\n }\n }\n _queue(message) {\n this._messageQueue.push(message);\n return this.QUEUED;\n }\n flushQueue() {\n if (this._messageQueue.length === 0) return;\n const failedMessages = [];\n while (this._messageQueue.length > 0) {\n const message = this._messageQueue.shift(); // Remove from front\n const result = this._send(message);\n if (result !== this.SENT) failedMessages.push(message);\n }\n this._messageQueue.push(...failedMessages);\n }\n openHandler() {\n this.reconnectAttempts = 0;\n this.flushQueue();\n this.startHeartbeat();\n }\n closeHandler(event) {\n this.stopHeartbeat();\n switch (event.code) {\n case 1006:\n // Network issue\n this.connect(1000); // Quick retry\n break;\n case 1012:\n // Service restart\n this.connect(5000); // Give time to restart\n break;\n case 1013:\n // Try again later\n this.connect(30000, false); // Server asked to wait\n break;\n case 1011: // Server error\n case 1014:\n // Bad gateway\n this.connect(5000);\n break;\n default:\n // Do not Reconnect\n this.socket = undefined;\n break;\n }\n }\n errorHandler(event) {\n console.debug('Websocket Error: ', event);\n }\n messageHandler(event) {\n this.pushMessage(event.data);\n }\n setupVisibilityHandling() {\n document.addEventListener('visibilitychange', () => {\n if (document.hidden) {\n this.handleTabHidden();\n } else {\n this.handleTabVisible();\n }\n });\n }\n handleTabHidden() {\n // Do Nothing for now.\n }\n handleTabVisible() {\n this.reconnectAttemtps = 0;\n this.connect();\n }\n setupBFCacheHandling() {\n window.addEventListener('pagehide', event => {\n if (event.persisted) {\n this.close('Page going to bfcache');\n }\n });\n window.addEventListener('pageshow', event => {\n if (event.persisted) {\n // Page loaded from BFCache\n this.reconnectAttempts = 0;\n this.connect(100);\n }\n });\n }\n setupNetworkHandling() {\n window.addEventListener('online', () => {\n this.reconnectAttemtps = 0;\n this.connect(100);\n });\n }\n startHeartbeat() {\n // Websockets get disconnected after 10 minutes of inactivity.\n // We get a guaranteed disconnect after 2 hours.\n // https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-execution-service-websocket-limits-table.html\n // https://repost.aws/questions/QUFbNpkJJvTySYuHA7uHQAeQ/extend-websocket-idle-connection-timeout\n console.info('Starting Heartbeat');\n this.heartbeatInterval = setInterval(() => {\n this.send({\n type: 'ping'\n });\n }, 9 * 60000);\n }\n stopHeartbeat() {\n if (this.heartbeatInterval) {\n clearInterval(this.heartbeatInterval);\n }\n }\n\n /*\n * RECOND HANDLING\n */\n removeRecordFromData(item) {\n let removeId = item.data.id;\n let removeType = item.data.type.toLowerCase();\n let removeItem = this.store.peekRecord(removeType, `${removeId}`);\n if (removeItem && removeItem.currentState.stateName !== 'root.deleted.inFlight') {\n removeItem.unloadRecord();\n }\n return;\n }\n pushMessage(data) {\n let dataJSON;\n try {\n dataJSON = JSON.parse(data);\n } catch {\n console.debug('Could not parse Websocket Message: ', event);\n return;\n }\n if (dataJSON.action === 'conversation.message') return this.handleMessageUpdate(dataJSON);\n if (!Array.isArray(dataJSON) || dataJSON?.[0]?.data?.length === 0) return;\n dataJSON.forEach(item => {\n /**\n * If empty update object\n */\n if (!item?.data) return;\n if (item?.data?.type === 'TARGET' || item?.data?.type === 'METRIC' || item?.data?.type === 'MEASUREMENT' || item?.data?.type === 'AGGREGATE') {\n return;\n }\n /**\n * IF YOUR OWN UPDATE THEN IGNORE\n */\n if (item.data.attributes?.updated_by?.type === 'PERSON' && item.data.attributes?.updated_by?.id === this.currentUser.id && item.data.type !== 'MESSAGE') {\n return;\n }\n\n /**\n * REMOVE/DELETE EVENT\n */\n if (item.event === 'remove') {\n this.removeRecordFromData(item);\n return;\n }\n\n /**\n * IF attributes field missing\n */\n if (!item?.data?.attributes) return;\n let storeItem = this.store.peekRecord(`${item.data.type.toLowerCase()}`, `${item.data.id}`);\n let state = storeItem?.currentState?.stateName;\n if (storeItem && state && (state === 'root.deleted.saved' || state === 'root.deleted.inFlight')) {\n return;\n } else if (storeItem) {\n this.updateStoreBykey(storeItem, item);\n } else {\n let modelName = item.data.type.toLowerCase();\n const normalizedItem = this.store.normalize(modelName, item.data);\n this.store.push(normalizedItem);\n }\n });\n }\n async peekElseFetchItem({\n id,\n type\n }) {\n if (!type) return;\n let _type = type === 'people' ? 'person' : type;\n const item = this.store.peekRecord(_type.toLowerCase(), id) ?? (await this.store.findRecord(_type.toLowerCase(), id));\n return item;\n }\n async updateStoreBykey(storeItem, item) {\n const belongsToRelationships = storeItem.constructor?.relationshipNames.belongsTo;\n const hasManyRelationships = storeItem.constructor?.relationshipNames?.hasMany;\n const attributes = item.data.attributes;\n delete attributes['id'];\n const relationships = item.data.relationships;\n Object.keys(attributes).forEach(key => {\n storeItem.set(key, attributes[key]);\n });\n for (let i = 0; i < belongsToRelationships.length; i++) {\n const key = belongsToRelationships[i];\n if (key === 'integration-links') break;\n if (!relationships[key]) {\n storeItem.set(key, null);\n continue;\n }\n const relationshipItem = await this.peekElseFetchItem(relationships[key].data);\n if (relationshipItem) storeItem.set(key, relationshipItem);else continue;\n }\n for (let i = 0; i < hasManyRelationships.length; i++) {\n const key = hasManyRelationships[i];\n if (key === 'integration-links') break;\n if (Array.isArray(relationships[key]?.data)) {\n let arr = [];\n for (let j = 0; j < relationships[key].data.length; j++) {\n const relationshipItem = await this.peekElseFetchItem(relationships[key].data[j]);\n if (relationshipItem) arr.push(relationshipItem);\n }\n storeItem.set(key, arr);\n }\n }\n }\n handleMessageUpdate(parsedData) {\n if (parsedData.action !== 'conversation.message') return;\n const message = parsedData.message;\n const isComplete = parsedData.complete;\n const conversation_id = message.relationships.conversation.data.id;\n const conversation = this.store.peekRecord('conversation', conversation_id);\n conversation.complete = isComplete;\n const normalizedItem = this.store.normalize('message', parsedData.message);\n\n //Swap the locally created pending message with the pushed one\n if (message.attributes.type == 'USER') {\n const pendingNewMessage = conversation.messages.content.filter(m => m.isNew)?.[0];\n if (pendingNewMessage) pendingNewMessage.deleteRecord();\n }\n this.store.push(normalizedItem);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"peekElseFetchItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"peekElseFetchItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateStoreBykey\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateStoreBykey\"), _class.prototype), _class);\n});","define(\"scaleflow/services/dataset-fetcher\", [\"exports\", \"@ember/service\", \"scaleflow/adapters/application\"], function (_exports, _service, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/adapters/application\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let DatasetFetcherService = _exports.default = (_class = class DatasetFetcherService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _defineProperty(this, \"adapter\", this.store.adapterFor('initiative'));\n }\n get fetchOptions() {\n return {\n headers: {\n Authorization: this.session.accessToken,\n tenant_id: this.session.data.authenticated.details?.tenant_id\n }\n };\n }\n async fetchData(endpoint) {\n const res = await fetch(`${_application.HOST}/datasets/${endpoint}`, {\n method: 'GET',\n ...this.fetchOptions\n });\n const data = await res.json();\n return data;\n }\n fetchInitiativesDataset(roadmap) {\n if (roadmap.initiatives.length === 0) return Promise.resolve({\n source: undefined\n });\n return this.adapter.findInitiativesForRoadmapDataset(roadmap);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/dropdown\", [\"exports\", \"@ember/service\", \"scaleflow/utils/numberSort\"], function (_exports, _service, _numberSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/utils/numberSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let DropdownService = _exports.default = (_class = class DropdownService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"teams\", _descriptor2, this);\n _initializerDefineProperty(this, \"users\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor4, this);\n _initializerDefineProperty(this, \"betaToggle\", _descriptor5, this);\n _initializerDefineProperty(this, \"initiatives\", _descriptor6, this);\n }\n get teamsList() {\n return this.teams.teamOptions;\n }\n get productManagersList() {\n return this.users.getUsersSync().map(item => ({\n abbreviation: item.abbreviation,\n color: item.color,\n label: item.name,\n value: item.id\n }));\n }\n get submittersList() {\n return this.users.getUsersSync().map(item => ({\n abbreviation: item.abbreviation,\n color: item.color,\n label: item.name,\n value: item.id\n }));\n }\n get initiativesList() {\n return this.initiatives.getInitiativesSync().map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n get groupsList() {\n return this.store.peekAll('group').map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n get roadmapsList() {\n return this.roadmap.roadmaps_sorted_by_start_date.map(item => ({\n value: item.id,\n label: item.title\n }));\n }\n get sourcesList() {\n let options = [...this.betaToggle.sourceOptions].sort((a, b) => (0, _numberSort.default)(a.tableOrder, b.tableOrder, 'asc'));\n return options;\n }\n get themesList() {\n return this.store.peekAll('theme').map(item => ({\n color: item.color,\n label: item.title,\n value: item.id\n }));\n }\n get goalsList() {\n return this.store.peekAll('goal').map(item => ({\n label: item.title,\n value: item.id\n }));\n }\n get areasList() {\n return this.store.peekAll('area').map(item => ({\n label: item.name,\n value: item.id\n }));\n }\n get departmentsList() {\n return this.store.peekAll('department').map(item => ({\n label: item.name,\n value: item.id\n }));\n }\n get customersList() {\n return this.store.peekAll('customer').map(item => ({\n label: item.name,\n value: item.id\n }));\n }\n get statusesList() {\n return [...this.betaToggle.statusOptions].sort((a, b) => (0, _numberSort.default)(a.tableOrder, b.tableOrder, 'asc'));\n }\n get ideaStatusesList() {\n return [...this.betaToggle.ideaStatusOptions].sort((a, b) => (0, _numberSort.default)(a.tableOrder, b.tableOrder, 'asc'));\n }\n get durationsList() {\n return this.betaToggle.durationOptions;\n }\n get updatesList() {\n return this.betaToggle.healthOptions;\n }\n get columnsList() {\n return this.betaToggle.columnOptions.map(item => ({\n ...item,\n label: item.label,\n value: item.label,\n show: item.show\n }));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"teams\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"users\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"betaToggle\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"initiatives\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/editor-active\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { w } from '@ember/string';\n let EditorActiveService = _exports.default = (_class = class EditorActiveService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"quill\", _descriptor2, this);\n _initializerDefineProperty(this, \"activeEditorId\", _descriptor3, this);\n _initializerDefineProperty(this, \"activeItem\", _descriptor4, this);\n }\n setActiveEditor(editor_id) {\n // console.log(editor_id);\n // console.log('active editor set was', editor_id);\n this.activeEditorId = editor_id;\n }\n setActiveItem(item_id) {\n // console.log('active item set was', item_id);\n this.activeItem = item_id;\n }\n clearActiveEditor() {\n this.activeEditorId = null;\n this.activeItem = null;\n }\n moveFocusUpByOneItem() {\n const containers = document.querySelectorAll('#content .ql-container:not([data-cy=comment-input])');\n const containerArray = Array.from(containers);\n const currentIndex = containerArray.findIndex(container => container.id === this.activeEditorId);\n if (currentIndex > 0) {\n const previousContainer = containerArray[currentIndex - 1];\n this.activeEditorId = previousContainer.id;\n const itemId = previousContainer.getAttribute('data-item-id');\n this.activeItem = itemId;\n const editor = this.quill.instance(this.activeEditorId);\n editor.setSelection(editor.getLength() - 1, 0);\n }\n }\n moveFocusDownByOneItem() {\n const containers = document.querySelectorAll('#content .ql-container:not([data-cy=comment-input])');\n const containerArray = Array.from(containers);\n const currentIndex = containerArray.findIndex(container => container.id === this.activeEditorId);\n if (currentIndex !== -1 && currentIndex < containerArray.length - 1) {\n const nextContainer = containerArray[currentIndex + 1];\n this.activeEditorId = nextContainer.id;\n const itemId = nextContainer.getAttribute('data-item-id');\n this.activeItem = itemId;\n const editor = this.quill.instance(this.activeEditorId);\n editor.setSelection(editor.getLength() - 1, 0);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"quill\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"activeEditorId\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"activeItem\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setActiveEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setActiveItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearActiveEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearActiveEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"moveFocusUpByOneItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"moveFocusUpByOneItem\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"moveFocusDownByOneItem\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"moveFocusDownByOneItem\"), _class.prototype), _class);\n});","define(\"scaleflow/services/email-invite\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let EmailInviteService = _exports.default = (_class = class EmailInviteService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n }\n toggleInviteModal(val = undefined) {\n if (val === undefined) this.isOpen = !this.isOpen;else this.isOpen = val;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"toggleInviteModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleInviteModal\"), _class.prototype), _class);\n});","define(\"scaleflow/services/favorite\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let CopyEventService = _exports.default = (_class = class CopyEventService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"adapter\", this.store.adapterFor('favorite'));\n }\n async addToFavorite(item, modelName = undefined) {\n try {\n const id = item.id;\n const type = modelName ?? item.get('constructor.modelName');\n await this.adapter.addToFavorite({\n id,\n type\n });\n const record = this.store.peekRecord(type, id);\n record.favorite = true;\n } catch (err) {\n console.error(err, 'Could not add to favorites');\n }\n }\n async removeFromFavorite(item, modelName = undefined) {\n try {\n const id = item.id;\n const type = modelName ?? item.get('constructor.modelName');\n await this.adapter.removeFromFavorite({\n id,\n type\n });\n const record = this.store.peekRecord(type, id);\n record.favorite = false;\n } catch (err) {\n console.error(err, 'Could not add to favorites');\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/feature-access\", [\"exports\", \"@ember/service\", \"scaleflow/routes/application\"], function (_exports, _service, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/routes/application\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let FeatureAccessService = _exports.default = (_class = class FeatureAccessService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _defineProperty(this, \"setupWasCalled\", false);\n _defineProperty(this, \"checkIfUserIsPermittedToVisitRoute\", transition => {\n const routeName = transition?.to?.name;\n if (!routeName) return;\n if (this.hasAccessToEverything || _application.unprotectedRoutes.includes(routeName)) return;\n let isAllowed = false;\n const permissionsMap = this.permissionsMap;\n const keys = Array.from(permissionsMap.keys());\n isAllowed = routeName === 'loading' || _application.unprotectedRoutes.includes(routeName) || keys.some(key => routeName.includes(key));\n if (!isAllowed) this.router.transitionTo('backlog.ideas.list');\n });\n }\n setup() {\n this.setupWasCalled = true;\n this.router.on('routeWillChange', this.checkIfUserIsPermittedToVisitRoute);\n this.router.on('routeDidChange', this.checkIfUserIsPermittedToVisitRoute);\n }\n get isAdmin() {\n const permissions = this.userPermissions;\n return permissions.some(permission => permission.includes('/admin'));\n }\n get userPermissions() {\n return this.currentUser.permissions;\n }\n get hasAccessToEverything() {\n return this.isAdmin;\n }\n get permissionsMap() {\n const map = new Map();\n this.userPermissions.forEach(permission => {\n const scope = permission.split('/')[1];\n map.set(scope.toLowerCase(), true);\n });\n return map;\n }\n canAccessFeature(feature) {\n if (this.hasAccessToEverything) return true;\n const permissions = this.userPermissions;\n return permissions.some(permission => permission.includes(feature));\n }\n willDestroy() {\n super.willDestroy();\n if (!this.setupWasCalled) return;\n this.router.off('routeDidChange', this.checkIfUserIsPermittedToVisitRoute);\n this.router.off('routeWillChange', this.checkIfUserIsPermittedToVisitRoute);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/hamburger-menu\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n const localKey = 'is_open';\n let HamburgerMenuService = _exports.default = (_class = class HamburgerMenuService extends _service.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"hamburgerClasses\", _descriptor, this);\n _initializerDefineProperty(this, \"isOpen\", _descriptor2, this);\n this.isOpen = this.sidebarIsOpen;\n }\n get sidebarIsOpen() {\n if (!this.isMobileView) return true;\n return this.isOpen;\n }\n get isMobileView() {\n const {\n matches\n } = window.matchMedia('(max-width: 1024px)');\n return matches;\n }\n openMenu() {\n this.hamburgerClasses = 'main-nav--open';\n localStorage.setItem(localKey, true);\n document.querySelector('body').classList.add('mob-menu-scroll');\n this.isOpen = true;\n }\n closeMenu() {\n this.hamburgerClasses = 'main-nav--open main-nav--closing';\n localStorage.setItem(localKey, false);\n document.querySelector('body').classList.remove('mob-menu-scroll');\n this.isOpen = false;\n }\n toggleMenu() {\n this.isOpen ? this.closeMenu() : this.openMenu();\n }\n updateSidebarStatus() {\n const val = window.localStorage.getItem('is_open');\n this.isOpen = val;\n }\n closeMobNavbar() {\n if (this.isMobileView) this.closeMenu();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"hamburgerClasses\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"openMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSidebarStatus\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSidebarStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeMobNavbar\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeMobNavbar\"), _class.prototype), _class);\n});","define(\"scaleflow/services/initiative-id-storage\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let InitiativeIdStorageService = _exports.default = (_class = class InitiativeIdStorageService extends _service.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"initiativeId\", _descriptor2, this);\n _initializerDefineProperty(this, \"_initiative\", _descriptor3, this);\n if (window.localStorage.getItem('initiativeId')) {\n this.initiativeId = window.localStorage.getItem('initiativeId');\n this._initiative = this.store.findRecord('initiative', this.initiativeId);\n }\n }\n setInitiativeId(value) {\n this.initiativeId = value;\n window.localStorage.setItem('initiativeId', value);\n }\n setInitiative(val) {\n this._initiative = this.store.peekRecord('initiative', val);\n this.setInitiativeId(val);\n }\n get currentInitiative() {\n if (this.initiativeId) {\n return this.store.peekRecord('initiative', this.initiativeId);\n } else {\n return undefined;\n }\n }\n get initiative() {\n return this._initiative;\n }\n clear() {\n window.localStorage.removeItem('initiativeId');\n this.initiativeId = undefined;\n this._initiative = undefined;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiativeId\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"_initiative\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return undefined;\n }\n }), _class);\n});","define(\"scaleflow/services/initiative-slideover\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/application\"], function (_exports, _object, _service, _tracking, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/application\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n /**\n *\n This service is used to trigger opening and closing of the initiative slideover;\n The Initiative slideover is a slideover that pops in and out from the right of the screen\n with a pre-populated initiative form. It is populated based on the Initiative ID that it is provided with when triggering it open\n *\n */\n let InitiativeSlideoverService = _exports.default = (_class = class InitiativeSlideoverService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n _initializerDefineProperty(this, \"initiative\", _descriptor2, this);\n _initializerDefineProperty(this, \"progressPanelIsOpen\", _descriptor3, this);\n _initializerDefineProperty(this, \"updateWizardIsOpen\", _descriptor4, this);\n _initializerDefineProperty(this, \"store\", _descriptor5, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor6, this);\n }\n setInitiative(initiative_id) {\n const initiative = this.store.peekRecord('initiative', initiative_id);\n this.store.findRecord('initiative', initiative_id, {\n include: 'workstream'\n });\n this.initiative = initiative;\n }\n open(initiative_id) {\n this.setInitiative(initiative_id);\n this.isOpen = true;\n this.tracker.trackSlideoverOpenedEvent(initiative_id);\n this.applicationController.set('initiative_id', initiative_id);\n }\n get applicationController() {\n const owner = (0, _application.getOwner)(this);\n const applicationRoute = owner.lookup('route:application');\n return applicationRoute.controller;\n }\n openProgressPanel(initiative_id) {\n this.setInitiative(initiative_id);\n this.progressPanelIsOpen = true;\n this.tracker.trackSlideoverOpenedEvent(initiative_id);\n }\n openWizard(initiative_id) {\n this.setInitiative(initiative_id);\n this.updateWizardIsOpen = true;\n this.tracker.trackInitiativeUpdateEvent(initiative_id);\n }\n closeWizard() {\n this.updateWizardIsOpen = false;\n }\n closeProgressPanel() {\n this.progressPanelIsOpen = false;\n\n /**\n * This time out here is so that the initiative object unsets itself only\n * after the slideover has popped back in,\n * the transition duration of which is 500ms\n */\n setTimeout(() => {\n this.initiative = null;\n }, 500);\n }\n close() {\n this.applicationController.set('initiative_id', undefined);\n this.isOpen = false;\n\n /**\n * This time out here is so that the initiative object unsets itself only\n * after the slideover has popped back in,\n * the transition duration of which is 500ms\n */\n setTimeout(() => {\n this.initiative = null;\n }, 500);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"initiative\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"progressPanelIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"updateWizardIsOpen\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"setInitiative\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setInitiative\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"open\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"open\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openProgressPanel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openProgressPanel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeWizard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeWizard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeProgressPanel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeProgressPanel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n});","define(\"scaleflow/services/initiatives\", [\"exports\", \"@ember/object\", \"@ember/service\", \"scaleflow/utils/nameSort\"], function (_exports, _object, _service, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { tracked } from '@glimmer/tracking';\n let InitiativesService = _exports.default = (_class = class InitiativesService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"fetched\", false);\n _defineProperty(this, \"results\", []);\n }\n /**\n *\n * @returns {Object} id, value, abbv, title\n */\n async getInitiatives() {\n if (!this.fetched) {\n return await this.loadInitiatives();\n } else {\n return this.convertToValueLabel(this.store.peekAll('initiative'));\n }\n }\n getInitiativesSync() {\n return this.store.peekAll('initiative').slice().sort((a, b) => (0, _nameSort.default)(a.title, b.title));\n }\n convertToValueLabel(array) {\n return array.map(item => {\n return {\n id: item.id,\n value: item.abbreviation && item.abbreviation.length !== 0 ? item.abbreviation : item.title,\n abbv: item.abbreviation && item.abbreviation.length !== 0 ? item.abbreviation : '',\n title: item.title\n };\n });\n }\n async loadInitiatives() {\n const initiatives = this.convertToValueLabel((await this.store.query('initiative', {})).slice().sort((a, b) => (0, _nameSort.default)(a.title, b.title)));\n this.fetched = true;\n // this.results = initiatives;\n return initiatives;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"loadInitiatives\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"loadInitiatives\"), _class.prototype), _class);\n});","define(\"scaleflow/services/intl\", [\"exports\", \"ember-intl/services/intl\"], function (_exports, _intl) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _intl.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-intl/services/intl\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/last-visited\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n // import { tracked } from '@glimmer/tracking';\n\n class LastVisited extends _service.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"lastVisitedRoute\", void 0);\n }\n saveLastVisitedRoute(url) {\n try {\n this.lastVisitedRoute = url;\n } catch (err) {\n console.log(err);\n }\n }\n }\n _exports.default = LastVisited;\n});","define(\"scaleflow/services/logger\", [\"exports\", \"@ember/object\", \"@ember/service\"], function (_exports, _object, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n // import { Logger } from 'aws-amplify';\n let LoggerService = _exports.default = (_class = class LoggerService extends _service.default {\n // logger = new Logger();\n constructor() {\n super(...arguments);\n }\n isLocalhost() {\n return window.location.href.includes('localhost');\n }\n greenLog(message) {\n if (!this.isLocalhost) return;\n console.log(message);\n }\n redLog(message, extra) {\n if (!this.isLocalhost) return;\n console.log(`%c${message}`, 'font-size:25px;color:red', extra);\n }\n orangeLog(message, extra) {\n if (!this.isLocalhost) return;\n console.log(`%c${message}`, 'font-size:25px;color:orange', extra);\n }\n purpleLog(message, extra) {\n if (!this.isLocalhost) return;\n console.log(`%c${message}`, 'font-size:25px;color:purple', extra);\n }\n fancyLog(message) {\n if (!this.isLocalhost) return;\n console.log(`%c ${message}`, 'font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)');\n }\n initialize() {\n console.fancyLog = this.fancyLog;\n console.greenLog = this.greenLog;\n console.redLog = this.redLog;\n console.purpleLog = this.purpleLog;\n console.orangeLog = this.orangeLog;\n }\n }, _applyDecoratedDescriptor(_class.prototype, \"isLocalhost\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isLocalhost\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"greenLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"greenLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"redLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"redLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"orangeLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"orangeLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"purpleLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"purpleLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fancyLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"fancyLog\"), _class.prototype), _class);\n});","define(\"scaleflow/services/moment\", [\"exports\", \"ember-moment/services/moment\"], function (_exports, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _moment.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-moment/services/moment\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/notifications\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let NotificationService = _exports.default = (_class = class NotificationService extends _service.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"statusFeature\", _descriptor, this);\n _initializerDefineProperty(this, \"sourceFeature\", _descriptor2, this);\n _initializerDefineProperty(this, \"showNotification\", _descriptor3, this);\n _initializerDefineProperty(this, \"notificationMessage\", _descriptor4, this);\n _defineProperty(this, \"notificationTimeout\", null);\n this.setStatusFeatureViewed();\n this.setSourceFeatureViewed();\n }\n setStatusFeatureViewed() {\n const showFeature = window.localStorage.getItem('statusFeature');\n if (showFeature === 'false') this.statusFeature = false;else this.statusFeature = true;\n }\n setSourceFeatureViewed() {\n const showFeature = window.localStorage.getItem('sourceFeature');\n if (showFeature === 'false') this.sourceFeature = false;else this.sourceFeature = true;\n }\n setFeatureAsViewed(key) {\n this[key] = false;\n window.localStorage.setItem(key, false);\n }\n toggleShowNotification(message = undefined) {\n clearTimeout(this.notificationTimeout);\n this.showNotification = !this.showNotification;\n if (this.showNotification === true) {\n if (message) this.notificationMessage = message;\n this.notificationTimeout = setTimeout(() => {\n this.toggleShowNotification();\n this.notificationMessage = '';\n }, 5000);\n }\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"statusFeature\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sourceFeature\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showNotification\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"notificationMessage\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return '';\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setFeatureAsViewed\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setFeatureAsViewed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleShowNotification\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleShowNotification\"), _class.prototype), _class);\n});","define(\"scaleflow/services/organisation\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"@sentry/browser\", \"scaleflow/custom-translations/en-qpq\"], function (_exports, _object, _service, _tracking, Sentry, _enQpq) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@sentry/browser\",0,\"scaleflow/custom-translations/en-qpq\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // Adjust path if needed\n let OrganisationService = _exports.default = (_dec = (0, _service.service)('current-user'), _class = class OrganisationService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor3, this);\n _initializerDefineProperty(this, \"_organisation\", _descriptor4, this);\n _initializerDefineProperty(this, \"organisationList\", _descriptor5, this);\n _initializerDefineProperty(this, \"tracker\", _descriptor6, this);\n _initializerDefineProperty(this, \"intl\", _descriptor7, this);\n _defineProperty(this, \"acceptedLocales\", ['en-US', 'nl-NL', 'en-GB', 'en-qpq']);\n _defineProperty(this, \"defaultInvestmentConfidenceOptions\", [{\n label: 'High',\n value: 1.25\n }, {\n label: 'Medium',\n value: 1.5\n }, {\n label: 'Low',\n value: 3\n }]);\n _defineProperty(this, \"defaultReturnConfidenceOptions\", [{\n label: 'High',\n value: 0.75\n }, {\n label: 'Medium',\n value: 0.5\n }, {\n label: 'Low',\n value: 0.25\n }]);\n }\n set organisation(value) {\n this._organisation = value;\n Sentry.setTag('tenant_id', this.session.data?.authenticated.details?.tenant_id);\n this.tracker.setTenant(this.session.data?.authenticated.details?.tenant_id);\n }\n get organisationAvatar() {\n const title = this._organisation?.get('name');\n if (title) {\n return title[0].toUpperCase();\n }\n return '';\n }\n get organisation() {\n return this._organisation;\n }\n get locale() {\n if (!this._organisation?.locale) return 'nl-NL';\n if (this.acceptedLocales.includes(this._organisation?.locale)) {\n return this._organisation?.locale;\n }\n return 'nl-NL';\n }\n get id() {\n return this.organisation?.id;\n }\n get first_day_of_week() {\n return this._organisation?.first_day_of_week;\n }\n get roadmap_url() {\n return this._organisation?.get('roadmap_url');\n }\n get bookmarks() {\n return this._organisation?.get('bookmarks');\n }\n get ppw() {\n return this._organisation?.bon_price_person_week ?? 1700;\n }\n get horizon() {\n return this._organisation?.bon_horizon ?? 12;\n }\n get clv_in_horizon() {\n return this._organisation?.bon_clv ?? 80_000;\n }\n get customer_values() {\n return this._organisation.customer_values ?? {};\n }\n get customer_values_options() {\n return Object.entries(this.customer_values).map(([key, value]) => {\n return {\n label: this.intl.t(`financials.customer-values.${key.toLowerCase()}`),\n value: value,\n key: key\n };\n });\n }\n get is_trial() {\n return this._organisation?.metadata?.plan === 'trial';\n }\n get inviting_is_disabled() {\n return this._organisation?.metadata?.inviting_enabled == false;\n }\n get bon_investment_confidences() {\n return this._organisation?.bon_investment_confidences ?? this.defaultInvestmentConfidenceOptions.reduce((acc, item) => {\n acc[item.label.toLowerCase()] = item.value;\n return acc;\n }, {});\n }\n get bon_return_confidences() {\n return this._organisation?.bon_return_confidences ?? this.defaultReturnConfidenceOptions.reduce((acc, item) => {\n acc[item.label.toLowerCase()] = item.value;\n return acc;\n }, {});\n }\n get investmentConfidenceOptions() {\n const confidenceObject = this._organisation?.bon_investment_confidences;\n if (confidenceObject) {\n return [...Object.keys(confidenceObject).map(key => {\n return {\n value: +confidenceObject[key],\n label: key.charAt(0).toUpperCase() + key.slice(1)\n };\n }), {\n value: 1,\n label: 'Confirmed'\n }].reverse();\n }\n return this.defaultInvestmentConfidenceOptions;\n }\n get returnConfidenceOptions() {\n const confidenceObject = this._organisation?.bon_return_confidences;\n if (confidenceObject) {\n return [...Object.keys(confidenceObject).map(key => {\n return {\n value: +confidenceObject[key],\n label: key.charAt(0).toUpperCase() + key.slice(1)\n };\n }), {\n value: 1,\n label: 'Confirmed'\n }].reverse();\n }\n return this.defaultReturnConfidenceOptions;\n }\n async load() {\n const tenant_id = window.localStorage.getItem('tenant') ?? this.session?.activeTenantId ?? undefined;\n if (!tenant_id) {\n console.debug('Could not determine organisation');\n return;\n }\n this.organisationList = await this.store.findAll('organisation');\n this.organisation = await this.store.findRecord('organisation', tenant_id);\n const locale = this.organisation.locale ?? '';\n if (this.acceptedLocales.includes(locale)) {\n if (locale === 'en-qpq') {\n this.intl.addTranslations('en-US', _enQpq.default);\n this.intl.setLocale('en-US');\n } else this.intl.setLocale(locale);\n } else this.intl.setLocale('nl-NL');\n }\n getInvestmentConfidenceLabel(confidence) {\n const option = this.investmentConfidenceOptions.find(option => option.value == confidence);\n return option?.label;\n }\n getReturnConfidenceLabel(confidence) {\n const option = this.investmentConfidenceOptions.find(option => option.value == confidence);\n return option?.label;\n }\n get vision_capacity() {\n return this?._organisation?.bucket_size_vision;\n }\n get customer_request_capacity() {\n return this?._organisation?.bucket_size_customer_request;\n }\n get operations_capacity() {\n return this?._organisation?.bucket_size_operations;\n }\n get unavailable_time() {\n return this._organisation?.unavailable_time;\n }\n switchOrganisation(tenant_id) {\n if (!tenant_id) throw new Error('No Organisation found to switch to');\n window.localStorage.setItem('tenant', tenant_id);\n window.location.reload();\n }\n clear() {\n this.organisation = undefined;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"_organisation\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"organisationList\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"switchOrganisation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"switchOrganisation\"), _class.prototype), _class);\n});","define(\"scaleflow/services/page-loader-ui\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n class PageLoaderUiService extends _service.default {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"topbar\", document.getElementById('topbar'));\n }\n show() {\n if (this.topbar) this.topbar.style.display = 'block';\n }\n hide() {\n if (this.topbar) this.topbar.style.display = 'none';\n }\n }\n _exports.default = PageLoaderUiService;\n});","define(\"scaleflow/services/page-title\", [\"exports\", \"ember-page-title/services/page-title\"], function (_exports, _pageTitle) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _pageTitle.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-page-title/services/page-title\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/quill\", [\"exports\", \"@indroneelray/ember-quill-2/services/quill\"], function (_exports, _quill) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _quill.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@indroneelray/ember-quill-2/services/quill\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/roadmap\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"scaleflow/utils/dateSort\"], function (_exports, _service, _object, _tracking, _dateSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"scaleflow/utils/dateSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let RoadmapService = _exports.default = (_class = class RoadmapService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"router\", _descriptor2, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor3, this);\n _initializerDefineProperty(this, \"id\", _descriptor4, this);\n }\n async setup() {\n const roadmaps = await this.store.findAll('roadmap', {\n reload: true,\n include: 'bon'\n });\n this.roadmap = roadmaps[roadmaps.length - 1];\n this.id = this.roadmap.id;\n }\n get selected() {\n return this.roadmap;\n }\n get initiatives() {\n return this.roadmap?.initiatives?.content ?? [];\n }\n get investmentScenario() {\n return this.roadmap?.get('investment-scenario');\n }\n get scenario() {\n return this.investmentScenario;\n }\n get not_set() {\n return this.roadmap == undefined;\n }\n async isCurrentRoadmap(roadmap) {\n return this.roadmap?.id == roadmap?.id;\n }\n async setRoadmap(event) {\n await this.setId(event.target.value);\n }\n async setId(value) {\n this.id = value;\n this.roadmap = this.store.peekRecord('roadmap', value);\n await this.loadRoadmapInitiatives();\n }\n async loadRoadmapInitiatives() {\n try {\n const initiative_ids = this.roadmap?.hasMany('initiatives')?.ids() ?? [];\n const promises = [];\n for (let i = 0; i < initiative_ids.length; i++) {\n promises.push(this.store.findRecord('initiative', initiative_ids[i], {\n include: 'workstream'\n }));\n }\n await Promise.allSettled(promises);\n } catch (err) {\n console.debug(err);\n }\n }\n get roadmaps() {\n return this.store.peekAll('roadmap');\n }\n get roadmaps_sorted_by_start_date() {\n return this.roadmaps.toSorted((a, b) => (0, _dateSort.default)(b.start_date, a.start_date));\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"id\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"isCurrentRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"isCurrentRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setRoadmap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setRoadmap\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setId\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setId\"), _class.prototype), _class);\n});","define(\"scaleflow/services/router\", [\"exports\", \"@ember/routing/router-service\"], function (_exports, _routerService) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/routing/router-service\"eaimeta@70e063a35619d71f\n class ExtendedRouterService extends _routerService.default {\n async clearAllQueryParams() {\n const queryParams = {\n ...(this.currentRoute?.queryParams ?? {})\n };\n Object.keys(queryParams).forEach(key => {\n queryParams[key] = undefined;\n });\n await this.transitionTo({\n queryParams\n });\n }\n }\n\n // Don't remove this declaration: this is what enables TypeScript to resolve\n // this service using `Owner.lookup('service:router')`, as well\n // as to check when you pass the service name as an argument to the decorator,\n // like `@service('router') declare altName: RouterService;`.\n _exports.default = ExtendedRouterService;\n});","define(\"scaleflow/services/session\", [\"exports\", \"@ember/service\", \"ember-simple-auth/services/session\", \"moment\"], function (_exports, _service, _session, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"ember-simple-auth/services/session\",0,\"moment\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // const INTERVAL = 50 * 60 * 1000; //50 minutes\n let SessionService = _exports.default = (_dec = (0, _service.service)('data-socket'), _class = class SessionService extends _session.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n _initializerDefineProperty(this, \"organisation\", _descriptor3, this);\n _initializerDefineProperty(this, \"roadmap\", _descriptor4, this);\n _initializerDefineProperty(this, \"socketService\", _descriptor5, this);\n _initializerDefineProperty(this, \"chatv2\", _descriptor6, this);\n _defineProperty(this, \"refreshInProgress\", null);\n }\n // To keep track of the refresh process\n\n async handleAuthentication() {\n super.handleAuthentication(...arguments);\n await this.currentUser.load();\n await this.organisation.load();\n await this.roadmap.setup();\n await this.socketService.setup();\n await this.chatv2.setup();\n }\n async invalidate() {\n super.invalidate();\n localStorage.clear();\n this.store.unloadAll();\n this.currentUser.clear();\n await this.socketService.close();\n }\n get accessToken() {\n return this.data?.authenticated?.details?.accessToken;\n }\n get idToken() {\n return this.data?.authenticated?.details?.idToken;\n }\n get tokenIsExpired() {\n const expiry = this.data?.authenticated?.details?.expiry;\n if (expiry === undefined) return false;\n const isExpired = (0, _moment.default)(expiry).isSameOrBefore((0, _moment.default)());\n return isExpired;\n }\n get tokenIsHalfHourToExpiry() {\n const expiry = this.data?.authenticated?.details?.expiry;\n const halfHourToExpiry = (0, _moment.default)(expiry).diff((0, _moment.default)(), 'minutes') <= 30;\n return halfHourToExpiry;\n }\n get activeTenantId() {\n return this.data?.authenticated?.details?.tenant_id;\n }\n async refreshToken() {\n if (this.refreshInProgress) {\n // If a refresh is already in progress, wait for it to complete\n return this.refreshInProgress;\n }\n const authenticator = this.data?.authenticated?.authenticator;\n if (!authenticator) return Promise.reject('Authenticator could not be determined');\n this.refreshInProgress = new Promise((resolve, reject) => {\n this.authenticate(authenticator, {\n refresh: true\n }).then(() => {\n this.refreshInProgress = null;\n resolve();\n }).catch(err => {\n console.debug(err);\n this.refreshInProgress = null;\n reject();\n });\n });\n return this.refreshInProgress;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"organisation\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"roadmap\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"socketService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"chatv2\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/store\", [\"exports\", \"ember-data/store\"], function (_exports, _store) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _store.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-data/store\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/swal\", [\"exports\", \"ember-sweetalert/services/swal\"], function (_exports, _swal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _swal.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"ember-sweetalert/services/swal\"eaimeta@70e063a35619d71f\n});","define(\"scaleflow/services/table-of-contents\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4; // import EmberObject from '@ember/object';\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { service } from '@ember/service';;\n // import { action } from '@ember/object';\n let TableOfContents = _exports.default = (_class = class TableOfContents extends _service.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"observer\", null);\n _initializerDefineProperty(this, \"router\", _descriptor, this);\n _initializerDefineProperty(this, \"_activeLink\", _descriptor2, this);\n _initializerDefineProperty(this, \"_menuLinks\", _descriptor3, this);\n _initializerDefineProperty(this, \"_showTOC\", _descriptor4, this);\n }\n get menuLinks() {\n return this._menuLinks;\n }\n get showTOC() {\n return this._showTOC;\n }\n get activeLink() {\n return this._activeLink;\n }\n setMenuLinks(menuLinks) {\n this._menuLinks = menuLinks;\n }\n setActiveLink(val) {\n this._activeLink = val;\n }\n toggleTOC(bool = null) {\n this._showTOC = bool || !this._showTOC;\n if (bool === false) {\n this.setMenuLinks([]);\n }\n }\n updateTableOfContents({\n wrapperId,\n cb,\n custom\n } = {\n wrapperId: null,\n cb: null,\n custom: false\n }) {\n this.observer?.disconnect?.();\n if (custom) return;\n const titles = document.querySelectorAll(`#${wrapperId || 'content'} h2`);\n if (titles.length === 0) {\n this._menuLinks = [];\n return;\n }\n let options = {\n // root: document.querySelector('#observer'),\n rootMargin: '0% 0% -70%',\n threshold: 0.1\n };\n this.observer = new IntersectionObserver(this.handleIntersection, options);\n const menuLinks = [];\n titles.forEach((item, index) => {\n if (item.innerText.trim().length !== 0 && item.innerText !== '/n') {\n menuLinks.push({\n href: `#${item?.id}`,\n id: `link-to-${item?.dataset?.toc || index}`,\n title: item?.innerText,\n type: 'h2',\n onClick: () => {\n if (cb) {\n cb(item);\n } else {\n document.querySelector('.content-container').scroll({\n top: item.offsetTop,\n behaviour: 'smooth'\n });\n }\n }\n });\n this.observer.observe(item);\n }\n });\n this._menuLinks = menuLinks;\n this.toggleTOC(true);\n }\n handleIntersection(entries) {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n this._activeLink = `link-to-${entry.target.id}`;\n } else {\n // link.classList.remove(ACTIVE_CLASS);\n }\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_activeLink\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"_menuLinks\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"_showTOC\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"setMenuLinks\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setMenuLinks\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setActiveLink\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setActiveLink\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleTOC\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleTOC\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateTableOfContents\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateTableOfContents\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleIntersection\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleIntersection\"), _class.prototype), _class);\n});","define(\"scaleflow/services/team-id-storage\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _service, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamIdStorageService = _exports.default = (_class = class TeamIdStorageService extends _service.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"_teamId\", _descriptor2, this);\n _initializerDefineProperty(this, \"_team\", _descriptor3, this);\n if (window.localStorage.getItem('teamId')) {\n this._teamId = window.localStorage.getItem('teamId');\n this._team = this.store.findRecord('team', this._teamId);\n }\n }\n setTeamId(value) {\n this._teamId = value;\n window.localStorage.setItem('teamId', value);\n }\n setTeam(val) {\n this._team = this.store.peekRecord('team', val);\n this.setTeamId(val);\n }\n get teamId() {\n return window.localStorage.getItem('teamId');\n }\n get team() {\n return this._team;\n }\n get currentTeam() {\n if (this._teamId) {\n return this.store.peekRecord('team', this._teamId);\n } else {\n return undefined;\n }\n }\n clear() {\n window.localStorage.removeItem('teamId');\n this._teamId = undefined;\n this._team = undefined;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_teamId\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"_team\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return undefined;\n }\n }), _class);\n});","define(\"scaleflow/services/teams\", [\"exports\", \"@ember/service\", \"scaleflow/utils/nameSort\"], function (_exports, _service, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let TeamsService = _exports.default = (_class = class TeamsService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"notifications\", _descriptor2, this);\n _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n }\n async getTeams() {\n const teams = this.store.peekAll('team');\n if (teams.length === 0) return await this.loadTeams();\n return this.convertToValueLabel(teams);\n }\n getTeamsSync() {\n return this.store.peekAll('team').slice().sort((a, b) => (0, _nameSort.default)(a.name, b.name));\n }\n get teamOptions() {\n return this.getTeamsSync().filter(team => team.active).map(item => ({\n label: item.name,\n value: item.id\n }));\n }\n convertToValueLabel(array) {\n return array.map(item => {\n return {\n id: item.id,\n value: item.name\n };\n });\n }\n async loadTeams() {\n const teams = this.convertToValueLabel((await this.store.query('team', {})).sort((a, b) => (0, _nameSort.default)(a.name, b.name)));\n return teams;\n }\n restoreTeam(team_id) {\n const team = this.store.peekRecord('team', team_id);\n team.active = true;\n team.save().then(() => {\n this.notifications.notificationMessage = this.intl.t('_teams.restored-success');\n this.notifications.toggleShowNotification();\n });\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/themes\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let ThemesService = _exports.default = (_class = class ThemesService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"fetched\", false);\n _defineProperty(this, \"results\", []);\n }\n get themeOptions() {\n return this.store.peekAll('theme').map(item => ({\n color: item.color,\n label: item.title,\n value: item.id\n }));\n }\n async getThemes() {\n if (!this.fetched) {\n const themes = await this.loadThemes();\n this.fetched = true;\n return themes;\n } else {\n return this.store.peekAll('theme');\n }\n }\n async loadThemes() {\n const themes = await this.store.findAll('theme');\n return themes;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/tracker\", [\"exports\", \"@ember/service\", \"scaleflow/utils/tracker\", \"@amplitude/analytics-browser\", \"@amplitude/plugin-session-replay-browser\", \"scaleflow/config/environment\", \"@ember/object\", \"posthog-js\"], function (_exports, _service, _tracker, amplitude, _pluginSessionReplayBrowser, _environment, _object, _posthogJs) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n _exports.track = track;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/service\",0,\"scaleflow/utils/tracker\",0,\"@amplitude/analytics-browser\",0,\"@amplitude/plugin-session-replay-browser\",0,\"scaleflow/config/environment\",0,\"@ember/object\",0,\"posthog-js\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n // import { plugin as engagementPlugin } from '@amplitude/engagement-browser';\n\n // Filter will be used in the context of service.\n function filter(target, key, descriptor) {\n const originalMethod = descriptor.value;\n descriptor.value = function (...args) {\n if (this.doNotTrack.tenant_id.includes(this.organisationService?.id) || this.organisationService?.id == undefined) {\n return;\n }\n return originalMethod.apply(this, args);\n };\n return descriptor;\n }\n\n // Track will be used in the context of service.\n function track(target, propertyKey, descriptor) {\n const originalMethod = descriptor.value; // Store the original function\n\n descriptor.value = function (...args) {\n if (!this.trackers || !Array.isArray(this.trackers)) {\n console.warn('trackers array is missing or invalid');\n return;\n }\n\n // Loop through all trackers in `this.trackers` and call whatever function\n this.trackers.forEach(tracker => {\n // Bind `this` before passing to `@filter`\n const boundFunction = originalMethod.bind(this, tracker, ...args);\n\n // Use the filter function on all trackers.\n const filteredFunction = filter(target, propertyKey, {\n value: boundFunction\n });\n filteredFunction.value.call(this); // Execute the filtered function\n });\n };\n return descriptor;\n }\n const EVENTS = {\n SIDE_PANEL_OPEN: 'Side Panel Open',\n INITIATIVE_TABLE_CLICK: 'Click on Initiative Table',\n INITIATIVE_OPENED: 'Initiative Opened',\n INITIATIVE_UPDATE_OPENED: 'Initiative Update Wizard Opened',\n LOGGED_OUT: 'Logged Out'\n };\n let TrackerService = _exports.default = (_dec = (0, _service.service)('organisation'), _dec2 = (0, _service.service)('current-user'), _dec3 = (0, _service.service)('router'), _class = class TrackerService extends _service.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"trackers\", []);\n _initializerDefineProperty(this, \"organisationService\", _descriptor, this);\n _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n _initializerDefineProperty(this, \"router\", _descriptor3, this);\n _defineProperty(this, \"doNotTrack\", {\n tenant_id: ['2', 'demo']\n });\n if (this.subdomain == 'preview') {\n const previewTracker = this.createAmplitudeTracker(_environment.default.amplitude?.preview);\n previewTracker && this.trackers.push(previewTracker);\n }\n if (this.subdomain === 'app') {\n const mainTracker = this.createAmplitudeTracker(_environment.default.amplitude);\n mainTracker && this.trackers.push(mainTracker);\n try {\n const posthogTracker = this.createPosthogTracker(_environment.default.posthog);\n posthogTracker && this.trackers.push(posthogTracker);\n } catch (err) {\n console.error('Posthog initialization failed', err);\n }\n }\n }\n createPosthogTracker(config) {\n if (!config?.api_key) return;\n const instance = _posthogJs.default.init(config.api_key, {\n api_host: config.api_host,\n person_profiles: config.person_profiles\n }, _environment.default.environment);\n const tracker = new _tracker.PostHogTracker();\n tracker.register(instance);\n return tracker;\n }\n createAmplitudeTracker(config) {\n if (config?.api_key) {\n let instance = amplitude.createInstance();\n let {\n api_key,\n options\n } = config;\n\n //Add session replay integration\n const sessionReplayTracking = (0, _pluginSessionReplayBrowser.sessionReplayPlugin)({\n storeType: 'memory',\n sampleRate: 0.5\n });\n instance.add(sessionReplayTracking);\n\n //Add Guides integration\n // instance.add(engagementPlugin());\n\n instance.init(api_key, options);\n const tracker = new _tracker.Tracker();\n tracker.register(instance);\n return tracker;\n }\n }\n get subdomain() {\n let hostname = new URL(window.location.href).hostname;\n let parts = hostname.split('.');\n return parts.length > 2 ? parts[0] : null;\n }\n trackPage(tracker, options) {\n tracker.trackPage(options);\n }\n setUserId(tracker, id) {\n tracker.setUserId(id);\n }\n setTenant(tracker, id) {\n tracker.setTenant(id);\n }\n setVersionName(tracker, version) {\n tracker.setVersionName(version);\n }\n trackSlideoverOpenedEvent(tracker, initiative_id) {\n tracker.track(EVENTS.SIDE_PANEL_OPEN, {\n initiative_id\n });\n }\n\n /**\n * Adding an @action decorator provides the 'this' context\n * when executing this function through a modifer\n */\n trackInitiativesTableInteractionEvent(tracker, initiative_id = undefined) {\n let options = initiative_id ? {\n initiative_id\n } : undefined;\n tracker.track(EVENTS.INITIATIVE_TABLE_CLICK, options);\n }\n trackInitiativeOpenedEvent(tracker, initiative_id) {\n tracker.track(EVENTS.INITIATIVE_OPENED, {\n initiative_id\n });\n }\n trackInitiativeUpdateEvent(tracker, initiative_id) {\n tracker.track(EVENTS.INITIATIVE_UPDATE_OPENED, {\n initiative_id\n });\n }\n trackLogout(tracker) {\n tracker.track(EVENTS.LOGGED_OUT);\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organisationService\", [_dec], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_dec2], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_dec3], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"trackPage\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setUserId\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"setUserId\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setTenant\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"setTenant\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setVersionName\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"setVersionName\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"trackSlideoverOpenedEvent\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackSlideoverOpenedEvent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"trackInitiativesTableInteractionEvent\", [_object.action, track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackInitiativesTableInteractionEvent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"trackInitiativeOpenedEvent\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackInitiativeOpenedEvent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"trackInitiativeUpdateEvent\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackInitiativeUpdateEvent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"trackLogout\", [track], Object.getOwnPropertyDescriptor(_class.prototype, \"trackLogout\"), _class.prototype), _class);\n});","define(\"scaleflow/services/users\", [\"exports\", \"@ember/service\", \"scaleflow/utils/nameSort\"], function (_exports, _service, _nameSort) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"scaleflow/utils/nameSort\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let UsersService = _exports.default = (_class = class UsersService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _defineProperty(this, \"fetched\", false);\n }\n async getUsers() {\n if (!this.fetched) {\n return await this.loadUsers();\n } else {\n return this.convertToValueLabel(this.store.peekAll('person').slice().sort((a, b) => (0, _nameSort.default)(a.name, b.name)));\n }\n }\n getUsersSync() {\n return this.store.peekAll('person').slice().sort((a, b) => (0, _nameSort.default)(a.name, b.name));\n }\n get userOptions() {\n return this.getUsersSync().map(item => ({\n abbreviation: item.abbreviation,\n color: item.color,\n label: item.name,\n value: item.id\n }));\n }\n convertToValueLabel(array) {\n return array.map(item => {\n return {\n id: item.id,\n value: item.name,\n color: item.color,\n abbreviation: item.abbreviation\n };\n });\n }\n async loadUsers() {\n const users = this.convertToValueLabel((await this.store.query('person', {})).slice().sort((a, b) => (0, _nameSort.default)(a.name, b.name)));\n this.fetched = true;\n return users;\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _class);\n});","define(\"scaleflow/services/version-checker\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\", \"@sentry/ember\"], function (_exports, _service, _tracking, Sentry) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@sentry/ember\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n let VersionCheckerService = _exports.default = (_class = class VersionCheckerService extends _service.default {\n constructor(...args) {\n super(...args);\n _initializerDefineProperty(this, \"tracker\", _descriptor, this);\n _defineProperty(this, \"version_name\", '');\n _initializerDefineProperty(this, \"app_should_update\", _descriptor2, this);\n }\n async fetchVersion() {\n let version_name = 'version-not-found';\n const origin = window.location.origin;\n let text = '';\n try {\n const response = await fetch(`${origin}/version.txt`, {\n cache: 'no-store'\n });\n if (response.status == 200) text = await response.text();\n } catch (err) {\n Sentry.captureException(err);\n }\n if (text) {\n version_name = text.split('=')?.[1];\n }\n this.version_name = version_name;\n return this.version_name;\n }\n async setup() {\n const version_name = await this.fetchVersion();\n localStorage.setItem('version', version_name);\n this.setupTabFocusListener();\n this.tracker.setVersionName(version_name);\n }\n async checkIfAppShouldUpdate() {\n const latest_version = await this.fetchVersion();\n const local_version = localStorage.getItem('version');\n this.app_should_update = latest_version !== local_version;\n return this.app_should_update;\n }\n setupTabFocusListener() {\n document.addEventListener('visibilitychange', () => this.handleVisibilityChange());\n }\n async handleVisibilityChange() {\n if (document.visibilityState !== 'visible') return;\n await this.checkIfAppShouldUpdate();\n }\n }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tracker\", [_service.service], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"app_should_update\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n }), _class);\n});","define(\"scaleflow/session-stores/application\", [\"exports\", \"ember-simple-auth/session-stores/adaptive\"], function (_exports, _adaptive) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/session-stores/adaptive\"eaimeta@70e063a35619d71f\n class SessionStore extends _adaptive.default {}\n _exports.default = SessionStore;\n});","define(\"scaleflow/styles/tailwind.config\", [], function () {\n \"use strict\";\n\n 0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n const colors = require(\"tailwindcss/colors\");\n const plugin = require(\"tailwindcss/plugin\");\n const defaultTheme = require(\"tailwindcss/defaultTheme\");\n module.exports = {\n content: ['./app/**/*.html', './app/**/*.hbs', './app/**/*.js'],\n presets: [],\n safelist: [{\n pattern: /bg-(gray|red|green|blue|yellow|pink|indigo|purple|orange|zinc|neutral|stone|amber|yellow|lime|emerald|teal|cyan|sky|violet|fuchsia|rose|slate|primary)-(50|100|600)/\n }, {\n pattern: /text-(gray|red|green|blue|amber|yellow|pink|indigo|purple)-(600|800|700)/\n }, 'h-28', 'w-28', 'h-32', 'w-32', 'font-medium', 'font-bold', 'w-1/5', 'w-2/5', 'w-3/5', 'w-4/5', {\n pattern: /grid-cols-[0-9]{0,}/\n }, {\n pattern: /col-span-[0-9]{0,}/\n }],\n theme: {\n screens: {\n sm: '640px',\n md: '768px',\n lg: '1024px',\n xl: '1280px',\n '2xl': '1536px',\n touch: {\n raw: '(hover: none)'\n },\n cursor: {\n raw: '(hover: hover)'\n }\n },\n colors: {\n transparent: 'transparent',\n current: 'currentColor',\n black: colors.black,\n white: colors.white,\n gray: colors.gray,\n red: colors.red,\n orange: colors.orange,\n yellow: colors.amber,\n green: colors.green,\n blue: colors.blue,\n indigo: colors.indigo,\n purple: colors.purple,\n pink: colors.pink,\n slate: colors.slate,\n zinc: colors.zinc,\n neutral: colors.neutral,\n stone: colors.stone,\n amber: colors.amber,\n lime: colors.lime,\n emerald: colors.emerald,\n teal: colors.teal,\n cyan: colors.cyan,\n sky: colors.sky,\n violet: colors.violet,\n fuchsia: colors.fuchsia,\n rose: colors.rose,\n primary: colors.indigo,\n // primary: {\n // 50: '#F1FFFD',\n // 100: '#D7FFF8',\n // 200: '#B0F9ED',\n // 300: '#60EBD4',\n // 400: '#29E0C2',\n // 500: '#29E0C2',\n // 600: '#01A388',\n // 700: '#007A66',\n // 800: '#015345',\n // 900: '#093931',\n // },\n dark: '#47505F'\n },\n spacing: {\n px: '1px',\n 0: '0px',\n 0.5: '0.125rem',\n 1: '0.25rem',\n 1.5: '0.375rem',\n 2: '0.5rem',\n 2.5: '0.625rem',\n 3: '0.75rem',\n 3.5: '0.875rem',\n 4: '1rem',\n 5: '1.25rem',\n 6: '1.5rem',\n 7: '1.75rem',\n 8: '2rem',\n 9: '2.25rem',\n 10: '2.5rem',\n 11: '2.75rem',\n 12: '3rem',\n 14: '3.5rem',\n 16: '4rem',\n 20: '5rem',\n 24: '6rem',\n 28: '7rem',\n 32: '8rem',\n 36: '9rem',\n 40: '10rem',\n 44: '11rem',\n 48: '12rem',\n 52: '13rem',\n 56: '14rem',\n 60: '15rem',\n 64: '16rem',\n 72: '18rem',\n 80: '20rem',\n 96: '24rem'\n },\n animation: {\n none: 'none',\n spin: 'spin 1s linear infinite',\n ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',\n pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',\n bounce: 'bounce 1s infinite'\n },\n backdropBlur: theme => theme('blur'),\n backdropBrightness: theme => theme('brightness'),\n backdropContrast: theme => theme('contrast'),\n backdropGrayscale: theme => theme('grayscale'),\n backdropHueRotate: theme => theme('hueRotate'),\n backdropInvert: theme => theme('invert'),\n backdropOpacity: theme => theme('opacity'),\n backdropSaturate: theme => theme('saturate'),\n backdropSepia: theme => theme('sepia'),\n backgroundColor: theme => theme('colors'),\n backgroundImage: {\n none: 'none',\n 'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',\n 'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',\n 'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))',\n 'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))',\n 'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))',\n 'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',\n 'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',\n 'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))'\n },\n backgroundOpacity: theme => theme('opacity'),\n backgroundPosition: {\n bottom: 'bottom',\n center: 'center',\n left: 'left',\n 'left-bottom': 'left bottom',\n 'left-top': 'left top',\n right: 'right',\n 'right-bottom': 'right bottom',\n 'right-top': 'right top',\n top: 'top'\n },\n backgroundSize: {\n auto: 'auto',\n cover: 'cover',\n contain: 'contain'\n },\n blur: {\n 0: '0',\n sm: '4px',\n DEFAULT: '8px',\n md: '12px',\n lg: '16px',\n xl: '24px',\n '2xl': '40px',\n '3xl': '64px'\n },\n brightness: {\n 0: '0',\n 50: '.5',\n 75: '.75',\n 90: '.9',\n 95: '.95',\n 100: '1',\n 105: '1.05',\n 110: '1.1',\n 125: '1.25',\n 150: '1.5',\n 200: '2'\n },\n borderColor: theme => ({\n ...theme('colors'),\n DEFAULT: theme('colors.gray.200', 'currentColor')\n }),\n borderOpacity: theme => theme('opacity'),\n borderRadius: {\n none: '0px',\n sm: '0.125rem',\n DEFAULT: '0.25rem',\n md: '0.375rem',\n lg: '0.5rem',\n xl: '0.75rem',\n '2xl': '1rem',\n '3xl': '1.5rem',\n full: '9999px'\n },\n borderWidth: {\n DEFAULT: '1px',\n 0: '0px',\n 2: '2px',\n 4: '4px',\n 8: '8px'\n },\n boxShadow: {\n sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',\n DEFAULT: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',\n md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',\n lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',\n xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',\n '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',\n inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',\n none: 'none'\n },\n contrast: {\n 0: '0',\n 50: '.5',\n 75: '.75',\n 100: '1',\n 125: '1.25',\n 150: '1.5',\n 200: '2'\n },\n container: {},\n cursor: {\n auto: 'auto',\n default: 'default',\n pointer: 'pointer',\n wait: 'wait',\n text: 'text',\n move: 'move',\n help: 'help',\n 'not-allowed': 'not-allowed'\n },\n divideColor: theme => theme('borderColor'),\n divideOpacity: theme => theme('borderOpacity'),\n divideWidth: theme => theme('borderWidth'),\n dropShadow: {\n sm: '0 1px 1px rgba(0,0,0,0.05)',\n DEFAULT: ['0 1px 2px rgba(0, 0, 0, 0.1)', '0 1px 1px rgba(0, 0, 0, 0.06)'],\n md: ['0 4px 3px rgba(0, 0, 0, 0.07)', '0 2px 2px rgba(0, 0, 0, 0.06)'],\n lg: ['0 10px 8px rgba(0, 0, 0, 0.04)', '0 4px 3px rgba(0, 0, 0, 0.1)'],\n xl: ['0 20px 13px rgba(0, 0, 0, 0.03)', '0 8px 5px rgba(0, 0, 0, 0.08)'],\n '2xl': '0 25px 25px rgba(0, 0, 0, 0.15)',\n r: ['0 3px 3px rgba(0, 0, 0, 0.12)', '0 3px 3px rgba(0, 0, 0, 0.12)'],\n none: '0 0 #0000'\n },\n fill: {\n current: 'currentColor'\n },\n grayscale: {\n 0: '0',\n DEFAULT: '100%'\n },\n hueRotate: {\n '-180': '-180deg',\n '-90': '-90deg',\n '-60': '-60deg',\n '-30': '-30deg',\n '-15': '-15deg',\n 0: '0deg',\n 15: '15deg',\n 30: '30deg',\n 60: '60deg',\n 90: '90deg',\n 180: '180deg'\n },\n invert: {\n 0: '0',\n DEFAULT: '100%'\n },\n flex: {\n 1: '1 1 0%',\n auto: '1 1 auto',\n initial: '0 1 auto',\n none: 'none'\n },\n flexGrow: {\n 0: '0',\n DEFAULT: '1'\n },\n flexShrink: {\n 0: '0',\n DEFAULT: '1'\n },\n fontFamily: {\n sans: ['Inter var', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '\"Segoe UI\"', 'Roboto Mono', '\"Helvetica Neue\"', 'Arial', '\"Noto Sans\"', 'sans-serif', '\"Apple Color Emoji\"', '\"Segoe UI Emoji\"', '\"Segoe UI Symbol\"', '\"Noto Color Emoji\"'],\n serif: ['ui-serif', 'Georgia', 'Cambria', '\"Times New Roman\"', 'Times', 'serif'],\n mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '\"Liberation Mono\"', '\"Courier New\"', 'monospace'],\n flow: ['Flow']\n },\n fontSize: {\n xxs: ['0.625rem', {\n lineHeight: '0.9rem'\n }],\n xs: ['0.75rem', {\n lineHeight: '1rem'\n }],\n sm: ['0.875rem', {\n lineHeight: '1.25rem'\n }],\n base: ['1rem', {\n lineHeight: '1.5rem'\n }],\n lg: ['1.125rem', {\n lineHeight: '1.75rem'\n }],\n xl: ['1.25rem', {\n lineHeight: '1.75rem'\n }],\n '2xl': ['1.5rem', {\n lineHeight: '2rem'\n }],\n '3xl': ['1.875rem', {\n lineHeight: '2.25rem'\n }],\n '4xl': ['2.25rem', {\n lineHeight: '2.5rem'\n }],\n '5xl': ['3rem', {\n lineHeight: '1'\n }],\n '6xl': ['3.75rem', {\n lineHeight: '1'\n }],\n '7xl': ['4.5rem', {\n lineHeight: '1'\n }],\n '8xl': ['6rem', {\n lineHeight: '1'\n }],\n '9xl': ['8rem', {\n lineHeight: '1'\n }]\n },\n fontWeight: {\n thin: '100',\n extralight: '200',\n light: '300',\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n extrabold: '800',\n black: '900'\n },\n gap: theme => theme('spacing'),\n gradientColorStops: theme => theme('colors'),\n gridAutoColumns: {\n auto: 'auto',\n min: 'min-content',\n max: 'max-content',\n fr: 'minmax(0, 1fr)'\n },\n gridAutoRows: {\n auto: 'auto',\n min: 'min-content',\n max: 'max-content',\n fr: 'minmax(0, 1fr)'\n },\n gridColumn: {\n auto: 'auto',\n 'span-1': 'span 1 / span 1',\n 'span-2': 'span 2 / span 2',\n 'span-3': 'span 3 / span 3',\n 'span-4': 'span 4 / span 4',\n 'span-5': 'span 5 / span 5',\n 'span-6': 'span 6 / span 6',\n 'span-7': 'span 7 / span 7',\n 'span-8': 'span 8 / span 8',\n 'span-9': 'span 9 / span 9',\n 'span-10': 'span 10 / span 10',\n 'span-11': 'span 11 / span 11',\n 'span-12': 'span 12 / span 12',\n 'span-full': '1 / -1'\n },\n gridColumnEnd: {\n auto: 'auto',\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7',\n 8: '8',\n 9: '9',\n 10: '10',\n 11: '11',\n 12: '12',\n 13: '13'\n },\n gridColumnStart: {\n auto: 'auto',\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7',\n 8: '8',\n 9: '9',\n 10: '10',\n 11: '11',\n 12: '12',\n 13: '13'\n },\n gridRow: {\n auto: 'auto',\n 'span-1': 'span 1 / span 1',\n 'span-2': 'span 2 / span 2',\n 'span-3': 'span 3 / span 3',\n 'span-4': 'span 4 / span 4',\n 'span-5': 'span 5 / span 5',\n 'span-6': 'span 6 / span 6',\n 'span-full': '1 / -1'\n },\n gridRowStart: {\n auto: 'auto',\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7'\n },\n gridRowEnd: {\n auto: 'auto',\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7'\n },\n gridTemplateColumns: {\n none: 'none',\n 1: 'repeat(1, minmax(0, 1fr))',\n 2: 'repeat(2, minmax(0, 1fr))',\n 3: 'repeat(3, minmax(0, 1fr))',\n 4: 'repeat(4, minmax(0, 1fr))',\n 5: 'repeat(5, minmax(0, 1fr))',\n 6: 'repeat(6, minmax(0, 1fr))',\n 7: 'repeat(7, minmax(0, 1fr))',\n 8: 'repeat(8, minmax(0, 1fr))',\n 9: 'repeat(9, minmax(0, 1fr))',\n 10: 'repeat(10, minmax(0, 1fr))',\n 11: 'repeat(11, minmax(0, 1fr))',\n 12: 'repeat(12, minmax(0, 1fr))'\n },\n gridTemplateRows: {\n none: 'none',\n 1: 'repeat(1, minmax(0, 1fr))',\n 2: 'repeat(2, minmax(0, 1fr))',\n 3: 'repeat(3, minmax(0, 1fr))',\n 4: 'repeat(4, minmax(0, 1fr))',\n 5: 'repeat(5, minmax(0, 1fr))',\n 6: 'repeat(6, minmax(0, 1fr))'\n },\n height: theme => ({\n auto: 'auto',\n ...theme('spacing'),\n '1/2': '50%',\n '1/3': '33.333333%',\n '2/3': '66.666667%',\n '1/4': '25%',\n '2/4': '50%',\n '3/4': '75%',\n '1/5': '20%',\n '2/5': '40%',\n '3/5': '60%',\n '4/5': '80%',\n '1/6': '16.666667%',\n '2/6': '33.333333%',\n '3/6': '50%',\n '4/6': '66.666667%',\n '5/6': '83.333333%',\n full: '100%',\n screen: '100vh'\n }),\n inset: (theme, {\n negative\n }) => ({\n auto: 'auto',\n ...theme('spacing'),\n ...negative(theme('spacing')),\n '1/2': '50%',\n '1/3': '33.333333%',\n '2/3': '66.666667%',\n '1/4': '25%',\n '2/4': '50%',\n '3/4': '75%',\n full: '100%',\n '-1/2': '-50%',\n '-1/3': '-33.333333%',\n '-2/3': '-66.666667%',\n '-1/4': '-25%',\n '-2/4': '-50%',\n '-3/4': '-75%',\n '-full': '-100%'\n }),\n keyframes: {\n spin: {\n to: {\n transform: 'rotate(360deg)'\n }\n },\n ping: {\n '75%, 100%': {\n transform: 'scale(2)',\n opacity: '0'\n }\n },\n pulse: {\n '50%': {\n opacity: '.5'\n }\n },\n bounce: {\n '0%, 100%': {\n transform: 'translateY(-25%)',\n animationTimingFunction: 'cubic-bezier(0.8,0,1,1)'\n },\n '50%': {\n transform: 'none',\n animationTimingFunction: 'cubic-bezier(0,0,0.2,1)'\n }\n }\n },\n extend: {\n animation: {\n 'fade-out-left': 'fade-out-left 0.3s 1 forwards',\n 'fade-in-right': 'fade-in-right 0.3s 1 forwards',\n 'fade-in-left': 'fade-in-left 0.3s 1 forwards',\n 'fade-out-right': 'fade-out-right 0.3s 1 forwards'\n },\n fontFamily: {\n sans: ['Inter var', ...defaultTheme.fontFamily.sans]\n },\n keyframes: {\n 'fade-out-left': {\n from: {\n transform: 'translateX(0)',\n opacity: 1\n },\n to: {\n transform: 'translateX(-100%)',\n opacity: 0\n }\n },\n 'fade-in-right': {\n from: {\n position: 'relative',\n right: '100px',\n opacity: 0\n },\n to: {\n position: 'relative',\n right: '0px',\n opacity: 1\n }\n },\n 'fade-out-right': {\n from: {\n position: 'relative',\n right: '0',\n opacity: 1\n },\n to: {\n position: 'relative',\n right: '100px',\n opacity: 0\n }\n },\n 'fade-in-left': {\n from: {\n transform: 'translateX(-100%)',\n opacity: 0\n },\n to: {\n transform: 'translateX(0%)',\n opacity: 1\n }\n }\n }\n },\n letterSpacing: {\n tighter: '-0.05em',\n tight: '-0.025em',\n normal: '0em',\n wide: '0.025em',\n wider: '0.05em',\n widest: '0.1em'\n },\n lineHeight: {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2',\n 3: '.75rem',\n 4: '1rem',\n 5: '1.25rem',\n 6: '1.5rem',\n 7: '1.75rem',\n 8: '2rem',\n 9: '2.25rem',\n 10: '2.5rem'\n },\n listStyleType: {\n none: 'none',\n disc: 'disc',\n decimal: 'decimal'\n },\n margin: (theme, {\n negative\n }) => ({\n auto: 'auto',\n ...theme('spacing'),\n ...negative(theme('spacing'))\n }),\n maxHeight: theme => ({\n ...theme('spacing'),\n full: '100%',\n screen: '100vh'\n }),\n maxWidth: (theme, {\n breakpoints\n }) => ({\n none: 'none',\n 0: '0rem',\n xs: '20rem',\n sm: '24rem',\n md: '28rem',\n lg: '32rem',\n xl: '36rem',\n '2xl': '42rem',\n '3xl': '48rem',\n '4xl': '56rem',\n '5xl': '64rem',\n '6xl': '72rem',\n '7xl': '80rem',\n full: '100%',\n min: 'min-content',\n max: 'max-content',\n prose: '65ch',\n ...breakpoints(theme('screens'))\n }),\n minHeight: {\n 0: '0px',\n full: '100%',\n screen: '100vh'\n },\n minWidth: {\n 0: '0px',\n full: '100%',\n min: 'min-content',\n max: 'max-content'\n },\n objectPosition: {\n bottom: 'bottom',\n center: 'center',\n left: 'left',\n 'left-bottom': 'left bottom',\n 'left-top': 'left top',\n right: 'right',\n 'right-bottom': 'right bottom',\n 'right-top': 'right top',\n top: 'top'\n },\n opacity: {\n 0: '0',\n 5: '0.05',\n 10: '0.1',\n 20: '0.2',\n 25: '0.25',\n 30: '0.3',\n 40: '0.4',\n 50: '0.5',\n 60: '0.6',\n 70: '0.7',\n 75: '0.75',\n 80: '0.8',\n 90: '0.9',\n 95: '0.95',\n 100: '1'\n },\n order: {\n first: '-9999',\n last: '9999',\n none: '0',\n 1: '1',\n 2: '2',\n 3: '3',\n 4: '4',\n 5: '5',\n 6: '6',\n 7: '7',\n 8: '8',\n 9: '9',\n 10: '10',\n 11: '11',\n 12: '12'\n },\n outline: {\n none: ['2px solid transparent', '2px'],\n white: ['2px dotted white', '2px'],\n black: ['2px dotted black', '2px']\n },\n padding: theme => theme('spacing'),\n placeholderColor: theme => theme('colors'),\n placeholderOpacity: theme => theme('opacity'),\n ringColor: theme => ({\n DEFAULT: theme('colors.blue.500', '#3b82f6'),\n ...theme('colors')\n }),\n ringOffsetColor: theme => theme('colors'),\n ringOffsetWidth: {\n 0: '0px',\n 1: '1px',\n 2: '2px',\n 4: '4px',\n 8: '8px'\n },\n ringOpacity: theme => ({\n DEFAULT: '0.5',\n ...theme('opacity')\n }),\n ringWidth: {\n DEFAULT: '3px',\n 0: '0px',\n 1: '1px',\n 2: '2px',\n 4: '4px',\n 8: '8px'\n },\n rotate: {\n '-180': '-180deg',\n '-90': '-90deg',\n '-45': '-45deg',\n '-12': '-12deg',\n '-6': '-6deg',\n '-3': '-3deg',\n '-2': '-2deg',\n '-1': '-1deg',\n 0: '0deg',\n 1: '1deg',\n 2: '2deg',\n 3: '3deg',\n 6: '6deg',\n 12: '12deg',\n 45: '45deg',\n 90: '90deg',\n 180: '180deg'\n },\n saturate: {\n 0: '0',\n 50: '.5',\n 100: '1',\n 150: '1.5',\n 200: '2'\n },\n scale: {\n 0: '0',\n 50: '.5',\n 75: '.75',\n 90: '.9',\n 95: '.95',\n 100: '1',\n 105: '1.05',\n 110: '1.1',\n 125: '1.25',\n 150: '1.5'\n },\n sepia: {\n 0: '0',\n DEFAULT: '100%'\n },\n skew: {\n '-12': '-12deg',\n '-6': '-6deg',\n '-3': '-3deg',\n '-2': '-2deg',\n '-1': '-1deg',\n 0: '0deg',\n 1: '1deg',\n 2: '2deg',\n 3: '3deg',\n 6: '6deg',\n 12: '12deg'\n },\n space: (theme, {\n negative\n }) => ({\n ...theme('spacing'),\n ...negative(theme('spacing'))\n }),\n stroke: {\n current: 'currentColor'\n },\n strokeWidth: {\n 0: '0',\n 1: '1',\n 2: '2'\n },\n textColor: theme => theme('colors'),\n textOpacity: theme => theme('opacity'),\n transformOrigin: {\n center: 'center',\n top: 'top',\n 'top-right': 'top right',\n right: 'right',\n 'bottom-right': 'bottom right',\n bottom: 'bottom',\n 'bottom-left': 'bottom left',\n left: 'left',\n 'top-left': 'top left'\n },\n transitionDelay: {\n 75: '75ms',\n 100: '100ms',\n 150: '150ms',\n 200: '200ms',\n 300: '300ms',\n 500: '500ms',\n 700: '700ms',\n 1000: '1000ms'\n },\n transitionDuration: {\n DEFAULT: '150ms',\n 75: '75ms',\n 100: '100ms',\n 150: '150ms',\n 200: '200ms',\n 300: '300ms',\n 500: '500ms',\n 700: '700ms',\n 1000: '1000ms'\n },\n transitionProperty: {\n none: 'none',\n all: 'all',\n DEFAULT: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',\n colors: 'background-color, border-color, color, fill, stroke',\n opacity: 'opacity',\n shadow: 'box-shadow',\n transform: 'transform'\n },\n transitionTimingFunction: {\n DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',\n linear: 'linear',\n in: 'cubic-bezier(0.4, 0, 1, 1)',\n out: 'cubic-bezier(0, 0, 0.2, 1)',\n 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)'\n },\n translate: (theme, {\n negative\n }) => ({\n ...theme('spacing'),\n ...negative(theme('spacing')),\n '1/2': '50%',\n '1/3': '33.333333%',\n '2/3': '66.666667%',\n '1/4': '25%',\n '2/4': '50%',\n '3/4': '75%',\n full: '100%',\n '-1/2': '-50%',\n '-1/3': '-33.333333%',\n '-2/3': '-66.666667%',\n '-1/4': '-25%',\n '-2/4': '-50%',\n '-3/4': '-75%',\n '-full': '-100%'\n }),\n width: theme => ({\n auto: 'auto',\n ...theme('spacing'),\n '1/2': '50%',\n '1/3': '33.333333%',\n '2/3': '66.666667%',\n '1/4': '25%',\n '2/4': '50%',\n '3/4': '75%',\n '1/5': '20%',\n '2/5': '40%',\n '3/5': '60%',\n '4/5': '80%',\n '1/6': '16.666667%',\n '2/6': '33.333333%',\n '3/6': '50%',\n '4/6': '66.666667%',\n '5/6': '83.333333%',\n '1/12': '8.333333%',\n '2/12': '16.666667%',\n '3/12': '25%',\n '4/12': '33.333333%',\n '5/12': '41.666667%',\n '6/12': '50%',\n '7/12': '58.333333%',\n '8/12': '66.666667%',\n '9/12': '75%',\n '10/12': '83.333333%',\n '11/12': '91.666667%',\n full: '100%',\n screen: '100vw',\n min: 'min-content',\n max: 'max-content',\n fit: 'fit-content'\n }),\n zIndex: {\n auto: 'auto',\n 0: '0',\n 10: '10',\n 20: '20',\n 30: '30',\n 40: '40',\n 50: '50'\n }\n },\n variantOrder: ['first', 'last', 'odd', 'even', 'visited', 'checked', 'group-hover', 'group-focus', 'focus-within', 'hover', 'focus', 'focus-visible', 'active', 'disabled'],\n plugins: [plugin(function ({\n addVariant\n }) {\n addVariant('collapsed-icons', '& .ember-view.active .side-nav');\n addVariant('child-svg', '& svg');\n }), require(\"@tailwindcss/forms\"), require(\"@tailwindcss/container-queries\")]\n };\n});","define(\"scaleflow/templates/404\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n
    \n 404\n
    \n {{this.randomMessage}}

    \n

    {{t\n \"four-o-four-messages.sub-heading\"\n }}\n {{t \"help.contact-support\"}}

    \n \n {{t\n \"dictionary.go-back\"\n }}\n \n
    \n \n
    \n */\n {\n \"id\": \"FgqFtMWE\",\n \"block\": \"[[[10,0],[14,0,\\\"error-msg-wrap w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"404\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"message-box w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xl lg:text-2xl font-medium text-gray-800 mb-7\\\"],[12],[1,[30,0,[\\\"randomMessage\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-base font-normal text-gray-800 mb-12\\\"],[12],[1,[28,[35,3],[\\\"four-o-four-messages.sub-heading\\\"],null]],[1,\\\"\\\\n \\\"],[10,3],[14,6,\\\"mailto:team@getproducthub.com?subject=\\\\\\\"Question for Support\\\\\\\"\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"underline hover:no-underline lowercase\\\"],[12],[1,[28,[35,3],[\\\"help.contact-support\\\"],null]],[13],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[4,[38,6],[\\\"click\\\",[30,0,[\\\"goBack\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,3],[\\\"dictionary.go-back\\\"],null]]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"banana-image\\\"]],null,null],[1,\\\"\\\\n\\\"],[13]],[],[\\\"div\\\",\\\"span\\\",\\\"p\\\",\\\"t\\\",\\\"a\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"atoms/icons/banana\\\"]]\",\n \"moduleName\": \"scaleflow/templates/404.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/application\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"dictionary.producthub\")}}\n \n {{#if (and this.session.isAuthenticated this.currentUser.id)}}\n
    \n \n \n {{#if this.pageIsArtifactViewMode}}{{else}}\n \n {{/if}}\n
    \n
    \n {{outlet}}\n
    \n
    \n
    \n \n \n \n \n \n \n {{this.notifications.notificationMessage}}\n \n \n {{#if this.initiative_id}}\n \n {{/if}}\n \n \n \n \n \n \n \n {{this.current_roadmap_id}}\n \n {{else}}\n {{outlet}}\n {{/if}}\n */\n {\n \"id\": \"KiKcGdZH\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"dictionary.producthub\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"session\\\",\\\"isAuthenticated\\\"]],[30,0,[\\\"currentUser\\\",\\\"id\\\"]]],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid grid-cols-12 w-screen h-screen\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"flex flex-col\\\\n \\\",[52,[30,0,[\\\"chatv2\\\",\\\"chatWindowIsOpen\\\"]],[52,[30,0,[\\\"chatv2\\\",\\\"isFullScreen\\\"]],\\\"\\\\n hidden\\\",\\\"col-span-7\\\"],\\\"col-span-12\\\"]]]],[12],[1,\\\"\\\\n\\\\n \\\"],[41,[30,0,[\\\"pageIsArtifactViewMode\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,5],null,null,null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[10,\\\"main\\\"],[14,1,\\\"main\\\"],[14,0,\\\"grow w-rest-screen\\\"],[14,\\\"aria-label\\\",\\\"Main Content\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"content\\\"],[14,0,\\\"h-full\\\"],[12],[1,\\\"\\\\n \\\"],[46,[28,[37,8],null,null],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[\\\"relative\\\\n \\\",[52,[30,0,[\\\"chatv2\\\",\\\"chatWindowIsOpen\\\"]],[52,[30,0,[\\\"chatv2\\\",\\\"isFullScreen\\\"]],\\\" col-span-12\\\",\\\"col-span-5\\\"],\\\"hidden\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@show\\\",\\\"@onClose\\\"],[[30,0,[\\\"notifications\\\",\\\"showNotification\\\"]],[30,0,[\\\"notifications\\\",\\\"toggleShowNotification\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"w-6 h-6 text-green-500\\\"]],null,null],[1,[30,0,[\\\"notifications\\\",\\\"notificationMessage\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"initiative_id\\\"]],[[[1,\\\" \\\"],[8,[39,12],null,null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,13],null,null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,14],null,null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],null,null,null],[1,\\\"\\\\n\\\\n \\\"],[1,[30,0,[\\\"current_roadmap_id\\\"]]],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[46,[28,[37,8],null,null],null,null,null],[1,\\\"\\\\n\\\"]],[]]]],[],[\\\"page-title\\\",\\\"t\\\",\\\"if\\\",\\\"and\\\",\\\"div\\\",\\\"navbar/navbar\\\",\\\"main\\\",\\\"component\\\",\\\"-outlet\\\",\\\"chat\\\",\\\"notification\\\",\\\"atoms/icons/check\\\",\\\"initiatives/popover\\\",\\\"initiatives/update-wizard\\\",\\\"initiatives/progress-panel\\\",\\\"email-invite-modal\\\"]]\",\n \"moduleName\": \"scaleflow/templates/application.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/artifacts/artifact\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Artifact\"}}\n {{outlet}}\n */\n {\n \"id\": \"POrqwHQG\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Artifact\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/artifacts/artifact.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/artifacts/artifact/view\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title @model.name}}\n \n
    \n

    \n {{@model.name}}\n

    \n \n
    \n */\n {\n \"id\": \"QxNS3KRs\",\n \"block\": \"[[[1,[28,[35,0],[[30,1,[\\\"name\\\"]]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"max-w-7xl mx-auto flex flex-col gap-y-4 h-full overflow-y-scroll\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl font-semibold text-gray-800 text-center underline pt-4\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"\\\"]],[[\\\"@content\\\"],[[30,1,[\\\"content\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"h1\\\",\\\"markdown-renderer\\\"]]\",\n \"moduleName\": \"scaleflow/templates/artifacts/artifact/view.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/authenticate\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Authenticate\"}}\n \n
    \n
    \n
    \n

    \n {{t \"dictionary.authenticating\"}}\n

    \n \n
    \n
    \n
    \n \n */\n {\n \"id\": \"buGdGs2P\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Authenticate\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"flex flex-wrap w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col w-full md:w-1/2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col justify-center mx-auto my-auto w-80 items-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-2xl font-medium\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.authenticating\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"!w-[40px] !h-[40px] mt-2\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-1/2 bg-gray-100 h-screen hidden md:flex items-center justify-center p-32 flex-col gap-4 text-center\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/images/new_logo.png\\\"],[14,0,\\\"w-48\\\"],[14,\\\"alt\\\",\\\"ProductHub\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-2xl text-gray-700 font-normal\\\"],[12],[1,\\\"The Product Strategy\\\\n \\\"],[10,1],[14,0,\\\"text-red-400\\\"],[12],[1,\\\"Hub\\\"],[13],[1,\\\".\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"page-title\\\",\\\"div\\\",\\\"p\\\",\\\"t\\\",\\\"loader\\\",\\\"img\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/templates/authenticate.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Ideas\"}}\n {{outlet}}\n */\n {\n \"id\": \"i69LTNwJ\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Ideas\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/idea\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title this.idea.title}}\n \n \n \n
    \n
    \n {{t \"idea.title\" num=1}}\n \n
    \n
    \n
    \n {{t \"dictionary.pm\" num=1}}\n
    \n
    \n \n {{t \"dictionary.submitted-by\" num=1}}\n {{or this.idea.submitter.name \"-\"}}\n
    \n
    \n \n
    \n
    \n \n {{t\n \"dictionary.status\"\n }}\n
    \n
    \n \n <:trigger>\n {{this.idea.statusLabel}}\n \n \n <:menuItems>\n {{#if this.idea.canEditStatus}}\n {{#each this.betaService.ideaStatusOptions as |status|}}\n \n {{status.label}}\n \n {{/each}}\n {{/if}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n {{#each this.tabs as |tab|}}\n {{#if tab.hide}}{{else}}\n {{#if tab.popover}}\n
    \n \n {{tab.label}}\n \n \n \n {{tab.popover}}\n \n \n \n
    \n {{else if tab.external}}\n
    \n \n \n {{tab.label}}\n \n
    \n {{else}}\n \n \n {{tab.label}}\n \n
    \n {{/if}}\n {{/if}}\n {{/each}}\n
    \n
    \n \n \n
    \n {{outlet}}\n
    \n \n \n \n \n \n \n \n */\n {\n \"id\": \"fZiQzmas\",\n \"block\": \"[[[1,[28,[35,0],[[30,0,[\\\"idea\\\",\\\"title\\\"]]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"w-full max-w-8xl mx-auto border-b border-b-gray-200 flex flex-col h-full mb-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-full py-2 px-6 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-select-container w-[560px] p-4 mb-2 h-32 bg-gray-50\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"uppercase text-gray-500 font-medium leading-5 text-sm rounded-2xl\\\"],[12],[1,[28,[35,3],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"mb-4 w-full\\\"]],[[\\\"@labelClass\\\",\\\"@inputClass\\\",\\\"@idea\\\",\\\"@propagateIdeaSelect\\\"],[\\\"hidden\\\",\\\"!w-full\\\",[30,0,[\\\"idea\\\"]],[30,0,[\\\"goToIdea\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"flex justify-between gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-center gap-x-1 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"text-gray-400 w-4 h-4\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"capitalize text-gray-500 text-xs inline-block leading-5\\\"],[12],[1,[28,[35,3],[\\\"dictionary.submitted-by\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs font-semibold whitespace-nowrap text-ellipsis overflow-hidden\\\"],[12],[1,[28,[35,9],[[30,0,[\\\"idea\\\",\\\"submitter\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-xs text-gray-500 leading-3 flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"text-gray-400 w-4 h-4 mr-0.5 shrink-0\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs inline-block mr-1\\\"],[12],[1,[28,[35,3],[\\\"dictionary.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-xs text-indigo-500 leading-3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\",\\\"@disabled\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center\\\",\\\"!top-4\\\",[28,[37,12],[[30,0,[\\\"idea\\\",\\\"canEditStatus\\\"]]],null]]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,0,[\\\"idea\\\",\\\"statusLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"idea\\\",\\\"canEditStatus\\\"]],[[[42,[28,[37,18],[[28,[37,18],[[30,0,[\\\"betaService\\\",\\\"ideaStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,19],null,[[\\\"@handleSelect\\\",\\\"@isSelected\\\"],[[28,[37,20],[[30,0,[\\\"setIdeaStatus\\\"]],[30,1]],null],[28,[37,21],[[30,1,[\\\"value\\\"]],[30,0,[\\\"idea\\\",\\\"status\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"split-panel-view grid grid-cols-12 h-full overflow-hidden bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-8 h-full flex flex-col overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between bg-white overflow-x-auto shrink-0 pl-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-8 items-center h-10 mr-2\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,18],[[28,[37,18],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[30,2,[\\\"hide\\\"]],[[],[]],[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"popover\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pb-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm leading-5 capitalize text-gray-400 font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,22],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,23],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"popover\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2,[\\\"external\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pb-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,2,[\\\"external\\\"]]]]],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"text-sm leading-5 capitalize text-gray-500 font-normal flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,2]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,26],[[16,0,[29,[\\\"text-sm leading-5 capitalize whitespace-nowrap\\\\n \\\",[52,[30,2,[\\\"classes\\\"]],[30,2,[\\\"classes\\\"]]],\\\"\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,2]],null],\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\"],[[30,2,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]],[]]]],[]]]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"primary-actions\\\"],[14,0,\\\"mr-4\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grow overflow-y-auto border-t border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[46,[28,[37,28],null,null],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 h-full flex flex-col overflow-hidden border-l border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,29],null,[[\\\"@idea\\\"],[[30,3]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"status\\\",\\\"tab\\\",\\\"@model\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"span\\\",\\\"t\\\",\\\"ideas/idea-selector\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"tailwind-icons/user\\\",\\\"or\\\",\\\"tailwind-icons/flag\\\",\\\"tailwind-components/dropdown\\\",\\\"not\\\",\\\":trigger\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\",\\\"fn\\\",\\\"eq\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"link-to\\\",\\\"component\\\",\\\"-outlet\\\",\\\"ideas/idea/summary-panel\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/idea.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/idea/description\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Description\"}}\n
    \n \n \n {{#if @model.canEditIdea}}\n {{#if this.editMode}}{{else if\n (text-delta-is-empty @model.description)\n }}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n {{/if}}\n \n \n {{! If EDIT toggle is TRUE }}\n {{#if this.editMode}}\n \n {{#let (changeset @model this.ideaValidations) as |changeset|}}\n \n \n
    \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n \n {{t \"dictionary.save\"}}\n \n
    \n {{/let}}\n {{else}}\n \n {{! If EDIT toggle is FALSE }}\n {{#if (text-delta-is-empty @model.description)}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"idea.title\" num=1)\n item=\"description\"\n }}\n <:other>\n \n \n {{t \"lists.add-item\" item=(t \"dictionary.description\")}}\n \n \n \n \n {{else}}\n \n \n {{/if}}\n {{/if}}\n \n */\n {\n \"id\": \"We7+Kyof\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Description\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"w-full fade-up pb-16 pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"canEditIdea\\\"]],[[[1,\\\" \\\"],[41,[30,0,[\\\"editMode\\\"]],[[],[]],[[[41,[28,[37,4],[[30,1,[\\\"description\\\"]]],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-description-btn\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-2\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"dictionary.description\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n\\\"],[44,[[28,[37,11],[[30,1],[30,0,[\\\"ideaValidations\\\"]]],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 summary-container\\\"],[15,1,[29,[\\\"description-\\\",[30,2,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"!mt-0 block w-full rounded-md border-0 py-1.5 pl-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white compressed-lines\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\",\\\"@modules\\\"],[[29,[\\\"+ \\\",[28,[37,7],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"dictionary.description\\\"],null]],null]]],[30,2,[\\\"description\\\"]],\\\".description-container\\\",\\\"bubble\\\",[28,[37,13],[[30,0,[\\\"setDelta\\\"]],[30,2]],null],[30,0,[\\\"modules\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 justify-end mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleIdeaDescriptionCancel\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"save-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleIdeaDescriptionSave\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]]],[]],[[[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,1,[\\\"description\\\"]]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"h-full\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,7],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,7],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]],\\\"description\\\"]]]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,7],[\\\"dictionary.description\\\"],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-2\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"dictionary.description\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2 h-fit\\\"]],[[\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\",\\\"@modules\\\"],[\\\"bubble\\\",[30,1,[\\\"description\\\"]],false,\\\"No description\\\",[30,0,[\\\"modules\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]],[13]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"if\\\",\\\"text-delta-is-empty\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"t\\\",\\\"page-headers/page-title\\\",\\\"lowercase\\\",\\\"let\\\",\\\"changeset\\\",\\\"quill-editor\\\",\\\"fn\\\",\\\"atoms/buttons/button\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"button\\\",\\\"atoms/icons/plus\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/idea/description.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/idea/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.edit\")}}\n \n */\n {\n \"id\": \"75aHOm51\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.edit\\\"],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],null,[[\\\"@idea\\\"],[[30,1]]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"ideas/wizard\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/idea/edit.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Index\"}}\n {{outlet}}\n */\n {\n \"id\": \"JF3D4nPG\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Index\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/index.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Ideas\"}}\n
    \n \n

    {{t\n \"idea.title\"\n num=2\n }}

    \n
    \n \n
    \n
    \n \n {{#if this.selectedIdeas.length}}\n
    \n \n Create Business Case from selection\n \n
    \n {{/if}}\n
    \n \n \n {{t \"lists.add-item\" item=(t \"idea.title\" num=1)}}\n
    \n
    \n
    \n \n \n {{#if this.search}}\n
    \n {{/if}}\n \n \n \n \n \n {{t\n \"dictionary.columns\"\n }}\n \n \n \n \n \n \n
    \n
    \n \n \n \n {{#each this.columnOptions as |column|}}\n {{#if (array-includes this.columns column.value)}}\n \n \n {{#if (this.anyDropdownFeatureIsAvailable column)}}\n \n \n <:label>{{column.label}}\n \n <:options>\n {{#if column.dropdownDataKey}}\n \n {{/if}}\n \n \n {{else}}\n {{column.label}}\n {{/if}}\n \n \n {{/if}}\n {{/each}}\n \n \n {{#if this.ideas.length}}\n \n {{#if this.grouping}}\n {{#each-in\n this.ideasWithConstraintsApplied key=@identity\n as |key value|\n }}\n \n {{!\n }}\n \n
    \n \n {{#if this.featureAccess.hasAccessToEverything}}\n \n {{/if}}\n {{value.title}}\n {{value.content.length}}\n
    \n
    \n
    \n \n {{#each value.content as |idea|}}\n \n \n
    \n {{#if this.featureAccess.hasAccessToEverything}}\n \n {{/if}}\n \n \n \n
    \n
    \n \n {{#if (get this.columnOptions \"1.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"2.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"3.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"4.show\")}}\n \n \n {{moment-format idea.created_at \"MMM DD, YYYY\"}}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"5.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"6.show\")}}\n \n \n \n {{/if}}\n \n \n \n \n \n {{#if (get this.columnOptions \"7.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"8.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"9.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"10.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"11.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"12.show\")}}\n \n \n {{idea.revenue_existing}}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"13.show\")}}\n \n \n {{idea.revenue_potential}}\n \n \n {{/if}}\n \n \n {{/each}}\n {{/each-in}}\n \n {{else}}\n {{#each this.ideasWithConstraintsApplied as |idea|}}\n \n \n
    \n {{#if this.featureAccess.hasAccessToEverything}}\n \n {{/if}}\n \n \n \n
    \n
    \n \n {{#if (get this.columnOptions \"1.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"2.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"3.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"4.show\")}}\n \n \n {{moment-format idea.created_at \"MMM DD, YYYY\"}}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"5.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"6.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"7.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"8.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"9.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"10.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"11.show\")}}\n \n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"12.show\")}}\n \n \n {{idea.revenue_existing}}\n \n \n {{/if}}\n \n {{#if (get this.columnOptions \"13.show\")}}\n \n \n {{idea.revenue_potential}}\n \n \n {{/if}}\n \n \n {{/each}}\n {{/if}}\n
    \n {{else}}\n {{#unless this.fetchIdeas.isRunning}}\n \n \n <:message>No ideas found\n <:other>\n \n {{t\n \"lists.add-item\"\n item=\"idea\"\n }}\n \n \n \n \n {{/unless}}\n {{/if}}\n \n \n {{#if this.processIsOngoing}}\n \n \n
    \n {{/if}}\n \n \n \n \n \n {{outlet}}\n */\n {\n \"id\": \"sHJLVW0d\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Ideas\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col h-full overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full max-w-8xl mx-auto px-6 border-b border-b-gray-200 bg-white shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-gray-900 font-semibold text-3xl my-8\\\"],[12],[1,[28,[35,3],[\\\"idea.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex flex-col overflow-y-auto grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex py-4 px-6 bg-gray-50\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"selectedIdeas\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[16,\\\"disabled\\\",[30,0,[\\\"creatingInitiative\\\"]]],[4,[38,6],[\\\"click\\\",[30,0,[\\\"createInitiativeFromSelectedIdeas\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Create Business Case from selection\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 ml-auto\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"max-w-xs bg-white !mb-0 !py-1.5\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSearch\\\"],[[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]]]],[30,0,[\\\"search\\\"]],[30,0,[\\\"onSearch\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,\\\"test-id\\\",\\\"add-idea\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1]],[[\\\"@route\\\"],[\\\"backlog.ideas.list.create\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,3],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,3],[\\\"idea.title\\\"],[[\\\"num\\\"],[1]]]]]]]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative flex flex-col grow overflow-hidden pt-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-[45px] absolute right-0 z-50 flex items-center justify-center top-1 pb-[1px]\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,\\\"test-id\\\",\\\"table-menu\\\"],[14,0,\\\"bg-gray-300 rounded-s-md p-1\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"search\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-primary-600 w-3 h-3 absolute -left-1 -top-1 rounded-full\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@interactive\\\",\\\"@trigger\\\"],[\\\"true\\\",\\\"click\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"!w-[220px]\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"hover:!bg-transparent\\\"],[24,\\\"disabled\\\",\\\"true\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xxs uppercase\\\"],[12],[1,[28,[35,3],[\\\"dictionary.columns\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"!my-0 h-[1px] w-full bg-gray-200\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,16],[[24,\\\"test-id\\\",\\\"column-pills\\\"]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\"],[[30,0,[\\\"columnOptions\\\"]],[30,0,[\\\"columns\\\"]],[30,0,[\\\"onColumnSelect\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full overflow-y-auto min-h-[500px] grow pb-16\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,17],[[16,0,[29,[\\\"table-auto w-full border-separate border-spacing-0 ideas-table bg-white ideas-table\\\\n \\\",[52,[30,0,[\\\"processIsOngoing\\\"]],\\\"\\\\n opacity-50\\\"]]]],[4,[38,18],[[30,0,[\\\"populateIdeasList\\\"]]],null],[4,[38,19],[[30,0,[\\\"populateIdeasList\\\"]],[30,0,[\\\"filters\\\"]],[30,0,[\\\"refresher\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"text-left\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,22],[[28,[37,22],[[30,0,[\\\"columnOptions\\\"]]],null]],null],null,[[[41,[28,[37,23],[[30,0,[\\\"columns\\\"]],[30,2,[\\\"value\\\"]]],null],[[[1,\\\" \\\"],[8,[39,24],[[16,0,[29,[\\\"!py-0\\\\n \\\",[52,[30,2,[\\\"class\\\"]],[30,2,[\\\"class\\\"]],\\\"min-w-[120px] max-w-[200px]\\\"],\\\"\\\\n border-b border-gray-300\\\"]]]],[[\\\"@showSort\\\",\\\"@sticky\\\"],[false,true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n\\\"],[41,[28,[30,0,[\\\"anyDropdownFeatureIsAvailable\\\"]],[[30,2]],null],[[[1,\\\" \\\"],[8,[39,25],[[16,\\\"test-id\\\",[29,[\\\"filter-\\\",[30,2,[\\\"dropdownDataKey\\\"]],\\\"-trigger\\\"]]]],[[\\\"@showGroupBy\\\",\\\"@onGroupingSelect\\\",\\\"@groupingKey\\\",\\\"@groupingIsActive\\\",\\\"@dataKey\\\",\\\"@showSortOptions\\\",\\\"@sortType\\\",\\\"@tippy\\\",\\\"@dropdownContainerClass\\\",\\\"@onSort\\\",\\\"@ascSortIsActive\\\",\\\"@descSortIsActive\\\",\\\"@textAlignment\\\",\\\"@filterCount\\\",\\\"@tableSelector\\\",\\\"@allowVisibilityToggle\\\",\\\"@onHideColumn\\\"],[[30,2,[\\\"showGrouping\\\"]],[30,0,[\\\"onGroupingSelect\\\"]],[30,2,[\\\"groupingKey\\\"]],[28,[37,26],[[30,0,[\\\"grouping\\\"]],[30,2,[\\\"groupingKey\\\"]]],null],[30,2,[\\\"dropdownDataKey\\\"]],[30,2,[\\\"showSorting\\\"]],[30,2,[\\\"sortType\\\"]],true,\\\"!w-[240px]\\\",[28,[37,27],[[30,0,[\\\"onSortSelect\\\"]],[30,2,[\\\"sortKey\\\"]]],null],[28,[37,28],[[28,[37,26],[[30,2,[\\\"sortKey\\\"]],[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,26],[\\\"asc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null],[28,[37,28],[[28,[37,26],[[30,2,[\\\"sortKey\\\"]],[30,0,[\\\"sortSettings\\\",\\\"sortKey\\\"]]],null],[28,[37,26],[\\\"desc\\\",[30,0,[\\\"sortSettings\\\",\\\"sortOrder\\\"]]],null]],null],[30,2,[\\\"textAlignment\\\"]],[28,[37,29],[[28,[37,29],[[30,0],[30,2,[\\\"dropdownDataKey\\\"]]],null],\\\"length\\\"],null],\\\".ideas-table\\\",[30,2,[\\\"showVisibilityToggle\\\"]],[28,[37,27],[[30,0,[\\\"hideColumn\\\"]],[30,2,[\\\"value\\\"]],[30,0,[\\\"columns\\\"]]],null]]],[[\\\"label\\\",\\\"options\\\"],[[[[1,[30,2,[\\\"label\\\"]]]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"dropdownDataKey\\\"]],[[[1,\\\" \\\"],[8,[39,32],[[16,\\\"test-id\\\",[29,[[30,2,[\\\"dropdownDataKey\\\"]],\\\"-dropdown\\\"]]]],[[\\\"@options\\\",\\\"@values\\\",\\\"@onSelect\\\",\\\"@icon\\\",\\\"@searchPlaceholder\\\",\\\"@showClearSelectionButton\\\",\\\"@tippy\\\",\\\"@dropdownContainerClass\\\"],[[28,[37,29],[[30,0,[\\\"dropdownService\\\"]],[28,[37,33],[[30,2,[\\\"dropdownDataKey\\\"]],\\\"List\\\"],null]],null],[28,[37,29],[[30,0],[30,2,[\\\"dropdownDataKey\\\"]]],null],[28,[37,27],[[30,0,[\\\"onFilterSelect\\\"]],[30,2,[\\\"dropdownDataKey\\\"]]],null],[28,[37,34],[[30,2,[\\\"dropdownDataKey\\\"]]],null],[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[30,2,[\\\"label\\\"]]]]],true,false,\\\"\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"ideas\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,35],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"grouping\\\"]],[[[42,[28,[37,36],[[30,0,[\\\"ideasWithConstraintsApplied\\\"]]],null],[30,3],[[[1,\\\" \\\"],[8,[39,37],[[24,0,\\\"text-left group\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[8,[39,24],[[16,\\\"colspan\\\",[30,0,[\\\"visibleColumnsCount\\\"]]],[24,\\\"scope\\\",\\\"colgroup\\\"],[16,1,[29,[[30,4,[\\\"title\\\"]]]]],[24,0,\\\"bg-gray-100 text-left !text-sm !text-gray-700 !normal-case border-b border-gray-200 !py-1\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"featureAccess\\\",\\\"hasAccessToEverything\\\"]],[[[1,\\\" \\\"],[8,[39,38],[[16,0,[29,[\\\"group-hover:opacity-100\\\\n \\\",[52,[30,0,[\\\"selectedIdeas\\\",\\\"length\\\"]],\\\" opcaity-100\\\",\\\"opacity-0\\\"]]]]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[30,0,[\\\"groupIsSelected\\\"]],[[30,4]],null],[28,[37,27],[[30,0,[\\\"toggleGroupSelection\\\"]],[30,4]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,1],[12],[1,[30,4,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block min-w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,4,[\\\"content\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,22],[[28,[37,22],[[30,4,[\\\"content\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,37],[[24,\\\"test-id\\\",\\\"idea\\\"],[24,0,\\\"text-left group hover:bg-gray-50 relative h-11\\\"],[16,\\\"data-idea\\\",[30,6,[\\\"id\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,39],[[24,0,\\\"relative !pl-6\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"featureAccess\\\",\\\"hasAccessToEverything\\\"]],[[[1,\\\" \\\"],[8,[39,38],[[16,0,[29,[\\\"group-hover:opacity-100\\\\n \\\",[52,[30,0,[\\\"selectedIdeas\\\",\\\"length\\\"]],\\\" opcaity-100\\\",\\\"opacity-0\\\"]]]]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,23],[[30,0,[\\\"selectedIdeas\\\"]],[30,6,[\\\"id\\\"]]],null],[28,[37,27],[[30,0,[\\\"toggleSelection\\\"]],[30,6,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,8],null,[[\\\"@route\\\",\\\"@model\\\"],[\\\"backlog.ideas.idea.description\\\",[30,6,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,40],null,[[\\\"@label\\\"],[[30,6,[\\\"title\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"1.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditStatus\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"2.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,43],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"3.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[100px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,44],null,[[\\\"@createdBy\\\"],[[30,6,[\\\"submitter\\\",\\\"content\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"4.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[100px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"created-at text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"created-at\\\"],[16,\\\"title\\\",[29,[[30,6,[\\\"created_at\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,45],[[30,6,[\\\"created_at\\\"]],\\\"MMM DD, YYYY\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"5.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,46],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"6.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,47],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,48],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"7.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,48],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"8.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,49],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"9.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,50],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"10.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"11.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,52],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,6],[28,[37,42],[[30,6,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"12.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"source text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"revenue-existing\\\"],[16,\\\"title\\\",[29,[[30,6,[\\\"revenue_existing\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"revenue_existing\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"13.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"source text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"revenue-potential\\\"],[16,\\\"title\\\",[29,[[30,6,[\\\"revenue_potential\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,6,[\\\"revenue_potential\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]],null]],[4,5]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,22],[[28,[37,22],[[30,0,[\\\"ideasWithConstraintsApplied\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,37],[[24,\\\"test-id\\\",\\\"idea\\\"],[24,0,\\\"text-left group hover:bg-gray-50 relative h-11\\\"],[16,\\\"data-idea\\\",[30,7,[\\\"id\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,39],[[24,0,\\\"relative !pl-6\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"featureAccess\\\",\\\"hasAccessToEverything\\\"]],[[[1,\\\" \\\"],[8,[39,38],[[16,0,[29,[\\\"group-hover:opacity-100\\\\n \\\",[52,[30,0,[\\\"selectedIdeas\\\",\\\"length\\\"]],\\\" opcaity-100\\\",\\\"opacity-0\\\"]]]]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,23],[[30,0,[\\\"selectedIdeas\\\"]],[30,7,[\\\"id\\\"]]],null],[28,[37,27],[[30,0,[\\\"toggleSelection\\\"]],[30,7,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,8],null,[[\\\"@route\\\",\\\"@model\\\"],[\\\"backlog.ideas.idea.description\\\",[30,7,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,40],null,[[\\\"@label\\\"],[[30,7,[\\\"title\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"1.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,41],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditStatus\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"2.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,43],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"3.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[100px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,44],null,[[\\\"@createdBy\\\"],[[30,7,[\\\"submitter\\\",\\\"content\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"4.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[100px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"created-at text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"created-at\\\"],[16,\\\"title\\\",[29,[[30,7,[\\\"created_at\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,45],[[30,7,[\\\"created_at\\\"]],\\\"MMM DD, YYYY\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"5.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,46],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"6.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,47],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"7.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,48],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"8.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[150px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,49],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"9.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,50],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"10.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,51],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"11.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,52],null,[[\\\"@idea\\\",\\\"@disabled\\\"],[[30,7],[28,[37,42],[[30,7,[\\\"canEditIdea\\\"]]],null]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"12.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"source text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"revenue-existing\\\"],[16,\\\"title\\\",[29,[[30,7,[\\\"revenue_existing\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,7,[\\\"revenue_existing\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,29],[[30,0,[\\\"columnOptions\\\"]],\\\"13.show\\\"],null],[[[1,\\\" \\\"],[8,[39,39],[[24,0,\\\"min-w-[120px] px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,1],[24,0,\\\"source text-xs text-gray-700 items-center gap-x-1.5 py-1 px-2 overflow-hidden text-ellipsis whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"revenue-potential\\\"],[16,\\\"title\\\",[29,[[30,7,[\\\"revenue_potential\\\"]]]]],[17,1],[12],[1,\\\"\\\\n \\\"],[1,[30,7,[\\\"revenue_potential\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[7]],null]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[51,[30,0,[\\\"fetchIdeas\\\",\\\"isRunning\\\"]]],[[[1,\\\" \\\"],[8,[39,39],[[16,\\\"colspan\\\",[29,[[30,0,[\\\"visibleColumnsCount\\\"]]]]],[24,0,\\\"border-none\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,54],[[24,0,\\\"mt-16 mx-auto\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,\\\"No ideas found\\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit flex items-center whitespace-nowrap\\\"]],[[\\\"@route\\\"],[\\\"backlog.ideas.list.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,57],[[24,0,\\\"w-5 h-5 text-white\\\"]],null,null],[1,[28,[35,3],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[\\\"idea\\\"]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"processIsOngoing\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"absolute w-full h-full top-[50%] -translate-y-[50%] left-0 right-0 flex items-center justify-center bg-white/50\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,58],[[24,0,\\\"!h-6 !w-6 !border-gray-700 !border-2 !border-t-2 !border-t-white inline-block\\\"]],null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,60],null,null],null,null,null]],[\\\"&attrs\\\",\\\"column\\\",\\\"@identity\\\",\\\"value\\\",\\\"key\\\",\\\"idea\\\",\\\"idea\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"h1\\\",\\\"t\\\",\\\"if\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"wizard/search\\\",\\\"link-to\\\",\\\"button\\\",\\\"tailwind-icons/bars\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"molecules/menu-actions\\\",\\\"span\\\",\\\"atoms/divider\\\",\\\"multiselect-pills\\\",\\\"table/table\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"table/table-head\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array-includes\\\",\\\"table/th\\\",\\\"initiatives/table/header-filter-dropdown\\\",\\\"eq\\\",\\\"fn\\\",\\\"and\\\",\\\"get\\\",\\\":label\\\",\\\":options\\\",\\\"dropdowns/multi-select\\\",\\\"concat\\\",\\\"singularize\\\",\\\"table/table-body\\\",\\\"-each-in\\\",\\\"table/table-row\\\",\\\"checkbox\\\",\\\"table/td\\\",\\\"ideas/table-cell/title\\\",\\\"ideas/table-cell/status\\\",\\\"not\\\",\\\"ideas/table-cell/source\\\",\\\"ideas/table-cell/submitted-by\\\",\\\"moment-format\\\",\\\"ideas/table-cell/department\\\",\\\"ideas/table-cell/area\\\",\\\"ideas/table-cell/deadline\\\",\\\"ideas/table-cell/themes\\\",\\\"ideas/table-cell/customers\\\",\\\"ideas/table-cell/initiatives\\\",\\\"ideas/table-cell/group\\\",\\\"unless\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"atoms/icons/plus\\\",\\\"loader\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/list.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/ideas/list/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Create\"}}\n \n */\n {\n \"id\": \"R05XbX4o\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Create\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],null,[[\\\"@idea\\\"],[[30,1]]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"ideas/wizard\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/ideas/list/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.create\")}}\n
    \n \n \n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n \n
    \n \n \n \n
    \n \n \n \n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n
    \n \n {{/let}}\n \n \n \n */\n {\n \"id\": \"rvwfcQbw\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.create\\\"],null]],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"w-full h-full overflow-y-auto\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"!max-w-5xl\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[28,[37,1],[\\\"_initiatives.add\\\"],[[\\\"initiative\\\"],[[28,[37,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]],\\\"\\\"]],null],[1,\\\"\\\\n\\\"],[44,[[28,[37,6],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,8],[\\\"submit\\\",[28,[37,9],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-8\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group gap-x-2 flex items-center justify-end py-4 sticky bottom-0 bg-gray-50 border-t border-gray-300 mt-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"resetFormAndRedirect\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,13],[[16,\\\"disabled\\\",[28,[37,14],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,\\\"test-id\\\",\\\"initiative-save\\\"],[24,4,\\\"submit\\\"],[4,[38,8],[\\\"click\\\",[28,[37,9],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,2],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[13]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"div\\\",\\\"layouts/page-padded\\\",\\\"page-headers/page-title\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"initiatives/forms/general-details\\\",\\\"initiatives/forms/planning-and-people\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/save\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Initiatives\"}}\n \n
    \n \n
    \n \n

    {{t\n \"_initiatives.title\"\n num=2\n }}

    \n
    \n \n
    \n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.title\" num=1)}}\n
    \n
    \n \n \n \n \n
    \n */\n {\n \"id\": \"6MJ2I0cK\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Initiatives\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"max-w-8xl h-full flex flex-col\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"bg-white title-container shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 justify-between px-6 border-b border-b-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-gray-900 font-semibold text-3xl my-8\\\"],[12],[1,[28,[35,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 justify-end py-4 bg-gray-50 px-6\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"max-w-xs bg-white !mb-0 border-0 ring-1 ring-gray-300 shrink-0 !w-[220px]\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSearch\\\",\\\"@delay\\\"],[[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]],[30,0,[\\\"search\\\"]],[30,0,[\\\"setSearch\\\"]],500]],null],[1,\\\"\\\\n\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,\\\"test-id\\\",\\\"create-bc\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleInitiativeForm\\\"]]],null],[12],[1,[28,[35,3],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,7],[[24,0,\\\"grow pb-4\\\"]],[[\\\"@filters\\\",\\\"@grouping\\\",\\\"@tableSort\\\",\\\"@initiativeFormIsVisible\\\",\\\"@toggleInitiativeForm\\\",\\\"@search\\\",\\\"@externallyControlledSearch\\\"],[[28,[37,8],null,[[\\\"themes\\\",\\\"statuses\\\",\\\"sources\\\",\\\"productManagers\\\",\\\"teams\\\",\\\"roadmaps\\\",\\\"goals\\\",\\\"columns\\\"],[[30,0,[\\\"themes\\\"]],[30,0,[\\\"statuses\\\"]],[30,0,[\\\"sources\\\"]],[30,0,[\\\"productManagers\\\"]],[30,0,[\\\"teams\\\"]],[30,0,[\\\"roadmaps\\\"]],[30,0,[\\\"goals\\\"]],[30,0,[\\\"columns\\\"]]]]],[30,0,[\\\"grouping\\\"]],[30,0,[\\\"tableSort\\\"]],[30,0,[\\\"initiativeFormIsVisible\\\"]],[30,0,[\\\"toggleInitiativeForm\\\"]],[30,0,[\\\"search\\\"]],true]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"mb-8\\\"],[12],[13]],[\\\"&attrs\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"h1\\\",\\\"t\\\",\\\"wizard/search\\\",\\\"button\\\",\\\"on\\\",\\\"initiatives/table\\\",\\\"hash\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/index.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title @model.title}}\n \n \n {{!--\n --}}\n \n
    \n
    \n {{t \"_initiatives.title\" num=1}}\n \n
    \n
    \n
    \n {{t \"dictionary.pm\" num=1}}\n
    \n
    \n \n {{t \"dictionary.pm\" num=1}}\n {{or this.initiative.productManager.name \"-\"}}\n
    \n
    \n \n {{#if this.initiative.initiative_doc}}\n
    \n \n {{t \"_initiatives.document-link\"}}\n \n
    \n \n {{t\n \"_initiatives.document-link\"\n }}\n \n
    \n
    \n {{/if}}\n \n {{#if this.initiative.approach}}\n
    \n \n {{t \"_initiatives.planning-link\"}}\n \n
    \n \n {{t\n \"_initiatives.planning-link\"\n }}\n \n
    \n
    \n {{/if}}\n \n
    \n
    \n \n {{t\n \"dictionary.status\"\n }}\n
    \n
    \n \n <:trigger>\n {{this.initiative.statusLabel}}\n \n \n <:menuItems>\n {{#each this.betaService.sortedStatusOptions as |status|}}\n \n {{status.label}}\n \n {{/each}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n {{#each this.tabs as |tab|}}\n {{#if tab.hide}}{{else}}\n {{#if tab.popover}}\n
    \n \n {{tab.label}}\n \n \n \n {{tab.popover}}\n \n \n \n
    \n {{else if tab.external}}\n
    \n \n \n {{tab.label}}\n \n
    \n {{else}}\n \n \n {{tab.label}}\n \n
    \n {{/if}}\n {{/if}}\n {{/each}}\n \n
    \n \n \n
    \n {{outlet}}\n
    \n \n \n \n \n \n \n \n */\n {\n \"id\": \"pRhn5OfA\",\n \"block\": \"[[[1,[28,[35,0],[[30,1,[\\\"title\\\"]]],null]],[1,\\\"\\\\n\\\\n\\\"],[11,0],[24,0,\\\"w-full max-w-8xl mx-auto border-b border-b-gray-200 flex flex-col h-full mb-2\\\"],[4,[38,2],[[30,0,[\\\"initiatives\\\",\\\"loadInitiatives\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full py-2 px-6 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-select-container w-[560px] p-4 mb-2 h-32 bg-gray-50\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"uppercase text-gray-500 font-medium leading-5 text-sm rounded-2xl\\\"],[12],[1,[28,[35,4],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"mb-4 w-full\\\"]],[[\\\"@labelClass\\\",\\\"@inputClass\\\",\\\"@initiative\\\",\\\"@propagateInitiativeSelect\\\"],[\\\"hidden\\\",\\\"!w-full\\\",[30,0,[\\\"initiative\\\"]],[30,0,[\\\"goToInitiative\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"flex justify-between gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-center gap-x-1 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"text-gray-400 w-4 h-4\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"capitalize text-gray-500 text-xs inline-block leading-5\\\"],[12],[1,[28,[35,4],[\\\"dictionary.pm\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs font-semibold whitespace-nowrap text-ellipsis overflow-hidden\\\"],[12],[1,[28,[35,10],[[30,0,[\\\"initiative\\\",\\\"productManager\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-xs text-gray-500 leading-3 flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,4],[\\\"_initiatives.document-link\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-xs text-indigo-500 leading-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[30,0,[\\\"initiative\\\",\\\"initiative_doc\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center text-indigo-500 text-xs font-semibold whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-5 h-4 text-gray-500\\\"]],null,null],[1,[28,[35,4],[\\\"_initiatives.document-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"initiative\\\",\\\"approach\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-xs text-gray-500 leading-3 flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,[28,[35,4],[\\\"_initiatives.planning-link\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-xs text-indigo-500 leading-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[30,0,[\\\"initiative\\\",\\\"approach\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center text-indigo-500 text-xs font-semibold whitespace-nowrap\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-5 h-4 text-gray-500\\\"]],null,null],[1,[28,[35,4],[\\\"_initiatives.planning-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-xs text-gray-500 leading-3 flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"text-gray-400 w-4 h-4 mr-0.5 shrink-0\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs inline-block mr-1\\\"],[12],[1,[28,[35,4],[\\\"dictionary.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-xs text-indigo-500 leading-3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],null,[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center\\\",\\\"!top-4\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,0,[\\\"initiative\\\",\\\"statusLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,17],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,20],[[28,[37,20],[[30,0,[\\\"betaService\\\",\\\"sortedStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,21],null,[[\\\"@handleSelect\\\",\\\"@isSelected\\\"],[[28,[37,22],[[30,0,[\\\"setInitiativeStatus\\\"]],[30,2]],null],[28,[37,23],[[30,2,[\\\"value\\\"]],[30,0,[\\\"initiative\\\",\\\"status\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"split-panel-view grid grid-cols-12 h-full overflow-hidden bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[[52,[30,0,[\\\"chatv2\\\",\\\"chatWindowIsOpen\\\"]],\\\"col-span-12\\\",\\\"col-span-8\\\"],\\\"\\\\n h-full flex flex-col overflow-hidden\\\"]]],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between bg-white overflow-x-auto shrink-0 pl-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-8 items-center h-10 mr-2\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,20],[[28,[37,20],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[30,3,[\\\"hide\\\"]],[[],[]],[[[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"popover\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pb-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm leading-5 capitalize text-gray-400 font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,24],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"popover\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,3,[\\\"external\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pb-3\\\"],[12],[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,3,[\\\"external\\\"]]]]],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"text-sm leading-5 capitalize text-gray-500 font-normal flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,3]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,26],[[16,0,[29,[\\\"text-sm leading-5 capitalize whitespace-nowrap\\\\n \\\",[52,[30,3,[\\\"classes\\\"]],[30,3,[\\\"classes\\\"]]],\\\"\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,3]],null],\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\"],[[30,3,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]],[]]]],[]]]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"primary-actions\\\"],[14,0,\\\"mr-4\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grow overflow-y-auto border-t border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[46,[28,[37,28],null,null],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[15,0,[29,[[52,[30,0,[\\\"chatv2\\\",\\\"chatWindowIsOpen\\\"]],\\\"hidden\\\",\\\"col-span-4\\\"],\\\"\\\\n h-full flex flex-col overflow-hidden border-l border-gray-300\\\"]]],[12],[1,\\\"\\\\n \\\"],[8,[39,29],null,[[\\\"@initiative\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\",\\\"status\\\",\\\"tab\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"render-modifiers/on-insert\\\",\\\"span\\\",\\\"t\\\",\\\"initiatives/initiative-selector\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"tailwind-icons/user\\\",\\\"or\\\",\\\"if\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"tailwind-icons/flag\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\",\\\"fn\\\",\\\"eq\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"link-to\\\",\\\"component\\\",\\\"-outlet\\\",\\\"initiatives/initiative/summary-panel\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/artifacts\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Artifacts\"}}\n
    \n
    \n
    \n \n
    \n
    \n \n {{!-- --}}\n \n
    \n {{#if this.artifacts.length}}\n \n \n \n \n \n {{t \"dictionary.name\"}}\n \n \n \n {{t \"dictionary.author\" num=1}}\n \n \n \n Sync to Knowledge Base\n \n \n \n {{t \"dictionary.delete\"}}\n \n \n \n \n \n \n {{#each this.artifacts as |artifact|}}\n \n \n \n {{artifact.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n {{t \"dictionary.delete\"}}\n \n \n \n \n {{/each}}\n \n \n {{else}}\n \n <:message>{{t \"dictionary.artifact\" num=0}}\n <:other>\n \n \n \n {{/if}}\n
    \n
    \n */\n {\n \"id\": \"fLi/rpla\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Artifacts\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col overflow-y-auto grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-end py-4 px-6 bg-gray-50\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"max-w-xs bg-white !mb-0 !py-1.5\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSearch\\\"],[[28,[37,3],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,3],[\\\"dictionary.artifact\\\"],[[\\\"num\\\"],[1]]]]]],[30,0,[\\\"search\\\"]],[28,[37,4],[[28,[37,5],[[30,0,[\\\"search\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full overflow-y-auto min-h-[500px] grow pb-16\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"artifacts\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,7],[[24,0,\\\"table-auto w-full border-separate border-spacing-0 ideas-table bg-white\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"text-left\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"!px-4 w-full border-b border-gray-300\\\"]],[[\\\"@sticky\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.name\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"!px-4 max-w-[120px] border-b border-gray-300 text-center\\\"]],[[\\\"@sticky\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.author\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"!px-4 max-w-[120px] border-b border-gray-300 text-right\\\"]],[[\\\"@sticky\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"opacity-0\\\"],[12],[1,\\\"Sync to Knowledge Base\\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"!px-4 max-w-[120px] border-b border-gray-300 text-right\\\"]],[[\\\"@sticky\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"opacity-0\\\"],[12],[1,[28,[35,3],[\\\"dictionary.delete\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[30,0,[\\\"artifacts\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[24,\\\"test-id\\\",\\\"artifact\\\"],[24,0,\\\"text-left group hover:bg-gray-50 relative h-11\\\"],[16,\\\"data-artifact\\\",[30,1,[\\\"id\\\"]]]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"relative !pl-6\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,\\\"target\\\",\\\"_blank\\\"],[24,\\\"rel\\\",\\\"noopener noreferrer\\\"],[24,0,\\\"text-primary-600 no-underline hover:underline font-normal text-sm\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"artifacts.artifact.view\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[1,[30,1,[\\\"name\\\"]]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"relative px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,17],null,[[\\\"@createdBy\\\"],[[30,1,[\\\"created_by\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"relative px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@artifact\\\",\\\"@initiative\\\"],[[30,1],[30,0,[\\\"model\\\",\\\"initiative\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"relative px-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"delete\\\"],[24,0,\\\"text-red-600 text-sm font-medium p-2 flex items-center justify-center h-full w-full\\\"],[24,4,\\\"button\\\"],[4,[38,20],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"deleteArtifact\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,21],[[24,0,\\\"mt-16\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,3],[\\\"dictionary.artifact\\\"],[[\\\"num\\\"],[0]]]]],[]],[[[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"artifact\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"wizard/search\\\",\\\"t\\\",\\\"fn\\\",\\\"mut\\\",\\\"if\\\",\\\"table/table\\\",\\\"table/table-head\\\",\\\"table/table-row\\\",\\\"table/th\\\",\\\"span\\\",\\\"table/table-body\\\",\\\"each\\\",\\\"-track-array\\\",\\\"table/td\\\",\\\"link-to\\\",\\\"artifacts/table-cell/created-by\\\",\\\"artifacts/table-cell/sync-to-kb\\\",\\\"button\\\",\\\"on\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/artifacts.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/back-of-a-napkin\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.back-of-a-napkin\" num=1)}}\n \n
    \n {{#unless this.editMode}}\n \n {{t \"dictionary.edit\"}}\n \n {{/unless}}\n
    \n
    \n \n
    \n {{#if @model.source}}\n
    \n \n {{@model.sourceLabel}}\n
    \n {{/if}}\n
    \n

    \n {{@model.title}}\n {{#if @model.abbreviation}}\n \n ({{@model.abbreviation}})\n \n {{/if}}\n

    \n \n \n
    \n \n {{#if @model.summary}}\n \n {{else}}\n {{@model.description}}\n {{/if}}\n \n \n \n \n \n
    \n
    \n {{t\n \"_initiatives.starting-week\"\n }}\n {{@model.startingDateDDMMMYYY}}\n
    \n
    \n {{t \"_initiatives.duration\"}}\n {{@model.durationLabel}}\n
    \n
    \n \n \n \n
    \n \n
    \n {{t\n \"_initiatives.impact\"\n num=1\n }}\n {{@model.localizedBonValue}}\n
    \n \n
    \n {{t\n \"_initiatives.investment\"\n num=1\n }}\n {{@model.localizedBonInvestment}}\n
    \n \n
    \n {{t\n \"_initiatives.returns\"\n num=1\n }}\n {{@model.localizedBonReturns}}\n
    \n \n
    \n {{t \"_initiatives.effort\"}}\n {{@model.person_weeks_excluding_uncertainty}}pw\n
    \n {{!-- {{log @model.bon}} --}}\n
    \n {{t\n \"_initiatives.uncertainty\"\n num=1\n }}\n {{@model.person_weeks_only_uncertainty}}pw\n
    \n \n
    \n \n \n \n
    \n
    \n {{t \"_initiatives.pm\" num=1}}\n {{or\n @model.productManager.name\n \"-\"\n }}\n
    \n \n
    \n {{t\n \"_initiatives.teams\"\n num=2\n }}\n \n {{#each @model.teams as |team|}}\n \n {{else}}\n -\n {{/each}}\n \n
    \n
    \n \n \n \n
    \n \n
    \n {{t\n \"_initiatives.goals\"\n num=2\n }}\n \n {{#each @model.goals as |goal index|}}\n {{#if index}}\n \n ,\n \n {{/if}}\n \n {{goal.title}}\n \n {{else}}\n -\n {{/each}}\n \n
    \n \n
    \n {{t\n \"_initiatives.themes\"\n num=1\n }}\n {{or\n @model.theme.title\n \"-\"\n }}\n
    \n
    \n \n
    \n \n \n \n {{#if this.editMode}}\n \n \n \n \n \n \n \n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{/if}}\n \n
    \n {{#if this.bon.id}}\n {{#if this.bon.text_delta}}\n {{t \"dictionary.notes\"}}\n
    \n \n
    \n {{else}}\n {{t \"dictionary.notes\"}}\n \n {{/if}}\n {{else}}\n {{t \"dictionary.notes\"}}\n \n {{/if}}\n \n
    \n \n \n \n {{t \"dictionary.cancel\"}}\n \n {{t \"dictionary.save\"}}\n \n \n \n {{else}}\n
    \n {{t \"_initiatives.back-of-napkin\" num=1}}\n \n \n \n \n
    \n \n {{/if}}\n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"tuDyxcxY\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.back-of-a-napkin\\\"],[[\\\"num\\\"],[1]]]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"editMode\\\"]]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-sm !py-1.5\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"initiative-overview\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"source\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs py-1 text-gray-700 uppercase\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"sourceLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"abbreviation\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-base\\\"],[12],[1,\\\"\\\\n (\\\"],[1,[30,1,[\\\"abbreviation\\\"]]],[1,\\\")\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],null,[[\\\"@initiative\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"summary\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2\\\"]],[[\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\"],[\\\"bubble\\\",[30,1,[\\\"summary\\\"]],false,\\\"No description\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"pre\\\"],[14,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter\\\"],[12],[1,[30,1,[\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-links mt-4 flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-indigo-500\\\"],[12],[10,3],[15,6,[30,1,[\\\"initiative_doc\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-5 h-4 text-indigo-500\\\"]],null,null],[1,[28,[35,1],[\\\"_initiatives.document-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"approach\\\"]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-indigo-500\\\"],[12],[10,3],[15,6,[30,1,[\\\"approach\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-5 h-4 text-indigo-500\\\"]],null,null],[1,[28,[35,1],[\\\"_initiatives.planning-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.starting-week\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"startingDateDDMMMYYY\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"duration flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.duration\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"durationLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center mt-4 gap-x-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.impact\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonValue\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonInvestment\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonReturns\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"person_weeks_excluding_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"uncertainty flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"person_weeks_only_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[28,[35,17],[[30,1,[\\\"productManager\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"priority flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.teams\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"text-sm text-gray-900 font-semibold flex items-center gap-x-2\\\\n \\\",[52,[30,1,[\\\"teams\\\",\\\"length\\\"]],\\\"flex-row-reverse\\\"]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,1,[\\\"teams\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"relative\\\"]],[[\\\"@id\\\",\\\"@name\\\",\\\"@size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[[30,2,[\\\"id\\\"]],[30,2,[\\\"name\\\"]],\\\"extra-small\\\",\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n\\\"]],[2]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"priority flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold flex items-center\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,1,[\\\"goals\\\"]]],null]],null],null,[[[41,[30,4],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block mr-2\\\"],[12],[1,\\\"\\\\n ,\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,21],[[24,0,\\\"text-indigo-500\\\"]],[[\\\"@model\\\",\\\"@route\\\"],[[30,3,[\\\"id\\\"]],\\\"business.goals.goal\\\"]],[[\\\"default\\\"],[[[[10,1],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13]],[]]]]],[1,\\\"\\\\n\\\"]],[3,4]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[28,[35,17],[[30,1,[\\\"theme\\\",\\\"title\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,16],[[24,0,\\\"h-[1px] bg-gray-200 w-full !my-6\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[11,\\\"form\\\"],[24,0,\\\"w-full grow h-full pb-16 bon-form\\\"],[4,[38,6],[\\\"submit\\\",[30,0,[\\\"handleSubmit\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,23],null,[[\\\"@investments\\\",\\\"@editMode\\\",\\\"@updateBonInvestments\\\",\\\"@togglePpwSlideover\\\",\\\"@toggleInvestmentConfidenceSlideover\\\",\\\"@checkForIncompleteTemplates\\\"],[[30,0,[\\\"bon\\\",\\\"investments\\\"]],[30,0,[\\\"editMode\\\"]],[30,0,[\\\"updateBonInvestments\\\"]],[30,0,[\\\"togglePpwSlideover\\\"]],[30,0,[\\\"toggleInvestmentConfidenceSlideover\\\"]],[30,0,[\\\"bonHasIncompleteTemplates\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"h-[1px] bg-gray-200 w-full !my-6\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,24],null,[[\\\"@returns\\\",\\\"@editMode\\\",\\\"@updateBonReturns\\\",\\\"@toggleReturnConfidenceSlideover\\\",\\\"@toggleUpsellValueSlideover\\\",\\\"@toggleFteSlideover\\\",\\\"@toggleClvSlideover\\\",\\\"@checkForIncompleteTemplates\\\"],[[30,0,[\\\"bon\\\",\\\"returns\\\"]],[30,0,[\\\"editMode\\\"]],[30,0,[\\\"updateBonReturns\\\"]],[30,0,[\\\"toggleReturnConfidenceSlideover\\\"]],[30,0,[\\\"toggleUpsellValueSlideover\\\"]],[30,0,[\\\"toggleFteSlideover\\\"]],[30,0,[\\\"toggleClvSlideover\\\"]],[30,0,[\\\"bonHasIncompleteTemplates\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"h-[1px] bg-gray-200 w-full !my-6\\\"]],null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,25],null,[[\\\"@initiative\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"form-group\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"bon\\\",\\\"id\\\"]],[[[41,[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],[[[1,\\\" \\\"],[10,\\\"label\\\"],[14,0,\\\"text-base text-gray-800 font-semibold mb-2\\\"],[15,\\\"for\\\",[29,[\\\"bon-\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,[28,[35,1],[\\\"dictionary.notes\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bon-edit-editor\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"block w-full rounded-md border-0 py-1.5 pl-2 pr-1 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\"],[[29,[\\\"+ \\\",[28,[37,1],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,1],[\\\"dictionary.notes\\\"],null]]],[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],\\\".bon-edit-editor\\\",\\\"bubble\\\",[30,0,[\\\"setDelta\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"label\\\"],[14,0,\\\"text-base text-gray-800 font-semibold mb-2\\\"],[14,\\\"for\\\",\\\"notes\\\"],[12],[1,[28,[35,1],[\\\"dictionary.notes\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,27],[[24,1,\\\"notes\\\"],[24,0,\\\"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 bg-white\\\"],[24,\\\"rows\\\",\\\"4\\\"],[4,[38,6],[\\\"input\\\",[30,0,[\\\"handleNotesChange\\\"]]],null]],[[\\\"@placeholder\\\",\\\"@value\\\"],[[29,[\\\"+ \\\",[28,[37,1],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,1],[\\\"dictionary.notes\\\"],null]]],[30,0,[\\\"bon\\\",\\\"notes\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\" \\\"],[10,\\\"label\\\"],[14,0,\\\"text-base text-gray-800 font-semibold mb-2\\\"],[15,\\\"for\\\",[29,[\\\"bon-\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,[28,[35,1],[\\\"dictionary.notes\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"block w-full rounded-md border-0 py-1.5 pl-2 pr-1 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@name\\\",\\\"@id\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\"],[[29,[\\\"+ \\\",[28,[37,1],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,1],[\\\"dictionary.notes\\\"],null]]],[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],[29,[\\\"bon-\\\",[30,1,[\\\"id\\\"]]]],[29,[\\\"bon-\\\",[30,1,[\\\"id\\\"]]]],[29,[\\\"#bon-\\\",[30,1,[\\\"id\\\"]]]],\\\"bubble\\\",[30,0,[\\\"setDelta\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"action-buttons py-3 flex items-center justify-end gap-x-2 w-full sticky bottom-0 bg-white left-0 right-0 buttons-container border-t border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,28],[[24,0,\\\"py-1.5\\\"],[24,\\\"test-id\\\",\\\"cancel\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"handleCancel\\\"]]],null]],[[\\\"@type\\\"],[\\\"reset\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,\\\"test-id\\\",\\\"save-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"handleSave\\\"]]],null]],[[\\\"@type\\\"],[\\\"submit\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"title-container flex items-center gap-x-2 shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl leading-7 text-gray-800 font-semibold h-11 flex items-center\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,29],[[24,0,\\\"!text-gray-400 hover:!text-gray-700\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleBonSlideover\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,30],[[24,0,\\\"w-6 h-6\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],null,[[\\\"@notes\\\",\\\"@text_delta\\\",\\\"@investments\\\",\\\"@returns\\\",\\\"@bonValue\\\"],[[30,0,[\\\"bon\\\",\\\"notes\\\"]],[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],[30,0,[\\\"formattedBon\\\",\\\"investments\\\"]],[30,0,[\\\"formattedBon\\\",\\\"returns\\\"]],[30,0,[\\\"bonValue\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[8,[39,32],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showBonSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleBonSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,34],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showPpwSlideover\\\"]],[28,[37,33],[[30,0,[\\\"togglePpwSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,35],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showInvestmentConfidenceSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleInvestmentConfidenceSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,36],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showReturnConfidenceSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleReturnConfidenceSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,37],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showUpsellValueSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleUpsellValueSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,38],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showFteSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleFteSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,39],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showClvSlideover\\\"]],[28,[37,33],[[30,0,[\\\"toggleClvSlideover\\\"]],false],null]]],null]],[\\\"@model\\\",\\\"team\\\",\\\"goal\\\",\\\"index\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"unless\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"if\\\",\\\"span\\\",\\\"h2\\\",\\\"initiatives/status-pill\\\",\\\"quill-editor\\\",\\\"pre\\\",\\\"p\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"atoms/divider\\\",\\\"or\\\",\\\"each\\\",\\\"-track-array\\\",\\\"atoms/avatar\\\",\\\"link-to\\\",\\\"form\\\",\\\"back-of-a-napkin/investments\\\",\\\"back-of-a-napkin/returns\\\",\\\"back-of-a-napkin/metrics\\\",\\\"label\\\",\\\"atoms/forms/textarea\\\",\\\"atoms/buttons/secondary-button\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/alert\\\",\\\"back-of-a-napkin/bon-preview\\\",\\\"back-of-a-napkin/slideovers/bon\\\",\\\"fn\\\",\\\"back-of-a-napkin/slideovers/ppw\\\",\\\"back-of-a-napkin/slideovers/investment-confidence\\\",\\\"back-of-a-napkin/slideovers/return-confidence\\\",\\\"back-of-a-napkin/slideovers/upsell-value\\\",\\\"back-of-a-napkin/slideovers/fte\\\",\\\"back-of-a-napkin/slideovers/clv\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/back-of-a-napkin.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/description\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Description\"}}\n
    \n \n {{#if this.editMode}}{{else if\n (text-delta-is-empty @model.summary)\n }}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n \n \n \n {{#if this.editMode}}\n \n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n {{#if changeset.summary}}\n \n \n
    \n {{else}}\n \n {{/if}}\n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n \n {{t \"dictionary.save\"}}\n \n
    \n {{/let}}\n {{else}}\n {{#if (text-delta-is-empty @model.summary)}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"_initiatives.title\" num=1)\n item=\"project description\"\n }}\n <:other>\n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.description\")}}\n \n \n \n \n {{else}}\n \n \n {{/if}}\n {{/if}}\n \n */\n {\n \"id\": \"+HA7kM5d\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Description\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"w-full fade-up pb-16 pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[41,[30,0,[\\\"editMode\\\"]],[[],[]],[[[41,[28,[37,4],[[30,1,[\\\"summary\\\"]]],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-2\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"dictionary.project\\\"],null],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"_initiatives.description\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n\\\"],[44,[[28,[37,11],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[41,[30,2,[\\\"summary\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 summary-container\\\"],[15,1,[29,[\\\"description-\\\",[30,2,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"!mt-0 block w-full rounded-md border-0 py-1.5 pl-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white compressed-lines\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\",\\\"@modules\\\"],[[29,[\\\"+ \\\",[28,[37,7],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"_initiatives.description\\\"],null]],null]]],[30,2,[\\\"summary\\\"]],\\\".summary-container\\\",\\\"bubble\\\",[28,[37,13],[[30,0,[\\\"setDelta\\\"]],[30,2]],null],[30,0,[\\\"modules\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"bg-white\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@changeset\\\",\\\"@value\\\",\\\"@onBlur\\\"],[\\\"description\\\",[28,[37,7],[\\\"_initiatives.description\\\"],null],[28,[37,7],[\\\"_initiatives.description\\\"],null],[30,2],[30,2,[\\\"description\\\"]],[30,0,[\\\"handleBlur\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 justify-end mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleProjectDescriptionCancel\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"save-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleProjectDescriptionSave\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]]],[]],[[[41,[28,[37,4],[[30,1,[\\\"summary\\\"]]],null],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"h-full\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,7],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,7],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],\\\"project description\\\"]]]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,7],[\\\"_initiatives.description\\\"],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-2\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"dictionary.project\\\"],null],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"_initiatives.description\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2 h-fit\\\"]],[[\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\",\\\"@modules\\\"],[\\\"bubble\\\",[30,1,[\\\"summary\\\"]],false,\\\"No description\\\",[30,0,[\\\"modules\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]],[13]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"if\\\",\\\"text-delta-is-empty\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"t\\\",\\\"page-headers/page-title\\\",\\\"lowercase\\\",\\\"let\\\",\\\"changeset\\\",\\\"quill-editor\\\",\\\"fn\\\",\\\"atoms/forms/textarea\\\",\\\"atoms/buttons/button\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"button\\\",\\\"atoms/icons/plus\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/description.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/document\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.document\")}}\n \n \n \n \n
    \n \n \n \n \n \n {{t \"_initiatives.version-history\"}}\n \n \n \n \n {{#if this.editMode}}\n \n \n \n \n {{t \"_initiatives.load-template\"}}\n \n \n \n {{/if}}\n \n {{#unless this.selectedVersion}}\n {{#if this.editMode}}\n \n {{t \"dictionary.cancel\"}}\n \n {{/if}}\n \n {{#if this.isLoading}}\n {{t \"dictionary.loading\"}}\n {{else if this.editMode}}\n {{t \"dictionary.save\"}}\n {{else}}\n {{t \"dictionary.edit\"}}\n {{/if}}\n \n {{/unless}}\n \n
    \n \n
    \n {{#if @model.initiative_doc}}\n \n <:message>\n {{t \"_initiatives.document-linked\"}}\n \n <:action>\n {{t \"_initiatives.go-to-doc\"}}\n \n \n {{/if}}\n \n {{#if this.selectedVersion}}\n \n {{t\n \"_initiatives.read-only-mode\"\n }}\n {{t \"_initiatives.restore\"}}\n \n {{/if}}\n \n \n \n
    \n \n \n {{t\n \"_initiatives.version-restored\"\n }}\n \n \n \n */\n {\n \"id\": \"/zqplxec\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.document\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl !mb-0 pb-16\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"\\\"],[24,\\\"data-cy\\\",\\\"version-history\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"handleSlideoverOpen\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-5 h-5 inline-block text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.version-history\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"disabled:cursor-not-allowed group\\\"],[16,\\\"disabled\\\",[28,[37,11],[[30,0,[\\\"showLoadTemplateButton\\\"]]],null]],[4,[38,6],[\\\"click\\\",[30,0,[\\\"loadTemplate\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"w-5 h-5 inline-block text-gray-400 group-disabled:text-gray-300\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,8],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.load-template\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"selectedVersion\\\"]]],[[[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[8,[39,14],[[4,[38,6],[\\\"click\\\",[30,0,[\\\"cancelEdit\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"block !rounded text-xs\\\"],[16,\\\"disabled\\\",[30,0,[\\\"isLoading\\\"]]],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isLoading\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"dictionary.loading\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"mt-2 mb-6\\\"]],null,[[\\\"message\\\",\\\"action\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.document-linked\\\"],null]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,1,[\\\"initiative_doc\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-sm text-indigo-700 underline\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.go-to-doc\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedVersion\\\"]],[[[1,\\\" \\\"],[8,[39,20],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-normal text-sm text-white\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.read-only-mode\\\"],null]],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"font-semibold text-indigo-400 text-xs\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,23],[[30,0,[\\\"restoreVersion\\\"]],[30,0,[\\\"selectedVersion\\\"]]],null]],null],[12],[1,[28,[35,1],[\\\"_initiatives.restore\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"relative w-full min-h-[500px] mt-4\\\\n \\\",[52,[30,0,[\\\"isLoading\\\"]],\\\"editor-loading\\\"],\\\"\\\\n \\\",[52,[30,0,[\\\"editMode\\\"]],\\\"\\\",\\\"hide-placeholder\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"text-gray-700 flex-grow text-base outline-none break-before-all w-full rounded-md cursor-default-all pointer-event-none-all initiative-editor min-h-[120px]\\\"],[4,[38,25],[[30,0,[\\\"initiateEditor\\\"]]],null],[4,[38,26],[[30,0,[\\\"populateEditorWithSelectedVersion\\\"]],[30,0,[\\\"selectedVersion\\\"]]],null]],[[\\\"@modules\\\",\\\"@placeholder\\\",\\\"@bounds\\\",\\\"@delta\\\",\\\"@onChange\\\",\\\"@theme\\\",\\\"@focused\\\",\\\"@enabled\\\",\\\"@id\\\",\\\"@name\\\"],[[30,0,[\\\"modules\\\"]],[28,[37,1],[\\\"_initiatives.start-here\\\"],null],[29,[\\\"#\\\",[30,0,[\\\"editorId\\\"]]]],[30,0,[\\\"text_delta\\\"]],[30,0,[\\\"onEditorChange\\\"]],[30,0,[\\\"theme\\\"]],false,[30,0,[\\\"editMode\\\"]],[30,0,[\\\"editorId\\\"]],[30,0,[\\\"editorId\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,27],null,[[\\\"@show\\\",\\\"@onClose\\\"],[[30,0,[\\\"showNotification\\\"]],[30,0,[\\\"toggleShowNotification\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,28],[[24,0,\\\"w-6 h-6 text-green-500\\\"]],null,null],[1,[28,[35,1],[\\\"_initiatives.version-restored\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,29],null,[[\\\"@isOpen\\\",\\\"@closeSlideover\\\",\\\"@versions\\\",\\\"@model\\\",\\\"@createVersion\\\",\\\"@restoreVersion\\\",\\\"@onVersionItemClick\\\",\\\"@restoreToCurrentVersion\\\",\\\"@selectedVersion\\\"],[[30,0,[\\\"slideoverIsOpen\\\"]],[30,0,[\\\"closeSlideover\\\"]],[30,0,[\\\"versions\\\"]],[30,1],[30,0,[\\\"createVersion\\\"]],[30,0,[\\\"restoreVersion\\\"]],[30,0,[\\\"onVersionItemClick\\\"]],[30,0,[\\\"restoreToCurrentVersion\\\"]],[30,0,[\\\"selectedVersion\\\"]]]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/clock\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"if\\\",\\\"not\\\",\\\"atoms/icons/clipboard\\\",\\\"unless\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/action-button\\\",\\\"banner\\\",\\\":message\\\",\\\":action\\\",\\\"a\\\",\\\"toast\\\",\\\"span\\\",\\\"button\\\",\\\"fn\\\",\\\"quill-editor\\\",\\\"render-modifiers/on-insert\\\",\\\"render-modifiers/on-update\\\",\\\"notification\\\",\\\"atoms/icons/check\\\",\\\"initiatives/document/versions-slideover\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/document.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/investments\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Investments\"}}\n \n
    \n \n
    \n \n \n \n */\n {\n \"id\": \"BtZktkE4\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Investments\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"fade-up w-full pb-16 h-full pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@bon\\\",\\\"@investments\\\",\\\"@editMode\\\",\\\"@updateBonInvestments\\\",\\\"@togglePpwSlideover\\\",\\\"@toggleInvestmentConfidenceSlideover\\\",\\\"@checkForIncompleteTemplates\\\",\\\"@toggleEditMode\\\",\\\"@onSaveClick\\\",\\\"@resetBon\\\"],[[30,0,[\\\"bon\\\"]],[30,0,[\\\"bon\\\",\\\"investments\\\"]],[30,0,[\\\"editMode\\\"]],[30,0,[\\\"updateBonInvestments\\\"]],[30,0,[\\\"togglePpwSlideover\\\"]],[30,0,[\\\"toggleInvestmentConfidenceSlideover\\\"]],[30,0,[\\\"bonHasIncompleteTemplates\\\"]],[30,0,[\\\"toggleEditMode\\\"]],[30,0,[\\\"handleSave\\\"]],[30,0,[\\\"resetBon\\\"]]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,3],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showPpwSlideover\\\"]],[28,[37,4],[[30,0,[\\\"togglePpwSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,5],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showInvestmentConfidenceSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleInvestmentConfidenceSlideover\\\"]],false],null]]],null]],[],[\\\"page-title\\\",\\\"div\\\",\\\"back-of-a-napkin/investments\\\",\\\"back-of-a-napkin/slideovers/ppw\\\",\\\"fn\\\",\\\"back-of-a-napkin/slideovers/investment-confidence\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/investments.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/knowledge-base\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"KnowledgeBase\"}}\n \n {{outlet}}\n */\n {\n \"id\": \"rhyaxh0/\",\n \"block\": \"[[[1,[28,[35,0],[\\\"KnowledgeBase\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/knowledge-base.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/knowledge-base/file/file-name\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"FileName\"}}\n {{outlet}}\n \n
    \n \n \n \n Back to File list\n \n \n \n \n {{this.formattedFileName}}

    \n {{#if this.downloading}}\n \n
    \n \n {{this.progress}}%
    \n
    \n \n {{else}}\n \n Download file\n \n {{/if}}\n \n */\n {\n \"id\": \"7MSrQTXj\",\n \"block\": \"[[[1,[28,[35,0],[\\\"FileName\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col h-full w-full items-center pt-6 gap-y-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,4],[[24,0,\\\"flex items-center gap-x-2 rounded border shadow-sm px-2 py-1 hover:bg-gray-50 mr-auto\\\"]],[[\\\"@route\\\"],[\\\"backlog.initiatives.initiative.knowledge-base.list\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"text-gray-500 w-5 h-5\\\"]],null,null],[1,\\\"\\\\n Back to File list\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-16 h-16 text-gray-700\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,2],[14,0,\\\"text-center font-semibold text-gray-900\\\"],[12],[1,[30,0,[\\\"formattedFileName\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"downloading\\\"]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"relative h-16 w-16\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],[[24,0,\\\"!h-16 !w-16 inline-block\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full absolute top-[50%] -translate-y-[50%] text-center\\\"],[12],[10,1],[14,0,\\\"\\\"],[12],[1,[30,0,[\\\"progress\\\"]]],[1,\\\"%\\\"],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"block !rounded mt-8\\\"],[24,\\\"test-id\\\",\\\"download-file\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleDownloadRequest\\\"]],[30,0,[\\\"fileName\\\"]]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n Download file\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[13]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\",\\\"div\\\",\\\"link-to\\\",\\\"atoms/icons/arrow-left\\\",\\\"tailwind-icons/document-arrow-down\\\",\\\"p\\\",\\\"if\\\",\\\"loader\\\",\\\"span\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/knowledge-base/file/file-name.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/knowledge-base/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"List\"}}\n \n {{#if this.idToken}}\n \n {{else}}\n

    It seems we are unable to\n retrieve the credentials needed for you to access the Knowledge Base. Please\n contact your RM if you continue to see this issue.\n

    \n {{/if}}\n */\n {\n \"id\": \"7WTn3UHO\",\n \"block\": \"[[[1,[28,[35,0],[\\\"List\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"idToken\\\"]],[[[1,\\\" \\\"],[11,\\\"iframe\\\"],[16,\\\"src\\\",[30,0,[\\\"sourceURL\\\"]]],[24,\\\"frameborder\\\",\\\"0\\\"],[24,0,\\\"w-full h-full\\\"],[24,\\\"title\\\",\\\"Knowledge Base Overview\\\"],[24,\\\"allow\\\",\\\"clipboard-write\\\"],[4,[38,3],null,[[\\\"message\\\",\\\"allowedOrigins\\\"],[[28,[37,4],null,[[\\\"token\\\",\\\"tenant_id\\\",\\\"folder_prefix\\\",\\\"search\\\"],[[30,0,[\\\"idToken\\\"]],[30,0,[\\\"tenantId\\\"]],[30,0,[\\\"initiative\\\",\\\"id\\\"]],[30,0,[\\\"search\\\"]]]]],[28,[37,5],[\\\"http://localhost:5173\\\",\\\"https://feature-custom-authorization.d249m2t47x8doi.amplifyapp.com\\\"],null]]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-center text-gray-500 text-italic\\\"],[12],[1,\\\"It seems we are unable to\\\\n retrieve the credentials needed for you to access the Knowledge Base. Please\\\\n contact your RM if you continue to see this issue.\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[],[\\\"page-title\\\",\\\"if\\\",\\\"iframe\\\",\\\"window-post-message\\\",\\\"hash\\\",\\\"array\\\",\\\"p\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/knowledge-base/list.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/notes\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Notes\"}}\n
    \n \n {{#if this.editMode}}{{else if\n (text-delta-is-empty this.bon.text_delta)\n }}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n \n \n {{#if this.editMode}}\n \n {{#let (changeset this.bon null) as |changeset|}}\n
    \n \n
    \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n \n {{t \"dictionary.save\"}}\n \n
    \n {{/let}}\n {{else}}\n {{#if (text-delta-is-empty this.bon.text_delta)}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"_initiatives.title\" num=1)\n item=(lowercase (t \"dictionary.notes\"))\n }}\n <:other>\n \n \n {{t \"lists.add-item\" item=(t \"dictionary.notes\")}}\n \n \n \n \n {{else}}\n \n \n {{/if}}\n {{/if}}\n
    \n */\n {\n \"id\": \"pL8C4oWS\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Notes\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"w-full fade-up pb-16 mt-2 h-full pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[41,[30,0,[\\\"editMode\\\"]],[[],[]],[[[41,[28,[37,4],[[30,0,[\\\"bon\\\",\\\"text_delta\\\"]]],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editMode\\\"]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-0\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"dictionary.notes\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n\\\"],[44,[[28,[37,11],[[30,0,[\\\"bon\\\"]],null],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bon-edit-editor\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"block w-full rounded-md border-0 py-1.5 pl-2 pr-1 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 min-h-[100px] bon-placeholder bg-white compressed-lines\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\",\\\"@modules\\\"],[[29,[\\\"+ \\\",[28,[37,7],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,7],[\\\"dictionary.notes\\\"],null]]],[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],\\\".bon-edit-editor\\\",\\\"bubble\\\",[28,[37,13],[[30,0,[\\\"setBonDelta\\\"]],[30,1]],null],[30,0,[\\\"modules\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 justify-end mt-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleBonNotesCancel\\\"]],[30,1]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"save-bon-btn\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"handleBonNotesSave\\\"]],[30,1]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[1]]]],[]],[[[41,[28,[37,4],[[30,0,[\\\"bon\\\",\\\"text_delta\\\"]]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"h-full\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,7],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,7],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,9],[[28,[37,7],[\\\"dictionary.notes\\\"],null]],null]]]]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"toggleEditMode\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,7],[\\\"dictionary.notes\\\"],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"!mt-0\\\"]],[[\\\"@title\\\",\\\"@noSubtitle\\\",\\\"@titleClass\\\"],[[29,[[28,[37,7],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]],\\\" \\\",[28,[37,9],[[28,[37,7],[\\\"dictionary.notes\\\"],null]],null]]],true,\\\"!text-xl\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2 h-fit\\\"]],[[\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\"],[\\\"bubble\\\",[30,0,[\\\"bon\\\",\\\"text_delta\\\"]],false,\\\"No description\\\"]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]],[13]],[\\\"changeset\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"if\\\",\\\"text-delta-is-empty\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"t\\\",\\\"page-headers/page-title\\\",\\\"lowercase\\\",\\\"let\\\",\\\"changeset\\\",\\\"quill-editor\\\",\\\"fn\\\",\\\"atoms/buttons/button\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"button\\\",\\\"atoms/icons/plus\\\",\\\"span\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/notes.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/overview\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"dashboards.overview\")}}\n \n \n \n
    \n \n \n {{t \"dictionary.edit\"}}\n \n \n
    \n
    \n \n
    \n {{#if @model.source}}\n
    \n \n {{@model.sourceLabel}}\n
    \n {{/if}}\n
    \n

    \n {{@model.title}}\n {{#if @model.abbreviation}}\n \n ({{@model.abbreviation}})\n \n {{/if}}\n

    \n \n \n
    \n \n {{#if @model.summary}}\n \n {{else}}\n {{@model.description}}\n {{/if}}\n \n \n \n \n \n
    \n
    \n {{t\n \"_initiatives.starting-week\"\n }}\n {{@model.startingDateDDMMMYYY}}\n
    \n
    \n {{t \"_initiatives.duration\"}}\n {{@model.durationLabel}}\n
    \n
    \n \n \n \n
    \n \n
    \n {{t\n \"_initiatives.impact\"\n num=1\n }}\n {{@model.localizedBonValue}}\n
    \n \n
    \n {{t\n \"_initiatives.investment\"\n num=1\n }}\n {{@model.localizedBonInvestment}}\n
    \n \n
    \n {{t\n \"_initiatives.returns\"\n num=1\n }}\n {{@model.localizedBonReturns}}\n
    \n \n
    \n {{t \"_initiatives.effort\"}}\n {{@model.person_weeks_excluding_uncertainty}}pw\n
    \n {{!-- {{log @model.bon}} --}}\n
    \n {{t\n \"_initiatives.uncertainty\"\n num=1\n }}\n {{@model.person_weeks_only_uncertainty}}pw\n
    \n \n
    \n \n \n \n
    \n
    \n {{t \"_initiatives.pm\" num=1}}\n {{or\n @model.productManager.name\n \"-\"\n }}\n
    \n \n
    \n {{t\n \"_initiatives.teams\"\n num=2\n }}\n \n {{#each @model.teams as |team|}}\n \n {{else}}\n -\n {{/each}}\n \n
    \n
    \n \n \n \n
    \n \n
    \n {{t\n \"_initiatives.goals\"\n num=2\n }}\n \n {{#each @model.goals as |goal index|}}\n {{#if index}}\n \n ,\n \n {{/if}}\n \n {{goal.title}}\n \n {{else}}\n -\n {{/each}}\n \n
    \n \n
    \n {{t\n \"_initiatives.themes\"\n num=1\n }}\n {{or\n @model.theme.title\n \"-\"\n }}\n
    \n
    \n \n
    \n */\n {\n \"id\": \"UHHz19Dj\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"dashboards.overview\\\"],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl !mb-0\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],null,[[\\\"@route\\\"],[\\\"backlog.initiatives.initiative.settings\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"source\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs py-1 text-gray-700 uppercase\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"sourceLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"flex items-center justify-between\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"font-semibold text-xl text-gray-800\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,1,[\\\"title\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"abbreviation\\\"]],[[[1,\\\" \\\"],[10,1],[14,0,\\\"text-base\\\"],[12],[1,\\\"\\\\n (\\\"],[1,[30,1,[\\\"abbreviation\\\"]]],[1,\\\")\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],null,[[\\\"@initiative\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"summary\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2\\\"]],[[\\\"@theme\\\",\\\"@delta\\\",\\\"@enabled\\\",\\\"@placeholder\\\"],[\\\"bubble\\\",[30,1,[\\\"summary\\\"]],false,\\\"No description\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,\\\"pre\\\"],[14,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter\\\"],[12],[1,[30,1,[\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-links mt-4 flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"initiative_doc\\\"]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-indigo-500\\\"],[12],[10,3],[15,6,[30,1,[\\\"initiative_doc\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-5 h-4 text-indigo-500\\\"]],null,null],[1,[28,[35,1],[\\\"_initiatives.document-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"approach\\\"]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-sm text-indigo-500\\\"],[12],[10,3],[15,6,[30,1,[\\\"approach\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"w-5 h-4 text-indigo-500\\\"]],null,null],[1,[28,[35,1],[\\\"_initiatives.planning-link\\\"],null]],[1,\\\"\\\\n \\\"],[13],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.starting-week\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"startingDateDDMMMYYY\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"duration flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.duration\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"durationLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center mt-4 gap-x-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.impact\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonValue\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonInvestment\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.returns\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"localizedBonReturns\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"effort flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.effort\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"person_weeks_excluding_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"uncertainty flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[30,1,[\\\"person_weeks_only_uncertainty\\\"]]],[1,\\\"pw\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.pm\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[28,[35,17],[[30,1,[\\\"productManager\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"priority flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.teams\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"text-sm text-gray-900 font-semibold flex items-center gap-x-2\\\\n \\\",[52,[30,1,[\\\"teams\\\",\\\"length\\\"]],\\\"flex-row-reverse\\\"]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,1,[\\\"teams\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"relative\\\"]],[[\\\"@id\\\",\\\"@name\\\",\\\"@size\\\",\\\"@tooltip\\\",\\\"@tooltipDirection\\\"],[[30,2,[\\\"id\\\"]],[30,2,[\\\"name\\\"]],\\\"extra-small\\\",\\\"true\\\",\\\"top\\\"]],null],[1,\\\"\\\\n\\\"]],[2]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-8\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"priority flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.goals\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold flex items-center\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,19],[[28,[37,19],[[30,1,[\\\"goals\\\"]]],null]],null],null,[[[41,[30,4],[[[1,\\\" \\\"],[10,1],[14,0,\\\"inline-block mr-2\\\"],[12],[1,\\\"\\\\n ,\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[8,[39,5],[[24,0,\\\"text-indigo-500\\\"]],[[\\\"@model\\\",\\\"@route\\\"],[[30,3,[\\\"id\\\"]],\\\"business.goals.goal\\\"]],[[\\\"default\\\"],[[[[10,1],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[13]],[]]]]],[1,\\\"\\\\n\\\"]],[3,4]],[[[1,\\\" -\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"starting-week flex flex-col gap-y-[0.5]\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-500\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.themes\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-semibold\\\"],[12],[1,[28,[35,17],[[30,1,[\\\"theme\\\",\\\"title\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"team\\\",\\\"goal\\\",\\\"index\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"link-to\\\",\\\"atoms/buttons/action-button\\\",\\\"if\\\",\\\"span\\\",\\\"h2\\\",\\\"initiatives/status-pill\\\",\\\"quill-editor\\\",\\\"pre\\\",\\\"p\\\",\\\"a\\\",\\\"atoms/icons/external-link\\\",\\\"atoms/divider\\\",\\\"or\\\",\\\"each\\\",\\\"-track-array\\\",\\\"atoms/avatar\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/overview.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/planning\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Planning\"}}\n {{outlet}}\n */\n {\n \"id\": \"TDrfsfPu\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Planning\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/planning.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/planning/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.planning\")}}\n {{outlet}}\n */\n {\n \"id\": \"O7pvSLzz\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.planning\\\"],null]],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,3],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"t\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/planning/index.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/planning/weeks\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.weekly-goals\")}}\n \n \n \n \n \n \n {{t \"_initiatives.title\" num=1}}\n {{t \"dictionary.info\"}}\n \n \n \n \n \n \n {{@model.title}}\n \n {{#if @model.approach}}\n \n <:message>\n {{t \"_initiatives.planning-linked\"}}\n \n <:action>\n {{t \"_initiatives.go-to-planning\"}}\n \n \n {{/if}}\n \n \n \n {{t \"_initiatives.weekly-goals\"}}\n \n \n \n */\n {\n \"id\": \"pm+0WMm2\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.weekly-goals\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"\\\"],[24,\\\"data-cy\\\",\\\"slideover-trigger\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"handleSettingsSlideoverOpen\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-5 h-5 inline-block text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.info\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl text-gray-800 font-semibold leading-8\\\"],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,1,[\\\"approach\\\"]],[[[1,\\\" \\\"],[8,[39,11],[[24,0,\\\"mt-2\\\"]],null,[[\\\"message\\\",\\\"action\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.planning-linked\\\"],null]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,1,[\\\"approach\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-sm text-indigo-700 underline whitespace-nowrap\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.go-to-planning\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[39,15],[[24,0,\\\"mt-4 max-w-3xl\\\"]],[[\\\"@initiativeId\\\"],[[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl font-semibold text-gray-800 flex-grow\\\"],[14,\\\"data-toc\\\",\\\"approach-section\\\"],[14,\\\"data-toctype\\\",\\\"h2\\\"],[14,1,\\\"approach-section\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.weekly-goals\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"page-headers/primary-actions\\\",\\\"atoms/buttons/icon\\\",\\\"on\\\",\\\"atoms/icons/info-outline\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"layouts/page-padded\\\",\\\"h1\\\",\\\"if\\\",\\\"banner\\\",\\\":message\\\",\\\":action\\\",\\\"a\\\",\\\"organisms/approach-planning\\\",\\\"h2\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/planning/weeks.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/planning/workstreams\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.workstreams\")}}\n \n
    \n \n \n \n \n
    \n {{t\n \"dictionary.show-archive-of\"\n }}
    \n
    \n \n {{#each this.workstreams key=\"id\" as |workstream|}}\n \n {{/each}}\n \n
      \n \n
    \n \n \n
    \n \n \n \n \n \n {{t \"_initiatives.title\" num=1}}\n {{t \"dictionary.info\"}}\n \n \n \n \n \n \n \n {{t \"lists.add-item\" item=(t \"lists.workstream\" num=1)}}\n \n
    \n
    \n \n \n {{@model.title}}\n \n {{#if @model.approach}}\n \n <:message>\n {{t \"_initiatives.planning-linked\"}}\n \n <:action>\n {{t \"_initiatives.go-to-planning\"}}\n \n \n {{/if}}\n \n {{#each this.workstreams key=@identity as |workstream|}}\n \n \n \n {{/each}}\n \n \n \n \n \n {{#let\n (changeset this.workstream_form this.WorkstreamValidation)\n as |changeset|\n }}\n \n <:title>\n

    {{if\n this.isEditingWorkstream\n (t \"lists.add-item\" item=(t \"lists.workstream\" num=1))\n (t \"lists.edit-item\" item=(t \"lists.workstream\" num=1))\n }}

    \n \n <:body>\n
    \n \n \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n
    \n {{/let}}\n \n {{outlet}}\n */\n {\n \"id\": \"7mwCMJ1J\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.workstreams\\\"],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"\\\"],[24,\\\"test-id\\\",\\\"workstreams-archive\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-6 h-6 text-gray-400 hover:text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@hideOnClick\\\",\\\"@onCreate\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom\\\",true,[30,0,[\\\"onArchiveTippyCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"tippy-archive-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-archive-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center space-x-2 py-2 pl-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-[10px] text-gray-500 font-semibold uppercase\\\"],[12],[1,[28,[35,1],[\\\"dictionary.show-archive-of\\\"],null]],[13],[10,\\\"hr\\\"],[14,0,\\\"grow\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"border-b border-grey-200 pb-2 mb-2 max-h-[200px] overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"workstreams\\\"]]],null]],null],\\\"id\\\",[[[1,\\\" \\\"],[8,[39,13],[[24,0,\\\"overflow-hidden text-ellipsis\\\"],[24,\\\"test-id\\\",\\\"workstream-item\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[30,1,[\\\"title\\\"]],[28,[37,14],[[30,0,[\\\"goToWorkstreamArchives\\\"]],[30,1,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"],[24,\\\"data-testid\\\",\\\"am-archive-all\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[\\\"Archive checked items\\\",[30,0,[\\\"archiveAllCheckedItems\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,4],[[24,0,\\\"\\\"],[24,\\\"data-cy\\\",\\\"slideover-trigger\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"handleSettingsSlideoverOpen\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,0,\\\"w-5 h-5 inline-block text-gray-400\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,6],null,[[\\\"@placement\\\"],[\\\"bottom\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.info\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,18],[[24,0,\\\"flex items-center gap-x-2 shrink-0\\\"],[24,\\\"data-cy\\\",\\\"new-workstream\\\"],[4,[38,15],[\\\"click\\\",[28,[37,14],[[30,0,[\\\"toggleModal\\\"]],true],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"w-5 h-5 inline-block text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hidden md:block\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,20],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[15,0,[29,[\\\"text-2xl text-gray-800 font-semibold leading-8\\\\n \\\",[52,[30,2,[\\\"approach\\\"]],\\\"mb-2\\\",\\\"mb-4\\\"]]]],[12],[1,[30,2,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2,[\\\"approach\\\"]],[[[1,\\\" \\\"],[8,[39,23],[[24,0,\\\"mb-4\\\"]],null,[[\\\"message\\\",\\\"action\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.planning-linked\\\"],null]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,2,[\\\"approach\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-sm text-indigo-700 underline whitespace-nowrap\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.go-to-planning\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"workstreams\\\"]]],null]],null],[30,3],[[[1,\\\"\\\\n \\\"],[8,[39,27],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@visibleBadges\\\",\\\"@title\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\",\\\"@editParentTitle\\\",\\\"@showDropdown\\\"],[\\\"workstream\\\",[30,4],[28,[37,28],[[30,4,[\\\"id\\\"]],\\\"workstream\\\",true],null],\\\"tfo\\\",[30,0,[\\\"visibleBadges\\\"]],[30,4,[\\\"title\\\"]],\\\"workstream\\\",false,[28,[37,1],[\\\"dictionary.add-item\\\"],null],[28,[37,14],[[30,0,[\\\"handleWorkstreamEdit\\\"]],[30,4]],null],true]],null],[1,\\\"\\\\n\\\\n\\\"]],[4]],null],[1,\\\"\\\\n \\\"],[8,[39,27],[[24,0,\\\"mb-10\\\"]],[[\\\"@source\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@visibleBadges\\\",\\\"@title\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\"],[\\\"other\\\",[30,2],[30,0,[\\\"catchAllItems\\\"]],\\\"tfo\\\",[30,0,[\\\"catchAllBadges\\\"]],[28,[37,1],[\\\"dictionary.unfiled\\\"],null],\\\"initiative\\\",false,[28,[37,1],[\\\"dictionary.add-item\\\"],null]]],null],[1,\\\"\\\\n\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[37,30],[[30,0,[\\\"workstream_form\\\"]],[30,0,[\\\"WorkstreamValidation\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,31],null,[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,0,[\\\"showCreateModal\\\"]],[30,0,[\\\"toggleModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEditingWorkstream\\\"]],[28,[37,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]],[28,[37,1],[\\\"lists.edit-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,15],[\\\"submit\\\",[30,0,[\\\"onSubmit\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,1],[\\\"_initiatives.workstream-name\\\"],null],[28,[37,1],[\\\"_initiatives.workstream-placeholder\\\"],null],[30,5,[\\\"title\\\"]],\\\"initiatives\\\",[30,5],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,18],[[24,1,\\\"save-workstream\\\"],[4,[38,15],[\\\"click\\\",[28,[37,14],[[30,0,[\\\"addWorkstream\\\"]],[30,5]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5]]],[1,\\\"\\\\n\\\"],[46,[28,[37,38],null,null],null,null,null]],[\\\"workstream\\\",\\\"@model\\\",\\\"@identity\\\",\\\"workstream\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/archive\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"span\\\",\\\"hr\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"on\\\",\\\"atoms/icons/info-outline\\\",\\\"atoms/tooltip\\\",\\\"atoms/buttons/action-button\\\",\\\"atoms/icons/plus\\\",\\\"layouts/page-padded\\\",\\\"h1\\\",\\\"if\\\",\\\"banner\\\",\\\":message\\\",\\\":action\\\",\\\"a\\\",\\\"list/list\\\",\\\"parent-tfos\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\":title\\\",\\\":body\\\",\\\"form\\\",\\\"atoms/forms/input\\\",\\\":footer\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/planning/workstreams.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/planning/workstreams/workstream/archive\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Archive\"}}\n \n \n */\n {\n \"id\": \"yB6bZeed\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Archive\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@model\\\",\\\"@badges\\\",\\\"@title\\\",\\\"@returnTo\\\"],[[30,1],[30,0,[\\\"visibleBadges\\\"]],\\\"Workstream\\\",\\\"backlog.initiatives.initiative.workstreams\\\"]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"molecules/archive-modal\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/planning/workstreams/workstream/archive.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/returns\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Returns\"}}\n \n
    \n \n
    \n \n \n \n \n \n \n \n \n \n */\n {\n \"id\": \"OjNxpP56\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Returns\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"fade-up w-full pb-16 h-full pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@bon\\\",\\\"@returns\\\",\\\"@editMode\\\",\\\"@updateBonReturns\\\",\\\"@toggleReturnConfidenceSlideover\\\",\\\"@toggleUpsellValueSlideover\\\",\\\"@toggleFteSlideover\\\",\\\"@toggleClvSlideover\\\",\\\"@toggleCustomerValuesSlideover\\\",\\\"@checkForIncompleteTemplates\\\",\\\"@toggleEditMode\\\",\\\"@onSaveClick\\\",\\\"@resetBon\\\"],[[30,0,[\\\"bon\\\"]],[30,0,[\\\"bon\\\",\\\"returns\\\"]],[30,0,[\\\"editMode\\\"]],[30,0,[\\\"updateBonReturns\\\"]],[30,0,[\\\"toggleReturnConfidenceSlideover\\\"]],[30,0,[\\\"toggleUpsellValueSlideover\\\"]],[30,0,[\\\"toggleFteSlideover\\\"]],[30,0,[\\\"toggleClvSlideover\\\"]],[30,0,[\\\"toggleCustomerValuesSlideover\\\"]],[30,0,[\\\"bonHasIncompleteTemplates\\\"]],[30,0,[\\\"toggleEditMode\\\"]],[30,0,[\\\"handleSave\\\"]],[30,0,[\\\"resetBon\\\"]]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,3],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showBonSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleBonSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,5],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showPpwSlideover\\\"]],[28,[37,4],[[30,0,[\\\"togglePpwSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,6],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showReturnConfidenceSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleReturnConfidenceSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,7],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showUpsellValueSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleUpsellValueSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,8],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showFteSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleFteSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,9],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showClvSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleClvSlideover\\\"]],false],null]]],null],[1,\\\"\\\\n\\\"],[8,[39,10],null,[[\\\"@isOpen\\\",\\\"@close\\\"],[[30,0,[\\\"showCustomerValuesSlideover\\\"]],[28,[37,4],[[30,0,[\\\"toggleCustomerValuesSlideover\\\"]],false],null]]],null]],[],[\\\"page-title\\\",\\\"div\\\",\\\"back-of-a-napkin/returns\\\",\\\"back-of-a-napkin/slideovers/bon\\\",\\\"fn\\\",\\\"back-of-a-napkin/slideovers/ppw\\\",\\\"back-of-a-napkin/slideovers/return-confidence\\\",\\\"back-of-a-napkin/slideovers/upsell-value\\\",\\\"back-of-a-napkin/slideovers/fte\\\",\\\"back-of-a-napkin/slideovers/clv\\\",\\\"back-of-a-napkin/slideovers/customer-values\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/returns.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/settings\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.settings\")}}\n \n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n \n
    \n \n \n \n
    \n \n \n \n
    \n \n

    {{t\n \"dictionary.danger-zone\"\n }}

    \n {{t \"dictionary.delete\"}}\n {{t \"_initiatives.title\" num=1}}\n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n \n {{/let}}\n \n
    \n */\n {\n \"id\": \"Rl8YnTyg\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.settings\\\"],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl !mb-0 pb-16\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[44,[[28,[37,4],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[24,0,\\\"mt-4\\\"],[4,[38,6],[\\\"submit\\\",[28,[37,7],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-8\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-8\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl leading 7 font-semibold text-gray-900 mb-6\\\"],[12],[1,[28,[35,1],[\\\"dictionary.danger-zone\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"text-sm\\\"],[24,\\\"test-id\\\",\\\"delete-initiative\\\"],[4,[38,6],[\\\"click\\\",[30,0,[\\\"deleteInitiative\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group gap-x-2 flex items-center justify-end py-4 sticky bottom-0 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,6],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"resetForm\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,14],[[16,\\\"disabled\\\",[28,[37,15],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,\\\"test-id\\\",\\\"initiative-save\\\"],[24,4,\\\"submit\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,2],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"initiatives/forms/general-details\\\",\\\"div\\\",\\\"initiatives/forms/planning-and-people\\\",\\\"h2\\\",\\\"atoms/buttons/button\\\",\\\"fn\\\",\\\"atoms/buttons/save\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/settings.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/settings/general-details\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.general-details\")}}\n \n \n {{@model.title}}\n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n \n
    \n \n \n \n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n \n {{/let}}\n \n
    \n \n

    {{t\n \"dictionary.danger-zone\"\n }}

    \n \n {{t \"dictionary.delete\"}}\n {{t \"_initiatives.title\" num=1}}\n \n \n
    \n */\n {\n \"id\": \"kYcWMoFz\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.general-details\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl text-gray-800 font-semibold leading-8 py-1.5\\\"],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"],[44,[[28,[37,5],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,7],[\\\"submit\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,9],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group gap-x-2 flex items-center justify-end sticky bottom-0 py-4 sticky-form-action\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,7],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"resetForm\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,13],[[16,\\\"disabled\\\",[28,[37,14],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,2],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-[1px] bg-gray-200 my-8\\\"],[12],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl leading 7 font-semibold text-gray-900 mb-6\\\"],[12],[1,[28,[35,1],[\\\"dictionary.danger-zone\\\"],null]],[13],[1,\\\"\\\\n \\\"],[8,[39,11],[[24,0,\\\"text-sm\\\"],[24,\\\"test-id\\\",\\\"delete-initiative\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"deleteInitiative\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"large\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"h1\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"initiatives/forms/general-details\\\",\\\"div\\\",\\\"atoms/buttons/button\\\",\\\"fn\\\",\\\"atoms/buttons/save\\\",\\\"or\\\",\\\"h2\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/settings/general-details.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/settings/planning-and-people\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.planning-and-people\")}}\n \n \n {{@model.title}}\n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n \n
    \n \n \n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n \n {{/let}}\n \n
    \n */\n {\n \"id\": \"hOpon2ly\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.planning-and-people\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl text-gray-800 font-semibold leading-8 py-1.5\\\"],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"],[44,[[28,[37,5],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,7],[\\\"submit\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,9],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group gap-x-2 flex items-center justify-end sticky bottom-0 py-4 sticky-form-action\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,7],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"resetForm\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,13],[[16,\\\"disabled\\\",[28,[37,14],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,2],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"h1\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"initiatives/forms/planning-and-people\\\",\\\"div\\\",\\\"atoms/buttons/button\\\",\\\"fn\\\",\\\"atoms/buttons/save\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/settings/planning-and-people.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/settings/strategy\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.strategy\")}}\n \n \n {{@model.title}}\n {{#let (changeset @model this.initiativeValidations) as |changeset|}}\n \n
    \n \n \n \n {{! Goto BON }}\n
    \n

    {{t\n \"financials.back-of-napkin\"\n num=1\n }}

    \n \n \n {{t \"_initiatives.go-to-bon\" bon=(t \"financials.bon\")}}\n \n \n
    \n \n \n \n \n {{t \"dictionary.cancel\"}}\n \n \n \n \n \n {{/let}}\n \n
    \n */\n {\n \"id\": \"cwsMGYCj\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.strategy\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-2xl text-gray-800 font-semibold leading-8 py-1.5\\\"],[12],[1,[30,1,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\"],[44,[[28,[37,5],[[30,1],[30,0,[\\\"initiativeValidations\\\"]]],null]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,7],[\\\"submit\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,9],null,[[\\\"@changeset\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"bon-container space-y-2 mt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-2\\\"],[12],[1,[28,[35,1],[\\\"financials.back-of-napkin\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,12],[[24,0,\\\"text-sm font-medium border border-gray-300 hover:border-gray-500 py-[9px] px-3 rounded flex items-center gap-x-2 w-fit\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"backlog.initiatives.initiative.investments\\\",[30,2,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,1],[\\\"_initiatives.go-to-bon\\\"],[[\\\"bon\\\"],[[28,[37,1],[\\\"financials.bon\\\"],null]]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,0,\\\"text-gray-500 w-6 h-6 rotate-180\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group gap-x-2 flex items-center justify-end sticky bottom-0 py-4 sticky-form-action\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,15],[[24,0,\\\"!px-2.5 !py-1.5\\\"],[24,4,\\\"reset\\\"],[4,[38,7],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"resetForm\\\"]],[30,2]],null]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[8,[39,17],[[16,\\\"disabled\\\",[28,[37,18],[[30,2,[\\\"isPristine\\\"]],[30,2,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[28,[37,8],[[30,0,[\\\"saveSettings\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@loader\\\",\\\"@changeset\\\",\\\"@task\\\"],[\\\"medium\\\",false,[30,2],[30,0,[\\\"saveSettings\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[2]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"h1\\\",\\\"let\\\",\\\"changeset\\\",\\\"form\\\",\\\"on\\\",\\\"perform\\\",\\\"initiatives/forms/strategy\\\",\\\"div\\\",\\\"p\\\",\\\"link-to\\\",\\\"span\\\",\\\"atoms/icons/arrow-left\\\",\\\"atoms/buttons/button\\\",\\\"fn\\\",\\\"atoms/buttons/save\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/settings/strategy.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/uncertainties\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Uncertainties\"}}\n \n
    \n \n \n \n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.uncertainty\" num=1)}}\n \n \n \n
    \n \n {{t \"_initiatives.open\"}}\n {{this.openUncertainties.length}}\n
    \n \n \n \n \n {{t \"_initiatives.closed\"}}\n {{this.closedUncertainties.length}}\n
    \n \n \n \n \n */\n {\n \"id\": \"8fredqTz\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Uncertainties\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"w-full fade-up pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"flex items-center gap-x-2 shrink-0 text-xs !rounded whitespace-nowrap ml-2\\\"],[24,\\\"data-cy\\\",\\\"new-uncertainty\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"addNewUncertainty\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-4 h-4 inline-block text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hidden md:block\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,7],[\\\"_initiatives.uncertainty\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-2 mr-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"_initiatives.open\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,0,[\\\"openUncertainties\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\"],[\\\"approach\\\",\\\"\\\",\\\"\\\",[30,1,[\\\"initiative\\\"]],[30,0,[\\\"openUncertainties\\\"]],\\\"uncertainty\\\",\\\"initiative\\\",false,[28,[37,7],[\\\"lists.uncertainty-placeholder\\\"],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"_initiatives.closed\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,0,[\\\"closedUncertainties\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\",\\\"@hideAddNewButton\\\",\\\"@interactive\\\"],[\\\"approach\\\",\\\"\\\",\\\"\\\",[30,1,[\\\"initiative\\\"]],[30,0,[\\\"closedUncertainties\\\"]],\\\"uncertainty\\\",\\\"initiative\\\",false,[28,[37,7],[\\\"lists.uncertainty-placeholder\\\"],null],true,false]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"t\\\",\\\"list/list\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/uncertainties.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/waiting-for-answers\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Impediments\"}}\n \n
    \n \n \n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.wfa\" num=1)}}\n \n \n \n
    \n \n {{t \"_initiatives.open\"}}\n {{this.openWfas.length}}\n
    \n \n \n \n \n {{t \"_initiatives.closed\"}}\n {{this.closedWfas.length}}\n
    \n \n \n \n \n */\n {\n \"id\": \"Huld5Njy\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Impediments\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"w-full fade-up pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"flex items-center gap-x-2 shrink-0 text-xs !rounded whitespace-nowrap ml-2\\\"],[24,\\\"data-cy\\\",\\\"new-uncertainty\\\"],[4,[38,4],[\\\"click\\\",[30,0,[\\\"addNewWfa\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"w-4 h-4 inline-block text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hidden md:block\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,7],[\\\"_initiatives.wfa\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-2 mr-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"_initiatives.open\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,0,[\\\"openWfas\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\"],[\\\"approach\\\",\\\"\\\",\\\"\\\",[30,1,[\\\"initiative\\\"]],[30,0,[\\\"openWfas\\\"]],\\\"wfa\\\",\\\"initiative\\\",false,[28,[37,7],[\\\"lists.wfa-placeholder\\\"],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,7],[\\\"_initiatives.closed\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,0,[\\\"closedWfas\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,8],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@onFastExit\\\",\\\"@onEmptyTab\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\",\\\"@hideAddNewButton\\\",\\\"@interactive\\\"],[\\\"approach\\\",\\\"\\\",\\\"\\\",[30,1,[\\\"initiative\\\"]],[30,0,[\\\"closedWfas\\\"]],\\\"wfa\\\",\\\"initiative\\\",false,[28,[37,7],[\\\"lists.wfa-placeholder\\\"],null],true,false]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"t\\\",\\\"list/list\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/waiting-for-answers.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/weeks\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.weekly-goals\")}}\n \n \n \n \n <:message>\n {{t \"_initiatives.set-planning\"}}\n \n \n \n \n \n {{t \"_initiatives.weekly-goals\"}}\n \n \n \n */\n {\n \"id\": \"txQTxKbx\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.weekly-goals\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl pl-6 pr-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"mt-4\\\"]],null,[[\\\"message\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.set-planning\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],[[24,0,\\\"mt-4 max-w-5xl\\\"]],[[\\\"@initiativeId\\\"],[[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-xl font-semibold text-gray-800 flex-grow\\\"],[14,\\\"data-toc\\\",\\\"approach-section\\\"],[14,\\\"data-toctype\\\",\\\"h2\\\"],[14,1,\\\"approach-section\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.weekly-goals\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"banner\\\",\\\":message\\\",\\\"organisms/approach-planning\\\",\\\"h2\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/weeks.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/initiatives/initiative/workstreams\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.workstreams\")}}\n \n \n {{!--\n --}}\n \n \n
    \n \n \n \n \n
    \n {{t \"dictionary.show-archive-of\"}}\n
    \n
    \n \n {{#each this.workstreams key=\"id\" as |workstream|}}\n \n {{/each}}\n \n
      \n \n
    \n \n \n
    \n \n \n \n \n {{t \"lists.add-item\" item=(t \"lists.workstream\" num=1)}}\n \n
    \n
    \n \n {{#if @model.approach}}\n \n <:message>\n {{t \"_initiatives.planning-linked\"}}\n \n <:action>\n {{t \"_initiatives.go-to-planning\"}}\n \n \n {{/if}}\n \n {{#each this.workstreams key=@identity as |workstream|}}\n \n \n <:title>\n \n {{workstream.title}}\n {{get (parent-tfos workstream.id \"workstream\" true) \"length\"}}\n \n \n \n \n {{/each}}\n \n \n <:title>\n \n {{t \"dictionary.unfiled\"}}\n {{this.catchAllItems.length}}\n \n \n \n \n
    \n \n {{#if this.workstream_form}}\n {{#let\n (changeset this.workstream_form this.WorkstreamValidation)\n as |changeset|\n }}\n \n <:title>\n

    {{if\n this.isEditingWorkstream\n (t \"lists.add-item\" item=(t \"lists.workstream\" num=1))\n (t \"lists.edit-item\" item=(t \"lists.workstream\" num=1))\n }}

    \n \n <:body>\n
    \n \n \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n {{/if}}\n \n {{outlet}}\n */\n {\n \"id\": \"Tx2z5ehx\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.workstreams\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!max-w-5xl !mb-0 pb-16 mt-2 pt-2 pl-6 pr-4\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"\\\"],[24,\\\"test-id\\\",\\\"workstreams-archive\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"w-6 h-6 text-gray-400 hover:text-gray-500\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,7],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@hideOnClick\\\",\\\"@onCreate\\\"],[\\\"true\\\",\\\"click\\\",\\\"bottom\\\",true,[30,0,[\\\"onArchiveTippyCreate\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"tippy-archive-dropdown\\\"],[24,\\\"data-cy\\\",\\\"list-archive-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center space-x-2 py-2 pl-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-[10px] text-gray-500 font-semibold uppercase\\\"],[12],[1,[28,[35,1],[\\\"dictionary.show-archive-of\\\"],null]],[13],[1,\\\"\\\\n \\\"],[10,\\\"hr\\\"],[14,0,\\\"grow\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"border-b border-grey-200 pb-2 mb-2 max-h-[200px] overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"workstreams\\\"]]],null]],null],\\\"id\\\",[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"overflow-hidden text-ellipsis\\\"],[24,\\\"test-id\\\",\\\"workstream-item\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[[30,1,[\\\"title\\\"]],[28,[37,15],[[30,0,[\\\"goToWorkstreamArchives\\\"]],[30,1,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,14],[[24,\\\"data-cy\\\",\\\"list-dropdown-archive\\\"],[24,\\\"data-testid\\\",\\\"am-archive-all\\\"]],[[\\\"@title\\\",\\\"@menuClick\\\"],[\\\"Archive checked items\\\",[30,0,[\\\"archiveAllCheckedItems\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,16],[[24,0,\\\"flex items-center gap-x-2 shrink-0 text-xs !rounded\\\"],[24,\\\"data-cy\\\",\\\"new-workstream\\\"],[4,[38,17],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"toggleModal\\\"]],true],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,18],[[24,0,\\\"w-4 h-4 inline-block text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hidden md:block\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2,[\\\"approach\\\"]],[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"mb-4 mt-4\\\"]],null,[[\\\"message\\\",\\\"action\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.planning-linked\\\"],null]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,3],[15,6,[29,[[30,2,[\\\"approach\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-sm text-indigo-700 underline whitespace-nowrap\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.go-to-planning\\\"],null]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"workstreams\\\"]]],null]],null],[30,3],[[[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"mb-8\\\"]],[[\\\"@source\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@visibleBadges\\\",\\\"@title\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\",\\\"@editParentTitle\\\",\\\"@showDropdown\\\",\\\"@titleDropdownClass\\\"],[\\\"workstream\\\",[30,4],[28,[37,25],[[30,4,[\\\"id\\\"]],\\\"workstream\\\",true],null],\\\"tfo\\\",[30,0,[\\\"visibleBadges\\\"]],[30,4,[\\\"title\\\"]],\\\"workstream\\\",false,[28,[37,1],[\\\"dictionary.add-item\\\"],null],[28,[37,15],[[30,0,[\\\"handleWorkstreamEdit\\\"]],[30,4]],null],true,\\\"absolute right-0 mr-4\\\"]],[[\\\"title\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md w-full\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,4,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[28,[35,27],[[28,[37,25],[[30,4,[\\\"id\\\"]],\\\"workstream\\\",true],null],\\\"length\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[4]],null],[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"mb-10\\\"]],[[\\\"@source\\\",\\\"@parent\\\",\\\"@items\\\",\\\"@type\\\",\\\"@visibleBadges\\\",\\\"@title\\\",\\\"@parentType\\\",\\\"@groupBy\\\",\\\"@placeholderText\\\"],[\\\"other\\\",[30,2],[30,0,[\\\"catchAllItems\\\"]],\\\"tfo\\\",[30,0,[\\\"catchAllBadges\\\"]],[28,[37,1],[\\\"dictionary.unfiled\\\"],null],\\\"initiative\\\",false,[28,[37,1],[\\\"dictionary.add-item\\\"],null]]],[[\\\"title\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-4 text-left font-medium whitespace-nowrap bg-gray-100 text-sm text-gray-700 capitalize border border-gray-200 py-1 rounded-t-md w-full\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.unfiled\\\"],null]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"font-mono border border-gray-300 text-xs bg-gray-200 rounded-md inline-block w-5 h-5 text-center p-0.5\\\"],[12],[1,[30,0,[\\\"catchAllItems\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"workstream_form\\\"]],[[[44,[[28,[37,29],[[30,0,[\\\"workstream_form\\\"]],[30,0,[\\\"WorkstreamValidation\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,30],[[4,[38,31],[[30,0,[\\\"toggleModal\\\"]]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,0,[\\\"showCreateModal\\\"]],[30,0,[\\\"toggleModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,0,[\\\"isEditingWorkstream\\\"]],[28,[37,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]],[28,[37,1],[\\\"lists.edit-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"lists.workstream\\\"],[[\\\"num\\\"],[1]]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,17],[\\\"submit\\\",[30,0,[\\\"onSubmit\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,1],[\\\"_initiatives.workstream-name\\\"],null],[28,[37,1],[\\\"_initiatives.workstream-placeholder\\\"],null],[30,5,[\\\"title\\\"]],\\\"initiatives\\\",[30,5],true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,16],[[24,1,\\\"save-workstream\\\"],[4,[38,17],[\\\"click\\\",[28,[37,15],[[30,0,[\\\"addWorkstream\\\"]],[30,5]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5]]]],[]],null],[1,\\\"\\\\n\\\"],[46,[28,[37,38],null,null],null,null,null]],[\\\"workstream\\\",\\\"@model\\\",\\\"@identity\\\",\\\"workstream\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"page-headers/primary-actions\\\",\\\"div\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/archive\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"span\\\",\\\"hr\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"fn\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"if\\\",\\\"banner\\\",\\\":message\\\",\\\":action\\\",\\\"a\\\",\\\"list/list\\\",\\\"parent-tfos\\\",\\\":title\\\",\\\"get\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"on-escape\\\",\\\"h1\\\",\\\":body\\\",\\\"form\\\",\\\"atoms/forms/input\\\",\\\":footer\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/initiatives/initiative/workstreams.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/backlog/themes\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.themes\" num=2)}}\n \n \n \n \n \n \n \n \n {{t\n \"themes.add\"\n theme=(t \"themes.title\" num=1)\n }}\n \n \n \n \n \n \n {{#let (changeset this.theme_form this.themeValidation) as |theme_changeset|}}\n \n <:title>\n

    {{if\n theme_changeset.id\n (t \"themes.edit\" theme=(t \"themes.title\" num=1))\n (t \"themes.add\" theme=(t \"themes.title\" num=1))\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n \n \n
    \n \n
    \n \n {{#if theme_changeset.color}}\n \n {{label-extract\n this.betaService.themeColorOptions\n theme_changeset.color\n }}\n {{else}}\n {{t \"themes.no-color\"}}\n {{/if}}\n \n \n \n \n {{#each this.betaService.themeColorOptions as |item|}}\n \n \n \n {{item.label}}\n \n {{#if (eq item.value theme_changeset.color)}}\n \n {{/if}}\n \n \n {{/each}}\n \n \n
    \n
    \n \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"QT9fBD2d\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.themes\\\"],[[\\\"num\\\"],[2]]]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[28,[37,1],[\\\"themes.title\\\"],[[\\\"num\\\"],[3]]],[28,[37,1],[\\\"themes.nav-description\\\"],[[\\\"initiatives\\\"],[[28,[37,4],[[28,[37,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],null]]]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"flex items-center gap-x-2\\\"],[24,\\\"data-cy\\\",\\\"add-theme\\\"],[4,[38,7],[\\\"click\\\",[30,0,[\\\"showThemeModal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-5 h-5 inline-block text-white\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"hidden md:block\\\"],[12],[1,[28,[35,1],[\\\"themes.add\\\"],[[\\\"theme\\\"],[[28,[37,1],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,10],[[24,0,\\\"contained-scroll\\\"]],[[\\\"@themes\\\",\\\"@onThemeEdit\\\",\\\"@onThemeDelete\\\"],[[30,0,[\\\"themes\\\"]],[30,0,[\\\"editTheme\\\"]],[30,0,[\\\"deleteTheme\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[37,12],[[30,0,[\\\"theme_form\\\"]],[30,0,[\\\"themeValidation\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,0,[\\\"show_theme_modal\\\"]],[28,[37,14],[[30,0,[\\\"hideThemeModal\\\"]],true],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[52,[30,1,[\\\"id\\\"]],[28,[37,1],[\\\"themes.edit\\\"],[[\\\"theme\\\"],[[28,[37,1],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]],[28,[37,1],[\\\"themes.add\\\"],[[\\\"theme\\\"],[[28,[37,1],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,7],[\\\"submit\\\",[28,[37,14],[[30,0,[\\\"onSubmit\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"lg:w-80\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,1],[\\\"themes.table.title\\\"],null],[28,[37,1],[\\\"themes.table.title\\\"],null],[30,1,[\\\"title\\\"]],\\\"highlight\\\",[30,1],true]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"theme-color\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,1],[\\\"themes.color\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"theme-color\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"color\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,1,[\\\"color\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,24],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]],[30,1,[\\\"color\\\"]]],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,1],[\\\"themes.no-color\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,25],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@appendTo\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"body\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,26],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,28],[[28,[37,28],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,29],[[16,\\\"data-color\\\",[30,2,[\\\"value\\\"]]]],[[\\\"@menuClick\\\"],[[28,[37,14],[[30,0,[\\\"handleThemeColorSelect\\\"]],[30,2,[\\\"value\\\"]],[30,1]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,2,[\\\"value\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,[30,2,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,30],[[30,2,[\\\"value\\\"]],[30,1,[\\\"color\\\"]]],null],[[[1,\\\" \\\"],[8,[39,31],[[24,0,\\\"w-6 h-6 inline-block text-primary-600 float-right\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,6],[[24,1,\\\"save-theme\\\"],[4,[38,7],[\\\"click\\\",[28,[37,14],[[30,0,[\\\"addTheme\\\"]],[30,1]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]],[\\\"theme_changeset\\\",\\\"item\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"page-headers/page-title\\\",\\\"lowercase\\\",\\\"page-headers/primary-actions\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"themes/table\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\":title\\\",\\\"h3\\\",\\\"if\\\",\\\":body\\\",\\\"form\\\",\\\"atoms/forms/input\\\",\\\"div\\\",\\\"label\\\",\\\"button\\\",\\\"label-extract\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"eq\\\",\\\"atoms/icons/check\\\",\\\":footer\\\"]]\",\n \"moduleName\": \"scaleflow/templates/backlog/themes.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/bookmarks\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"dictionary.bookmark\" num=2)}}\n \n \n
    \n
    \n

    {{t\n \"dictionary.bookmark\"\n num=2\n }}

    \n
    \n
    \n \n {{t \"dictionary.quick-links\"}}\n
    \n {{#each this.bookmarks as |bookmark|}}\n \n <:label>{{bookmark.title}}\n \n {{/each}}\n \n \n \n \n {{t \"dictionary.add\"}}\n \n
    \n \n \n \n {{#if this.currentUser.favoriteInitiatives.length}}\n \n {{t \"_initiatives.title\" num=2}}\n
    \n {{#each this.currentUser.favoriteInitiatives as |favorite|}}\n {{#let\n (component \"molecules/initiative-avatar\" name=favorite.title)\n as |Icon|\n }}\n \n <:label>{{favorite.title}}\n \n {{/let}}\n {{/each}}\n
    \n {{/if}}\n \n {{#if this.betaService.showCheckin}}\n {{#if this.currentUser.favoriteTeams.length}}\n \n {{t \"dictionary.team\" num=2}}\n
    \n {{#each this.currentUser.favoriteTeams as |favorite|}}\n {{#let\n (component\n \"atoms/avatar\"\n name=favorite.title\n id=favorite.id\n size=\"new-medium\"\n class=\"shrink-0\"\n )\n as |Icon|\n }}\n \n <:label>{{favorite.title}}\n \n {{/let}}\n {{/each}}\n
    \n {{/if}}\n {{/if}}\n \n
    \n \n {{#if this.showModal}}\n {{#let\n (changeset this.bookmark_form this.bookmarkValidations)\n as |changeset|\n }}\n \n <:title>\n

    \n {{#if this.isEdit}}\n {{t \"lists.edit-item\" item=(t \"dictionary.bookmark\" num=1)}}\n {{else}}\n {{t \"lists.add-item\" item=(t \"dictionary.bookmark\" num=1)}}\n {{/if}}\n

    \n \n <:body>\n
    \n \n \n \n \n \n <:footer>\n \n {{t \"dictionary.save\"}}\n \n \n \n {{/let}}\n {{/if}}\n {{outlet}}\n */\n {\n \"id\": \"uil7pvIk\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"dictionary.bookmark\\\"],[[\\\"num\\\"],[2]]]],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],[[24,0,\\\"!mb-0 h-full overflow-y-auto\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-gray-900 font-semibold text-3xl my-8\\\"],[12],[1,[28,[35,1],[\\\"dictionary.bookmark\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-800 text-xl font-semibold leading-7 h-11 flex items-center\\\"],[14,\\\"test-id\\\",\\\"list-title\\\"],[12],[1,[28,[35,1],[\\\"dictionary.quick-links\\\"],null]],[13],[1,\\\"\\\\n \\\"],[11,0],[24,0,\\\"grid grid-cols-12 gap-y-6\\\"],[4,[38,6],null,null],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"bookmarks\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"col-span-3 md:col-span-2 lg:col-span-2 xl:col-span-2 dashboard-box\\\"]],[[\\\"@customIcon\\\",\\\"@url\\\",\\\"@bookmark\\\",\\\"@editBookmark\\\"],[[30,1,[\\\"icon\\\"]],[30,1,[\\\"url\\\"]],[30,1],[30,0,[\\\"editBookmark\\\"]]]],[[\\\"label\\\"],[[[[1,[30,1,[\\\"title\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"dashboard-add-bookmark\\\"],[24,0,\\\"group col-span-3 md:col-span-2 lg:col-span-2 xl:col-span-2 dashboard-box\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"showBookmarkModal\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"group-hover:bg-gray-900/[0.04] transition rounded flex flex-col items-center justify-center relative w-[68px] h-[68px] md:w-[124px] md:h-[124px]\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-6 h-6 block mx-auto text-gray-400 group-hover:text-gray-700 p-1.5 group-hover:bg-transparent rounded-full box-content\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-[10px] md:text-sm font-normal px-2 text-gray-400 group-hover:text-gray-700 text-center block mt-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.add\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"currentUser\\\",\\\"favoriteInitiatives\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-800 text-xl font-semibold leading-7 h-11 flex items-center\\\"],[14,\\\"test-id\\\",\\\"list-title\\\"],[12],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-y-6\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"currentUser\\\",\\\"favoriteInitiatives\\\"]]],null]],null],null,[[[44,[[50,\\\"molecules/initiative-avatar\\\",0,null,[[\\\"name\\\"],[[30,2,[\\\"title\\\"]]]]]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"col-span-3 md:col-span-2 lg:col-span-2 xl:col-span-2 dashboard-box\\\"]],[[\\\"@route\\\",\\\"@model\\\",\\\"@bookmark\\\",\\\"@editBookmark\\\",\\\"@customIcon\\\"],[[30,2,[\\\"route\\\"]],[30,2,[\\\"id\\\"]],[30,2],[30,0,[\\\"editBookmark\\\"]],[30,3]]],[[\\\"label\\\"],[[[[1,[30,2,[\\\"title\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[3]]]],[2]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaService\\\",\\\"showCheckin\\\"]],[[[41,[30,0,[\\\"currentUser\\\",\\\"favoriteTeams\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,16],[[24,0,\\\"!my-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-gray-800 text-xl font-semibold leading-7 h-11 flex items-center\\\"],[14,\\\"test-id\\\",\\\"list-title\\\"],[12],[1,[28,[35,1],[\\\"dictionary.team\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-y-6\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"currentUser\\\",\\\"favoriteTeams\\\"]]],null]],null],null,[[[44,[[50,\\\"atoms/avatar\\\",0,null,[[\\\"name\\\",\\\"id\\\",\\\"size\\\",\\\"class\\\"],[[30,4,[\\\"title\\\"]],[30,4,[\\\"id\\\"]],\\\"new-medium\\\",\\\"shrink-0\\\"]]]],[[[1,\\\" \\\"],[8,[39,9],[[24,0,\\\"col-span-3 md:col-span-2 lg:col-span-2 xl:col-span-2 dashboard-box\\\"]],[[\\\"@route\\\",\\\"@model\\\",\\\"@bookmark\\\",\\\"@editBookmark\\\",\\\"@customIcon\\\"],[[30,4,[\\\"route\\\"]],[30,4,[\\\"id\\\"]],[30,4],[30,0,[\\\"editBookmark\\\"]],[30,5]]],[[\\\"label\\\"],[[[[1,[30,4,[\\\"title\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[5]]]],[4]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showModal\\\"]],[[[44,[[28,[37,19],[[30,0,[\\\"bookmark_form\\\"]],[30,0,[\\\"bookmarkValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,20],[[24,0,\\\"w-[326px] md:w-[348px]\\\"]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[30,0,[\\\"showModal\\\"]],[30,0,[\\\"hideModal\\\"]]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isEdit\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"lists.edit-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"dictionary.bookmark\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,1],[\\\"dictionary.bookmark\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[10,\\\"form\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"mb-6\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,1],[\\\"dictionary.name\\\"],null],[28,[37,1],[\\\"dictionary.name\\\"],null],[30,6,[\\\"title\\\"]],\\\"highlight\\\",[30,6],true]],null],[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"mb-6\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\"],[\\\"icon\\\",[28,[37,1],[\\\"dictionary.icon\\\"],null],[28,[37,1],[\\\"dictionary.icon\\\"],null],[30,6,[\\\"icon\\\"]],\\\"initiatives\\\",[30,6]]],null],[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"mb-6\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\"],[\\\"url\\\",[28,[37,1],[\\\"dictionary.url\\\"],null],[28,[37,1],[\\\"dictionary.url\\\"],null],[30,6,[\\\"url\\\"]],\\\"link\\\",[30,6]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,27],[[24,1,\\\"save-bookmark\\\"],[16,\\\"disabled\\\",[28,[37,28],[[28,[37,29],[[30,6,[\\\"isValid\\\"]]],null],[30,6,[\\\"isPristine\\\"]]],null]],[4,[38,12],[\\\"click\\\",[28,[37,30],[[30,0,[\\\"addBookmark\\\"]],[30,6]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[6]]]],[]],null],[46,[28,[37,31],null,null],null,null,null]],[\\\"bookmark\\\",\\\"favorite\\\",\\\"Icon\\\",\\\"favorite\\\",\\\"Icon\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-full\\\",\\\"div\\\",\\\"h1\\\",\\\"h2\\\",\\\"scroll-to-top\\\",\\\"each\\\",\\\"-track-array\\\",\\\"dashboard-box\\\",\\\":label\\\",\\\"button\\\",\\\"on\\\",\\\"atoms/icons/plus\\\",\\\"span\\\",\\\"if\\\",\\\"atoms/divider\\\",\\\"let\\\",\\\"component\\\",\\\"changeset\\\",\\\"modal\\\",\\\":title\\\",\\\"h3\\\",\\\":body\\\",\\\"form\\\",\\\"atoms/forms/input\\\",\\\":footer\\\",\\\"atoms/buttons/save\\\",\\\"or\\\",\\\"not\\\",\\\"fn\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/bookmarks.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"dictionary.strategy\")}}\n {{outlet}}\n */\n {\n \"id\": \"MSmS6HeT\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"dictionary.strategy\\\"],null]],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,3],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"t\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/financials\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Financials\"}}\n \n */\n {\n \"id\": \"L6FxEZl5\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Financials\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],null,[[\\\"@changeset\\\"],[[30,1]]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"organisation/settings/global-bon-values\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/financials.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{outlet}}\n */\n {\n \"id\": \"k0vUC5Vx\",\n \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],[\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Create\"}}\n \n \n <:title>\n {{t\n \"dictionary.add-a-attribute\"\n attribute=(lowercase (t \"_goals.title\" num=1))\n }}\n \n <:steps>\n {{#if this.betaToggle.showMetrics}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n (t \"dictionary.link-to-metrics\")\n (t \"dictionary.set-targets\")\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n {{else}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{/if}}\n \n \n \n \n {{#if (eq this.activeStep 0)}}\n
    \n

    \n {{t \"dictionary.general-details\"}}\n

    \n
    \n \n {{! wizar content body }}\n {{#let this.goalChangeset as |changeset|}}\n \n
    \n
    \n \n
    \n \n
    \n
    \n \n \n {{if changeset.owner changeset.owner.name \"Select\"}}\n \n \n {{#if changeset.owner}}\n \n {{/if}}\n {{#each this.personsList as |item|}}\n \n \n {{item.abbreviation}}\n \n \n {{item.name}}\n \n \n {{/each}}\n \n \n \n
    \n \n
    \n \n \n {{t (concat \"_goals.status.\" changeset.active)}}\n \n \n {{#each this.betaToggle.goalStatusOptions as |item|}}\n \n \n {{item.label}}\n \n \n {{/each}}\n \n \n \n
    \n
    \n \n
    \n {{t \"_goals.title\" num=1}}\n {{lowercase (t \"dictionary.description\")}}\n \n \n
    \n
    \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.next\"}}\n \n
    \n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n
    \n

    \n {{t\n \"_goals.wizard.link-to-parent-goal\"\n goal=(lowercase (t \"_goals.title\" num=1))\n }}\n

    \n

    {{t \"_goals.title\" num=1}}:\n {{this.goalChangeset.title}}

    \n
    \n
    \n \n {{#if this.selectedGoals.length}}\n \n {{t \"dictionary.unlink\"}}\n \n {{/if}}\n
    \n
    \n \n {{#if this.goalSearch}}\n {{#each\n (text-filtered\n this.goalSearch this.activeGoalsInOrganisation \"title\"\n )\n as |goal|\n }}\n \n {{/each}}\n \n {{else}}\n {{#each this.goals_without_parents as |goal|}}\n \n {{/each}}\n \n {{/if}}\n
    \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{if\n this.selectedGoals.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n {{else}}\n \n {{t \"dictionary.save\"}}\n \n {{/if}}\n
    \n \n {{else if (eq this.activeStep 2)}}\n
    \n

    \n {{t \"dictionary.link-to-metrics\"}}\n

    \n

    Goal:\n {{this.goalChangeset.title}}

    \n
    \n \n
    \n \n Last\n measurement\n
    \n \n
    \n {{#each\n (text-filtered this.metricSearch this.metrics \"title\")\n as |metric|\n }}\n \n \n \n
    \n

    {{metric.title}}

    \n

    \n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedRecordedDate\n \"n/a\"\n }}\n

    \n
    \n
    \n {{/each}}\n \n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n \n {{if\n this.selectedMetrics.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n
    \n \n {{else if (eq this.activeStep 3)}}\n \n
    \n

    \n {{t \"dictionary.set-targets\"}}\n

    \n

    Goal:\n {{this.goalChangeset.title}}

    \n
    \n {{#if this.selectedMetrics.length}}\n
    \n {{#each this.selectedMetrics as |metric index|}}\n \n {{#let (get this.targetChangesets index) as |changeset|}}\n \n
    \n

    {{metric.title}}

    \n

    Last measurement:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n }}

    \n
    \n \n \n \n \n
    \n {{/let}}\n \n {{/each}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
    \n \n {{else}}\n \n <:message>You have no metrics to add targets to\n \n
    \n \n Link a metric\n \n Skip and save\n \n
    \n {{/if}}\n {{/if}}\n
    \n
    \n */\n {\n \"id\": \"xFsGB/FN\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Create\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],[[4,[38,2],[[30,0,[\\\"cancelForm\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"cancelForm\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.add-a-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[44,[[28,[37,10],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]],[28,[37,5],[\\\"dictionary.link-to-metrics\\\"],null],[28,[37,5],[\\\"dictionary.set-targets\\\"],null]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\"\\\\n\\\"]],[]],[[[44,[[28,[37,10],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,6]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5,6]],null]],[4]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.general-details\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"goalChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full shrink-0\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What's your goal? *\\\",\\\"\\\",[30,7,[\\\"title\\\"]],[30,7],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.owner\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,7,[\\\"owner\\\"]],[30,7,[\\\"owner\\\",\\\"name\\\"]],\\\"Select\\\"]],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"owner\\\"]],[[[1,\\\" \\\"],[8,[39,26],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"clearOwner\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"personsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleOwnerSelect\\\"]],[30,7],[30,8]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,28],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,8,[\\\"color\\\"]],[30,8,[\\\"name\\\"]],false,[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n *\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[28,[37,29],[\\\"_goals.status.\\\",[30,7,[\\\"active\\\"]]],null]],null]],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,25],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleStatusSelect\\\"]],[30,7],[30,9,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[[28,[37,5],[\\\"dictionary.description\\\"],null]],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,30],[[24,0,\\\"textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto h-[200px] bg-white compressed-lines\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"metric-description\\\",\\\"#metric-description\\\",\\\"metric-description\\\",\\\"bubble\\\",[30,7,[\\\"description\\\"]],[28,[37,16],[[30,0,[\\\"onDescriptionChange\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"cancelForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"next\\\"],[16,\\\"disabled\\\",[30,7,[\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.wizard.link-to-parent-goal\\\"],[[\\\"goal\\\"],[[28,[37,6],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\":\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,34],[[30,0,[\\\"goalSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-600 text-xs underline\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"unlinkParentGoal\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.unlink\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalSearch\\\"]],[[[42,[28,[37,12],[[28,[37,12],[[28,[37,35],[[30,0,[\\\"goalSearch\\\"]],[30,0,[\\\"activeGoalsInOrganisation\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[8,[39,36],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@hideChildren\\\"],[[30,10],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[10]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"goals_without_parents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,36],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\"],[[30,11],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]]]],null],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"next\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,31],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.link-to-metrics\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,34],[[30,0,[\\\"metricSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0 whitespace-nowrap\\\"],[12],[1,\\\"Last\\\\n measurement\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,35],[[30,0,[\\\"metricSearch\\\"]],[30,0,[\\\"metrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex items-center gap-x-2 mb-2 b border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"inline-block\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,38],[[30,0,[\\\"selectedMetrics\\\"]],[30,12,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,16],[[30,0,[\\\"handleMetricSelect\\\"]],[30,12]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[12],[10,1],[12],[1,[30,12,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,12,[\\\"latestMeasurement\\\"]],[30,12,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]],\\\"n/a\\\"]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[12]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"next\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],3],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],3],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.set-targets\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"selectedMetrics\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[44,[[28,[37,39],[[30,0,[\\\"targetChangesets\\\"]],[30,14]],null]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,13,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[52,[30,13,[\\\"latestMeasurement\\\"]],[30,13,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,15,[\\\"target_value\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,20],[[16,\\\"min\\\",[28,[37,40],[[28,[37,41],null,null],\\\"YYYY-MM-DD\\\"],null]],[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,15,[\\\"end_date\\\"]],[30,15],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[15]]],[1,\\\"\\\\n\\\"]],[13,14]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,42],null,null,[[\\\"message\\\"],[[[[1,\\\"You have no metrics to add targets to\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n Link a metric\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,31],[[24,\\\"test-id\\\",\\\"save\\\"],[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isPristine\\\"]]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"Skip and save\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]],null]],[]]]],[]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"item\\\",\\\"item\\\",\\\"goal\\\",\\\"goal\\\",\\\"metric\\\",\\\"metric\\\",\\\"index\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"wizard\\\",\\\"on-escape\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\"t\\\",\\\"lowercase\\\",\\\":steps\\\",\\\"if\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"atoms/forms/input\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"molecules/menu-actions\\\",\\\"avatar\\\",\\\"concat\\\",\\\"quill-editor\\\",\\\"atoms/buttons/action-button\\\",\\\"p\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"text-filtered\\\",\\\"goals/wizard/goals-checkbox-item\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"get\\\",\\\"moment-format\\\",\\\"now\\\",\\\"wizard/empty-state\\\",\\\":message\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/goal\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title @model.title}}\n \n \n {{!--\n --}}\n \n
    \n
    \n {{t \"_goals.title\" num=1}}\n \n
    \n
    \n
    \n {{t \"dictionary.owner\"}}\n
    \n
    \n \n {{t \"dictionary.owner\" num=1}}\n {{or @model.owner.name \"-\"}}\n
    \n
    \n \n
    \n
    \n \n {{t\n \"dictionary.status\"\n }}\n
    \n
    \n \n <:trigger>\n {{@model.activeLabel}}\n \n \n <:menuItems>\n {{#each this.betaToggle.goalStatusOptions as |status|}}\n \n {{status.label}}\n \n {{/each}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n {{#each this.tabs as |tab|}}\n {{#if tab.hide}}{{else}}\n \n \n {{tab.label}}\n \n
    \n {{/if}}\n {{/each}}\n
    \n
    \n \n \n
    \n {{outlet}}\n
    \n \n \n \n \n \n \n \n */\n {\n \"id\": \"O0sD9Hak\",\n \"block\": \"[[[1,[28,[35,0],[[30,1,[\\\"title\\\"]]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"w-full max-w-8xl mx-auto border-b border-b-gray-200 flex flex-col h-full mb-2\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full py-2 px-6 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"goal-select-container w-[560px] p-4 mb-2 h-32 bg-gray-50\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"uppercase text-gray-500 font-medium leading-5 text-sm rounded-2xl\\\"],[12],[1,[28,[35,3],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"mb-4 w-full\\\"]],[[\\\"@goal\\\",\\\"@propagateGoalSelect\\\"],[[30,1],[30,0,[\\\"goToGoal\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,\\\"dl\\\"],[14,0,\\\"flex justify-between gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-2 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"sr-only\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,3],[\\\"dictionary.owner\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"flex items-center gap-x-1 overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"text-gray-400 w-4 h-4\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"capitalize text-gray-500 text-xs inline-block leading-5\\\"],[12],[1,[28,[35,3],[\\\"dictionary.owner\\\"],[[\\\"num\\\"],[1]]]],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs font-semibold whitespace-nowrap text-ellipsis overflow-hidden\\\"],[12],[1,[28,[35,9],[[30,1,[\\\"owner\\\",\\\"name\\\"]],\\\"-\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"dt\\\"],[14,0,\\\"text-xs text-gray-500 leading-3 flex items-center\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"text-gray-400 w-4 h-4 mr-0.5 shrink-0\\\"]],[[\\\"@fill\\\"],[\\\"#9ca3af\\\"]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-gray-500 text-xs inline-block mr-1\\\"],[12],[1,[28,[35,3],[\\\"dictionary.status\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"dd\\\"],[14,0,\\\"text-xs text-indigo-500 leading-3\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@triggerClass\\\",\\\"@dropdownContainerClass\\\"],[\\\"text-indigo-500 text-xs font-semibold flex items-center\\\",\\\"!top-4\\\"]],[[\\\"trigger\\\",\\\"menuItems\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[12],[1,[30,1,[\\\"activeLabel\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"w-5 h-5 text-indigo-500\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[42,[28,[37,16],[[28,[37,16],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,17],null,[[\\\"@handleSelect\\\",\\\"@isSelected\\\"],[[28,[37,18],[[30,0,[\\\"setGoalStatus\\\"]],[30,2]],null],[28,[37,19],[[30,2,[\\\"value\\\"]],[30,1,[\\\"active\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"split-panel-view grid grid-cols-12 h-full overflow-hidden bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"col-span-8 h-full flex flex-col overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-start justify-between bg-white overflow-x-auto shrink-0 pl-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-8 items-center h-10\\\"],[14,\\\"test-id\\\",\\\"tabs\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,16],[[28,[37,16],[[30,0,[\\\"tabs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[41,[30,3,[\\\"hide\\\"]],[[],[]],[[[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"pb-3\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,3]],null],\\\"border-b-[3px] border-b-indigo-500\\\"]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,21],[[16,0,[29,[\\\"text-sm leading-5 capitalize\\\\n \\\",[52,[30,3,[\\\"classes\\\"]],[30,3,[\\\"classes\\\"]]],\\\"\\\\n \\\",[52,[28,[30,0,[\\\"isActive\\\"]],[[30,3]],null],\\\"text-gray-900 font-semibold\\\",\\\"text-gray-500 font-normal\\\"]]]]],[[\\\"@route\\\"],[[30,3,[\\\"route\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"primary-actions\\\"],[14,0,\\\"mr-4\\\"],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grow overflow-y-auto border-t border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[46,[28,[37,23],null,null],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"col-span-4 h-full flex flex-col overflow-hidden border-l border-gray-300\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,24],null,[[\\\"@goal\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\",\\\"status\\\",\\\"tab\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"span\\\",\\\"t\\\",\\\"goals/goal-selector\\\",\\\"dl\\\",\\\"dt\\\",\\\"dd\\\",\\\"tailwind-icons/user\\\",\\\"or\\\",\\\"tailwind-icons/flag\\\",\\\"tailwind-components/dropdown\\\",\\\":trigger\\\",\\\"atoms/icons/chevron/down\\\",\\\":menuItems\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tailwind-components/dropdown/option\\\",\\\"fn\\\",\\\"eq\\\",\\\"if\\\",\\\"link-to\\\",\\\"component\\\",\\\"-outlet\\\",\\\"goals/goal/summary-panel\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/goal.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/goal/description\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Description\"}}\n \n \n {{#if this.descriptionIsEditable}}{{else if\n (text-delta-is-empty @model.description)\n }}{{else}}\n \n {{t \"dictionary.edit\"}}\n \n {{/if}}\n \n \n {{#let (changeset @model) as |changeset|}}\n \n
    \n
    \n \n {{t\n \"dictionary.all\"\n }}\n {{t \"_goals.title\" num=2}}\n \n {{#each this.breadcrumbs as |breadcrumb|}}\n \n \n {{breadcrumb.title}}\n \n {{/each}}\n
    \n \n {{#if (text-delta-is-empty @model.description)}}\n \n <:message>{{t\n \"_initiatives.empty-state\"\n initiative=(t \"_goals.title\" num=1)\n item=(lowercase (t \"_initiatives.description\"))\n }}\n <:other>\n \n \n {{t \"lists.add-item\" item=(t \"_initiatives.description\")}}\n \n \n \n \n {{else}}\n \n \n
    \n {{/if}}\n \n {{!--
    \n {{#if this.descriptionIsEditable}}\n \n \n {{t 'dictionary.cancel'}}\n \n \n \n {{t \"dictionary.save\"}}\n \n {{/if}}\n
    --}}\n \n \n {{/let}}\n \n {{#if this.goalWizardIsOpen}}\n \n {{/if}}\n */\n {\n \"id\": \"6bUSOI3y\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Description\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[41,[30,0,[\\\"descriptionIsEditable\\\"]],[[],[]],[[[41,[28,[37,3],[[30,1,[\\\"description\\\"]]],null],[[],[]],[[[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"block !rounded text-xs\\\"],[24,\\\"test-id\\\",\\\"edit-bon-btn\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleGoalWizard\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[44,[[28,[37,8],[[30,1]],null]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"h-full pt-2 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"breadcrumbs flex items-center gap-x-4 py-2 h-10\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"whitespace-nowrap\\\"],[24,\\\"test-id\\\",\\\"all-goals\\\"]],[[\\\"@route\\\"],[\\\"business.goals.list\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm font-medium text-gray-900 hover:underline\\\"],[12],[1,[28,[35,6],[\\\"dictionary.all\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"breadcrumbs\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,14],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"whitespace-nowrap overflow-hidden text-ellipsis\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"business.goals.goal.description\\\",[30,3,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm font-medium text-gray-900 hover:underline\\\"],[12],[1,[30,3,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,3],[[30,1,[\\\"description\\\"]]],null],[[[1,\\\" \\\"],[8,[39,15],[[24,0,\\\"h-[85%]\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,6],[\\\"_initiatives.empty-state\\\"],[[\\\"initiative\\\",\\\"item\\\"],[[28,[37,6],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]],[28,[37,17],[[28,[37,6],[\\\"_initiatives.description\\\"],null]],null]]]]]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-gray-200 rounded-lg bg-white w-2/3 flex items-center justify-center gap-x-1 py-2.5 shadow-sm\\\"],[24,\\\"test-id\\\",\\\"empty-state-add-uncertainty\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"toggleGoalWizard\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"w-5 h-5 text-gray-400\\\"]],null,null],[10,1],[14,0,\\\"text-sm text-gray-500 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,6],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,6],[\\\"_initiatives.description\\\"],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"space-y-1 summary-container h-[85%]\\\"],[15,1,[29,[\\\"description-\\\",[30,2,[\\\"id\\\"]]]]],[12],[1,\\\"\\\\n \\\"],[8,[39,21],[[24,0,\\\"text-gray-500 text-sm leading-5 font-normal animate-opacity whitespace-pre-wrap inter compressed-lines mt-2 h-full\\\"]],[[\\\"@placeholder\\\",\\\"@delta\\\",\\\"@bounds\\\",\\\"@theme\\\",\\\"@onChange\\\",\\\"@enabled\\\"],[[29,[\\\"+ \\\",[28,[37,6],[\\\"dictionary.add\\\"],null],\\\" \\\",[28,[37,17],[[28,[37,6],[\\\"_initiatives.description\\\"],null]],null]]],[30,2,[\\\"description\\\"]],\\\".summary-container\\\",\\\"bubble\\\",[28,[37,22],[[30,0,[\\\"setDelta\\\"]],[30,2]],null],[30,0,[\\\"descriptionIsEditable\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[2]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"goalWizardIsOpen\\\"]],[[[1,\\\" \\\"],[8,[39,23],null,[[\\\"@goal\\\",\\\"@closeWizard\\\"],[[30,0,[\\\"model\\\"]],[30,0,[\\\"toggleGoalWizard\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@model\\\",\\\"changeset\\\",\\\"breadcrumb\\\"],[\\\"page-title\\\",\\\"page-headers/primary-actions\\\",\\\"if\\\",\\\"text-delta-is-empty\\\",\\\"atoms/buttons/action-button\\\",\\\"on\\\",\\\"t\\\",\\\"let\\\",\\\"changeset\\\",\\\"div\\\",\\\"link-to\\\",\\\"span\\\",\\\"each\\\",\\\"-track-array\\\",\\\"atoms/icons/chevron/right\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"lowercase\\\",\\\":other\\\",\\\"button\\\",\\\"atoms/icons/plus\\\",\\\"quill-editor\\\",\\\"fn\\\",\\\"goals/wizard/edit\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/goal/description.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/goal/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Edit\"}}\n \n \n <:title>\n {{t \"lists.edit-item\" item=(t \"_goals.title\" num=1)}}\n \n <:steps>\n {{#if this.betaToggle.showMetrics}}\n {{#let\n (array\n (t \"dictionary.general-details\")\n (t\n \"_goals.wizard.link-to-goal\"\n goals=(lowercase (t \"_goals.title\" num=2))\n )\n (t \"dictionary.link-to-metrics\")\n (t \"dictionary.set-targets\")\n )\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n {{else}}\n {{#let (array \"General details\" \"Link to other goals\") as |steps|}}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n {{/if}}\n \n \n \n \n {{#if (eq this.activeStep 0)}}\n
    \n

    \n {{t \"dictionary.general-details\"}}\n

    \n {{this.metricChangeset.title}}

    \n
    \n \n {{! wizar content body }}\n {{#let this.goalChangeset as |changeset|}}\n \n
    \n
    \n \n
    \n \n
    \n
    \n \n \n {{if changeset.owner changeset.owner.name \"Select\"}}\n \n \n {{#if changeset.owner}}\n \n {{/if}}\n {{#each this.personsList as |item|}}\n \n \n {{item.abbreviation}}\n \n \n {{item.name}}\n \n \n {{/each}}\n \n \n \n
    \n \n
    \n \n \n {{t (concat \"_goals.status.\" changeset.active)}}\n \n \n {{#each this.betaToggle.goalStatusOptions as |item|}}\n \n \n {{item.label}}\n \n \n {{/each}}\n \n \n \n
    \n
    \n
    \n {{t \"_goals.title\" num=1}}\n {{lowercase (t \"dictionary.description\")}}\n \n \n
    \n
    \n \n
    \n {{t \"dictionary.delete\"}}\n {{t \"_goals.title\" num=1}}\n \n \n {{t \"dictionary.cancel\"}}\n \n {{#if changeset.isPristine}}\n \n {{t \"dictionary.next\"}}\n \n {{else}}\n \n {{t \"dictionary.next\"}}\n \n {{/if}}\n
    \n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n
    \n

    \n {{t\n \"_goals.wizard.link-to-parent-goal\"\n goal=(lowercase (t \"_goals.title\" num=1))\n }}\n

    \n

    Goal:\n {{this.goalChangeset.title}}

    \n
    \n
    \n \n {{#if this.selectedGoals.length}}\n \n {{t \"dictionary.unlink\"}}\n \n {{/if}}\n
    \n
    \n \n {{#if this.goalSearch}}\n {{#each\n (text-filtered\n this.goalSearch this.activeGoalsInOrganisation \"title\"\n )\n as |goal|\n }}\n \n {{/each}}\n \n {{else}}\n {{#each this.goals_without_parents as |goal|}}\n \n {{/each}}\n \n {{/if}}\n
    \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n {{#if this.betaToggle.showMetrics}}\n \n {{if\n this.selectedGoals.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n {{else}}\n \n {{t \"dictionary.save\"}}\n \n {{/if}}\n
    \n \n {{else if (eq this.activeStep 2)}}\n
    \n

    \n {{t \"dictionary.link-to-metrics\"}}\n

    \n

    Goal:\n {{this.goalChangeset.title}}

    \n
    \n \n
    \n \n Last\n measurement\n
    \n \n
    \n {{#each\n (text-filtered this.metricSearch this.metrics \"title\")\n as |metric|\n }}\n \n \n \n
    \n

    {{metric.title}}

    \n

    \n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedRecordedDate\n \"n/a\"\n }}\n

    \n
    \n
    \n {{/each}}\n \n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n \n {{if\n this.selectedMetrics.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n
    \n \n {{else if (eq this.activeStep 3)}}\n \n
    \n

    \n {{t \"dictionary.set-targets\"}}\n

    \n

    Goal:\n {{this.goalChangeset.title}}

    \n
    \n {{#if this.selectedMetrics.length}}\n
    \n {{#each this.selectedMetrics as |metric index|}}\n \n {{#let (get this.targetChangesets index) as |changeset|}}\n \n \n
    \n

    {{metric.title}}

    \n

    Last measurement:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n }}

    \n
    \n \n \n \n \n
    \n {{/let}}\n \n {{/each}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
    \n \n {{else}}\n \n <:message>You have no metrics to add targets to\n \n
    \n \n Link a metric\n \n {{t \"dictionary.save\"}}\n \n
    \n {{/if}}\n {{/if}}\n \n \n
    \n
    \n \n {{#if this.errorMessage}}\n \n {{/if}}\n */\n {\n \"id\": \"55JQXTV3\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Edit\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],[[4,[38,2],[[30,0,[\\\"cancelForm\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"cancelForm\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"lists.edit-item\\\"],[[\\\"item\\\"],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]]]]],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[44,[[28,[37,9],[[28,[37,5],[\\\"dictionary.general-details\\\"],null],[28,[37,5],[\\\"_goals.wizard.link-to-goal\\\"],[[\\\"goals\\\"],[[28,[37,10],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],null]]]],[28,[37,5],[\\\"dictionary.link-to-metrics\\\"],null],[28,[37,5],[\\\"dictionary.set-targets\\\"],null]],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\"\\\\n\\\"]],[]],[[[44,[[28,[37,9],[\\\"General details\\\",\\\"Link to other goals\\\"],null]],[[[42,[28,[37,12],[[28,[37,12],[[30,4]],null]],null],null,[[[1,\\\" \\\"],[8,[39,13],[[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],[30,6]],null]],null]],[[\\\"@active\\\"],[[28,[37,14],[[30,0,[\\\"activeStep\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,5]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[5,6]],null]],[4]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,17],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.general-details\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"goalChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What's your goal? *\\\",\\\"\\\",[30,7,[\\\"title\\\"]],[30,7],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.owner\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[52,[30,7,[\\\"owner\\\"]],[30,7,[\\\"owner\\\",\\\"name\\\"]],\\\"Select\\\"]],[1,\\\"\\\\n \\\"],[8,[39,25],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,26],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"owner\\\"]],[[[1,\\\" \\\"],[8,[39,27],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"clearOwner\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"personsList\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,28],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleOwnerSelect\\\"]],[30,7],[30,8]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,29],[[24,0,\\\"flex-shrink-0 roboto-mono text-gray-800\\\"]],[[\\\"@size\\\",\\\"@text-size\\\",\\\"@meColor\\\",\\\"@meName\\\",\\\"@tooltip\\\",\\\"@id\\\"],[\\\"6\\\",\\\"xs\\\",[30,8,[\\\"color\\\"]],[30,8,[\\\"name\\\"]],false,[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"abbreviation\\\"]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"w-2/4 gap-y-1\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"owner\\\"],[14,0,\\\"cursor-pointer block\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-900 font-medium capitalize\\\"],[12],[1,[28,[35,5],[\\\"dictionary.status\\\"],null]],[1,\\\"\\\\n *\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"bg-white w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 px-3 text-left overflow-hidden text-ellipsis whitespace-nowrap\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[[28,[37,30],[\\\"_goals.status.\\\",[30,7,[\\\"active\\\"]]],null]],null]],[1,\\\"\\\\n \\\"],[8,[39,25],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\"],[true,\\\"click\\\",\\\"bottom-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,26],[[24,0,\\\"inner-tippy-dropdown max-h-[300px] overflow-y-auto !min-w-[200px] !w-fit\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"betaToggle\\\",\\\"goalStatusOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,28],null,[[\\\"@menuClick\\\"],[[28,[37,16],[[30,0,[\\\"handleStatusSelect\\\"]],[30,7],[30,9,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-left flex-grow\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,9,[\\\"label\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"],[1,[28,[35,10],[[28,[37,5],[\\\"dictionary.description\\\"],null]],null]],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,31],[[24,0,\\\"textarea block leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto h-[200px] bg-white compressed-lines\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"metric-description\\\",\\\"#metric-description\\\",\\\"metric-description\\\",\\\"bubble\\\",[30,7,[\\\"description\\\"]],[28,[37,16],[[30,0,[\\\"onDescriptionChange\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,32],[[24,0,\\\"!text-sm !rounded-md mr-auto\\\"],[24,\\\"test-id\\\",\\\"delete-goal\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"confirmDeleteGoal\\\"]]],null]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"danger\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.delete\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"cancelForm\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,7,[\\\"isPristine\\\"]],[[[1,\\\" \\\"],[8,[39,33],[[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,33],[[24,\\\"test-id\\\",\\\"next\\\"],[16,\\\"disabled\\\",[28,[37,34],[[30,7,[\\\"isPristine\\\"]],[28,[30,0,[\\\"isInvalid\\\"]],[[30,7]],null]],null]],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.next\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[7]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_goals.wizard.link-to-parent-goal\\\"],[[\\\"goal\\\"],[[28,[37,10],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,36],[[30,0,[\\\"goalSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"text-indigo-600 text-xs underline\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"unlinkParentGoal\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.unlink\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalSearch\\\"]],[[[42,[28,[37,12],[[28,[37,12],[[28,[37,37],[[30,0,[\\\"goalSearch\\\"]],[30,0,[\\\"activeGoalsInOrganisation\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[8,[39,38],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@hideChildren\\\"],[[30,10],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[10]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"goals_without_parents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,38],null,[[\\\"@goal\\\",\\\"@selectedGoals\\\",\\\"@handleGoalsSelect\\\",\\\"@disableDescendantsOfGoalId\\\"],[[30,11],[30,0,[\\\"selectedGoals\\\"]],[30,0,[\\\"handleGoalsSelect\\\"]],[52,[28,[37,14],[[30,12,[\\\"id\\\"]],[30,11,[\\\"id\\\"]]],null],true,[30,12,[\\\"id\\\"]]]]],null],[1,\\\"\\\\n\\\"]],[11]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"betaToggle\\\",\\\"showMetrics\\\"]],[[[1,\\\" \\\"],[8,[39,33],[[24,\\\"test-id\\\",\\\"next\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,33],[[16,\\\"disabled\\\",[30,0,[\\\"goalChangeset\\\",\\\"isInvalid\\\"]]],[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],2],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.link-to-metrics\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,35],[[24,0,\\\"grow\\\"]],[[\\\"@onSearch\\\"],[[28,[37,16],[[28,[37,36],[[30,0,[\\\"metricSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-xs text-gray-500 shrink-0 whitespace-nowrap\\\"],[12],[1,\\\"Last\\\\n measurement\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[28,[37,37],[[30,0,[\\\"metricSearch\\\"]],[30,0,[\\\"metrics\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex items-center gap-x-2 mb-2 b border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,39],[[24,0,\\\"inline-block\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,40],[[30,0,[\\\"selectedMetrics\\\"]],[30,13,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,16],[[30,0,[\\\"handleMetricSelect\\\"]],[30,13]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex items-center justify-between w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold text-gray-500\\\"],[12],[10,1],[12],[1,[30,13,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[52,[30,13,[\\\"latestMeasurement\\\"]],[30,13,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]],\\\"n/a\\\"]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[13]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,33],[[24,\\\"test-id\\\",\\\"next\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],3],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[28,[37,5],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,5],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,14],[[30,0,[\\\"activeStep\\\"]],3],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.set-targets\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"Goal:\\\\n \\\"],[1,[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedMetrics\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"selectedMetrics\\\"]]],null]],null],null,[[[1,\\\"\\\\n\\\"],[44,[[28,[37,41],[[30,0,[\\\"targetChangesets\\\"]],[30,15]],null]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,14,[\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[52,[30,14,[\\\"latestMeasurement\\\"]],[30,14,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]]]],[13],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,16,[\\\"target_value\\\"]],[30,16],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,21],[[16,\\\"min\\\",[28,[37,42],[[28,[37,43],null,null],\\\"YYYY-MM-DD\\\"],null]],[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,16,[\\\"end_date\\\"]],[30,16],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[16]]],[1,\\\"\\\\n\\\"]],[14,15]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"test-id\\\",\\\"back\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,44],null,null,[[\\\"message\\\"],[[[[1,\\\"You have no metrics to add targets to\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,15],[\\\"click\\\",[28,[37,16],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null],[12],[1,\\\"\\\\n Link a metric\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,\\\"test-id\\\",\\\"save\\\"],[24,4,\\\"submit\\\"],[4,[38,15],[\\\"click\\\",[30,0,[\\\"saveGoal\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,5],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"]],[]],null]],[]]]],[]]]],[]]],[1,\\\"\\\\n \\\"],[8,[39,46],null,[[\\\"@isOpen\\\",\\\"@record\\\",\\\"@confirmDelete\\\",\\\"@closeModal\\\"],[[30,0,[\\\"showDeleteModal\\\"]],[30,0,[\\\"selectedGoal\\\"]],[30,0,[\\\"deleteGoal\\\"]],[30,0,[\\\"handleDismissDeleteModal\\\"]]]],null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"errorMessage\\\"]],[[[1,\\\" \\\"],[8,[39,47],null,[[\\\"@title\\\",\\\"@text\\\",\\\"@icon\\\",\\\"@willClose\\\"],[[28,[37,5],[\\\"dictionary.oh-no\\\"],null],[30,0,[\\\"errorMessage\\\"]],\\\"error\\\",[30,0,[\\\"handleAlertClose\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"item\\\",\\\"item\\\",\\\"goal\\\",\\\"goal\\\",\\\"@model\\\",\\\"metric\\\",\\\"metric\\\",\\\"index\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"wizard\\\",\\\"on-escape\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\"t\\\",\\\":steps\\\",\\\"if\\\",\\\"let\\\",\\\"array\\\",\\\"lowercase\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"atoms/forms/input\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"dropdowns/clear-selection-action-button\\\",\\\"molecules/menu-actions\\\",\\\"avatar\\\",\\\"concat\\\",\\\"quill-editor\\\",\\\"atoms/buttons/button\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"text-filtered\\\",\\\"goals/wizard/goals-checkbox-item\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"get\\\",\\\"moment-format\\\",\\\"now\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\"goals/delete-modal\\\",\\\"sweet-alert\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/goal/edit.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/goal/initiatives\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Initiatives\"}}\n \n \n {{t \"lists.add-item\" item=(t \"dictionary.case\")}}\n \n
    \n \n \n \n \n
    \n */\n {\n \"id\": \"vZkfjE+b\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Initiatives\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1],[4,[38,3],[\\\"click\\\",[30,0,[\\\"toggleInitiativeForm\\\"]]],null],[12],[1,[28,[35,4],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,4],[\\\"dictionary.case\\\"],null]]]]],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"w-full pb-4 pt-2\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[8,[39,6],[[24,0,\\\"mt-2 w-full overflow-x-auto pl-6\\\"]],[[\\\"@isOpen\\\",\\\"@onGroupingSelect\\\",\\\"@grouping\\\",\\\"@onStatusSelect\\\",\\\"@activeStatus\\\",\\\"@onThemeSelect\\\",\\\"@activeThemes\\\",\\\"@onSourceSelect\\\",\\\"@activeSources\\\",\\\"@onPmSelect\\\",\\\"@activePms\\\",\\\"@onTeamSelect\\\",\\\"@activeTeams\\\",\\\"@showColumns\\\",\\\"@columnOptions\\\",\\\"@onColumnSelect\\\",\\\"@activeColumns\\\",\\\"@showGroupBy\\\",\\\"@roadmapFilter\\\"],[[30,0,[\\\"showFilterSlideover\\\"]],[30,0,[\\\"onGroupingSelect\\\"]],[30,0,[\\\"grouping\\\"]],[30,0,[\\\"onStatusSelect\\\"]],[30,0,[\\\"status\\\"]],[30,0,[\\\"onThemeSelect\\\"]],[30,0,[\\\"themes\\\"]],[30,0,[\\\"onSourceSelect\\\"]],[30,0,[\\\"sources\\\"]],[30,0,[\\\"onPmSelect\\\"]],[30,0,[\\\"productManagers\\\"]],[30,0,[\\\"onTeamSelect\\\"]],[30,0,[\\\"teams\\\"]],true,[30,0,[\\\"columnOptions\\\"]],[30,0,[\\\"onColumnSelect\\\"]],[30,0,[\\\"columns\\\"]],true,false]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,7],[[24,0,\\\"!px-0 mt-2\\\"]],[[\\\"@list\\\",\\\"@filters\\\",\\\"@initiativeFormIsVisible\\\",\\\"@toggleInitiativeForm\\\",\\\"@onInitiativeAdded\\\",\\\"@disabledColumns\\\"],[[30,0,[\\\"list\\\"]],[28,[37,8],null,[[\\\"themes\\\",\\\"grouping\\\",\\\"statuses\\\",\\\"sources\\\",\\\"productManagers\\\",\\\"teams\\\",\\\"roadmaps\\\",\\\"columns\\\",\\\"goals\\\"],[[27],[27],[30,0,[\\\"statuses\\\"]],[27],[27],[27],[27],[27],[28,[37,9],[[30,2,[\\\"goal\\\",\\\"id\\\"]]],null]]]],[30,0,[\\\"initiativeFormIsVisible\\\"]],[30,0,[\\\"toggleInitiativeForm\\\"]],[30,0,[\\\"setGoalOnInitiative\\\"]],[28,[37,9],[\\\"goals\\\"],null]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@model\\\"],[\\\"page-title\\\",\\\"page-headers/primary-actions\\\",\\\"button\\\",\\\"on\\\",\\\"t\\\",\\\"div\\\",\\\"initiatives/list/filter-slideover\\\",\\\"initiatives/table\\\",\\\"hash\\\",\\\"array\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/goal/initiatives.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/goal/subgoals\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Subgoals\"}}\n
    \n \n {{t \"lists.add-item\" item=(t \"_goals.title\" num=1)}}\n \n {{#if @model.sortedChildren.length}}\n \n
    \n {{t \"dictionary.title\"}}\n
    \n
    \n {{t \"dictionary.grid\"}}\n
    \n \n {{t \"dictionary.owner\"}}\n
    \n \n {{t \"_initiatives.title\" num=2}}\n \n \n
      \n {{#each @model.sortedChildren as |child|}}\n
    • \n \n
    • \n {{/each}}\n
    \n {{else}}\n

    This goal\n has no child goals attached to it.

    \n {{/if}}\n \n \n {{#if this.goalWizardIsOpen}}\n \n {{/if}}\n */\n {\n \"id\": \"3f450hoL\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Subgoals\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"fade-up w-full pb-16\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,4,\\\"button\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1],[4,[38,4],[\\\"click\\\",[30,0,[\\\"toggleGoalWizard\\\"]]],null],[12],[1,[28,[35,5],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,5],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"sortedChildren\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"table-header flex items-center gap-x-2 py-2 bg-white border-b sticky top-0 z-10 pl-6 pr-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"title-header grow text-sm text-gray-900 font-semibold pl-6\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"status-header w-[120px] text-sm text-gray-900 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.grid\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"owner-header w-[180px] text-sm text-gray-900 font-semibold mr-3\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"dictionary.owner\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-header w-[140px] text-sm text-gray-900 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,5],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,\\\"ul\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,2,[\\\"sortedChildren\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"li\\\"],[14,0,\\\"shadow-sm mb-2 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@goal\\\"],[[30,3]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 italic font-medium mt-2 pt-2 pl-6 pr-4\\\"],[12],[1,\\\"This goal\\\\n has no child goals attached to it.\\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"goalWizardIsOpen\\\"]],[[[1,\\\" \\\"],[8,[39,13],null,[[\\\"@parentGoal\\\",\\\"@closeWizard\\\"],[[30,0,[\\\"model\\\"]],[30,0,[\\\"toggleGoalWizard\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"@model\\\",\\\"child\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/primary-actions\\\",\\\"button\\\",\\\"on\\\",\\\"t\\\",\\\"if\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"goals/list-item\\\",\\\"p\\\",\\\"goals/wizard/create\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/goal/subgoals.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/goals/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.goals\")}}\n
    \n \n

    {{t\n \"_goals.title\"\n num=2\n }}

    \n
    \n \n
    \n
    \n \n {{!--
    \n
    \n \n {{t\n '_goals.status.title'\n }}\n {{#if this.status.length}}\n {{this.status.length}}\n {{/if}}\n \n \n \n
    \n \n
    \n
    \n \n {{t\n '_goals.linked-to-attribute'\n attribute=(t '_initiatives.title' num=2)\n }} \n {{#if this.initiativesLinked.length}}\n {{this.initiativesLinked.length}}\n {{/if}}\n \n \n \n
    \n
    \n
    --}}\n \n
    \n \n {{t\n \"lists.add-item\"\n item=(lowercase (t \"_goals.title\" num=1))\n }}\n
    \n
    \n \n \n
    \n {{t \"dictionary.title\"}}\n
    \n
    \n {{t \"dictionary.grid\"}}\n
    \n \n {{t \"dictionary.owner\"}}\n
    \n \n {{t \"_initiatives.title\" num=2}}\n \n \n {{!-- {{#if this.filtersAreApplied}} --}}\n {{#each this.goals_without_parents as |goal|}}\n
    \n \n
    \n {{else}}\n \n <:message>{{t\n \"_goals.no-goals\"\n goals=(t \"_goals.title\" num=2)\n }}\n <:other>\n {{t\n \"lists.add-item\"\n item=(lowercase (t \"_goals.title\" num=1))\n }}\n \n \n {{/each}}\n \n \n \n */\n {\n \"id\": \"JWYierL+\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.goals\\\"],null]],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col h-full overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"w-full max-w-8xl mx-auto px-6 border-b border-b-gray-200 bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h1\\\"],[14,0,\\\"text-gray-900 font-semibold text-3xl my-8\\\"],[12],[1,[28,[35,1],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"h-full overflow-y-auto pb-16\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-end py-4 px-6 bg-gray-50\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,4],[[24,0,\\\"max-w-xs bg-white !mb-0 !py-1.5\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@onSearch\\\"],[[28,[37,1],[\\\"dictionary.search-for-attribute\\\"],[[\\\"attribute\\\"],[[28,[37,1],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]]]],[30,0,[\\\"search\\\"]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"search\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,\\\"test-id\\\",\\\"add-goal\\\"],[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1]],[[\\\"@route\\\"],[\\\"business.goals.create\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,8],[[28,[37,1],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"table-header flex items-center gap-x-2 py-3 bg-white border-b sticky top-0 z-10\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"title-header grow text-sm text-gray-900 font-semibold pl-6\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"status-header w-[120px] text-sm text-gray-900 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.grid\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"owner-header w-[180px] text-sm text-gray-900 font-semibold mr-3\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"dictionary.owner\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"initiative-header w-[140px] text-sm text-gray-900 font-semibold\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"goals_without_parents\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"shadow-sm bg-white\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],null,[[\\\"@goal\\\",\\\"@matchChecker\\\"],[[30,2],[30,0,[\\\"isAMatchCallback\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[2]],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"mt-16\\\"]],null,[[\\\"message\\\",\\\"other\\\"],[[[[1,[28,[35,1],[\\\"_goals.no-goals\\\"],[[\\\"goals\\\"],[[28,[37,1],[\\\"_goals.title\\\"],[[\\\"num\\\"],[2]]]]]]]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit flex items-center whitespace-nowrap\\\"]],[[\\\"@route\\\"],[\\\"business.goals.create\\\"]],[[\\\"default\\\"],[[[[8,[39,15],[[24,0,\\\"w-5 h-5 text-white\\\"]],null,null],[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,8],[[28,[37,1],[\\\"_goals.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"goal\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"div\\\",\\\"h1\\\",\\\"wizard/search\\\",\\\"fn\\\",\\\"mut\\\",\\\"link-to\\\",\\\"lowercase\\\",\\\"each\\\",\\\"-track-array\\\",\\\"goals/list-item\\\",\\\"wizard/empty-state\\\",\\\":message\\\",\\\":other\\\",\\\"atoms/icons/plus\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/goals/list.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{outlet}}\n */\n {\n \"id\": \"wE+3eT2f\",\n \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],[\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Create\"}}\n \n \n */\n {\n \"id\": \"GkRXKA7W\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Create\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@scenario\\\"],[[30,1]]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"strategy/strategy-form\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles/investment-profile\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"InvestmentProfile\"}}\n \n
    \n {{outlet}}\n
    \n */\n {\n \"id\": \"vrUtCMwu\",\n \"block\": \"[[[1,[28,[35,0],[\\\"InvestmentProfile\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"w-full mb-16 max-w-8xl h-full overflow-hidden\\\"],[12],[1,\\\"\\\\n \\\"],[46,[28,[37,3],null,null],null,null,null],[1,\\\"\\\\n\\\"],[13]],[],[\\\"page-title\\\",\\\"div\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles/investment-profile.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles/investment-profile/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Edit\"}}\n \n \n */\n {\n \"id\": \"HKys8Ghb\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Edit\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],[[24,0,\\\"h-full overflow-y-auto mb-16 pt-4 px-6\\\"]],[[\\\"@scenario\\\",\\\"@isEdit\\\"],[[30,1],true]],null]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"strategy/strategy-form\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles/investment-profile/edit.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles/investment-profile/view\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"View\"}}\n \n
    \n
    \n \n \n {{t \"dictionary.go-back\"}}\n \n \n \n \n {{t \"dictionary.edit\"}}\n {{t \"_scenarios.title\" num=1}}\n \n \n
    \n \n
    \n \n \n
    \n
    \n */\n {\n \"id\": \"ba7NGJF2\",\n \"block\": \"[[[1,[28,[35,0],[\\\"View\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"h-full overflow-y-auto px-6 pt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@route\\\"],[\\\"business.investment-profiles.list\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"!text-sm bg-white rounded-md border-0 ring-1 ring-gray-300\\\"]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"secondary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,2],[[24,\\\"test-id\\\",\\\"edit-scenario\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"business.investment-profiles.investment-profile.edit\\\",[30,1]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"!text-sm\\\"]],[[\\\"@type\\\",\\\"@size\\\"],[\\\"primary\\\",\\\"medium\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"dictionary.edit\\\"],null]],[1,\\\"\\\\n \\\"],[1,[28,[35,4],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"rounded-md\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,6],[[24,0,\\\"bg-white pl-2 pt-2 rounded-md\\\"]],[[\\\"@title\\\",\\\"@subtitle\\\",\\\"@noSubtitle\\\"],[[30,1,[\\\"title\\\"]],\\\"\\\",\\\"true\\\"]],null],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"rounded-md h-full overflow-y-auto pb-16 pt-4\\\"]],[[\\\"@scenario\\\"],[[30,1]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@model\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"link-to\\\",\\\"atoms/buttons/button\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"page-headers/page-title\\\",\\\"strategy/strategy-sheet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles/investment-profile/view.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/investment-profiles/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"_initiatives.investment\" num=1) (t \"_scenarios.title\" num=1)}}\n \n {{#if (eq this.models.length 0)}}\n

    {{t\n \"_scenarios.no-scenarios\"\n scenario=(t \"_scenarios.title\" num=1)\n }}

    \n {{else}}\n
    \n {{#each this.model as |scenario|}}\n \n {{/each}}\n
    \n {{/if}}\n */\n {\n \"id\": \"vzY1czgs\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"_initiatives.investment\\\"],[[\\\"num\\\"],[1]]],[28,[37,1],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]],null]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"models\\\",\\\"length\\\"]],0],null],[[[1,\\\" \\\"],[10,2],[14,0,\\\"text-gray-500 text-sm\\\"],[12],[1,[28,[35,1],[\\\"_scenarios.no-scenarios\\\"],[[\\\"scenario\\\"],[[28,[37,1],[\\\"_scenarios.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-4\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"model\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,8],[[24,0,\\\"col-span-12 md:col-span-6 lg:col-span-4\\\"]],[[\\\"@scenario\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"scenario\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"if\\\",\\\"eq\\\",\\\"p\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"strategy/card\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/investment-profiles/list.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/metrics/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Create\"}}\n \n \n \n <:title>\n Add a metric\n \n <:steps>\n {{#let\n (array \"General details\" \"Link to goals\" \"Set targets\")\n as |steps|\n }}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n \n \n \n {{! wizard content title }}\n {{#if (eq this.activeStep 0)}}\n
    \n

    \n General Details\n

    \n {{this.metricChangeset.title}}

    \n
    \n \n {{! wizar content body }}\n {{#let this.metricChangeset as |changeset|}}\n \n
    \n
    \n
    \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.symbolOptions as |symbol|}}\n {{symbol.label}}\n {{/each}}\n \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.trendOptions as |trend|}}\n {{trend.label}}\n {{/each}}\n \n \n
    \n
    \n \n
    \n Display measurements per\n \n \n
    \n
    \n \n
    \n Metric description\n \n \n
    \n \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.save-and-continue\"}}\n \n
    \n {{/let}}\n \n {{else if (eq this.activeStep 1)}}\n \n
    \n

    \n Link to goals\n

    \n {{this.metricChangeset.title}}

    \n
    \n \n {{! wizar content body }}\n \n
    \n \n {{#each (text-filtered this.goalSearch this.goals \"title\") as |goal|}}\n \n \n \n
    \n

    {{goal.title}}

    \n

    \n \n Initiatives -{{goal.initiatives.length}}\n \n \n Targets\n -{{goal.targets.length}}\n \n

    \n
    \n
    \n {{/each}}\n \n
    \n \n {{t \"dictionary.go-back\"}}\n \n \n \n {{if\n this.selectedGoals.length\n (t \"dictionary.save-and-continue\")\n (t \"dictionary.skip\")\n }}\n \n
    \n {{else if (eq this.activeStep 2)}}\n {{#let this.targetChangeset as |changeset|}}\n
    \n

    \n Set targets\n

    \n {{this.metricChangeset.title}}

    \n
    \n {{#if this.selectedGoals.length}}\n
    \n
    \n \n
    \n {{this.metricChangeset.title}}

    \n

    Last measurement: n/a

    \n
    \n \n \n \n \n
    \n
    \n \n {{else}}\n \n <:message>Please link at least one goal to set a target\n \n {{/if}}\n {{/let}}\n
    \n \n {{t \"dictionary.go-back\"}}\n \n {{t \"dictionary.save\"}}\n \n
    \n {{/if}}\n
    \n \n
    \n */\n {\n \"id\": \"nV46EgNr\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Create\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],[[4,[38,2],[[30,0,[\\\"onFormCancel\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"onFormCancel\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n Add a metric\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[44,[[28,[37,7],[\\\"General details\\\",\\\"Link to goals\\\",\\\"Set targets\\\"],null]],[[[42,[28,[37,9],[[28,[37,9],[[30,1]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],[[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],[30,3]],null]],null]],[[\\\"@active\\\"],[[28,[37,11],[[30,0,[\\\"activeStep\\\"]],[30,3]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,2]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2,3]],null]],[1]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,0,[\\\"activeStep\\\"]],0],null],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n General Details\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"metricChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What will you measure? *\\\",\\\"\\\",[30,4,[\\\"title\\\"]],[30,4],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"symbol\\\",\\\"Symbol\\\",\\\"!normal-case\\\",[30,4]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"symbolOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,5,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,11],[[30,5,[\\\"value\\\"]],[30,4,[\\\"symbol\\\"]]],null]],[12],[1,[30,5,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"trend\\\",\\\"Trend\\\",[30,4,[\\\"trend\\\"]],\\\"!normal-case\\\",[30,4]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"trendOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,6,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,11],[[30,6,[\\\"value\\\"]],[30,4,[\\\"trend\\\"]]],null]],[12],[1,[30,6,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"reporting_period\\\"],[14,3,\\\"reporting_period\\\"],[12],[1,\\\"Display measurements per\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between p-4 bg-white rounded-lg border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,24],[[24,0,\\\"!mb-0\\\"]],[[\\\"@options\\\",\\\"@value\\\",\\\"@name\\\",\\\"@changeset\\\"],[[30,0,[\\\"betaToggle\\\",\\\"reportingPeriodOptions\\\"]],[30,4,[\\\"reporting_period\\\"]],\\\"reporting_period\\\",[30,4]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,\\\"Metric description\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,25],[[24,0,\\\"textarea block h-[90px] leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto resize-y max-h-[160px] bg-white compressed-lines\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"metric-description\\\",\\\"#metric-description\\\",\\\"metric-description\\\",\\\"bubble\\\",[30,4,[\\\"description\\\"]],[28,[37,13],[[30,0,[\\\"onDescriptionChange\\\"]],[30,4]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"rollbackChanges\\\"]],null],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,28],[[16,\\\"disabled\\\",[28,[37,29],[[30,4,[\\\"isPristine\\\"]],[30,4,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,27],[\\\"dictionary.save-and-continue\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[4]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,11],[[30,0,[\\\"activeStep\\\"]],1],null],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Link to goals\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\" \\\"],[8,[39,30],null,[[\\\"@onSearch\\\"],[[28,[37,13],[[28,[37,31],[[30,0,[\\\"goalSearch\\\"]]],null]],null]]],null],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow overflow-y-auto\\\"],[12],[1,\\\"\\\\n\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[28,[37,32],[[30,0,[\\\"goalSearch\\\"]],[30,0,[\\\"goals\\\"]],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"p-4 bg-white rounded-lg flex items-start gap-x-2 mb-2 b border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,33],[[24,0,\\\"inline-block mt-1.5\\\"]],[[\\\"@value\\\",\\\"@onChange\\\"],[[28,[37,34],[[30,0,[\\\"selectedGoals\\\"]],[30,7,[\\\"id\\\"]],\\\"id\\\"],null],[28,[37,13],[[30,0,[\\\"handleGoalsSelect\\\"]],[30,7]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,2],[12],[10,1],[14,0,\\\"text-gray-500 text-xs font-semibold\\\"],[12],[1,[30,7,[\\\"title\\\"]]],[13],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-normal text-gray-500 flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,36],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"Initiatives -\\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[30,7,[\\\"initiatives\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,37],[[24,0,\\\"w-4 h-4 text-gray-500\\\"]],null,null],[1,\\\"Targets\\\\n -\\\"],[10,1],[14,0,\\\"font-semibold\\\"],[12],[1,[30,7,[\\\"targets\\\",\\\"length\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],0],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,28],[[24,4,\\\"submit\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],2],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[52,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[28,[37,27],[\\\"dictionary.save-and-continue\\\"],null],[28,[37,27],[\\\"dictionary.skip\\\"],null]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,11],[[30,0,[\\\"activeStep\\\"]],2],null],[[[44,[[30,0,[\\\"targetChangeset\\\"]]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n Set targets\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedGoals\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"bg-white p-4 flex items-center gap-x-2 border border-gray-200 rounded-lg\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs font-semibold\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500\\\"],[12],[1,\\\"Last measurement: n/a\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"number\\\",\\\"target_value\\\",\\\"Target\\\",\\\"\\\",[30,8,[\\\"target_value\\\"]],[30,8],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],[[24,0,\\\"!w-[150px]\\\"]],[[\\\"@type\\\",\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"date\\\",\\\"end_date\\\",\\\"Deadline\\\",[30,8,[\\\"end_date\\\"]],[30,8],true,\\\"!normal-case text-xs\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,38],null,null,[[\\\"message\\\"],[[[[1,\\\"Please link at least one goal to set a target\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[8]]],[1,\\\" \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],1],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,27],[\\\"dictionary.go-back\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,28],[[16,\\\"disabled\\\",[28,[37,29],[[30,0,[\\\"metricChangeset\\\",\\\"isPristine\\\"]],[30,0,[\\\"metricChangeset\\\",\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"saveMetric\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,[28,[35,27],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],null]],[]]]],[]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"symbol\\\",\\\"trend\\\",\\\"goal\\\",\\\"changeset\\\"],[\\\"page-title\\\",\\\"wizard\\\",\\\"on-escape\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\":steps\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"if\\\",\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"atoms/forms/input\\\",\\\"atoms/forms/select\\\",\\\":options\\\",\\\"option\\\",\\\"label\\\",\\\"organisms/radio-options\\\",\\\"quill-editor\\\",\\\"button\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\",\\\"wizard/search\\\",\\\"mut\\\",\\\"text-filtered\\\",\\\"checkbox\\\",\\\"array-includes\\\",\\\"span\\\",\\\"atoms/icons/initiatives\\\",\\\"tailwind-icons/target\\\",\\\"wizard/empty-state\\\",\\\":message\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/metrics/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/metrics/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Index\"}}\n {{outlet}}\n */\n {\n \"id\": \"niE5GCn9\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Index\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/metrics/index.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/metrics/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Metrics\"}}\n \n
    \n \n
    \n \n \n Add a metric\n
    \n \n
    \n {{#each (text-filtered this.search @model \"title\") as |metric|}}\n
    \n
    \n
    \n \n \n {{metric.title}}\n \n \n \n \n {{#if metric.targets.length}}\n \n \n \n \n \n Cannot delete a metric that has targets attached to it\n \n \n \n {{else}}\n \n \n \n {{/if}}\n \n \n \n {{#if metric.latestMeasurement}}\n \n on\n {{metric.latestMeasurement.formattedRecordedDate}}\n \n {{/if}}\n
    \n

    Last measured:\n {{if\n metric.latestMeasurement\n metric.latestMeasurement.formattedValue\n \"n/a\"\n }}\n \n \n

    \n
    \n \n \n \n \n Targets -\n {{metric.targets.length}}\n \n \n \n \n \n \n {{t \"_initiatives.title\" num=2}}\n -\n {{metric.linkedInitiatives.length}}\n \n \n \n \n \n \n Goals -\n {{metric.linkedGoals.length}}\n \n \n \n
    \n
    \n \n
    \n {{/each}}\n
    \n
    \n \n {{outlet}}\n */\n {\n \"id\": \"ErAgS09J\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Metrics\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"max-w-5xl\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between mb-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],[[24,0,\\\"max-w-xs bg-white\\\"]],[[\\\"@value\\\"],[[30,0,[\\\"search\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],[[24,0,\\\"rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1]],[[\\\"@route\\\"],[\\\"business.metrics.create\\\"]],[[\\\"default\\\"],[[[[1,\\\"Add a metric\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"grid grid-cols-12 gap-4\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[28,[37,6],[[30,0,[\\\"search\\\"]],[30,2],\\\"title\\\"],null]],null]],null],null,[[[1,\\\" \\\"],[10,0],[14,0,\\\"col-span-12 md:col-span-6 xl:col-span-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"p-4 rounded-lg h-28 group bg-white shadow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,7],[[24,0,\\\"w-4 h-4 text-gray-900\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-sm text-gray-900 font-normal flex items-center gap-x-2\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,3,[\\\"title\\\"]]],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"\\\"],[24,\\\"test-id\\\",\\\"metric-edit\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"business.metrics.metric.edit\\\",[30,3]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,10],[[24,0,\\\"text-gray-500 w-4 h-4 invisible group-hover:visible\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"targets\\\",\\\"length\\\"]],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"!inline-flex align-bottom invisible group-hover:visible cursor-default\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"text-gray-400 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,14],null,[[\\\"@placement\\\"],[\\\"top\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,15],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n Cannot delete a metric that has targets attached to it\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[8,[39,12],[[24,0,\\\"!inline-flex align-bottom invisible group-hover:visible\\\"],[4,[38,16],[\\\"click\\\",[28,[37,17],[[30,0,[\\\"deleteMetric\\\"]],[30,3]],null]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,13],[[24,0,\\\"text-red-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,3,[\\\"latestMeasurement\\\"]],[[[1,\\\" \\\"],[10,\\\"em\\\"],[14,0,\\\"text-gray-500 text-xs grow text-right whitespace-nowrap\\\"],[12],[1,\\\"\\\\n on\\\\n \\\"],[1,[30,3,[\\\"latestMeasurement\\\",\\\"formattedRecordedDate\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-xs text-gray-500 mt-1\\\"],[12],[1,\\\"Last measured:\\\\n \\\"],[10,1],[14,0,\\\"font-semibold text-xs\\\"],[12],[1,[52,[30,3,[\\\"latestMeasurement\\\"]],[30,3,[\\\"latestMeasurement\\\",\\\"formattedValue\\\"]],\\\"n/a\\\"]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex items-center gap-x-4 mt-3\\\"],[12],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n Targets -\\\\n \\\"],[1,[30,3,[\\\"targets\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,21],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],null,null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,22],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]],[1,\\\"\\\\n -\\\\n \\\"],[1,[30,3,[\\\"linkedInitiatives\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,1],[14,0,\\\"flex items-center gap-x-1 text-gray-500 text-xs font-normal\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,0,\\\"text-gray-500 w-4 h-4\\\"]],[[\\\"@withTarget\\\"],[[30,3,[\\\"linkedGoals\\\",\\\"length\\\"]]]],null],[1,\\\"\\\\n \\\"],[10,1],[12],[1,\\\"\\\\n Goals -\\\\n \\\"],[1,[30,3,[\\\"linkedGoals\\\",\\\"length\\\"]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,25],null,null],null,null,null]],[\\\"&attrs\\\",\\\"@model\\\",\\\"metric\\\"],[\\\"page-title\\\",\\\"div\\\",\\\"wizard/search\\\",\\\"link-to\\\",\\\"each\\\",\\\"-track-array\\\",\\\"text-filtered\\\",\\\"tailwind-icons/metric\\\",\\\"h3\\\",\\\"span\\\",\\\"atoms/icons/edit\\\",\\\"if\\\",\\\"atoms/buttons/icon\\\",\\\"atoms/icons/delete\\\",\\\"tippy\\\",\\\"atoms/tooltip\\\",\\\"on\\\",\\\"fn\\\",\\\"em\\\",\\\"p\\\",\\\"tailwind-icons/target\\\",\\\"atoms/icons/initiatives\\\",\\\"t\\\",\\\"tailwind-icons/goal\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/metrics/list.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/metrics/metric\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Metric\"}}\n {{outlet}}\n */\n {\n \"id\": \"JGM8hC7c\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Metric\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/metrics/metric.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/metrics/metric/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title @model.title}}\n \n \n \n <:title>\n Edit metric\n \n <:steps>\n {{#let (array \"General details\") as |steps|}}\n {{#each steps as |step index|}}\n \n {{step}}\n \n {{/each}}\n {{/let}}\n \n \n \n \n {{! wizard content title }}\n {{!-- {{#if (eq this.activeStep 0)}} --}}\n
    \n

    \n General Details\n

    \n {{this.metricChangeset.title}}

    \n
    \n \n {{! wizar content body }}\n {{#let this.metricChangeset as |changeset|}}\n \n
    \n
    \n
    \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.symbolOptions as |symbol|}}\n {{symbol.label}}\n {{/each}}\n \n \n
    \n \n
    \n \n <:options>\n \n {{#each this.betaToggle.trendOptions as |trend|}}\n {{trend.label}}\n {{/each}}\n \n \n
    \n
    \n \n
    \n Display measurements per\n \n \n
    \n
    \n \n
    \n Metric description\n \n \n
    \n \n \n
    \n \n {{t \"dictionary.cancel\"}}\n \n \n {{t \"dictionary.save\"}}\n \n
    \n {{/let}}\n \n
    \n \n
    \n */\n {\n \"id\": \"zzL+iCvc\",\n \"block\": \"[[[1,[28,[35,0],[[30,1,[\\\"title\\\"]]],null]],[1,\\\"\\\\n\\\"],[8,[39,1],[[4,[38,2],[[30,0,[\\\"onFormCancel\\\"]]],null]],[[\\\"@onClose\\\"],[[30,0,[\\\"onFormCancel\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n \\\"],[8,[39,3],null,null,[[\\\"title\\\",\\\"steps\\\"],[[[[1,\\\"\\\\n Edit metric\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[44,[[28,[37,7],[\\\"General details\\\"],null]],[[[42,[28,[37,9],[[28,[37,9],[[30,2]],null]],null],null,[[[1,\\\" \\\"],[8,[39,10],[[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"setActiveStep\\\"]],[30,4]],null]],null]],[[\\\"@active\\\"],[[28,[37,11],[[30,0,[\\\"activeStep\\\"]],[30,4]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[30,3]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3,4]],null]],[2]]],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n\\\\n \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,0],[14,0,\\\"wizard-content-titles mb-2\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-gray-900 text-base font-semibold mb-1\\\"],[12],[1,\\\"\\\\n General Details\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"text-gray-500 text-xs font-normal\\\"],[12],[1,[30,0,[\\\"metricChangeset\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[44,[[30,0,[\\\"metricChangeset\\\"]]],[[[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"rounded-lg bg-gray-50 p-4 grow\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"grow\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,18],null,[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@autofocus\\\",\\\"@labelClass\\\"],[\\\"title\\\",\\\"What will you measure? *\\\",\\\"\\\",[30,5,[\\\"title\\\"]],[30,5],true,\\\"!normal-case\\\"]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"symbol\\\",\\\"Symbol\\\",\\\"!normal-case\\\",[30,5]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"symbolOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,6,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,11],[[30,6,[\\\"value\\\"]],[30,5,[\\\"symbol\\\"]]],null]],[12],[1,[30,6,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"shrink\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,19],[[24,0,\\\"!w-28\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@value\\\",\\\"@labelClass\\\",\\\"@changeset\\\"],[\\\"trend\\\",\\\"Trend\\\",[30,5,[\\\"trend\\\"]],\\\"!normal-case\\\",[30,5]]],[[\\\"options\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"option\\\"],[14,2,\\\"\\\"],[12],[1,\\\"Select\\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"betaToggle\\\",\\\"trendOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[10,\\\"option\\\"],[15,2,[30,7,[\\\"value\\\"]]],[15,\\\"selected\\\",[28,[37,11],[[30,7,[\\\"value\\\"]],[30,5,[\\\"trend\\\"]]],null]],[12],[1,[30,7,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"reporting_period\\\"],[14,3,\\\"reporting_period\\\"],[12],[1,\\\"Display measurements per\\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"flex justify-between p-4 bg-white rounded-lg border border-gray-200\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,23],[[24,0,\\\"!mb-0\\\"]],[[\\\"@options\\\",\\\"@value\\\",\\\"@name\\\",\\\"@changeset\\\"],[[30,0,[\\\"betaToggle\\\",\\\"reportingPeriodOptions\\\"]],[30,5,[\\\"reporting_period\\\"]],\\\"reporting_period\\\",[30,5]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,0,\\\"text-gray-900 font-medium text-sm leading-5 mb-1 block\\\"],[14,1,\\\"description\\\"],[14,3,\\\"description\\\"],[12],[1,\\\"Metric description\\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,24],[[24,0,\\\"textarea block h-[90px] leading-4 w-full pl-2 mt-1 py-1 text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-indigo-600 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 update-comments-container overflow-auto resize-y max-h-[160px] bg-white compressed-lines\\\"]],[[\\\"@id\\\",\\\"@bounds\\\",\\\"@name\\\",\\\"@theme\\\",\\\"@delta\\\",\\\"@onChange\\\"],[\\\"metric-description\\\",\\\"#metric-description\\\",\\\"metric-description\\\",\\\"bubble\\\",[30,5,[\\\"description\\\"]],[28,[37,13],[[30,0,[\\\"onDescriptionChange\\\"]],[30,5]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"button-group mt-2 flex items-center justify-end gap-x-4\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"rounded-md px-2.5 py-2 text-sm font-medium text-indigo-700 bg-indigo-100\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"onFormCancel\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,26],[\\\"dictionary.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,27],[[16,\\\"disabled\\\",[28,[37,28],[[30,5,[\\\"isPristine\\\"]],[30,5,[\\\"isInvalid\\\"]]],null]],[24,4,\\\"submit\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"saveMetric\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[1,[28,[35,26],[\\\"dictionary.save\\\"],null]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[5]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"]],[]]]]]],[\\\"@model\\\",\\\"steps\\\",\\\"step\\\",\\\"index\\\",\\\"changeset\\\",\\\"symbol\\\",\\\"trend\\\"],[\\\"page-title\\\",\\\"wizard\\\",\\\"on-escape\\\",\\\"wizard/menu\\\",\\\":title\\\",\\\":steps\\\",\\\"let\\\",\\\"array\\\",\\\"each\\\",\\\"-track-array\\\",\\\"wizard/step\\\",\\\"eq\\\",\\\"on\\\",\\\"fn\\\",\\\"wizard/body\\\",\\\"div\\\",\\\"h3\\\",\\\"p\\\",\\\"atoms/forms/input\\\",\\\"atoms/forms/select\\\",\\\":options\\\",\\\"option\\\",\\\"label\\\",\\\"organisms/radio-options\\\",\\\"quill-editor\\\",\\\"button\\\",\\\"t\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/metrics/metric/edit.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/themes\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.themes\" num=2)}}\n \n
    \n
    \n {{t \"lists.add-item\" item=(lowercase (t \"themes.title\" num=1))}}\n
    \n \n
    \n \n
    \n
    \n \n {{outlet}}\n */\n {\n \"id\": \"Va0JneZZ\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.themes\\\"],[[\\\"num\\\"],[2]]]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col overflow-hidden h-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"px-6 mt-4\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],[[24,0,\\\"ml-auto mb-4 block w-fit shrink-0 rounded-md bg-indigo-500 px-2.5 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 h-fit\\\"],[17,1]],[[\\\"@route\\\"],[\\\"business.themes.create\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,1],[\\\"lists.add-item\\\"],[[\\\"item\\\"],[[28,[37,4],[[28,[37,1],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]],null]]]]]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"overflow-y-auto h-full pb-16\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"shadow rounded-md\\\"]],[[\\\"@themes\\\",\\\"@onThemeDelete\\\"],[[30,0,[\\\"themes\\\"]],[30,0,[\\\"deleteTheme\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,7],null,null],null,null,null]],[\\\"&attrs\\\"],[\\\"page-title\\\",\\\"t\\\",\\\"div\\\",\\\"link-to\\\",\\\"lowercase\\\",\\\"themes/table\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/themes.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/themes/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Create\"}}\n {{#let (changeset @model this.themeValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"themes.add\"\n theme=(t \"themes.title\" num=1)\n }}

    \n \n <:body>\n {{! template-lint-disable no-duplicate-landmark-elements }}\n
    \n \n \n
    \n \n
    \n \n {{#if changeset.color}}\n \n {{label-extract\n this.betaService.themeColorOptions\n changeset.color\n }}\n {{else}}\n {{t \"themes.no-color\"}}\n {{/if}}\n \n \n \n \n {{#each this.betaService.themeColorOptions as |item|}}\n \n \n \n {{item.label}}\n \n {{#if (eq item.value changeset.color)}}\n \n {{/if}}\n \n \n {{/each}}\n \n \n
    \n
    \n \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"0vu/yN5y\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Create\\\"],null]],[1,\\\"\\\\n\\\"],[44,[[28,[37,2],[[30,1],[30,0,[\\\"themeValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,3],[[4,[38,5],[[28,[37,4],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,4],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,8],[\\\"themes.add\\\"],[[\\\"theme\\\"],[[28,[37,8],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,4],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"lg:w-80\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,8],[\\\"themes.table.title\\\"],null],[28,[37,8],[\\\"themes.table.title\\\"],null],[30,2,[\\\"title\\\"]],\\\"highlight\\\",[30,2],true]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"theme-color\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,8],[\\\"themes.color\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"theme-color\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"color\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,2,[\\\"color\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,18],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]],[30,2,[\\\"color\\\"]]],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,8],[\\\"themes.no-color\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@appendTo\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"body\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,22],[[28,[37,22],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,23],[[16,\\\"data-color\\\",[30,3,[\\\"value\\\"]]]],[[\\\"@menuClick\\\"],[[28,[37,4],[[30,0,[\\\"handleThemeColorSelect\\\"]],[30,3,[\\\"value\\\"]],[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,3,[\\\"value\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,[30,3,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,24],[[30,3,[\\\"value\\\"]],[30,2,[\\\"color\\\"]]],null],[[[1,\\\" \\\"],[8,[39,25],[[24,0,\\\"w-6 h-6 inline-block text-primary-600 float-right\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,27],[[24,1,\\\"save-theme\\\"],[16,\\\"disabled\\\",[28,[37,28],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"addTheme\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@model\\\",\\\"changeset\\\",\\\"item\\\"],[\\\"page-title\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"atoms/forms/input\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"if\\\",\\\"label-extract\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"eq\\\",\\\"atoms/icons/check\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/themes/create.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/themes/theme\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Theme\"}}\n {{outlet}}\n */\n {\n \"id\": \"TAGq2eW9\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Theme\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/themes/theme.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/business/themes/theme/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Edit\"}}\n {{#let (changeset @model this.themeValidations) as |changeset|}}\n \n <:title>\n

    {{t\n \"themes.edit\"\n theme=(t \"themes.title\" num=1)\n }}

    \n \n <:body>\n
    \n \n \n
    \n \n
    \n \n {{#if changeset.color}}\n \n {{label-extract\n this.betaService.themeColorOptions\n changeset.color\n }}\n {{else}}\n {{t \"themes.no-color\"}}\n {{/if}}\n \n \n \n \n {{#each this.betaService.themeColorOptions as |item|}}\n \n \n \n {{item.label}}\n \n {{#if (eq item.value changeset.color)}}\n \n {{/if}}\n \n \n {{/each}}\n \n \n
    \n
    \n \n \n <:footer>\n {{t \"dictionary.save\"}}\n \n \n {{/let}}\n */\n {\n \"id\": \"G+e2fjf6\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Edit\\\"],null]],[1,\\\"\\\\n\\\"],[44,[[28,[37,2],[[30,1],[30,0,[\\\"themeValidations\\\"]]],null]],[[[1,\\\" \\\"],[8,[39,3],[[4,[38,5],[[28,[37,4],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]],null]],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[true,[28,[37,4],[[30,0,[\\\"cancelForm\\\"]],[30,2]],null]]],[[\\\"title\\\",\\\"body\\\",\\\"footer\\\"],[[[[1,\\\"\\\\n \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-xl font-medium\\\"],[12],[1,[28,[35,8],[\\\"themes.edit\\\"],[[\\\"theme\\\"],[[28,[37,8],[\\\"themes.title\\\"],[[\\\"num\\\"],[1]]]]]]],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[11,\\\"form\\\"],[4,[38,11],[\\\"submit\\\",[28,[37,4],[[30,0,[\\\"onSubmit\\\"]],[30,2]],null]],null],[12],[1,\\\"\\\\n \\\"],[8,[39,12],[[24,0,\\\"lg:w-80\\\"]],[[\\\"@id\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@icon\\\",\\\"@changeset\\\",\\\"@autofocus\\\"],[\\\"title\\\",[28,[37,8],[\\\"themes.table.title\\\"],null],[28,[37,8],[\\\"themes.table.title\\\"],null],[30,2,[\\\"title\\\"]],\\\"highlight\\\",[30,2],true]],null],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"mt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"theme-color\\\"],[14,0,\\\"cursor-pointer\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"text-sm text-gray-700 font-medium capitalize\\\"],[12],[1,[28,[35,8],[\\\"themes.color\\\"],null]],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,\\\"button\\\"],[14,0,\\\"items-center input flex w-full mt-1 py-[9px] text-sm rounded-md border border-solid border-gray-300 hover:border-gray-500 focus:border-primary-500 focus:outline-none disabled:border-gray-200 disabled:cursor-not-allowed disabled:text-gray-300 shadow-sm text-gray-700 placeholder:text-gray-500 px-3 lg:w-80\\\"],[14,1,\\\"theme-color\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"color\\\"]],[[[1,\\\" \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,2,[\\\"color\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[12],[1,[28,[35,18],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]],[30,2,[\\\"color\\\"]]],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[10,1],[12],[1,[28,[35,8],[\\\"themes.no-color\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,19],null,[[\\\"@interactive\\\",\\\"@trigger\\\",\\\"@placement\\\",\\\"@appendTo\\\"],[true,\\\"click\\\",\\\"bottom-start\\\",[30,0,[\\\"body\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[39,20],[[24,0,\\\"inner-tippy-dropdown max-h-[200px] overflow-y-auto\\\"],[24,\\\"data-cy\\\",\\\"inner-list-dropdown\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,22],[[28,[37,22],[[30,0,[\\\"betaService\\\",\\\"themeColorOptions\\\"]]],null]],null],null,[[[1,\\\" \\\"],[8,[39,23],[[16,\\\"data-color\\\",[30,3,[\\\"value\\\"]]]],[[\\\"@menuClick\\\"],[[28,[37,4],[[30,0,[\\\"handleThemeColorSelect\\\"]],[30,3,[\\\"value\\\"]],[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex items-center w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,1],[15,0,[29,[\\\"inline-block w-2 h-2 rounded-full\\\\n \\\",[30,3,[\\\"value\\\"]],\\\"\\\\n mr-3\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,1],[14,0,\\\"flex-grow text-left\\\"],[12],[1,[30,3,[\\\"label\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,24],[[30,3,[\\\"value\\\"]],[30,2,[\\\"color\\\"]]],null],[[[1,\\\" \\\"],[8,[39,25],[[24,0,\\\"w-6 h-6 inline-block text-primary-600 float-right\\\"]],null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\" \\\"]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"]],[]],[[[1,\\\"\\\\n \\\"],[8,[39,27],[[24,1,\\\"save-theme\\\"],[16,\\\"disabled\\\",[28,[37,28],[[30,2,[\\\"isInvalid\\\"]],[30,2,[\\\"isPristine\\\"]]],null]],[4,[38,11],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"editTheme\\\"]],[30,2]],null]],null]],[[\\\"@size\\\",\\\"@type\\\"],[\\\"medium\\\",\\\"primary\\\"]],[[\\\"default\\\"],[[[[1,[28,[35,8],[\\\"dictionary.save\\\"],null]]],[]]]]],[1,\\\"\\\\n \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]],[\\\"@model\\\",\\\"changeset\\\",\\\"item\\\"],[\\\"page-title\\\",\\\"let\\\",\\\"changeset\\\",\\\"modal\\\",\\\"fn\\\",\\\"on-escape\\\",\\\":title\\\",\\\"h3\\\",\\\"t\\\",\\\":body\\\",\\\"form\\\",\\\"on\\\",\\\"atoms/forms/input\\\",\\\"div\\\",\\\"label\\\",\\\"span\\\",\\\"button\\\",\\\"if\\\",\\\"label-extract\\\",\\\"tippy\\\",\\\"molecules/dropdown\\\",\\\"each\\\",\\\"-track-array\\\",\\\"molecules/menu-actions\\\",\\\"eq\\\",\\\"atoms/icons/check\\\",\\\":footer\\\",\\\"atoms/buttons/action-button\\\",\\\"or\\\"]]\",\n \"moduleName\": \"scaleflow/templates/business/themes/theme/edit.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/capacity\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.capacity\")}}\n \n {{outlet}}\n \n */\n {\n \"id\": \"oFPBpDJN\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.capacity\\\"],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,2],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[46,[28,[37,4],null,null],null,null,null],[1,\\\"\\\\n\\\"]],[]]]]]],[],[\\\"page-title\\\",\\\"t\\\",\\\"layouts/page-padded\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/capacity.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/capacity/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Index\"}}\n {{outlet}}\n */\n {\n \"id\": \"W80/gbJL\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Index\\\"],null]],[1,\\\"\\\\n\\\"],[46,[28,[37,2],null,null],null,null,null]],[],[\\\"page-title\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n \"moduleName\": \"scaleflow/templates/capacity/index.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/capacity/roles\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.roles\")}}\n \n
    \n \n
    \n \n \n \n {{#if this.roadmap}}\n
    \n
    \n

    {{t\n \"dashboards.role-capacity\"\n }}\n (%)

    \n

    Percentage of role capacity\n allocated to initiatives. Values over 100% indicate overallocation.\n Includes all initiatives, including those without a specified source\n type.

    \n
    \n
    \n \n \n \n {{/if}}\n */\n {\n \"id\": \"JEIQWuJl\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.roles\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[29,[[28,[37,1],[\\\"dashboards.roles\\\"],[[\\\"num\\\"],[2]]],\\\" \\\",[28,[37,1],[\\\"dashboards.capacity-overview\\\"],null]]],[28,[37,1],[\\\"roadmap.capacity-nav-description\\\"],null]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,4],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"roadmap\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"capacity-per-role\\\"],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,1],[\\\"dashboards.role-capacity\\\"],null]],[1,\\\"\\\\n (%)\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700 mb-2\\\"],[12],[1,\\\"Percentage of role capacity\\\\n allocated to initiatives. Values over 100% indicate overallocation.\\\\n Includes all initiatives, including those without a specified source\\\\n type.\\\"],[13],[1,\\\"\\\\n \\\"],[11,0],[4,[38,8],[[30,0,[\\\"roadmap\\\"]],[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"scenario\\\"]]],[[\\\"roles\\\"],[[30,0,[\\\"model\\\",\\\"roles\\\"]]]]],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,9],null,[[\\\"@initiatives\\\",\\\"@columns\\\",\\\"@capacity_type\\\",\\\"@grouped\\\"],[[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"columns\\\"]],\\\"role\\\",\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[],[\\\"page-title\\\",\\\"t\\\",\\\"div\\\",\\\"page-headers/page-title\\\",\\\"capacity/roadmap-query-selector\\\",\\\"if\\\",\\\"h2\\\",\\\"p\\\",\\\"capacity/roles\\\",\\\"capacity/initiatives-table\\\"]]\",\n \"moduleName\": \"scaleflow/templates/capacity/roles.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/capacity/teams\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title (t \"pages.teams\")}}\n \n
    \n \n
    \n \n \n \n {{#if this.roadmap}}\n
    \n
    \n

    {{t\n \"dashboards.team-capacity\"\n }}\n (%)

    \n

    Percentage of team capacity\n allocated to initiatives. Values over 100% indicate overallocation.\n Includes all initiatives, including those without a specified source\n type.

    \n
    \n
    \n \n \n {{/if}}\n */\n {\n \"id\": \"8vt/YITi\",\n \"block\": \"[[[1,[28,[35,0],[[28,[37,1],[\\\"pages.teams\\\"],null]],null]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[29,[[28,[37,1],[\\\"dashboards.teams\\\"],[[\\\"num\\\"],[2]]],\\\" \\\",[28,[37,1],[\\\"dashboards.capacity-overview\\\"],null]]],[28,[37,1],[\\\"roadmap.capacity-nav-description\\\"],null]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,4],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"roadmap\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,1,\\\"capacity-per-team\\\"],[14,0,\\\"w-full\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,1],[\\\"dashboards.team-capacity\\\"],null]],[1,\\\"\\\\n (%)\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700 mb-2\\\"],[12],[1,\\\"Percentage of team capacity\\\\n allocated to initiatives. Values over 100% indicate overallocation.\\\\n Includes all initiatives, including those without a specified source\\\\n type.\\\"],[13],[1,\\\"\\\\n \\\"],[11,0],[4,[38,8],[[30,0,[\\\"roadmap\\\"]],[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"scenario\\\"]]],[[\\\"teams\\\"],[[30,0,[\\\"model\\\",\\\"teams\\\"]]]]],[12],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@initiatives\\\",\\\"@columns\\\",\\\"@capacity_type\\\",\\\"@grouped\\\"],[[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"columns\\\"]],\\\"team\\\",\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[],[\\\"page-title\\\",\\\"t\\\",\\\"div\\\",\\\"page-headers/page-title\\\",\\\"capacity/roadmap-query-selector\\\",\\\"if\\\",\\\"h2\\\",\\\"p\\\",\\\"capacity/teams\\\",\\\"capacity/initiatives-table\\\"]]\",\n \"moduleName\": \"scaleflow/templates/capacity/teams.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/capacity/weeks\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Weeks\"}}\n
    \n \n
    \n \n \n \n
    \n
    \n

    {{t\n \"dashboards.weekly-capacity\"\n initiatives=(t \"_initiatives.title\" num=2)\n }}\n (%)

    \n

    Percentage of weekly capacity\n allocated to initiatives. Values over 100% indicate overallocation.\n Includes all initiatives, including those without a specified source type.

    \n
    \n
    \n
    \n
    {{this.loadRoadmap}}
    \n {{#if this.roadmap}}\n
    {{this.loadInitiatives}} {{this.loadScenario}}
    \n \n \n {{/if}}\n
    \n */\n {\n \"id\": \"9HVYYjYR\",\n \"block\": \"[[[1,[28,[35,0],[\\\"Weeks\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,2],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[29,[[28,[37,3],[\\\"dashboards.weekly\\\"],null],\\\" \\\",[28,[37,3],[\\\"dashboards.capacity-overview\\\"],null]]],[28,[37,3],[\\\"roadmap.capacity-nav-description\\\"],null]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,4],null,[[\\\"@roadmaps\\\"],[[30,0,[\\\"model\\\",\\\"roadmaps\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"sm:flex sm:items-center pt-6\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"sm:flex-auto\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"h2\\\"],[14,0,\\\"text-base font-semibold leading-6 text-gray-900\\\"],[12],[1,[28,[35,3],[\\\"dashboards.weekly-capacity\\\"],[[\\\"initiatives\\\"],[[28,[37,3],[\\\"_initiatives.title\\\"],[[\\\"num\\\"],[2]]]]]]],[1,\\\"\\\\n (%)\\\"],[13],[1,\\\"\\\\n \\\"],[10,2],[14,0,\\\"mt-2 text-sm text-gray-700\\\"],[12],[1,\\\"Percentage of weekly capacity\\\\n allocated to initiatives. Values over 100% indicate overallocation.\\\\n Includes all initiatives, including those without a specified source type.\\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"pt-8\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"hidden\\\"],[12],[1,[30,0,[\\\"loadRoadmap\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"roadmap\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"hidden\\\"],[12],[1,[30,0,[\\\"loadInitiatives\\\"]]],[1,\\\" \\\"],[1,[30,0,[\\\"loadScenario\\\"]]],[13],[1,\\\"\\\\n \\\"],[8,[39,8],[[24,0,\\\"w-full\\\"],[24,1,\\\"bar-chart-capacity\\\"]],[[\\\"@height\\\",\\\"@from\\\",\\\"@to\\\",\\\"@initiatives\\\",\\\"@scenario\\\",\\\"@showLegend\\\"],[\\\"500\\\",[30,0,[\\\"roadmap\\\",\\\"start_date\\\"]],[30,0,[\\\"roadmap\\\",\\\"end_date\\\"]],[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"scenario\\\"]],true]],null],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@initiatives\\\",\\\"@columns\\\"],[[30,0,[\\\"initiatives\\\"]],[30,0,[\\\"columns\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[],[\\\"page-title\\\",\\\"div\\\",\\\"page-headers/page-title\\\",\\\"t\\\",\\\"capacity/roadmap-query-selector\\\",\\\"h2\\\",\\\"p\\\",\\\"if\\\",\\\"charts/capacity-chart\\\",\\\"capacity/initiatives-table\\\"]]\",\n \"moduleName\": \"scaleflow/templates/capacity/weeks.hbs\",\n \"isStrictMode\": false\n });\n});","define(\"scaleflow/templates/claim\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n /*\n {{page-title \"Claim\"}}\n \n
    \n
    \n
    \n

    \n Claim existing user\n

    \n \n {{#each this.unclaimedPersons as |person|}}\n \n \n {{person.abbreviation}}\n \n \n {{person.name}}\n \n \n {{/each}}\n
    \n \n

    -or-

    \n Create new user\n
    \n
    \n