/** * IBM Confidential OCO Source Materials IBM Business Platform: Content Apps * (C) Copyright IBM Corp. 2016, 2018 * * The source code for this program is not published or otherwise divested of * its trade secrets, irrespective of what has been deposited with the U.S. * Copyright Office */ define("bacontentnav/common/ui/list_actions/ListAction",["../../../lib/@waca/core-client/js/core-client/ui/core/Class","../../../utils/ContentStoreObject","underscore"],function(e,i,t){"use strict";var n=e.extend({init:function(e){n.inherited("init",this,arguments),t.extend(this,e)},isItemVisible:function(e){var t=e.target.itemId.split(".").pop(),i=this.getListControl(e);return i&&i.contentView.isEnabledAction?i.contentView.isEnabledAction(t):!e.target.activeObject||!e.target.activeObject.contentView.isEnabledAction||e.target.activeObject.contentView.isEnabledAction(t)},onSelectItem:function(e){return this.getMissingData(e).then(function(e){this.execute(e)}.bind(this))},getRequiredPropertiesList:function(e){},getMissingData:function(n){var e=this.getRequiredPropertiesList(n);if(!e||!e.length)return Promise.resolve(n);var t=[];return e.forEach(function(e){n.target.activeObject.aSelectedContext[0][e]||t.push(e)}),t.length?n.glassContext.getCoreSvc(".Ajax").ajax({url:i.getSelfLink(n.target.activeObject.aSelectedContext[0]),dataType:"json",data:{fields:t.join(",")},type:"GET"}).then(function(i){return t.forEach(function(e){var t=i.data&&i.data.data[0]||{};-1!==e.indexOf("base")?n.target.activeObject.aSelectedContext[0].base=t.base:n.target.activeObject.aSelectedContext[0][e]=t[e]}.bind(this)),n}.bind(this)):Promise.resolve(n)},getListControl:function(e){return!this.oListControl&&e&&e.target&&e.target.activeObject&&(this.oListControl=e.target.activeObject.oListControl),this.oListControl},getSelectedContext:function(e){if(e&&e.target&&e.target.activeObject)return e.target.activeObject.aSelectedContext},getParentSlideout:function(e){return!this.parentSlideout&&e&&e.target&&e.target.activeObject&&(this.parentSlideout=e.target.activeObject.slideout),this.parentSlideout},hasStateID:function(e,t){var i=this.getListControl(e);return!(!i||!i.stateId||i.stateId!==t)}});return n}),define("bacontentnav/common/ui/list_actions/AddInlineAction",["./ListAction","../../../lib/@waca/core-client/js/core-client/utils/BidiUtil","../../../lib/@waca/core-client/js/core-client/utils/BrowserUtils","underscore"],function(e,o,s,t){"use strict";var i=e.extend({getDefaultName:function(){return""},getType:function(){return"text"},getClass:function(){return"inlineAdded"},destroy:function(){i.inherited("destroy",this,arguments),this._clearBlurTimeout()},_clearBlurTimeout:function(){window.clearTimeout(this._blurTimeout),this._blurTimeout=null},execute:function(){this._isCancelled=!1,this._handledSave=!1,this._clearBlurTimeout();var e=this.getListControl();return e.setInStandbyMode(!0),e.addRowData([{defaultName:this.getDefaultName(),type:this.getType(),uid:t.uniqueId("new_"+this.getType()+"_")}],!0).then(function(e){this._inlineTR=e[0],this._updateRowForInlineEdit(this._inlineTR)}.bind(this))},cancel:function(){if(!this._isCancelled&&this._inlineTR){this._isCancelled=!0;var e=this.getListControl();e.removeRow(this._inlineTR),e.setInStandbyMode(!1)}},_updateRowForInlineEdit:function(e){var t=this.getListControl();t.setInStandbyMode(!0),t.setRenderRowsOnScroll(!1);var i=$(e).height()*e.rowIndex-t._scrollNode.height()/2;t.getScrollingNode().scrollTop(i),this._scrollStartTime=new Date,this._createInput($(e))},_createInput:function(e){var t=this.getListControl(),i=e.find(".nameColumnDiv:first");e.addClass(this.getClass());var n=i.parent();n.empty();var a=$(document.createElement("input"));a.attr("type","text"),s.isIE11&&s.isIE11()?(a.attr("value",this.getDefaultName()),a.attr("onfocus","this.select()")):a.attr("placeholder",this.getDefaultName()),n.append(a),o.initElementForBidi(a[0]),a.on("keydown",function(e){switch(e.keyCode){case 13:this._handleBlur(e),e.stopPropagation();break;case 27:e.stopPropagation(),this.cancel()}}.bind(this)),a.on("blur",function(e){this._handleBlur(e)}.bind(this)),s.isIPad()?(a.on("clicktap",function(e){e.stopPropagation()}),$(window).on("clicktap.addInlineAction",function(){this._handleBlur({currentTarget:a}),$(window).off(".addInlineAction")}.bind(this))):(t.$el.find(".dataTables_scrollBody").on("scroll",null,{input:a,this:this},this._onScroll),a.focus())},_onScroll:function(e){var t=e.data.input,i=e.data.this;if(250%{name} database. Review the message that we received from the database then attempt to correct the problem.",adminConnTestFailureDetailsLess:"Hide details",adminConnTestFailureDetailsMore:"Show details",adminConnTestFailureLess:"Less",adminConnTestFailureMore:"More",adminConnTestInProgress:"Testing",adminConnTestSuccess:"Succeeded",adminDataConnections:"Data connections",adminSecureGateway:"Secured gateways",adminEmail:"Contact email",adminFullname:"Full name",adminRole:"Role",adminScxRole:"Subscription roles",adminSignonUnchanged:"User ID is set, edit to change.",adminUserId:"User ID",adminUserProfile:"User profile",adminUsers:"Users",adminFirstName:"First name",adminLastName:"Last name",adminErrorTitle:"We're sorry",adminServiceError:"The server or service stopped responding. Please try again later.",adminServiceInviteConflict:"We're unable to send the invitation. This happens if the user has already been invited but hasn't accepted the invitation yet. Or the user might have been deleted from the account.",scxServerNotAvailable:"The subscription administration service is currently unavailable.",adminSelectRoleTitle:"Select a role",adminLastAdminErrorTitle:"Unable to change role",adminLastAdminError:"There is the only user with Administrator role.\n\nYou need to have at least one user with Administrator role.",adminSubscriptionLabel:"Subscription",adminSubscriptionVersion:"You are currently subscribed to %{version}.",adminSubscriptionUpgrade:'Edit options for storage space, licenses, and subscriptions.',adminSubscriptionLearnMore:"Learn more about other subscription options.",adminPurchasesLabel:"Purchases",adminTotalSpaceLabel:"Total space",adminSpaceInfo:"Your maximum upload size is %{maxUpload} and the maximum number of columns allowed in your data set is %{numCols} columns.",adminAvailableLabel:"Available",adminUsedLabel:"Used",adminTotalLabel:"Total",adminLicensesLabel:"Licenses",adminEditLabel:"Edit",adminPromoCodeLabel:"Promotion code",adminAccountError:"We can't retrieve the account details. Please try again later.",adminUnitsB:"B",adminUnitsBLabel:"%{value} B",adminUnitsKB:"KB",adminUnitsKBLabel:"%{value} KB",adminUnitsMB:"MB",adminUnitsMBLabel:"%{value} MB",adminUnitsGB:"GB",adminUnitsGBLabel:"%{value} GB",adminUnitsTB:"TB",adminUnitsTBLabel:"%{value} TB",adminUnitsPB:"PB",adminUnitsPBLabel:"%{value} PB",adminOperatorPrefix:"%{prefix} %{value}",adminUnknown:"Unknown",adminNoPurchases:"No purchases found",adminUserDelete:"Are you sure you want to delete this user?",adminUsersDelete:"Are you sure you want to delete these users?",adminUsersDeleteFailDesc:"Errors with deleting users.",adminUsersDeleteFailTitle:"Delete Error",adminUsersDeleteSuccessDesc:"Users were successfully deleted.",adminUsersDeleteSuccessTitle:"Success!",adminUsersHeadingName:"Name",adminUsersHeadingStatus:"Status",adminUsersHeadingLastModified:"Last modified",adminUsersInviteLabel:"Invite user",adminUsersManageAccountsLabel:"Manage user accounts",adminDropHere:"Drop your .csv file here or tap to browse",adminInviteCancelled:"This user wasn't invited yet. Request was cancelled.",adminInviteCount:"You selected %{count} users. (max %{max})",adminInviteDisclaimer:"* You can invite %{count} users at a time",adminInviteErrorCode:"[Error %{errorcode}]",adminInviteErrorLine:"%{email} - %{reason} %{action} %{errorcode}",adminInviteInProgress:"Inviting users...",adminInviteCancelDesc:"Cancelling...",adminInviteCancelTitle:"Cancel",adminInviteFailDesc:"We encountered %{count} errors.
Review the messages below to determine which user invitations failed.",adminInviteFailTitle:"We didn't invite everyone",adminInviteOverLimit:"This user wasn't invited yet. You can invite up to %{count} users at a time and this user exceeded that limit.",adminInviteSuccessCount:"We successfully invited %{count} of your selected %{selectedCount} users.",adminInviteTryAgain:'Tap "Invite uploaded users" again to invite the next %{count} users.',adminInviteServerError:"Server error (%{errorcode}). Please try again.",adminInviteSuccessDesc:"Successfully invited users.",adminInviteSuccessTitle:"Success!",adminUpload:"Upload data",adminUploadDesc:"To invite multiple users, create a .csv file or save a spreadsheet as the file type CSV.

The CSV file must have 3 columns in this order: email address, given name, and family name.
Do not include other columns.",adminUploadHelpLink:"Learn more",adminUsersDeleteAll:"Delete users",adminUsersInviteAll:"Invite uploaded users",adminUsersUpload:"Upload users",adminUploading:"Uploading Data...",adminUploadErrorLine:"Line %{line}: %{reason}",adminUploadSuccess:"Success!",adminUploadSuccessDesc:"Your file '%{name}' has been successfuly uploaded.",adminUploadFailCount:"We found %{failedCount} errors in your file.",adminUploadFailDesc:"Make sure that there are no empty fields and that all email addresses are valid.

Please check your file and resubmit.",adminUploadFailTitle:"We can't upload your file",adminUserStatus_PRELOAD:"Not invited yet",adminUserStatus_INVITATION_PENDING:"Invited",adminUserStatus_INACTIVE_PENDING:"Invited but not activated",adminUserStatus_ACTIVE:"Active",adminUserStatus_INACTIVE_SUSPENDED:"Suspended",conn_biurl:"URL",conn_dbname:"Database name",conn_dbtypeid:"Database type",conn_host:"Server name",conn_name:"Connection name",conn_password:"Password",conn_password_confirm:"Confirm password",conn_port:"Port number",conn_port_validation:"Only numbers are allowed for port.",conn_schema:"Database schema",conn_signon:"Include signon",conn_ssl:"Use SSL",conn_sslcertificate:"SSL certificate (optional)",conn_sslcertificate_set:"SSL certificate is set, edit to change.",conn_url:"JDBC connection parameters (optional)",conn_user:"User ID",connType_Cognos_BI:"IBM Cognos BI Server",connType_IBM_DB2:"IBM DB2",connType_MySQL:"MySQL",connType_Oracle:"Oracle",connType_Postgres:"PostgreSQL",connType_SQLDB:"IBM SQL Database for Bluemix",connType_SQL_Server:"Microsoft SQL Server",connType_dashDB:"IBM dashDB",bi_connect_error:'Connection files have not been installed in the required folder on your IBM Cognos BI server.

Contact your IBM Cognos BI administrator, who can enable the connection. For more information, see the Docs.',bi_notrunning_error:'We can\'t reach the IBM Cognos BI server using the URL you provided.

Verify that the URL is correct. See the Docs for other possible reasons why you can\'t connect.',bi_info:"The server must use a secure web protocol and the URL must begin with https.
For example, https://bi_server.example.com/ibmcognos",dbTypeRestrictionLabel:"With your subscription, you can only create and use connections to one database type at a time.

To connect to another database type, delete all database connections, then create new connections.  To connect to multiple database types simultaneously, upgrade your subscription. ",typeColumn:"Type",modellingColumnType:"Type",modellingColumnAggregation:"Aggregation",modellingColumnUsage:"Usage",modellingColumnSort:"Sort",modellingColumnFormat:"Format",modellingColumnCategory:"Category",modellingLoading:"Loading...",modellingProcessing:"Processing...",modellingImport:"Import",modellingReimport:"Re-import",modellingDatasourceTitle:"Data source",modellingImportStartedTitle:"Importing started",modellingImportStartedText:"Importing your data may take a bit of time.\n\n(You can create a view while the data is imported.)",importDatasourceTitle:"Connections",dropHere:"Drop here to create a new data source...",browseButton:"Browse",errorNoData:"There is no data to process.",errorNoFile:"There is no file to upload.",errorUploadFailed:"Unable to upload.",uploadSucceessful:"Upload succeessful",del_datasourceTitle:"Delete data set",del_datasourceMsg:"Are you sure you wish to delete '%{name}'?",modellingFileUpdate:"Update",modellingFileUpdateTitle:"Update data set",modellingFileUpdateDescription:"Do you want to update '%{name}'?",modellingFileUpdatingTitle:"Updating '%{name}'",modellingUpdateStartedTitle:"Update import started",modellingUpdateStartedText:"Updating your data may take a bit of time.\n\n(You can create a view while the data is updated.)",modellingErrorImportUploadNoFile:"No file to upload.",modellingErrorImportUploadFailed:"Unable to upload.",modellingErrorImportUploadInvalidType:"The file type is not valid.",modellingErrorImportUploadTableFailed:"Unable to get tables.",modellingIntentResultsTitle:"Select the proposed data set to use",modellingColumnViewRelationships:"View related tables",modellingTableRelatedTables:"Tables related to '%{name}'",modellingTable:"%{name} - Table",modellingColumnIncludedInDataSet:"Added",modellingDataSet:"Data set",modellingViewInDataSet:"View in data set",modellingViewRelatedTables:"View related",modellingRelatedTablesNoneFound:"No related tables found",modellingValidatingDataset:"Validating...",datasetFinishedRefreshing:"Data set %{datasetName} has been refreshed.",modellingJoinTable:"Resolve join path:",modellingJoinColumns:"Define a join path for table: %{name}",modellingJoinToTable:"Join to table: %{name}",excluded:"Excluded",metricPrefixThousand:"K",metricPrefixMillion:"M",metricPrefixBillion:"B",metricPrefixTrillion:"T",metricPrefixQuadrillion:"Q",modellingColumnFilter:"Filter",modellingColumnSortNone:"Clear the sort",modellingColumnSortAsc:"Sort ascending",modellingColumnSortDesc:"Sort descending",modellingColumnRemove:"Remove this column",dropboxPageTitle:"New Dropbox connection",sizeColumn:"Size",dataType_string:"String",dataType_date:"Date",dataType_integer:"Integer",dataType_double:"Double",dataType_float:"Float",dataType_boolean:"Boolean",defaultAggregation_count:"Count",defaultAggregation_countdistinct:"Count distinct",defaultAggregation_max:"Maximum",defaultAggregation_min:"Minimum",defaultAggregation_avg:"Average",defaultAggregation_sum:"Sum",defaultAggregation_auto:"Auto (%{aggregationType})",type_fact:"Fact",type_attribute:"Attribute",defaultSort_none:"Do not sort",defaultSort_asc:"Sort ascending",defaultSort_desc:"Sort descending",category_none:"None",category_location:"Location",category_monetary:"Monetary",category_time:"Time",rootMenuTitle:"Main menu",errorMessageTitle:"Error",errorMessageDetails:"Details: ",errorMessageTitleAssetAlreadyExists:"Asset already exists",defaultTabTitle:"Tab %{index}",tabAddBtnTitle:"Add a new tab",nameColumn:"Name",creatorColumn:"Created by",creationDateColumn:"Date created",versionColumn:"Version",modifiedColumn:"Last Modified",filterBy:"Filter items",allFilter:"All items",createdByMeFilter:"Created by me",sharedWithMeFilter:"Shared with me",favoritesFilter:"My favorites",recentsFilter:"Recently added",sortBy:"Sort by",sortModified:"Modified",sortUpdated:"Updated",sortName:"Name",viewAs:"View as",thumbnailsView:"View as thumbnails",listView:"View as a list",createMenu:"Create",newAppItem:"Dashboard",newDataSet:"Data set",newStory:"Story",menuSelectionState_a11y:'"%{item}" selector set to "%{selectedItem}"',unableToShareItem:'Unable to share item "%{item}".',toastFetchingContent:"Getting more content...",unableToGetData:"Unable to get content.",unableToFavorite:"Unable to change the Favorite status.",hpErrorMissingRequiredOptions:"Missing required initialization options",unableToOpenBoard:'Unable to open "%{name}".',unableToDuplicateBoard:'Unable to duplicate "%{name}".',unableToCreateBoard:'Unable to create "%{name}".',unableToCreateBoardNameConflict:"An asset with the same name already exists.",status:"Status",numberOfRows:"Rows",importWarnings:"Warnings",lineNumbers:"Lines",excerptFromSource:"Excerpt",reason:"Reason",numberOfRowsDropped:"rows dropped",oneRowDropped:"1 row was dropped",typeMenuLabel:"Type",dashboardsLabel:"Dashboards",datasetsLabel:"Data sets",storiesLabel:"Stories",allLabel:"All types",datasets:"Data sets",settings:"Properties",add:"Add",widgets:"Widgets",dashboardProperties:"Dashboard properties",storyProperties:"Story properties",pins:"Collection",pinCount:"%{smart_count} collected item |||| %{smart_count} collected items",pinSearch:"Search",pinListView:"List view",pinIconView:"Icon view",pinRemove:"Remove",pinCreate:"Create",pinDateFilter:"Date Filter",pinDateFilterAll:"All",pinDateFilterToday:"Today",pinDateFilterYesterday:"Yesterday",pinDateFilterPastWeek:"Past week",pinDateFilterPastMonth:"Past month",pinDateFilterEarlier:"Earlier",toolbarRegionLabel:"Toolbar",toolbarActionDelete:"Delete",toolbarActionGroup:"Group",toolbarActionUngroup:"Ungroup",toolbarActionOrder:"Order",toolbarActionEditTitle:"Edit the title",toolbarActionPin:"Collect",toolbarActionTimeline:"Set the scene timeline",toolbarActionSort:"Sort",toolbarActionSortAscending:"Sort ascending",toolbarActionSortDescending:"Sort descending",toolbarActionSortAuto:"Auto (%{sortOrder})",toolbarActionFormat:"Format",toolbarActionFormatAbbreviation:"Abbreviate",toolbarActionFormatNone:"Auto",toolbarActionFilter:"Filter",toolbarActionTopBottom:"Top or bottom",toolbarActionToggleShapeDrop:"Infographic shape",toolbarActionToggleShapeDropTitle:"Create an infographic",toolbarActionToggleShapeDropText:"Drag a shape to this field to create an infographic.",toolbarActionAggregationType:"Summarize",toolbarActionFilterLocalKeepSelected:"Keep",toolbarActionFilterLocalExcludeSelected:"Exclude",toolbarActionFilterAllKeepSelected:"Filter",toolbarActionSimpleCalculation:"Simple calculation",toolbarActionDrillBack:"Back",toolbarActionDrillUp:"Drill up",toolbarActionDrillDown:"Drill down",toolbarActionNavigate:"Navigate",toolbarActionCreateFilterGroup:"Create new connection",toolbarActionDisconnectFilterGroup:"Break all links",toolbarActionLinkFilterGroup:"Add to an existing connection",toolbarLabel:"%{labelName}:",toolbarNoValueLabel:"%{labelName}",sidebarAdd:"Add",sidebarMultiselect:"Toggle multiple selection",multiselectMsg:"%{count} selected",multiselectWithTotalMsg:"%{count} of %{total}",sidebarGoBack:"Go back",errorLoadingDataSets:"We can't load this data set",errorLoadingDataSetMetaData:"We can't load this data set",dataSetPaneLastUpdated:"Last updated: %{date}",dataSetPaneDateUnknown:"Unknown",sourcePaneLabel:"Selected sources",addSourceLabel:"Add a source",intentSearchLabel:"Intent search",find_label:"Find",navigationPathsLabel:"Navigation paths",errorLoadingWidgetList:"We can't load the objects.",errorLoadingThemeFile:"We can't load the theme definition",errorLoadingLayoutFile:"We can't load the view.",dwErrorLoadingAvailableVisualizations:"We can't load the available visualization definitions",dwErrorLoadingVisualizationNotFound:"We can't load the object, because it is missing a visualization definition",dwErrorLoadingVisualizationListNotFound:"We can't load the visualization.",dwErrorRunningQuery:"We can't retrieve the data from data set %{datasetName}.",dwErrorGeoData:"We're having trouble displaying the geographic data in a map. Please choose another visualization type. ",dwPromptSignonCancelWarning:"The data for this visualization is unavailable. Please provide the correct credentials.",dwErrorMissingDataset:"We can't load the visualization, because its associated data set '%{datasetName}' isn't available.",dwErrorRenderingVisualization:"We can't load this visualization.",dwErrorVisualizationTooSmall:"The visualization is too small to display the data it contains. Make the visualization larger or limit the data it contains.",aria_label_datatable:"Data table",aria_key_navi_datatable_desc:"Use arrow keys to navigate to each cell. Press Control and Home key to move to the first row, Control and End key to move to the last row.",geomapUnrecognizedLocations:"Unrecognized locations:",geomapAmbiguousLocations:"Ambiguous regions:",customWidget:"Custom widget",noCustomWidgets:"No custom widgets",toggleContextBar:"Toggle the context bar",delete:"Delete",share:"Share",unshare:"Unshare",rename:"Rename",close:"Close",duplicate:"Duplicate",copyOf:"Copy of %{name}",retry:"Retry",changeTemplate:"Change template",sum:"Sum",count:"Count",countdistinct:"Count distinct",avg:"Average",min:"Minimum",max:"Maximum",custom:"Custom",calculated:"Calculated",aggregatedColumnLabel:"%{column} (%{aggregationTypeLabel})",percDifferenceOp:"% change",calculationTitle:"%{col1} %{operator} %{col2}",quickadd:"What do you want to see? For example, Revenue by Year.",templateWidgetPlaceholderInput:"Visualization criteria...",QuickAddResultsHeader:"Data visualizations",NoQuickAddResults:"Nothing matched your intent. Create a new data set?",NoQuickAddResultsRetry:"We can't find any matches. Try again with different terms.",templateWidgetTitle:"Template",nullValueLabel:"(blank)",nullValueContent:"(no value)",textFilterControlRegionLabel:"Text filter - %{columnName}",textFilterSelectTab:"Select",textFilterConditionTab:"Set a condition",textFilterItemsSelected:"(%{selected})",textFilterItemsNotFound:"No items are available.",textFilterEquals:"Equals",textFilterContains:"Contains",textFilterBeginsWith:"Begins with",textFilterEndsWith:"Ends with",textFilterDoesNotEqual:"Does not equal",textFilterDoesNotContain:"Does not contain",textFilterDoesNotBeginWith:"Does not begin with",textFilterDoesNotEndWith:"Does not end with",textFilterSampleText:"For example: A",textFilterAndButton:"And",textFilterOrButton:"Or",dateFilterMessage:"Select a range of dates",dateRangeControlRegionLabel:"Date range filter - %{columnName}",dateFilterRangeOption:"Range option",dateFilterDateLabel:"Date",dateFilterBlank:"(blank)",dateFilterBefore:"Before",dateFilterAfter:"After",dateFilterBetween:"Between",dateFilterSampleText:"YYYY-MM-DD",dateTitle:"Date",dateIncludeBlankLabel:"Include blank date",timeTitle:"Time",timeFilterMessage:"Select a range of times",dateTimeFilterMessage:"Select a range of dates and times",topbottomSelectOption:"Top or bottom option",topbottomOptionLabel:"Show",searchByLabel:"By",searchNoMatches:"No matches found",topbottomRankColumnLabel:"Add a rank column to grid",topbottomNone:"None",topFive:"Top 5",bottomFive:"Bottom 5",topTen:"Top 10",bottomTen:"Bottom 10",topbottomSearchColumn:"Find a column",searchColumnAriaLabel:"Find a column. Type the name of the column to search for then use the down arrow to find the column in a list",rankColumnLabel:"Rank (%{columnLabel})",rangeFilterControlRegionLabel:"Range filter - %{columnName}",sliderRegionLabel:"Slider control, use right and left arrows to move the slider handles",sliderHandleLabel:"Slider handle",a11ySliderHandleLabel:"Slider handle %{sliderValue}",sliderInputLabel:"value",datasetItemsUnavailable:"Some data set items used in this visualization are unavailable.",datasetItemUnavailable:"This data set item is unavailable",topOperator:"Top",bottomOperator:"Bottom",topBottomFact:"%{operator} %{value} by %{columnLabel}",topBottomDimension:"%{operator} %{value}",topBottomTitle:"This object only",deleteTopBottom:"Delete top or bottom count",editTopBottom:"Edit top or bottom count",deleteDrillState:"Delete current drill state",ariaDeleteDrillStateLabel:"Press ENTER key to edit top or bottom count.",drillUpStateTitle:"Drill Up",drillDownStateTitle:"Drill Down",ariaEditTopBottomLabel:"Press ENTER key to edit top or bottom count.",ariaDeleteTopBottomLabel:"Press DELETE key to delete top or bottom count.",dimFilterIn:"Includes: %{in}",dimFilterNotIn:"Excludes: %{out}",measureFilterBetween:"Between %{lowerBound} and %{upperBound}",measureFilterNotBetween:"Not between %{lowerBound} and %{upperBound}",gtFilter:"After %{lowerBound}",ltFilter:"Before %{upperBound}",localFilterTitle:"This object only",globalFilterTitle:"All objects",deleteFilter:"Delete filter",editFilter:"Edit filter",ariaEditFilterLabel:"Press ENTER key to edit filter.",ariaDeleteFilterLabel:"Press DELETE key to delete filter.",ariaEditPrompt:"Press ENTER key to change the prompt value",moreDataIndicator:"Your data was clipped at %{threshold} items. Apply a filter to show less.",dataPointFilterTitle:"Data points",dataPointFilterIncludeSummary:"Included %{valueCount} data points",dataPointFilterExcludeSummary:"Excluded %{valueCount} data points",db2Database:"DB2 Database (%{jdbcConnection})",db2Title:"Connect to IBM DB2",databaseConnectionMessage:"Provide your database connection details:",connectionString:"Database connection string",databaseCredentials:"Credentials: ",databaseUserName:"User name",databasePassword:"Password",databaseConnect:"Connect",twitterTitle:"Twitter",twitterKeywordMessage:"Enter a search term:",twitterKeyword:"Keyword",twitterSearch:"Search",twitterProvider:"Twitter",dropboxProvider:"Dropbox",db2Provider:"DB2",workbookCreateFailed:"We can't create the view: %{error}\nFailed operation: %{lastOp}",widgetFiltersLabel:"Widget filters",missingColumn:"Missing: %{columnLabel}",missingFiltering:"Missing filters on following column IDs:",heatByLabel:"Heat by",evCollapse:"Collapse",evColumns:"Columns",evLocalFilters:"Local filters",evExpand:"Expand",evFilterTooltip:"Filter",evAdd:"Add a column",navigationBack:"Back",storyTellingDefaultSceneTitle:"Scene %{index}",storyTellingTabAddBtnTitle:"Add a new scene",storyTellingOverviewBtnLabel:"Overview",storyTellingSelectSceneWarning:"Please select a scene",storyTellingSceneAddBtnTitle:"Add a new scene",storyTellingNumScenes:"%{index} scenes",storyTellingTimelineDisabledInteraction:"Tap again to pause and interact",timelineRecord:"Record",timelineRecording:"Capturing property changes...",timelinePlay:"Play",timelinePause:"Pause",sceneStart:"Jump to the beginning of the scene",sceneEnd:"Jump to the end of the scene",sceneNavigation:"Scene navigation",navNextScene:"Next scene",navPrevScene:"Previous scene",navPrevSceneAbbreviated:"Prev scene",navExitFullScreen:"Exit full screen",navToggleOverview:"Toggle overview",fullscreen:"Enter full screen",fullscreenMenuLabel:"Full screen",betaStorytelling_1:"This is a Beta feature and is subject to the terms of use found ",betaStorytelling_2:"here",betaStorytelling_3:". By using this Beta feature you agree to those terms.",betaDialog:'Technology Preview Code (TPC) provided with the IBM SaaS are not part of the IBM SaaS. TPC is provided under the same terms as the IBM SaaS, except as provided below. Some or all of the TPC may not be made generally available by IBM as or in a product or offering. You are permitted to use TPC only for internal use for evaluation purposes and not for use in a production environment. You may use the TPC until IBM withdraws the TPC or terminates access to it. IBM provides the TPC without obligation of support and "AS IS," WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE WARRANTY OF TITLE, NON-INFRINGEMENT OR NON-INTERFERENCE AND ANY IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. You should take precautions to avoid any loss of data that might result when the TPC can no longer be used. You agree IBM may use all feedback and suggestions you provide. ',sceneListStart:"Start",sceneListEnd:"End",contentPinFail:"We can't collect the content: %{error}",dropZoneLabel:"Drop here to maximize",shareDefaultPageTitle:"Page %{index}",shareDefaultStoryPageTitle:"Scene %{index}",nextPage:"Next page",previousPage:"Previous page",assetAssembly:"view",assetStory:"story",toolbar_save:"Save",brgr_saveAs:"Save as",brgr_refresh:"Refresh",saving:"Saving...",save_success:"Your view has been saved.",save_failure:"We're sorry. Your view could not be saved. Please try again later.",geminiLeave:"You are about to leave IBM Watson Analytics.",warning:"Warning",missingDataSetData:"The data for this data set is not available. Refresh the data set or contact your administrator for access to the source.",error_calculation_in_use:"The selected calculation is in use and cannot be deleted.",resize:"Resize",rotate:"Rotate",moveHandle:"Move widget",panHandle:"Pan",navigateTitle:"Navigate to",shapeSlideoutTitle:"Shapes",textSlideoutTitle:"Text",mediaSlideoutTitle:"Media",visualizationSlideoutTitle:"Visualizations",invalidJSONResponse:"Provided JSON is invalid. See error log for more information.",shape_label:"Shape",image_label:"Image",data_label:"Chart",media_label:"Media",text_label:"Text",embedMedia_label:"Media",youtube_label:"YouTube video",webpage_label:"Webpage",one_name:"%{name}",one_name_numbered:"%{name} (%{number})",noExtraText_shape:"Shape",noExtraText_shape_numbered:"Shape (%{number})",few_shape:"Group of %{count} shapes",many_shape:"Group of %{count} shapes",one_image:"%{text} image",one_image_number:"%{text} image (%{number})",noExtraText_image:"Image",noExtraText_image_numbered:"Image (%{number})",few_image:"Group of %{count} images",many_image:"Group of %{count} images",noExtraText_text:"Empty text box",noExtraText_text_numbered:"Empty text box (%{number})",few_text:"Group of %{count} text boxes",many_text:"Group of %{count} text boxes",one_named_data:"%{name} chart",one_named_data_numbered:"%{name} chart (%{number})",one_unknown_data:"Chart",one_unknown_data_numbered:"Chart (%{number})",RAVE2_bubble_has_mapping:"%{y} vs %{x} by %{color} bubble chart",RAVE2_bubble_has_mapping_numbered:"%{y} vs %{x} by %{color} bubble chart (%{number})",RAVE2_bubble_no_mapping:"Empty bubble chart",RAVE2_bubble_no_mapping_numbered:"Empty bubble chart (%{number})",RAVE2_bubble_named:"%{name} bubble chart",RAVE2_bubble_named_numbered:"%{name} bubble chart (%{number})",RAVE2_clusteredbar_has_mapping:"%{x} by %{y} bar chart",RAVE2_clusteredbar_has_mapping_numbered:"%{x} by %{y} bar chart (%{number})",RAVE2_clusteredbar_no_mapping:"Empty bar chart",RAVE2_clusteredbar_no_mapping_numbered:"Empty bar chart (%{number})",RAVE2_clusteredbar_named:"%{name} bar chart",RAVE2_clusteredbar_named_numbered:"%{name} bar chart (%{number})",RAVE2_clusteredcolumn_has_mapping:"%{y} by %{x} column chart",RAVE2_clusteredcolumn_has_mapping_numbered:"%{y} by %{x} column chart (%{number})",RAVE2_clusteredcolumn_no_mapping:"Empty column chart",RAVE2_clusteredcolumn_no_mapping_numbered:"Empty column chart (%{number})",RAVE2_clusteredcolumn_named:"%{name} column chart",RAVE2_clusteredcolumn_named_numbered:"%{name} column chart (%{number})",crosstab_opt_mapping:"%{values} by %{row_level1} and %{column_level1}",crosstab_opt_mapping_numbered:"%{values} by %{row_level1} and %{column_level1} (%{number})",crosstab_has_mapping:"%{values} by %{row_level1}",crosstab_has_mapping_numbered:"%{values} by %{row_level1} (%{number})",crosstab_no_mapping:"Empty crosstab",crosstab_no_mapping_numbered:"Empty crosstab (%{number})",crosstab_named:"%{name} crosstab",crosstab_named_numbered:"%{name} crosstab (%{number})",dataPlayer_has_mapping:"%{categories} data player",dataPlayer_has_mapping_numbered:"%{categories} data player (%{number})",dataPlayer_no_mapping:"Empty data player",dataPlayer_no_mapping_numbered:"Empty data player (%{number})",dataPlayer_named:"%{name} data player",dataPlayer_named_numbered:"%{name} data player (%{number})",JQGrid_has_mapping:"%{grid_cols} grid",JQGrid_has_mapping_numbered:"%{grid_cols} grid (%{number})",JQGrid_no_mapping:"Empty grid",JQGrid_no_mapping_numbered:"Empty grid (%{number})",JQGrid_named:"%{name} grid",JQGrid_named_numbered:"%{name} grid (%{number})",RAVE2_heatmap_has_mapping:"%{color} by %{x} and %{y} heatmap",RAVE2_heatmap_has_mapping_numbered:"%{color} by %{x} and %{y} heatmap (%{number})",RAVE2_heatmap_no_mapping:"Empty heatmap",RAVE2_heatmap_no_mapping_numbered:"Empty heatmap (%{number})",RAVE2_heatmap_named:"%{name} heatmap",RAVE2_heatmap_named_numbered:"%{name} heatmap (%{number})",hierarchy_has_mapping:"%{level1} hierarchy",hierarchy_has_mapping_numbered:"%{level1} hierarchy (%{number})",hierarchy_no_mapping:"Empty hierarchy",hierarchy_no_mapping_numbered:"Empty hierarchy (%{number})",hierarchy_named:"%{name} hierarchy",hierarchy_named_numbered:"%{name} hierarchy (%{number})",map_has_mapping:"%{values} by %{categories} map",map_has_mapping_numbered:"%{values} by %{categories} map (%{number})",map_no_mapping:"Empty map",map_no_mapping_numbered:"Empty map (%{number})",map_named:"%{name} map",map_named_numbered:"%{name} map (%{number})",RAVE2_compositeSmoothOneDataSet_has_mapping:"Line and column chart",RAVE2_compositeSmoothOneDataSet_has_mapping_numbered:"Line and column chart (%{number})",RAVE2_compositeSmoothOneDataSet_named:"%{name} line and column chart",RAVE2_compositeSmoothOneDataSet_named_numbered:"%{name} line and column chart (%{number})",RAVE2_tiledmap_has_mapping:"%{value} by %{featureId} map",RAVE2_tiledmap_has_mapping_numbered:"%{value} by %{featureId} map (%{number})",RAVE2_tiledmap_no_mapping:"Empty map",RAVE2_tiledmap_no_mapping_numbered:"Empty map (%{number})",RAVE2_tiledmap_named:"%{name} map",RAVE2_tiledmap_named_numbered:"%{name} map (%{number})",RAVE2_packedBubble_has_mapping:"%{label} by %{size} bubble chart",RAVE2_packedBubble_has_mapping_numbered:"%{label} by %{size} bubble chart (%{number})",RAVE2_packedBubble_no_mapping:"Empty bubble chart",RAVE2_packedBubble_no_mapping_numbered:"Empty bubble chart (%{number})",RAVE2_packedBubble_named:"%{name} bubble chart",RAVE2_packedBubble_named_numbered:"%{name} bubble chart (%{number})",RAVE2_pie_has_mapping:"%{value} by %{color} pie chart",RAVE2_pie_has_mapping_numbered:"%{value} by %{color} pie chart (%{number})",RAVE2_pie_no_mapping:"Empty pie chart",RAVE2_pie_no_mapping_numbered:"Empty pie chart (%{number})",RAVE2_pie_named:"%{name} pie chart",RAVE2_pie_named_numbered:"%{name} pie chart (%{number})",RAVE2_point_has_mapping:"%{y} by %{x} point chart",RAVE2_point_has_mapping_numbered:"%{y} by %{x} point chart (%{number})",RAVE2_point_no_mapping:"Empty point chart",RAVE2_point_no_mapping_numbered:"Empty point chart (%{number})",RAVE2_point_named:"%{name} point chart",RAVE2_point_named_numbered:"%{name} point chart (%{number})",RAVE2_dial_has_mapping:"%{value} by %{label} radial chart",RAVE2_dial_has_mapping_numbered:"%{value} by %{label} radial chart (%{number})",RAVE2_dial_no_mapping:"Empty radial chart",RAVE2_dial_no_mapping_numbered:"Empty radial chart (%{number})",RAVE2_dial_named:"%{name} radial chart",RAVE2_dial_named_numbered:"%{name} radial chart (%{number})",RAVE2_multipleDialCategoryLabel_has_mapping:"%{value} by %{category} radial bar chart",RAVE2_multipleDialCategoryLabel_has_mapping_numbered:"%{value} by %{category} radial bar chart (%{number})",RAVE2_multipleDialCategoryLabel_no_mapping:"Empty radial bar chart",RAVE2_multipleDialCategoryLabel_no_mapping_numbered:"Empty radial bar chart (%{number})",RAVE2_multipleDialCategoryLabel_named:"%{name} radial bar chart",RAVE2_multipleDialCategoryLabel_named_numbered:"%{name} radial bar chart (%{number})",RAVE2_scatter_opt_mapping:"%{label} by %{x} and %{y} scatter plot",RAVE2_scatter_opt_mapping_numbered:"%{label} by %{x} and %{y} scatter plot (%{number})",RAVE2_scatter_has_mapping:"%{x} vs %{y} scatter plot",RAVE2_scatter_has_mapping_numbered:"%{x} vs %{y} scatter plot (%{number})",RAVE2_scatter_no_mapping:"Empty scatter plot",RAVE2_scatter_no_mapping_numbered:"Empty scatter plot (%{number})",RAVE2_scatter_named:"%{name} scatter plot",RAVE2_scatter_named_numbered:"%{name} scatter plot (%{number})",RAVE2_smoothArea_has_mapping:"%{y} by %{x} smooth area chart",RAVE2_smoothArea_has_mapping_numbered:"%{y} by %{x} smooth area chart (%{number})",RAVE2_smoothArea_no_mapping:"Empty smooth area chart",RAVE2_smoothArea_no_mapping_numbered:"Empty smooth area chart (%{number})",RAVE2_smoothArea_named:"%{name} smooth area chart",RAVE2_smoothArea_named_numbered:"%{name} smooth area chart (%{number})",RAVE2_smoothline_has_mapping:"%{y} by %{x} smooth line chart",RAVE2_smoothline_has_mapping_numbered:"%{y} by %{x} smooth line chart (%{number})",RAVE2_smoothline_no_mapping:"Empty smooth line chart",RAVE2_smoothline_no_mapping_numbered:"Empty smooth line chart (%{number})",RAVE2_smoothline_named:"%{name} smooth line chart",RAVE2_smoothline_named_numbered:"%{name} smooth line chart (%{number})",RAVE2_stackedbar_has_mapping:"%{x} by %{y} bar chart",RAVE2_stackedbar_has_mapping_numbered:"%{x} by %{y} bar chart (%{number})",RAVE2_stackedbar_no_mapping:"Empty bar chart",RAVE2_stackedbar_no_mapping_numbered:"Empty bar chart (%{number})",RAVE2_stackedbar_named:"%{name} bar chart",RAVE2_stackedbar_named_numbered:"%{name} bar chart (%{number})",RAVE2_stackedcolumn_has_mapping:"%{x} by %{y} column chart",RAVE2_stackedcolumn_has_mapping_numbered:"%{x} by %{y} column chart (%{number})",RAVE2_stackedcolumn_no_mapping:"Empty column chart",RAVE2_stackedcolumn_no_mapping_numbered:"Empty column chart (%{number})",RAVE2_stackedcolumn_named:"%{name} column chart",RAVE2_stackedcolumn_named_numbered:"%{name} column chart (%{number})",summary_has_mapping:"%{values} summary value",summary_has_mapping_numbered:"%{values} summary value (%{number})",summary_no_mapping:"Empty summary value",summary_no_mapping_numbered:"Empty summary value (%{number})",summary_named:"%{name} summary value",summary_named_numbered:"%{name} summary value (%{number})",infographicSummary_has_mapping:"%{values} infographic",infographicSummary_has_mapping_numbered:"%{values} infographic (%{number})",infographicSummary_no_mapping:"Empty infographic",infographicSummary_no_mapping_numbered:"Empty infographic (%{number})",infographicSummary_named:"%{name} infographic",infographicSummary_named_numbered:"%{name} infographic (%{number})",treeMap_has_mapping:"%{categories} by %{values} tree map",treeMap_has_mapping_numbered:"%{categories} by %{values} tree map (%{number})",treeMap_no_mapping:"Empty tree map",treeMap_no_mapping_numbered:"Empty tree map (%{number})",treeMap_named:"%{name} tree map",treeMap_named_numbered:"%{name} tree map (%{number})",RAVE2_wordcloud_has_mapping:"%{label} word cloud",RAVE2_wordcloud_has_mapping_numbered:"%{label} word cloud (%{number})",RAVE2_wordcloud_no_mapping:"Empty word cloud",RAVE2_wordcloud_no_mapping_numbered:"Empty word cloud (%{number})",RAVE2_wordcloud_named:"%{name} word cloud",RAVE2_wordcloud_named_numbered:"%{name} word cloud (%{number})",few_data:"Group of %{count} charts",many_data:"Group of %{count} charts",noExtraText_youtube:"YouTube video",noExtraText_youtube_numbered:"YouTube video (%{number})",one_youtube:"%{text} YouTube video",one_youtube_numbered:"%{text} YouTube video (%{number})",few_youtube:"Group of %{count} YouTube videos",many_youtube:"Group of %{count} YouTube videos",noExtraText_embedMedia:"Media link",noExtraText_embedMedia_numbered:"Media link (%{number})",one_embedMedia:"%{text} media link",one_embedMedia_numbered:"%{text} media link (%{number})",few_embedMedia:"Group of %{count} media links",many_embedMedia:"Group of %{count} media links",noExtraText_media:"Media",noExtraText_media_numbered:"Media (%{number})",one_media:"%{text} media",one_media_numbered:"%{text} media (%{number})",few_media:"Group of %{count} media",many_media:"Group of %{count} media",noExtraText_webpage:"Web page",noExtraText_webpage_numbered:"Web page (%{number})",one_webpage:"%{text} web page",one_webpage_numbered:"%{text} web page (%{number})",few_webpage:"Group of %{count} web pages",many_webpage:"Group of %{count} web pages",one_unknown:"An object",one_unknown_numbered:"An object (%{number})",few_unknown:"Group of %{count} objects",many_unknown:"Group of %{count} objects",next:"Next",previous:"Previous",current_nav_group:"Current navigation group is %{navigation_group_name}",filterBlank:"(blank)"},cs:!0,da:!0,de:!0,es:!0,fi:!0,fr:!0,hr:!0,hu:!0,it:!0,ja:!0,kk:!0,ko:!0,no:!0,nb:!0,nl:!0,pl:!0,pt:!0,"pt-br":!0,ro:!0,ru:!0,sl:!0,sv:!0,th:!0,tr:!0,zh:!0,"zh-cn":!0,"zh-tw":!0}),define("bacontentnav/lib/gemini/app/nls/StringResources",["i18n!../../dashboard/nls/DashboardResources","i18n!../nls/DashboardResources","polyglot"],function(e,t,i){var n=new i({phrases:e,allowMissing:!0}),a=new i({phrases:t}),o=function(){};return o.prototype.get=function(e,t){var i=n.t(e,t);return i===e&&(i=a.t(e,t)),i},new o}),define("bacontentnav/lib/gemini/app/ui/dialogs/BaseDialog",["../../../../@waca/core-client/js/core-client/ui/core/Class","jquery","underscore","../../nls/StringResources","../../../../@waca/core-client/js/core-client/utils/EventHelper"],function(e,r,t,i){"use strict";return e.extend({_buttons:["ok","cancel"],_showCloseX:!1,_width:null,_minWidth:null,init:function(e){this._dialogId=t.uniqueId("modalDialog_"),this._queryId="#"+this._dialogId,this._defaultKeyMap={13:this.ok,27:this.cancel},this.keyMap=this._getKeyCodeMap(),this.setDialogOptions(e)},_getKeyCodeMap:function(){return this._defaultKeyMap},setDialogOptions:function(e){e&&(e.width&&(this._width=e.width),e.minWidth&&(this._minWidth=e.minWidth),e.showCloseX&&(this._showCloseX=e.showCloseX),e.buttons&&(this._buttons=e.buttons))},destroy:function(){r(this._queryId).remove()},remove:function(){this.destroy()},hide:function(){r(this._queryId).removeClass("show"),this.destroy()},open:function(){this.showBlocker(),this.show()},getBlockerCell:function(){return r("
",{id:this._dialogId+"Container",class:"dialogBlockerCell"})},showBlocker:function(){var e=r(this._queryId);if(!e.length){(e=r("
",{id:this._dialogId,class:"dialogBlocker show"})).height(r(document).height());var t=this.getBlockerCell();r("body").append(e.append(t.text(i.get("dlg_loading")))),e.on("keydown",this.onKey.bind(this))}},show:function(){var e=this._container();if(this._width&&e.css("max-width",this._width),this._minWidth&&e.css("min-width",this._minWidth),e.length){e.empty();var t=r("
",{class:"dialogHeader"}),i=this.renderTitle(r("
",{class:"dialogTitle"})),n=this.renderCloseX(),a=this.renderContent(r("
",{class:"dialogContent"})),o=this.renderFooter(r("