12345678910 |
- /**
- * IBM Confidential OCO Source Materials IBM Business Platform: Dashboards
- * (C) Copyright IBM Corp. 2016, 2020
- *
- * 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
- */
- function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},_createClass=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};define("dashboard-core/js/app/util/ErrorUtils",["underscore"],(function(e){return{_getResponse:function(e){var t=e.responseJSON;return t||e.responseText&&e.responseText.length>0&&(t=JSON.parse(e.responseText)),t||{}},_getCAFCode:function(e){var t,o=e.messages&&e.messages[0];return o&&-1!==o.indexOf("CM-REQ-4032")&&(t="cmEmptySelection"),t},showError:function(t,o,i){var n=this._getResponse(o),a=void 0,r=n.errorCode,s=t.appController.currentAppView.currentContentView.services.getSvcSync(".StringResources");return r&&("caf"===r&&(r=this._getCAFCode(n)||r),a=s.get(r,e.extend({_:"NOT_FOUND"},i))),a&&"NOT_FOUND"!==a||(a=n.messages&&n.messages[0]),a&&0!==a.length||(a=s.get("saveFailed")),setTimeout((function(){t.appController.showToast(a,{type:"error",preventDuplicates:!0})}),10),r},getErrorCode:function(e){var t=e.responseJSON;return t||(t=JSON.parse(e.responseText)),t.errorCode},hasCapability:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"canUseInteractiveDashboard",o=void 0;if(e.getCoreSvc){var i=e.getCoreSvc(".DashboardCoreService");o=i.getFeature("UserProfile")}else o=e.getFeature("UserProfile");return o.hasCapability(t)}}})),define("dashboard-core/js/dashboard/glass/controllers/NewDashboardActionHandler",["../../../app/util/ErrorUtils","underscore"],(function(e,t){return function(){function o(){_classCallCheck(this,o)}return o.prototype.onSelectItem=function(e){this._openCreateView(e)},o.prototype.isItemVisible=function(e){return this.canExecute(e)},o.prototype.doAction=function(e){return this._openCreateView(e)},o.prototype.canExecute=function(t){var o=this._isSelectionValid(t,!0);return e.hasCapability(t.glassContext,"canAuthorDashboard")&&o},o.prototype._openCreateView=function(e){var t={content:{}},o=this._getSources(e);return o&&o.length>0&&(t.content.sources=o),e.glassContext.appController.openAppView("createBoard",t)},o.prototype._getSources=function(e){var o=null;if(this._isSelectionValid(e,!1)){o=[];for(var i=e.target.activeObject.aSelectedContext,n=0;n<i.length;n++)o.push({assetId:i[n].id,type:i[n].type,name:i[n].defaultName,searchPath:i[n].searchPath,isOlapPackage:i[n].userInterfaces&&t.indexOf(i[n].userInterfaces,"analysisStudio")>=0})}return o},o.prototype._isSelectionValid=function(e,o){var i=["module","dataSet2","uploadedFile","package","data_asset"],n=e.target&&e.target.activeObject&&e.target.activeObject.aSelectedContext;if(n){for(var a=0;a<n.length;a++){var r=i;if(t.intersection([n[a].type],r).length<1)return!1;var s=["read"];if(t.intersection(n[a].permissions,s).length<s.length)return!1;if(n[a].disabled&&"true"===n[a].disabled.toString().toLowerCase())return!1}return!0}return o||!1},o}()})),define("dashboard-core/js/dashboard/glass/controllers/PinningActionHandler",["../../../lib/@waca/dashboard-common/dist/glass/controllers/BaseSlideoutActionHandler","../../../app/nls/StringResources"],(function(e,t){return e.extend({getExtraCustomSpec:function(e){var o=e.glassContext,i=e.target,n=i&&i.plugin&&i.plugin.itemSpec,a=n&&n.content&&n.content.module||"dashboard-core/js/pinning/PinView",r=o.appController.getCurrentContentView();return{id:"dashboardPanel",reuseSlideout:!0,width:"400px",position:"left",resizable:{min:300},pinning:{isPinned:!0,float:!1,display:!1},label:t.get("pinsOld"),content:{module:a,glassContext:o,services:r.services,canvasController:r.boardLoader.canvasController}}}})})),define("dashboard-core/js/dashboard/widgets/staticwidget/StaticWidget",["underscore","../../../lib/@waca/dashboard-common/dist/ui/WidgetBase"],(function(e,t){var o=t.extend({focusOn:!1,init:function(){o.inherited("init",this,arguments)},onContainerReady:function(){o.inherited("onContainerReady",this,arguments)},onChromeSelected:function(){o.inherited("onChromeSelected",this,arguments),this.onFocus()},onChromeDeselected:function(){o.inherited("onChromeDeselected",this,arguments),this.focusOn=!1},onFocus:function(){this.focusOn||(this.focusOn=!0)},getHtmlRender:function(){return null},getWidgetStyleNode:function(){return this.$el.children(".staticContent")},onPropertyUpdate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.inherited("onPropertyUpdate",this,arguments),this.updateModelContent(null,e.transactionId,e.sender)},updateModelContent:function(t,o){t||(t=this.getHtmlRender());var i={};o?e.extend(i,{payloadData:{undoRedoTransactionId:o}}):e.extend(i,{silent:!0}),this.set({content:t},i)}});return o})),define("dashboard-core/js/dashboard/widgets/staticwidget/ShapeWidget",["./StaticWidget","../../../lib/@waca/dashboard-common/dist/utils/HtmlXSSUtils","jquery","underscore","../../../app/nls/StringResources"],(function(e,t,o,i,n){var a='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="staticContent" height="100%" width="100%" preserveAspectRatio="none" viewBox="$viewBox$">',r='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="staticContent shapesLine" height="100%" width="100%" preserveAspectRatio="none" viewBox="$viewBox$">',s=["<altGlyph>","<altGlyphDef>","<altGlyphItem>","<animate>","<animateMotion>","<animateTransform>","<circle>","<clipPath>","<color-profile>","<cursor>","<defs>","<desc>","<ellipse>","<feBlend>","<feColorMatrix>","<feComponentTransfer>","<feComposite>","<feConvolveMatrix>","<feDiffuseLighting>","<feDisplacementMap>","<feDistantLight>","<feFlood>","<feFuncA>","<feFuncB>","<feFuncG>","<feFuncR>","<feGaussianBlur>","<feImage>","<feMerge>","<feMergeNode>","<feMorphology>","<feOffset>","<fePointLight>","<feSpecularLighting>","<feSpotLight>","<feTile>","<feTurbulence>","<filter>","<font>","<font-face>","<font-face-format>","<font-face-name>","<font-face-src>","<font-face-uri>","<foreignObject>","<g>","<glyph>","<glyphRef>","<hkern>","<image>","<line>","<linearGradient>","<marker>","<mask>","<missing-glyph>","<mpath>","<path>","<pattern>","<polygon>","<polyline>","<radialGradient>","<rect>","<set>","<stop>","<svg>","<switch>","<symbol>","<text>","<textPath>","<title>","<tref>","<tspan>","<use>","<view>","<vkern>"],d=null;return(d=e.extend({init:function(e){d.inherited("init",this,arguments),this.model=this.model||{},this.model.content=e&&e.initialConfigJSON&&e.initialConfigJSON.content,this.model.content&&this.isValidHtmlContent(this.model.content)&&(this.model.borderColor=e&&e.initialConfigJSON&&e.initialConfigJSON.borderColor,this.model.fillColor=e&&e.initialConfigJSON&&e.initialConfigJSON.fillColor,this.model.name=e&&e.initialConfigJSON&&e.initialConfigJSON.name,this.$el.append(t.cleanseContentElements(this.model.content,s,!0)),this.applyCommonProperties())},getHtmlRender:function(){var e,t=this.$el;window.XMLSerializer?e=(new XMLSerializer).serializeToString(t[0]):e=t.outerHTML;return e},getWidgetStyleNode:function(){return this.$el.children(".staticContent")},registerEventGroup:function(){},updateModelContent:function(e,o){e=e?t.cleanseContentElements(e,s,!0):t.cleanseContentElements(this.getHtmlRender(),s,!0);var n={};o?i.extend(n,{payloadData:{undoRedoTransactionId:o}}):i.extend(n,{silent:!0}),this.set({content:e},n)}})).getDefaultSpec=function(e,i){var d,c="shapesLine"===e?"borderColor":"fillColor",l="shapesLine"===e?"fillColor":"borderColor",u=i.ext?e:n.get(e);if(i.template){var p=i.template,h=i&&i.viewBox||"0 0 100 100",f="shapesLine"===e?r:a;f=f.replace("$viewBox$",h),d=t.cleanseContentElements(f+p.replace(/(\/?>)/g,' vector-effect="non-scaling-stroke" $1')+"</svg>",s,!0)}else d=t.cleanseContentElements(function(e){var t="Line"===e?r:a,i=document.getElementById(e).getAttribute("viewBox");t=t.replace("$viewBox$",i);var n=o("body #"+e).children()[1];return t+(n=(new XMLSerializer).serializeToString(n))+"</svg>"}(i.icon),s,!0);var g={model:{type:"shape",name:u,content:d},layoutProperties:{style:{width:"120px",height:"120px"}}};if(i.dashboardApi){var b=i.dashboardApi.getFeature("Colors"),m=b.getDashboardColorSet();i.fillColor&&b.isColorIdValidForDashboadColorSet(i.fillColor)?g.model[c]=i.fillColor:g.model[c]=m[m.length-1].id}else g.model[c]=i.fillColor;return g.model[l]=i.borderColor,Promise.resolve(g)},d.addFillAndBorderToAvatarIfNeeded=function(e,t){var o=e.find("svg.staticContent")[0],i=o.getAttribute("class").split(/\s+/g);t.model.fillColor&&i.push("fill-"+t.model.fillColor),t.model.borderColor&&i.push("border-"+t.model.borderColor),o.setAttribute("class",i.join(" "))},d})),define("dashboard-core/js/dashboard/glass/controllers/WidgetsPanelHandler",["underscore","../../../lib/@waca/dashboard-common/dist/glass/controllers/WidgetBaseActionHandler","../../../app/nls/StringResources","../../../lib/@waca/core-client/js/core-client/utils/ClassFactory","../../widgets/staticwidget/ShapeWidget"],(function(e,t,o,i,n){return t.extend({getDashboardView:function(e){return e.glassContext.appController.getCurrentContentView()},getUiHelperClass:function(){return i.loadModule("dashboard-core/js/lib/@waca/dashboard-common/dist/ui/WidgetAddUIHelper")},createWidgetAddUIHelper:function(e){var t=this.getDashboardView(e);return this.uiHelperClassOptions={dashboardApi:t.getDashboardApi(),services:t.services},this.getUiHelperClass().then(function(o){var i=new o(this.uiHelperClassOptions);return i.panelAttributes={canvasController:t.boardLoader.canvasController,cdnUrl:t.getCDNUrl(),ajaxSvc:t.ajaxSvc,glassContext:e.glassContext},i}.bind(this))},getOptions:function(e){var t=this.getDashboardView(e),i={className:"widgetsPanelSlideout",title:o.get("widgetsPanelTitle"),module:"dashboard-core/js/dashboard/views/WidgetsPanelView",getEntries:this.getEntries.bind(this,e),services:t.services,dashboardApi:t.getDashboardApi()};return Promise.resolve(i)},getEntries:function(e){var t=e.glassContext;return Promise.all([this._getShapeWidgets(t),this._getImageLibrary(t),this._getWidgets(t)]).then((function(e){var t=e[0],o=e[1],i={widgets:e[2],images:{},shapeWidgets:t};return o&&o.list&&o.list.length>0&&(i.images=o),i})).then(this.getSpecs.bind(this,e))},getSpecs:function(t,i){var n=this._getWidgetColorsHelper(i.widgets),a=t.glassContext.getCoreSvc(".Config").getConfigValue("BIProxy.jupyter",!1);return Promise.all([this.createWidgetAddUIHelper(t),this._getShapeSpecHelper(i.shapeWidgets,n),this._getImageLibrarySpecHelper(i.images),a]).then(function(t){var n=t[0],a=t[1],r=t[2],s=t[3],d=n.dashboardApi.getFeature("Icons"),c={items:[{value:o.get("widgetsPanelTitle"),name:"widgetsPanel",type:"Banner",editable:!1},{type:"Separator"}]},l={onItemClick:n.addWidgetBySelection.bind(n),onItemStartDrag:n.addWidgetByDrag.bind(n)},u={name:o.get("widgetsPanelTitle"),module:"dashboard-core/js/dashboard/contentpane/PropertyUIControlView",items:[{type:"SectionLabel",name:"basicWidgets",label:o.get("widgetsPanelSectionBasic")},{type:"IconCollection",id:e.uniqueId("basic_"),options:l,items:[{label:o.get("textWidgetLabel"),name:o.get("textWidgetLabel"),icon:d.getIcon("text-creation").id,content:{widget:"dashboard-core/js/dashboard/widgets/staticwidget/TextWidget",title:o.get("textWidgetLabel")}},{label:o.get("imageWidgetLabel"),name:o.get("imageWidgetLabel"),icon:d.getIcon("image").id,content:{widget:"dashboard-core/js/dashboard/widgets/staticwidget/ImageWidget",name:o.get("imageWidgetLabel"),title:o.get("imageWidgetLabel")}},{label:o.get("mediaWidgetLabel"),name:o.get("mediaWidgetLabel"),icon:d.getIcon("video-file").id,content:{widget:"dashboard-core/js/dashboard/widgets/staticwidget/MediaWidget",name:o.get("mediaWidgetLabel"),title:o.get("mediaWidgetLabel")}},{label:o.get("webpageWidgetLabel"),name:o.get("webpageWidgetLabel"),icon:d.getIcon("webpage").id,content:{widget:"dashboard-core/js/dashboard/widgets/staticwidget/WebpageWidget",name:o.get("webpageWidgetLabel"),title:o.get("webpageWidgetLabel")}}]},{type:"Separator"}]};if(this._addWidgets(i.widgets.list,"basicWidgets",u.items[1].items),s){var p={name:o.get("widgetsPanelTitle"),module:"dashboard-core/js/dashboard/contentpane/PropertyUIControlView",items:[{type:"SectionLabel",name:"advancedWidgets",label:o.get("widgetsPanelSectionAdvanced")},{type:"IconCollection",id:e.uniqueId("advanced_"),options:l,items:[{label:o.get("notebookWidgetLabel"),name:o.get("notebookWidgetLabel"),icon:d.getIcon("data-notebook").id,content:{widget:"notebook/DashboardWidget",title:o.get("notebookWidgetLabel")}}]},{type:"Separator"}]};u.items.push(p)}var h={name:o.get("widgetsPanelTitle"),module:"dashboard-core/js/dashboard/contentpane/PropertyUIControlView",items:[{type:"SectionLabel",name:"shapeWidgets",label:o.get("widgetsPanelSectionShapes")},{type:"IconCollection",id:e.uniqueId("shapes_"),options:l,items:a}]};if(u.items.push(h),r&&r.length>0){var f={name:o.get("widgetsPanelImageLibraryTab"),module:"dashboard-core/js/dashboard/contentpane/PropertyUIControlView",items:[{type:"IconCollection",id:e.uniqueId("images_"),options:l,items:r}]};c.items.push({type:"TabControl",name:"tabControl",items:[u,f]})}else c.items.push(u);return c}.bind(this))},_addWidgets:function(e,t,o){(e||[]).filter((function(e){return e.sections&&-1!==e.sections.indexOf(t)})).forEach((function(e){o.push({label:e.label,name:e.label,icon:e.icon,content:{widget:e.widget,name:e.label,title:e.label}})}))},_getShapeSpecHelper:function(t,i){var a=[],r=i&&i.shape;return e.each(t.list,(function(e){e.options.fillColor=r.fillColor,e.options.borderColor=r.borderColor,e.options.fillColorIndex=r.fillColorIndex,e.options.borderColorIndex=r.borderColorInder;var t=n.getDefaultSpec(e.name,e.options).then((function(t){return{label:o.get(e.name),name:o.get(e.name),svg:t.model.content,content:e}}));a.push(t)})),Promise.all(a)},_getImageLibrarySpecHelper:function(t){var o=[];return t.list&&e.each(t.list,(function(e){o.push({label:e.name,name:e.name,image:e.options,content:e})})),Promise.resolve(o)},_getWidgetColorsHelper:function(t){var o={};if(t.list){var i=function(t,o){return e.find(t,(function(e){return e.id===o}))};e.each(t.list,(function(e){if(o[e.id]={},e.propertyList){var t=i(e.propertyList,"fillColor"),n=i(e.propertyList,"borderColor");o[e.id].fillColor=t&&t.defaultValue,o[e.id].borderColor=n&&n.defaultValue}}))}return o},_getShapeWidgets:function(e){return this._getEntries(e,"com.ibm.bi.dashboard.shapes","dashboard-core/js/dashboard/widgets/staticwidget/ShapeWidget")},_getImageLibrary:function(e){return this._getEntries(e,"com.ibm.bi.common.media","dashboard-core/js/dashboard/widgets/staticwidget/ImageWidget")},_getWidgets:function(e){return this._getEntries(e,"com.ibm.bi.dashboard.widgets","dashboard-core/js/dashboard/widgets/staticwidget/StaticWidget")},_getEntries:function(t,o,i){return this.createWidgetAddUIHelper({glassContext:t}).then((function(e){return e.fetchWidgetListFromPerspective(o,t)})).then((function(t){return t&&e.each(t.list,(function(e){e.widget||(e.widget=i)})),t}))}})})),define("dashboard-core/js/dashboard/glass/controllers/CustomWidgetActionHandler",["../../../lib/@waca/dashboard-common/dist/glass/controllers/WidgetBaseActionHandler","../../../app/nls/StringResources","../../../lib/@waca/core-client/js/core-client/utils/ClassFactory","underscore"],(function(e,t,o,i){return e.extend({getDashboardView:function(e){return e.glassContext.appController.getCurrentContentView()},getUiHelperClass:function(){return o.loadModule("dashboard-core/js/lib/@waca/dashboard-common/dist/ui/WidgetAddUIHelper")},getOptions:function(e){var o=this,i=this.getDashboardView(e),n=i.getDashboardApi(),a={module:"dashboard-core/js/dashboard/views/CustomWidgetListView",label:t.get("customWidgetsTitle"),getEntries:this.getEntries.bind(this),className:"customWidgetSlideout",services:i.services,dashboardApi:n};return this._createWidgetAddUIHelper(e,n).then((function(e){return a.onItemClick=function(t,i){return o._onItemClickHandler(t,i,e,n)},a.onItemStartDrag=e.addWidgetByDrag.bind(e),a}))},_onItemClickHandler:function(e,t,o,i){var n=i.getFeature("Logger"),a=i.getFeature("Canvas");return i.getFeature("ContentTypeRegistry").isTypeRegistered(e.type)?a.addContent(e.defaultSpec).catch((function(e){n.log(e)})):o.addWidgetBySelection(e,t)},getEntries:function(e){var t=this.getDashboardView(e).getDashboardApi(),o=t.getFeature("ContentTypeRegistry");return this._createWidgetAddUIHelper(e,t).then((function(t){return t.fetchWidgetListFromPerspective("com.ibm.bi.dashboard.widgets",e.glassContext)})).then((function(e){return e.list=i.filter(e.list,(function(e){return!e.builtin})),e.list=e.list.concat(o.getExposedContents()),e}))},_createWidgetAddUIHelper:function(e,t){var o={services:this.getDashboardView(e).services,dashboardApi:t};return this.getUiHelperClass().then((function(i){var n=new i(o);return n.panelAttributes={cdnUrl:t.getCDNUrl(),glassContext:e.glassContext},n}))}})})),define("dashboard-core/js/dashboard/glass/BaseView",["../../lib/@waca/baglass/js/baglass/app/ContentView","jquery","underscore","bspopover","jquery-ui"],(function(e,t,o){var i=e.extend({init:function(e){i.inherited("init",this,arguments),this.options=e||{}},getCDNUrl:function(){var e=require.toUrl("dashboard-cdn"),t="";return-1===e.indexOf("empty:")&&(t=e),t+"dashboard-core/"},render:function(){return Promise.resolve()},remove:function(){this.boardModel&&this.boardModel.off(),i.inherited("remove",this,arguments)},getTitle:function(){},deactivate:function(){t(".popover").popover("hide"),this.$children=this.$el.children(),this.$children.detach();var e=this.getContent();return e&&o.extend(this.options,e),Promise.resolve()},activate:function(){return this.$children&&(this.$el.append(this.$children),setTimeout((function(){try{t(window).resize()}catch(e){}}),100),this.$children=null),Promise.resolve()},clearTransientState:function(){this.transientState={}},setTransientState:function(e,t){this.transientState||(this.transientState={}),this.transientState[e]=t},getTransientState:function(e){var t=null;return this.transientState&&(t=this.transientState[e]),t}});return i})),define("dashboard-core/js/dashboard/services/LifeCycleManager",[],(function(){var e={init:function(){this._cycleEvents={}},registerLifeCycleHandler:function(e,t,o){if("function"!=typeof t)throw new Error("Action for "+e+" must be a function");if(o&&("number"!=typeof o||!isFinite(o)||Math.floor(o)!==o))throw new Error("Priority for "+e+" must be an integer");this._createEvent(e);var i={handler:t,priority:o||0};return this._cycleEvents[e].actions.push(i),{remove:function(){null!==this._cycleEvents&&this._cycleEvents.hasOwnProperty(e)&&(this._cycleEvents[e].actions=this._cycleEvents[e].actions.filter((function(e){return e!==i})))}.bind(this)}},invokeLifeCycleHandlers:function(e,t){return Promise.resolve().then(function(){var o=Promise.resolve();return this._cycleEvents.hasOwnProperty(e)&&(this._cycleEvents[e].actions.sort((function(e,t){return t.priority-e.priority})),this._cycleEvents[e].actions.forEach((function(e){o=o.then(e.handler.bind(e.handler,t))}))),o}.bind(this))},destroy:function(){this._cycleEvents=null},_getCycleEvents:function(){return this._cycleEvents},_createEvent:function(e){this._cycleEvents.hasOwnProperty(e)||(this._cycleEvents[e]={actions:[]})}};function t(e){this.init(e)}return Object.keys(e).forEach((function(o){t.prototype[o]=e[o]})),t})),define("dashboard-core/js/dashboard/services/DashboardStringService",["underscore","../../app/nls/StringResources","../../lib/@waca/core-client/js/core-client/utils/Lexicon"],(function(e,t,o){var i={init:function(){this.polys=[{priority:100,resource:t}]},register:function(t,o){var i={priority:o,resource:t};if(!e.find(this.polys,(function(e){return e.priority===o&&e.resource===t}))){var n=e.sortedIndex(this.polys,i,"priority");this.polys.splice(n,0,i)}},get:function(e,t){for(var i=e,n=0;n<this.polys.length&&(e==(i=this.polys[n].resource.get(e,t))||0===i.indexOf(o.NOT_TRANSLATED));n++);return i},destroy:function(){this.polys=null}};function n(e){this.init(e)}return Object.keys(i).forEach((function(e){n.prototype[e]=i[e]})),n})),define("dashboard-core/js/features/FeatureLoaderAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.registerFeature=function(){},e}()})),define("dashboard-core/js/features/FeatureLoader",["../lib/@waca/dashboard-common/dist/core/APIFactory","../lib/@waca/core-client/js/core-client/utils/ClassFactory","./FeatureLoaderAPI","underscore"],(function(e,t,o,i){"use strict";var n=function(e,t,o){var i={};if(t){var n=function(n){var a=t[n];Object.defineProperty(i,n,{get:function(){if(!a.init&&!o.loaded)throw new Error('The required feature "'+a.name+'" cannot be accessed at init time by the feature"'+e+'". The feature "'+a.name+'" must be added to the initDependencies of feature "'+ +e+'" if it is needed at init time.');return a.loader.getFeature(a.name)}})};for(var a in t)n(a)}return i},a={};return function(){function r(e){_classCallCheck(this,r),this.externalFeatureLoader=e.externalFeatures,this.featureNamePrefix=e.featureNamePrefix,this.featureParams=e.featureParams,this.features={},this.lifeCycleManager=e.lifeCycleManager,this.loadingOrder=[],this.errors={},this.logger=e.logger||console,this.types=e.types||[],this.parentAPI=e.parentAPI,this.featureSet=e.featureSet}return r.prototype.getAPI=function(){return this._api||(this._api=e.createAPI(this,[o])),this._api},r.prototype._getFeatureListThatInitDependsOn=function(e){var t=[];for(var o in this.features)-1!==this._getInitDependencies(o).indexOf(e)&&t.push(o);return t},r.prototype._getFeatureModule=function(e){return e.module.default&&i.isFunction(e.module.default)?e.module.default:e.module},r.prototype._createFeature=function(e){e.isCreated=!0;var t=e.params,o=this._getFeatureModule(e);return e.instance=new o(t),e.instance},r.prototype._getFeatureInstance=function(e){var t=this,o=void 0;if(this.features[e]){if(!this.features[e].instance&&!this._getError(e))try{var i=this._createFeature(this.features[e]);this.setParentChildRelation(e,i),this._getFeatureListThatInitDependsOn(e).forEach((function(e){t.features[e].isCreated||t._getFeatureInstance(e)}))}catch(t){this._setError(e,"Error while creating the feature:"+e,t,this.features)}o=this.features[e].instance}return o},r.prototype._getFeatureTags=function(e){return this.features[e]&&this.features[e].spec&&this.features[e].spec.tags||[]},r.prototype._getOptions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features;return t[e]&&t[e].spec&&t[e].spec.options},r.prototype._getInitDependencies=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,o=t[e]&&t[e].spec&&t[e].spec.dependencies||[];return Array.isArray(o)?o:Object.keys(o)},r.prototype._getRuntimeDependencies=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,o=t[e]&&t[e].spec&&t[e].spec.runtimeDependencies||[];return Array.isArray(o)?o:Object.keys(o)},r.prototype._getDependencies=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features;return this._getInitDependencies(e,t).concat(this._getRuntimeDependencies(e,t))},r.prototype._getDependenciesPreferredName=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.features,i=e,n=o[t]&&o[t].spec&&o[t].spec.dependencies,a=o[t]&&o[t].spec&&o[t].spec.runtimeDependencies;return n&&!Array.isArray(n)&&n[e]?i=n[e]:a&&!Array.isArray(a)&&a[e]&&(i=a[e]),i},r.prototype._getError=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features;return t[e]&&t[e].error},r.prototype.setParentChildRelation=function(t,o){this.parentAPI&&e.setParentChildRelation(this.parentAPI,o,{propagationInfo:{namespace:t.toLowerCase(),info:{featureName:t},callStack:{name:"getFeature",params:[t]}}})},r.prototype.registerFeature=function(e,t,o,i){var n=this;this.features[e]={instance:t,spec:o||{},preparePromise:Promise.resolve(e)},this.featureNamePrefix&&(this.features[this.featureNamePrefix+"."+e]=this.features[e]);return(i?Promise.resolve():this._initializeFeature(e)).then((function(){n.setParentChildRelation(e,t)}))},r.prototype.loadFeaturesFromArray=function(e,o){var i=this;o&&Object.keys(o).length>0&&(this.featureParams=this.featureParams?this.featureParams:{},this.featureParams.featureSpecs=Object.assign({},this.featureParams.featureSpecs,o));var n=[],r={},s={loaded:!1,readyPromises:[]};return e.forEach((function(e){var o=e.name||e.id,s=!1;i.types.length>0&&e.types&&e.types.length>0&&(s=!i.types.find((function(t){return-1!==e.types.indexOf(t)})));s||i.featureSet&&-1===i.featureSet.indexOf(o)||(r[o]={spec:e},a[e.class]?i._setError(o,"Failed to require feature",a[e.class].causedBy,r):n.push(t.loadModule(e.class).then((function(e){r[o].module=e})).catch((function(t){console.log(t),i._setError(o,"Failed to require feature",t.causedBy,r),a[e.class]=t}))))})),Promise.all(n).then((function(){i._validateDependencies(r);var e=void 0;for(e in r)i._prepareFeature(e,r,s);return Promise.all(s.readyPromises).then((function(){s.loaded=!0}))}))},r.prototype.getFeatureLoadingOrder=function(){return this.loadingOrder},r.prototype._setError=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.features;i[e]||(i[e]={}),o instanceof ErrorEvent&&(o={message:o.message,lineno:o.lineno,filename:o.filename}),i[e].error={message:t,details:o},this.features[e]=i[e],this.logger.log("Feature loader:"+t,e,o)},r.prototype.getFeatureErrors=function(){var e={},t=void 0;for(t in this.features)this.features[t].error&&(e[t]=this.features[t].error);return e},r.prototype._prepareFeature=function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,a=arguments[2];if(!o[e]&&this.features[e]&&(o=this.features),!o[e]){var r=this._resolvePartialFeatureName(e,o);r?e=r.name:(r=this._resolvePartialFeatureName(e,this.features))&&(e=r.name,o=this.features)}o[e]||this._setError(e,"Attempting to load an undefined feature:"+e,"",o),this._getError(e,o)&&(o[e].preparePromise=Promise.resolve(e));var s=o[e].preparePromise;if(!s){var d={},c=[];this._getInitDependencies(e,o).forEach((function(i){t.isFeature(i,o)||t.isFeature(i)?(d[t._getDependenciesPreferredName(i,e,o)]={loader:t,init:!0,name:i},c.push(t._prepareFeature(i,o,a))):t.externalFeatureLoader&&t.externalFeatureLoader.isFeature(i)?d[t._getDependenciesPreferredName(i,e,o)]={loader:t.externalFeatureLoader,init:!0,name:i}:t._setError(e,"Attempting to load an undefined dependency:"+i,"",o)})),this._getRuntimeDependencies(e,o).forEach((function(i){t.isFeature(i,o)||t.isFeature(i)?d[t._getDependenciesPreferredName(i,e,o)]={loader:t,init:!1,name:i}:t.externalFeatureLoader&&t.externalFeatureLoader.isFeature(i)?d[t._getDependenciesPreferredName(i,e,o)]={loader:t.externalFeatureLoader,init:!1,name:i}:d[t._getDependenciesPreferredName(i,e,o)]={loader:t,init:!1,name:i}})),s=Promise.all(c).then((function(){var r=[];t._getDependencies(e,o).forEach((function(e){var i=t._getError(e,o);i&&r.push(i)}));var s=!0;if(t._getInitDependencies(e,o).forEach((function(e){s&&(s=!(t._isCreated(e,o)||t._isCreated(e,t.features)))})),0===r.length){t.loadingOrder.push(e);try{var c=i.extend({},t.featureParams),l=t._getOptions(e,o);l&&(c.options=l),c.features=n(e,d,a),o[e].params=c,c.featureSpecs&&(c.spec=c.featureSpecs[e]);var u=t._getFeatureModule(o[e]);if(!s||u.prototype.initialize||u.prototype.getLifeCycleHandlers){var p=t._createFeature(o[e]);return t._initializeFeature(e,o).then((function(){t.features[e]=o[e],t.featureNamePrefix&&(t.features[t.featureNamePrefix+"."+e]=o[e]),t.setParentChildRelation(e,p)}))}t.features[e]=o[e],t.featureNamePrefix&&(t.features[t.featureNamePrefix+"."+e]=o[e])}catch(i){t._setError(e,"Error while creating the feature:"+e,i,o)}}else t._setError(e,"Dependency failed to load",r,o)})),o[e].preparePromise=s,a.readyPromises.push(s)}return s},r.prototype._initializeFeature=function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,i=o[e],n=null;try{var a=i.instance;"function"==typeof a.initialize&&(n=a.initialize()),n&&n.then?n=n.then((function(){t._postFeatureInitialize(i)})):this._postFeatureInitialize(i)}catch(t){this._setError(e,"Failed to initialize feature:"+e,t,o)}return n||(n=Promise.resolve()),n.catch((function(i){t._setError(e,"Failed to initialize feature: "+e,i,o)}))},r.prototype._deregisterLifeCycleHandlers=function(e){e&&(e.registeredHandlers&&e.registeredHandlers.forEach((function(e){return e.remove()})),e.registeredHandlers=[])},r.prototype._postFeatureInitialize=function(e){var t=this,o=e.instance;if(this._deregisterLifeCycleHandlers(e),this.lifeCycleManager&&"function"==typeof o.getLifeCycleHandlers){var i=o.getLifeCycleHandlers();if(!Array.isArray(i))throw new Error("serviceExtension getLifeCycleHandlers method is expected to return an array");i.forEach((function(o){if(!o.name||!o.action)throw new Error("serviceExtension handlers are expected to have a name and action property");e.registeredHandlers.push(t.lifeCycleManager.registerHandler(o.name,o.action,o.priority))}))}},r.prototype._validateDependencies=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.features,t=void 0;for(t in e)this._validateFeatureDependencies(t,null,e)},r.prototype._validateFeatureDependencies=function(e,t){var o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.features,n=t||[];if(-1!==n.indexOf(e))throw new Error('The feature with id "'+e+'" has a a circular dependency: '+t);n.push(e),this._getDependencies(e,i).forEach((function(t){if(!o._getFeatureSpec(t,i))throw new Error('The feature with id "'+e+'" has a missing dependency "'+t+'"');var a=n.concat([]);o._validateFeatureDependencies(t,a,i)}))},r.prototype._getFeatureSpec=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features;return t[e]&&t[e].spec||{}},r.prototype.setFeatureEnabled=function(e,t){this.features[e]&&(t?(this.features[e].disabled=!1,this._postFeatureInitialize(this.features[e])):(this.features[e].disabled=!0,this._deregisterLifeCycleHandlers(this.features[e])))},r.prototype.destroy=function(){var e=this;for(var t in i.each(i.keys(this.features),(function(t){if(e.featureNamePrefix&&t.startsWith(e.featureNamePrefix+"."))delete e.features[t];else{if(e.features[t].instance){e._deregisterLifeCycleHandlers(e.features[t]);var o=e._getFeatureInstance(t);if(o&&o.destroy)try{o.destroy()}catch(o){e._setError(t,"Error while destroying the feature:"+t,o)}}delete e.features[t]}})),this)Object.prototype.hasOwnProperty.call(this,t)&&delete this[t]},r.prototype.getFeature=function(e){var t,o=this._getFeatureInstance(e),i=void 0;if(!o&&e){var n=this._resolvePartialFeatureName(e);n&&(e=n.name,i=n.apiType,o=this._getFeatureInstance(e))}return this.isFeatureEnabled(e)&&!this._getError(e)&&o.getAPI&&(t=o.getAPI(i)),t},r.prototype.isFeature=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,o=t[e];if(!o){var i=this._resolvePartialFeatureName(e,t);i&&(o=t[i.name])}return!!o},r.prototype._isCreated=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,o=t[e];if(!o){var i=this._resolvePartialFeatureName(e,t);i&&(o=t[i.name])}return o&&o.instance},r.prototype.getLoadedFeatures=function(){var e=this,t={};return Object.keys(this.features).forEach((function(o){if(!o.startsWith(e.featureNamePrefix+".")){var i=e._getFeatureInstance(o);i&&(t[o]=i)}})),t},r.prototype._resolvePartialFeatureName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.features,o=e.split(".");if(o.length>1){var i=o[0],n=o[o.length-1],a=o.splice(1,o.length-2).join(".");if(t[e=a?i+"."+a:i])return{name:e,apiType:n};if(t[e=i])return{name:e,apiType:n?a+"."+n:a}}return null},r.prototype.isFeatureEnabled=function(e){var t=this._getFeatureInstance(e);return t&&!this.features[e].disabled&&(!t.isEnabled||t.isEnabled())},r.prototype.getMatchingFeatures=function(e){var t=this,o=[];return i.each(i.keys(this.features),(function(i){if(t.isFeatureEnabled(i)&&t._getFeatureTags(i).indexOf(e)>=0){var n=t.getFeature(i);n&&o.push(n)}})),o},r.prototype.setMatchingFeaturesEnabled=function(e,t){var o=this;i.each(i.keys(this.features),(function(i){o.features[i]&&o._getFeatureTags(i).indexOf(e)>=0&&o.setFeatureEnabled(i,t)}))},r}()})),define("dashboard-core/js/dashboard/services/InlineFeatures",[],(function(){return[{containerId:"com.ibm.bi.dashboard.features",name:"DashboardProperties",id:"com.ibm.bi.dashboard.core-features.dashboardProperties",class:"dashboard-core/js/features/dashboard/dashboardProperties/DashboardPropertiesProvider",dependencies:["API","Properties","internal"]},{containerId:"com.ibm.bi.dashboard.features",name:"Transaction",id:"com.ibm.bi.dashboard.core-features.transaction",class:"dashboard-core/js/features/dashboard/transaction/api/impl/Transaction"},{containerId:"com.ibm.bi.dashboard.features",name:"Serviceability",id:"com.ibm.bi.dashboard.features.serviceability",class:"dashboard-core/js/features/dashboard/dashboardServiceability/DashboardServiceability",dependencies:["API","DashboardState"]},{containerId:"com.ibm.bi.dashboard.features",name:"Print",id:"com.ibm.bi.dashboard.core-features.print",class:"dashboard-core/js/features/dashboard/print/api/impl/Print",dependencies:["API"]},{containerId:"com.ibm.bi.dashboard.features",name:"DashboardPrint",id:"com.ibm.bi.dashboard.core-features.dashboardPrint",class:"dashboard-core/js/features/dashboard/dashboardPrint/api/impl/DashboardPrint"},{containerId:"com.ibm.bi.dashboard.features",name:"ContentActions",id:"com.ibm.bi.dashboard.core-features.contentActions",class:"dashboard-core/js/features/dashboard/actions/ContentActions",dependencies:["API","DashboardState"]},{containerId:"com.ibm.bi.dashboard.features",name:"Notification",id:"com.ibm.bi.dashboard.features.notification",class:"dashboard-core/js/features/dashboard/notification/Notification",dependencies:["API"]},{name:"BaseContentProvider",id:"com.ibm.bi.dashboard.features.BaseContentProvider",class:"dashboard-core/js/features/dashboard/contentProvider/api/impl/BaseContentProvider",dependencies:["API","ContentFactory"]},{containerId:"com.ibm.bi.dashboard.features",name:"PageContentProvider",id:"com.ibm.bi.dashboard.features.PageContentProvider",class:"dashboard-core/js/features/dashboard/contentProvider/api/impl/PageContentProvider",dependencies:["API","ContentFactory"]}]})),define("dashboard-core/js/dashboard/services/DeprecatedInlineFeatures",[],(function(){return[{containerId:"com.ibm.bi.dashboard.core-features",name:"segment",id:"com.ibm.bi.dashboard.core-features.segment",class:"dashboard-core/js/features/dashboard/segment/SegmentFeature"},{containerId:"com.ibm.bi.dashboard.core-features",name:"CoachMark",id:"com.ibm.bi.dashboard.core-features.coachMark",class:"dashboard-core/js/features/dashboard/coachMark/api/impl/CoachMark"}]})),define("dashboard-core/js/dashboard/services/ServicesHelper",["../../lib/@waca/core-client/js/core-client/utils/ClassFactory","./LifeCycleManager","../../lib/@waca/dashboard-common/dist/utils/dnd/DnDManager","../../lib/@waca/baglass/js/baglass/services/ServiceRegistry","./DashboardStringService","../../features/FeatureLoader","./InlineFeatures","./DeprecatedInlineFeatures"],(function(e,t,o,i,n,a,r,s){return function(){function d(e){_classCallCheck(this,d),this.glassContext=e.glassContext,this.eventRouter=e.eventRouter,this.appSettings=e.appSettings,this.logger=e.logger,this.dashboardAPI=e.dashboardAPI,this.inlineFeatures=e.inlineFeatures||r,this.internalDashboardAPI=e.internalDashboardAPI}return d.prototype.createServices=function(){var e=this,r={};r.lifeCycleManager=new t,r.dnDManager=new o,r.stringService=new n;var s={registerHandler:r.lifeCycleManager.registerLifeCycleHandler.bind(r.lifeCycleManager),invokeHandlers:r.lifeCycleManager.invokeLifeCycleHandlers.bind(r.lifeCycleManager)};return this.featureLoader=new a({lifeCycleManager:s,featureNamePrefix:"Dashboard"}),this.featureLoader.registerFeature("DashboardFeatureLoader.internal",{getAPI:function(){return e.featureLoader}},null,!0),this.featureLoader.registerFeature("API",{getAPI:function(){return e.dashboardAPI}},null,!0),this.featureLoader.registerFeature("internal",{getAPI:function(){return e.internalDashboardAPI}},null,!0),this.featureLoader.registerFeature("Logger",{getAPI:function(){return e.logger}},null,!0),this.featureLoader.registerFeature("FeatureRegistry.internal",{getAPI:function(){return e.featureLoader.getAPI()}},null,!0),this.featureLoader.registerFeature("LifeCycle",{getAPI:function(){return s}},null,!0),this.services=new i({services:{Notification:{showError:this.glassContext.appController.showErrorMessage.bind(this.glassContext.appController)},Logger:this.logger,".LifeCycleManager":r.lifeCycleManager,".DndManager":r.dnDManager,".StringResources":r.stringService}}),this.services.biGlass={glassContext:this.glassContext},r.serviceRegistry=this.services,r.featureLoader=this.featureLoader,r},d.prototype._registerServiceCollection=function(t,o,i){var n=[];return o&&o.forEach(function(o){o.name&&o.class&&n.push(e.loadModule(o.class).then(function(e){var n=this,a=o.options||{};a.services=this.services,a.eventRouter=this.eventRouter,a.glassContext=this.glassContext,a.dashboardApi=t;var r=new e(a);return(i&&r.initialize&&"function"==typeof r.initialize?r.initialize():Promise.resolve()).then((function(){var e=null;i&&r.getAPI&&"function"==typeof r.getAPI&&(e=r.getAPI()),n.services.register(o.name,e||r),n._registerServiceHooks(r)}))}.bind(this)).catch(function(e){this.logger.error(e)}.bind(this)))}.bind(this)),Promise.all(n)},d.prototype.createRuntimeServices=function(e){var t=this,o=e.dashboardApi;return o.findGlassCollection("com.ibm.bi.dashboard.features").then((function(i){var n=i||[];return(n=n.concat(t.inlineFeatures)).push({name:"InternalProperties",class:"dashboard-core/js/features/dashboard/dashboardProperties/DashboardInternalProperties",options:{templateCollection:e.collections?e.collections.templates:[]},dependencies:["Properties"]}),n.push({name:"ContentTypeRegistry",class:"dashboard-core/js/features/dashboard/contentTypeRegistry/api/impl/ContentTypeRegistry",options:e.collections?e.collections.contentTypes:[],dependencies:[]}),n.push({name:"DashboardContentProvider",class:"dashboard-core/js/features/dashboard/contentProvider/api/impl/DashboardContentProvider",dependencies:["ContentFactory"]}),t.featureLoader.loadFeaturesFromArray(n,o.getFeature("internal").getBoardModel().getContentModel().features)})).then((function(){return t._getServiceExtensions().then((function(e){return t._getFeatureExtensions().then((function(i){var n=[];return n.push(t._registerServiceCollection(o,e,!1)),n.push(t._registerServiceCollection(o,i,!0)),Promise.all(n)}))}))}))},d.prototype._getServiceExtensions=function(){var e=Promise.resolve();if(this.appSettings.options&&this.appSettings.options.collections.serviceExtension){var t=this.appSettings.options.collections.serviceExtension.id;e=Promise.all([this.glassContext.appController.findCollection(t)]).then((function(e){return e[0]}))}return e},d.prototype._getFeatureExtensions=function(){var e=Promise.resolve(s);if(this.appSettings.options&&this.appSettings.options.collections.featureExtension){var t=this.appSettings.options.collections.featureExtension.id;e=Promise.all([this.glassContext.appController.findCollection(t)]).then((function(e){var t=e[0]||[];return s.concat(t)}))}return e},d.prototype._registerServiceHooks=function(e){if("function"==typeof e.getLifeCycleHandlers){var t=this.services.getSvcSync(".LifeCycleManager"),o=e.getLifeCycleHandlers();if(!Array.isArray(o))throw new Error("serviceExtension getLifeCycleHandlers method is expected to return an array");o.forEach((function(e){if(!e.name||!e.action)throw new Error("serviceExtension handlers are expected to have a name and action property");t.registerLifeCycleHandler(e.name,e.action,e.priority)}))}},d}()})),define("dashboard-core/js/app/EventRouter",["../lib/@waca/core-client/js/core-client/ui/core/Events"],(function(e){return e.extend({})})),define("dashboard-core/js/canvas/CanvasAPISpec",[],(function(){return function(){function e(t){_classCallCheck(this,e),this.transaction=t.dashboardFeatures.getFeature("Transaction")}return e.prototype.getAPISpec=function(){var e=this;return this.apiSpec||(this.apiSpec={name:"canvas api",features:{"Dashboard.Transaction":this.transaction},events:{propagationInfo:{namespace:"canvas",callStack:{name:"getCanvas"}},actions:{selectContent:{eventName:"selections:select",getInfo:function(e){return{value:e[0]}},getUndoActions:function(e){return[{name:"deselectContent",params:[e[0]]}]}},deselectContent:{eventName:"selections:deselect",getInfo:function(e){return{value:e[0]}},getUndoActions:function(e){return[{name:"selectContent",params:[e[0]]}]}},moveContent:{type:"move",eventName:"content",transactionParamIndex:2,transactionAPI:this.transaction,autoCreateTransaction:!0,getInfo:function(e){return{containerId:e[0],contentIdList:e[1],supportsUndoRedo:!0}},getUndoActions:function(t){var o=t[1],i=[];return o&&o.forEach((function(t){i.push({name:"moveContent",params:[e.getContent(t).getContainer().getId(),[t]]})})),i}},setPropertyValue:{eventName:"property",getEventName:function(e){return"property:"+e[0]},getInfo:function(t){var o=e._propertiesMap&&e._propertiesMap[t[0]];o||(o=e._getProperty(t[0]));var i={name:t[0],value:t[1],supportsUndoRedo:!(!o||!o.supportsUndoRedo)};return t[2]&&(i.options=JSON.parse(JSON.stringify(t[2]))),i},getUndoActions:function(t){return[{params:[t[0],e.getPropertyValue(t[0])]}]}}}}}),this.apiSpec},e}()})),define("dashboard-core/js/api/CanvasAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.on=function(){},e.prototype.off=function(){},e.prototype.addContent=function(){},e.prototype.moveContent=function(){},e.prototype.getContent=function(){},e.prototype.getContentActionList=function(){},e.prototype.selectContent=function(){},e.prototype.deselectContent=function(){},e.prototype.getSelectedContentList=function(){},e.prototype.removeContent=function(){},e.prototype.findContent=function(){},e.prototype.copy=function(){},e.prototype.paste=function(){},e.prototype.getPropertyLayoutList=function(){},e.prototype.getPropertyNameList=function(){},e.prototype.setPropertyValue=function(){},e.prototype.getPropertyValue=function(){},e}()})),define("dashboard-core/js/dashboard/util/PropertyLayoutHelper",["underscore"],(function(e){return function(){function t(){_classCallCheck(this,t)}return t.getExpandedLayoutList=function(e,o,i){var n=[];return t._expandSpec(e,o,n,i),t._expandSpec(e,e,n,i),t._sortItems(n)},t._expandSpec=function(e,o,i,n){o.forEach((function(o){var a=o.editor;if(!a||a.hidden||n&&!t._shouldFilterProfile(o,n))"Banner"===o.type&&i.push(o);else{var r=a.uiControl;if(r.id=o.id,r.position=a.position||0,r.readOnly=!!a.readOnly,a.sectionId){var s=[];t.splitEscapedString(a.sectionId,".",s);var d=t._findLayoutSection(e,i,s);if(!d)throw new Error("Could not create the needed layout section "+a.sectionId);d.push(r)}else i.push(r)}}))},t._shouldFilterProfile=function(e,t){return e.profile&&-1!==e.profile.indexOf(t)},t._sortItems=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(o=e.sortBy(o,"position")).forEach((function(e){delete e.position,e.items&&(e.items=t._sortItems(e.items))})),o},t._findLayoutSection=function(o,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=n.shift();if(!a)return i;var r=e.find(i,(function(e){return e.id===a}));if(r){if(!r.items)throw new Error("Layout section with no items array.");return t._findLayoutSection(o,r.items,n)}var s=e.find(o,(function(e){return e.id===a}));if(!s)throw new Error("Section "+a+" is referenced but isn't defined anywhere.");return(s=e.extend({},s)).items||(s.items=[]),i.push(s),t._findLayoutSection(o,s.items,n)},t.splitEscapedString=function(e,o,i){var n=e.indexOf(o);if(-1!==n&&n!==e.length&&"\\"!==e[n-1]){var a=e.slice(0,n);e=e.slice(n+1,e.length),i.push(a),t.splitEscapedString(e,o,i)}else i.push(e)},t}()})),define("dashboard-core/js/canvas/Canvas",["jquery","../lib/@waca/dashboard-common/dist/core/APIFactory","./CanvasAPISpec","../api/CanvasAPI","underscore","../dashboard/util/PropertyLayoutHelper"],(function(e,t,o,i,n,a){var r=["widget","group"];return function(o){function s(e){_classCallCheck(this,s);var i=_possibleConstructorReturn(this,o.call(this,e));return i.boardModel=e.boardModel,i.extensions=e.extensions,i.contentFeatureCollection=e.contentFeatureCollection,i.dashboardFeatures=e.dashboardFeatures,i.logger=i.dashboardFeatures.getFeature("Logger"),i.contentFactory=i.dashboardFeatures.getFeature("ContentFactory"),i.canvasContent=i.contentFactory.createContent({dashboardFeatures:i.dashboardFeatures,contentFeatureCollection:i.contentFeatureCollection,boardModel:i.boardModel,layoutModel:i.boardModel.layout,canvas:i,profile:e.profile,type:i.boardModel.layout.type}),i.copyCallback=e.copyCallback,i.pasteCallback=e.pasteCallback,i._dashboardContent=e.dashboardContent,t.setParentChildRelation(i,i.canvasContent),i}return _inherits(s,o),s.prototype.getRootContentInstance=function(){return this.canvasContent},s.prototype.isLayoutType=function(e){var t=this.extensions.getLayoutViewExtensions(),o=Object.keys(t.authoringViews),i=Object.keys(t.consumeViews);return-1!==o.indexOf(e)||-1!==i.indexOf(e)},s.prototype.getAPI=function(){return this.api||(this.api=t.createAPI(this,[i])),this.api},s.prototype.initialize=function(){var e=this;return this.canvasContent.initialize().then((function(){e._contentTargets=[e._dashboardContent,e.canvasContent]}))},s.prototype.destroy=function(){this.boardModel=null,this.canvasContent.destroy(),this.canvasContent=null,this.dashboardFeatures=null,this.api=null,this._dashboardContent=null},s.prototype.getContentActionList=function(e){return e.length?this.dashboardFeatures.getFeature("ContentActions").getContentActionList(e):[]},s.prototype.copy=function(){return this.copyCallback.apply(null,arguments)},s.prototype.paste=function(){return this.pasteCallback.apply(null,arguments)},s.prototype.addContent=function(e,t){return this.getContentInstance(e.containerId).getAPI().addContent(e,t)},s.prototype.moveContent=function(e,t,o,i){return this.getContentInstance(e).moveContent(e,t,o,i)},s.prototype.removeContent=function(e,t){var o=this.getContent(e);if(o){var i=o.getContainer();i&&i.removeContent(e,t)}},s.prototype.getContentInstance=function(e){return e&&e!==this.boardModel.layout.id?this.canvasContent.getContentInstance(e):this.canvasContent},s.prototype.registerContentFeatures=function(e,t){var o=this.getContentInstance(e);return o?o.registerFeatures(t):Promise.reject('The content with id "'+e+'" does not exist.')},s.prototype.registerContentFeature=function(e,t,o,i,n){var a=this.getContentInstance(e);return a?a.registerFeature(t,o,i,n):Promise.reject('The content with id "'+e+'" does not exist.')},s.prototype.getContentFeature=function(e,t){if(e===this.boardModel.layout.id)return this.canvasContent.getFeature(t);var o=this.canvasContent.getContentInstance(e);return o?o.getFeature(t):void 0},s.prototype.getContent=function(e){return e&&e!==this.boardModel.layout.id?this.canvasContent.getContent(e):this.canvasContent.getAPI()},s.prototype.findContent=function(e){return e&&e.type===this.boardModel.layout.type?[this.canvasContent.getAPI()]:this.canvasContent.findContent(e)},s.prototype.selectContent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var o=e.boardModel.layout.findModel(t);if(o){var i=o.getParent();i&&i.select(o.id)}}))},s.prototype.deselectContent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var o=e.boardModel.layout.findModel(t);if(o){var i=o.getParent();i&&i.deselect(o.id)}}))},s.prototype.getSelectedContentList=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=[];if(this.boardModel){var i=this.dashboardFeatures.getFeature("ContentTypeRegistry"),a=t.type?[t.type]:r,s=this.boardModel.layout.getSelectedChildLayouts(),d=s.filter((function(t){var o=e.getContent(t.id),n=!1;return i&&(n=i.isTypeRegistered(t.type)),n||(n=-1!==a.indexOf(t.type)||-1!==a.indexOf(o.getType())),n})),c=n.filter(d,(function(e){return n.isArray(e.items)})),l=n.filter(d,(function(e){return!n.find(c,(function(t){return t.findChildItem(t.items,e.id)}))}));o=n.map(l,(function(t){return e.getContent(t.id)}))}return o},s.prototype.getPropertyNameList=function(){return Object.keys(this._getPropertyMap())},s.prototype.setPropertyValue=function(e,t,o){var i=this._getProperty(e);if(i.validatePropertyValue){var n=i.validatePropertyValue(t)||{};if(!n.isValid)return void this.logger.error(n.message,e,t)}i.setPropertyValue(t,o)},s.prototype.getPropertyValue=function(e){return this._getProperty(e).getPropertyValue()},s.prototype.getPropertyLayoutList=function(){for(var t={},o=0;o<this._contentTargets.length;o++)for(var i=this._contentTargets[o].getFeature("Properties").getPropertyLayoutList(),r=0;r<i.length;r++){var s=i[r];t[s.id]?e.extend(!0,t[s.id],s):t[s.id]=s}return a.getExpandedLayoutList(n.values(t),this._getPropertyList())},s.prototype._getPropertyList=function(){return this._initProperties(),this._propertiesList},s.prototype._getPropertyMap=function(){return this._initProperties(),this._propertiesMap},s.prototype._initProperties=function(){this._propertiesMap={},this._contentTargets=this._contentTargets||[];for(var t=0;t<this._contentTargets.length;t++)for(var o=this._contentTargets[t].getPropertyList()||[],i=0;i<o.length;i++){var a=o[i];this._propertiesMap[a.id]?e.extend(!0,this._propertiesMap[a.id],a):this._propertiesMap[a.id]=a}this._propertiesList=n.values(this._propertiesMap)},s.prototype._getProperty=function(e){var t=this._getPropertyMap()[e];if(!t)throw new Error("Property "+e+" does not exist.");return t},s.prototype.whenContentReady=function(e){var t=this.getContentInstance(e);return t?t.initialize():Promise.reject("Could not find content with id "+e)},s}(o)})),define("dashboard-core/js/features/content/InlineFeatures",[],(function(){"use strict";return[{containerId:"com.ibm.bi.dashboard.content-features",name:"Renderer",id:"com.ibm.bi.dashboard.content-features.renderer",class:"dashboard-core/js/view/features/content/contentView/api/impl/ContentView",dependencies:["Dashboard.API"]},{containerId:"com.ibm.bi.dashboard.content-features",name:"Properties",id:"com.ibm.bi.dashboard.content-features.properties",class:"dashboard-core/js/features/common/properties/api/impl/Properties",dependencies:["Dashboard.API"]},{containerId:"com.ibm.bi.dashboard.content-features",name:"AlignPropertiesProvider",id:"com.ibm.bi.dashboard.content-features.alignPropertiesProvider",class:"dashboard-core/js/features/content/alignProperties/AlignPropertiesProvider",types:["widget","group"],dependencies:["Properties","Dashboard.Icons"]},{containerId:"com.ibm.bi.dashboard.content-features",name:"PagePropertiesProvider",id:"com.ibm.bi.dashboard.content-features.pageProperties",class:"dashboard-core/js/features/content/pageProperties/PagePropertiesProvider",types:["page"],dependencies:["Properties","Dashboard.Icons"]},{containerId:"com.ibm.bi.dashboard.content-features",name:"ContentMenu",id:"com.ibm.bi.dashboard.content-features.ContentMenu",class:"dashboard-core/js/features/dashboard/contentMenu/ContentMenu",types:["widget"]},{containerId:"com.ibm.bi.dashboard.content-features",name:"ContentFilterPropertiesProvider",id:"com.ibm.bi.dashboard.content-features.contentFilterPropertiesProvider",class:"dashboard-core/js/features/content/contentFilter/ContentFilterPropertiesProvider",dependencies:["ContentFilter"]}]})),define("dashboard-core/js/canvas/CanvasFactory",["./Canvas","../features/content/InlineFeatures"],(function(e,t){return function(){function o(e){_classCallCheck(this,o),this.dashboardAPI=e.dashboardAPI,this.glassContext=e.glassContext,this.logger=e.logger,this.featureLoader=e.featureLoader,this.inlineFeature=e.inlineFeature||t,this.extensions=e.extensions,this.boardModel=e.boardModel,this.eventRouter=e.eventRouter,this.widgetRegistry=e.widgetRegistry,this.featureLoader=e.featureLoader,this.stringResources=this.dashboardAPI.getDashboardCoreSvc(".StringResources"),this._dashboardContent=e.dashboardContent,this.profile=this.dashboardAPI.getAppConfig("profile")||null}return o.prototype.createCanvas=function(){var t=this,o={dashboardFeatures:this.featureLoader,boardModel:this.boardModel,extensions:this.extensions,copyCallbabck:this.dashboardAPI.copy.bind(this.dashboardAPI),pasteCallback:this.dashboardAPI.paste.bind(this.dashboardAPI),profile:this.profile,dashboardContent:this._dashboardContent};return this.dashboardAPI.findGlassCollection("com.ibm.bi.dashboard.content-features").then((function(i){o.contentFeatureCollection=t.inlineFeature.concat(i||[]);var n=t.dashboardAPI.getFeature("ContentTypeRegistry");n&&(o.contentFeatureCollection=n.processFeatureCollection(o.contentFeatureCollection));var a=new e(o);return t.featureLoader.registerFeature("Canvas",a),a.initialize().then((function(){return t.boardModel.deleteInitialSpec(),{canvas:a.getAPI(),internalCanvas:{whenContentReady:function(e){return a.whenContentReady(e)},registerFeatureCollection:function(e,o){return t.dashboardAPI.findGlassCollection(o).then((function(t){return a.registerContentFeatures(e,t||[])}))},registerFeature:function(e,t,o,i){return a.registerContentFeature(e,t,o,i)},registerDeprecatedFeature:function(e,t,o){return a.registerContentFeature(e,t,o,{},!0)},destroy:function(){a.destroy()}}}}))}))},o}()})),define("dashboard-core/js/dashboard/widgets/PropertiesUtil",["jquery","underscore","../../app/nls/StringResources"],(function(e,t,o){var i=null,n=function e(){if(e.prototype._singletonInstance)return e.prototype._singletonInstance};return n.prototype.processProperties=function(t,o,i){var n=this;if(!t)return!1;var a=i.getDashboardCoreSvc("TranslationService"),r=function(e){a&&e.translationIconNode&&(a.removeTranslationIcon(e.translationIconNode),e.translationIconNode=null)},s=function(e,t,i){e.displayMultiplier&&(i=Math.round(i/e.displayMultiplier)),this._callPropertyOnChangeCallback(e,o,t,i),o.onPropertyChange(t,i),r(e)},d=[];return t.forEach((function(c,l){var u=n._findCallbackFunction(c,"onChange",o);if(!1!==c.public&&"Banner"!==c.type){var p=n._getPropertiesOverride(c,o);if(!0===p.removeProperty)return t.splice(l,1),void l--;if(e.extend(c,p),c.id&&!c.name&&(c.name=c.id),c.multilingual&&a&&a.isInTranslationMode()){var h=(o.visModelManager||o.model).getMultilingualAttribute(c.id);if(!h)return;var f=h.multilingualProperty;f&&f.needsTranslation()&&(c.appendTranslationIcon=a.appendTranslationIcon)}if("IconPicker"===c.type)n._handleIconPickerProperty(c,o);else if(c.items&&c.items instanceof Array)d.push(n.processProperties(c.items,o,i));else if("ColorPicker"===c.type)d.push(n.handleColorPickerProperty(c,o,i));else if("NewPalette"===c.type||"Palette"===c.type)c.type="NewPalette",d.push(n.handleNewPaletteProperty(c,o,i));else if("ToggledCombo"===c.type)n._handleToggledComboProperty(c,o);else if(c.module&&c.module.indexOf("UiSlider")>=0)n._handleUISlider(c,o);else if(c.type){var g=n._getPropertyValue(o,c.name),b=g&&g.value?g.value:g;if("CheckBox"===c.type||"ToggleButton"===c.type)c.checked=!1!==b&&(!0===b||!0===c.defaultValue);else if("DropDown"===c.type){var m=void 0;m=null!=b?b.hasOwnProperty("name")?b.name:b:c.defaultValue,c.defaultValue=m}else c.value=b||0===b?b:"";if(c.displayMultiplier&&c.value){var v=c.value*c.displayMultiplier;c.value=c.decimalPlaces?v.toFixed(c.decimalPlaces):Math.round(v)}c.onChange=s.bind(n,c)}else;u&&(c.onChange=function(e,t,o){u(t,o),r(e)}.bind(n,c));var y=n._findCallbackFunction(c,"customValidatorCallback",o);y&&(c.customValidatorCallback=y),e.extend(c,p)}})),Promise.all(d)},n.prototype._getPropertiesOverride=function(e,t){var o={},i=this._findCallbackFunction(e,"preRenderCallback",t);return i&&(o=i(e,t.visModel||t.model)),o},n.prototype._findCallbackFunction=function(e,t,o){if(e&&e[t]){if("function"==typeof e[t])return e[t].bind(e);var i=e[t],n=o.getCurrentVis?o.getCurrentVis():null;if("function"==typeof o[i])return o[i].bind(o);if(n&&"function"==typeof n[i])return n[i].bind(n);throw new Error("preRenderCallback defined but function isn't available to call.",e)}return null},n.prototype._callPropertyOnChangeCallback=function(e,t,o,i){e.onChangeCallback&&e.onChangeCallback(o,i,t.visModel||t.model)},n.prototype._handleUISlider=function(e,t){var o=this._getPropertyValue(t,e.name);(o||0===o&&"percentage"===e.sliderType)&&(o=parseInt(100*o,10)),e.start=o||0===o?[o]:[e.defaultValue],e.startLabels=[e.description||e.label],e.onChange=function(o){var i=o[0];e.format&&e.format.postfix&&(i=i.substring(0,i.indexOf(e.format.postfix))),"percentage"===e.sliderType&&(i*=.01),this._callPropertyOnChangeCallback(e,t,e.name,i),t.onPropertyChange(e.name,i)}.bind(this)},n.prototype._handleToggledComboProperty=function(e,t){var o=this._getPropertyValue(t,e.name);e.inputOptions||(e.inputOptions={}),e.checkBoxOptions||(e.checkBoxOptions={}),e.dropDownOptions||(e.dropDownOptions={}),e.useToggleButton=!0,o?(e.dropDownOptions.defaultValue=o.unit,e.inputOptions.value=o.value,e.checkBoxOptions.checked=o.autoRefresh):(e.inputOptions.value=e.inputOptions.defaultValue||"",e.checkBoxOptions.checked=!1),e.validateInput=this._validateToggleComboProperty.bind(this),e.onChange=function(o,i){this._callPropertyOnChangeCallback(e,t,o,i),t.onPropertyChange(o,i)}.bind(this)},n.prototype._handleIconPickerProperty=function(e,t){var o=this._getPropertyValue(t,e.name),i=o&&o.value?o.value:o;null!=i?e.values=i:void 0!==e.defaultValue&&(e.values=e.defaultValue),e.onChange=function(o,i){var n=i;i.length&&1===i.length?n=i[0].name:i.length&&(n=[],i.forEach((function(e){n.push(e.name)}))),this._callPropertyOnChangeCallback(e,t,o,n),t.onPropertyChange(o,n)}.bind(this)},n.prototype._getMaxMinRefreshValuesForUnits=function(e){var t,o=(Math.pow(2,31)-1)/1e3,i={};switch(e){case"minutes":i.min=1,t=o/60,i.max=Math.ceil(t-1);break;case"hours":i.min=1,t=o/3600,i.max=Math.ceil(t-1);break;default:i.min=5,i.max=Math.ceil(o-1)}return i},n.prototype._validateToggleComboProperty=function(t,o){if(!t||!o)return!1;var i=e.isNumeric(t);if(i){var n=this._getMaxMinRefreshValuesForUnits(o);i=t>=n.min&&t<=n.max}return i},n.prototype.handleNewPaletteProperty=function(e,t,o,i){var n=this;if(!e.paletteType)throw new Error('Palette property needs a "paletteType"',e);var a=o.getFeature("Colors"),r=function(){var o=n._getPropertyValue(t,e.name);return o=o||e.defaultValue||a.getDefaultPaletteName(e.paletteType)},s=r(),d="HeatPalette"===e.paletteType,c=d?"continuous":"standard",l=function(){return"DarkerForLowerValue"===n._getPropertyValue(t,e.reversePalettePropName)&&d};return e.menuItems=[],d&&e.menuItems.push("reverse"),e.reverse=l(),e.createPaletteType=c,a.getPalette({paletteId:s,type:e.paletteType,defaultPaletteId:e.defaultValue,addMissingBaseColors:e.addMissingBaseColors,defaultIfNotFound:!0,forProperties:!0}).then((function(o){e.palette=o,e.hasSection=!0,e.readOnly=!0,o.my&&!o.public&&e.menuItems.push("edit"),e.onChangePalette=i||function(o,i){n._callPropertyOnChangeCallback(e,t,o,i.id),t.onColorPaletteChanged(n.buildPropChangePayload(o,i.id)).then((function(){t.refreshPropertiesPane()}))};var d=function(t){var o="__CM__"+t;return e.onChangePalette(e.name,{id:o}),o};return e.onCreatePalette=d,e.onChange=function(o,i){var a=!0===i.reverse?"DarkerForLowerValue":"DarkerForHigherValue";n._callPropertyOnChangeCallback(e,t,e.reversePalettePropName,a),t.onHeatScalePaletteChanged(n.buildPropChangePayload(e.reversePalettePropName,a))},e.changePaletteCb=function(){t.dashboardApi.getDashboardSvc("propertiesManager").then((function(o){var i={label:e.linkLabel,overlay:!0,width:"320px",content:{module:"authoring-common/changePaletteView",selectedId:s,onCreatePalette:d,createPaletteType:c,name:e.name,getPalettes:function(){return a.getPalettes({type:e.paletteType,includeUserColorPalette:e.includeUserColorPalette,forProperties:!0})},getPaletteId:r.bind(t),reverse:l(),onChange:e.onChangePalette,component:"dashboard"}};t.dashboardApi.prepareGlassOptions(i),o.addChild(i)}))},e}))},n.prototype.buildPropChangePayload=function(e,o){return{category:e,item:o,transactionId:t.uniqueId("prop_change")}},n.prototype.addCustomColorCapability=function(e,t){if(e.createCustomColor=function(e){var o=t.addCustomColor(e),i=t.createColorDefinition(o,e,e);return i.type="ColorCode",i.hidden=!0,i},t.isCustomColor(e.selectedName)&&e.items){var o=t.getHexColorFromClassName(e.selectedName),i=t.createColorDefinition(e.selectedName,o,o);i.hidden=!0,e.items.push(i)}return e},n.prototype._getColorPalettePropertyValue=function(e,t,o,i){return this._getPropertyValue(e,o)||t.getDefaultPaletteName(i)},n.prototype._getPropertyValue=function(e,t){return e.model&&void 0!==e.model[t]?e.model[t]:e.visModel&&null!==e.visModel.getPropertyValue(t)?e.visModel.getPropertyValue(t):e.visAPI&&null!==e.visAPI.getPropertyValue(t)?e.visAPI.getPropertyValue(t):"undefined"!==e[t]&&"function"!=typeof e[t]?e[t]:null},n.prototype.handleColorPickerProperty=function(e,o,i){var n=this;if(!e.paletteType)throw new Error('Color picker property needs a "paletteType"',e);var a=i.getFeature("Colors");e.onChange=function(t,i){this._callPropertyOnChangeCallback(e,o,e.propertyName,i.name),o.onPropertyChange(t,i.name)}.bind(this);var r=this._getPropertyValue(o,e.name);return e.selectedName=!r&&0!==r&&e.defaultValue?e.defaultValue:r,this._getColorPickerColors(e,o,i).then((function(o){if(e.palettePropertyName?(e.items=[],o.forEach((function(t,o){e.items.push({id:o,name:o,value:t.hexValue,type:"ColorCode",label:t.label})}))):e.items=o,e.addButton&&(e=n.addCustomColorCapability(e,a)),e.selectedName>o.length)e.selectedName=0;else if(e.selectedName||0===e.selectedName||void 0===e.defaultColorIndex){if(e.missingIsLast&&e.selectedName){t.find(e.items,(function(t){return t.name===e.selectedName}))||(e.selectedName=e.items[e.items.length-1].name)}}else e.selectedName=e.defaultColorIndex;return e}))},n.prototype._getColorPickerColors=function(e,t,o){var i=o.getFeature("Colors");if("DashboardColorSet"===e.paletteType)return Promise.resolve(i.getDashboardColorSet().slice(0));var n=e.palettePropertyName?this._getColorPalettePropertyValue(t,i,e.palettePropertyName,e.paletteType):i.getColorSetId();return i.getPaletteColors({paletteId:n,type:e.paletteType,addMissingBaseColors:e.addMissingBaseColors}).then((function(e){return e.slice(0)}))},n.prototype.getGeneralProperties=function(e,t){var i=[{id:"fillColor",type:"ColorPicker",label:o.get("propFillColor"),showHexValue:!0,addButton:!0,open:!1,ariaLabel:o.get("propFillColor"),paletteType:"ColorPalette",defaultValue:"color1",tabName:o.get("tabName_general"),sectionName:o.get("sectionName_appearance")},{id:"borderColor",type:"ColorPicker",label:o.get("propBorderColor"),open:!1,showHexValue:!0,addButton:!0,ariaLabel:o.get("propBorderColor"),paletteType:"ColorPalette",defaultValue:"transparent",tabName:o.get("tabName_general"),sectionName:o.get("sectionName_appearance")}];return e?this.processProperties(i,e,t).then((function(){return i})):Promise.resolve(i)},n.prototype.propertyUIControlToPublicAPI=function(e,t,o){var i=this,n=[],a=function(e,t){if("authoring"!==o.getMode())return o.getGlassCoreSvc(".Logger").error("Trying to set a property without being in authoring mode."),!1;if(e.customValidatorCallback){var i=e.customValidatorCallback(t);if(i&&!1===i.isValid)return o.getGlassCoreSvc(".Logger").error(i.message),!1}if(e.onChange){if(e.module&&e.module.indexOf("UiSlider")>=0)e.onChange([t]);else if("ColorPicker"===e.type){var n=t&&t.startsWith("#")?o.getFeature("Colors").addCustomColor(t):t;e.onChange(e.name,{name:n})}else"NewPalette"===e.type?e.onChangePalette(e.name,{id:t}):e.onChange(e.name,t);return!0}},r=function(e,t){var o=i._getPropertyValue(t,e.name);return o||(void 0!==e.defaultValue?e.defaultValue:null)};return e.forEach((function(e){if("Banner"===e.type||!1===e.public||!e.onChange)return null;var o={name:e.name,getValue:r.bind(i,e,t),setValue:a.bind(i,e)};n.push(o)})),n},function(){return i||(i=new n),i}()})),define("text!dashboard-core/js/dashboard/widgets/error/InlineMessage.html",[],(function(){return'<div class="errorContainer {{!it.type}}">\n\t<div class="dashboardMessageBox {{!it.type}}" id="{{=it.id}}">\n\t\t{{!it.msg}}\n\t</div>\n</div>\n'})),define("dashboard-core/js/dashboard/widgets/error/ErrorView",["../../../lib/@waca/core-client/js/core-client/ui/core/Class","../../../app/nls/StringResources","jquery","doT","text!./InlineMessage.html"],(function(e,t,o,i,n){var a=e.extend({init:function(){a.inherited("init",this,arguments),this.msgTempl=i.template(n||"")},renderContainer:function(e){var t=this.makeNlsMessage(e.msg);return o(this.msgTempl({id:e.id,type:e.type,msg:t}))},makeNlsMessage:function(e){return e.params?t.get(e.str,e.params):t.get(e.str)}});return a})),define("dashboard-core/js/app/EventChannelRouter",["underscore","./EventRouter"],(function(e,t){var o=t.extend({globalEventRouter:null,eventNames:null,channelId:null,_alias:null,init:function(e){o.inherited("init",this,arguments),this.globalEventRouter=e.globalEventRouter,this.channelId=e.channelId,this.eventNames=e.eventNames,this._alias=e.alias},_isPrivateEvent:function(t){return e.find(this.eventNames,(function(e){return e===t}))},_getChanneledEventName:function(e){return this.channelId+"_"+e},on:function(e,t,i){this._isPrivateEvent(e)?o.inherited("on",this,[this._getChanneledEventName(e),t,i]):this.globalEventRouter.on(e,t,i)},off:function(e,t,i){this._isPrivateEvent(e)?o.inherited("off",this,[this._getChanneledEventName(e),t,i]):this.globalEventRouter.off(e,t,i)},trigger:function(e,t){this._isPrivateEvent(e)?o.inherited("trigger",this,[this._getChanneledEventName(e),t]):this.globalEventRouter.trigger(e,t)}});return o})),define("dashboard-core/js/dashboard/EventChannelRouterHelper",["underscore","../lib/@waca/core-client/js/core-client/ui/core/Class","../app/EventChannelRouter"],(function(e,t,o){var i={SAME_PAGE:["dw:filters"],Page2Page:[],Widget2Widget:[]},n=null;return n=t.extend({TYPE:{SAME_PAGE:1,Page2Page:2,Widget2Widget:3},widgetAndPageMap:null,pageAndChannelRouterMap:null,eventRouter:null,init:function(e){n.inherited("init",this,arguments),this.eventRouter=e.eventRouter,this.pageAndChannelRouterMap={}},destroy:function(){for(var e in this.pageAndChannelRouterMap)this.pageAndChannelRouterMap.hasOwnProperty(e)&&delete this.pageAndChannelRouterMap[e];delete this.topLayoutModel,delete this.pageAndChannelRouterMap,delete this.eventRouter},createSamePageEventChannelRouter:function(t){var n={channelId:t,eventNames:i.SAME_PAGE,globalEventRouter:this.eventRouter,alias:e.unique("tabPageECR_")},a=new o(n);return this.pageAndChannelRouterMap[t]=a,a},getChannelRouter:function(e){return this.pageAndChannelRouterMap[e]?this.pageAndChannelRouterMap[e]:this.createSamePageEventChannelRouter(e)}})})),define("dashboard-core/js/dashboard/layout/LayoutHelper",["jquery","underscore","../../app/util/DeepClone"],(function(e,t){return function(){function o(){_classCallCheck(this,o)}return o.setPreferredAddOptions=function(e,t,i){if(!e.parentId){var n=o.getLastVisiblePage(t.id,null,i);n&&(e.parentId=o.nodeIdToModelId(n.id))}var a=e.model;o.setPreferredLocation(e),e.copyPaste&&o._setCopyPasteLayout(e,a,t,i)},o.setPreferredLocation=function(t){if(t.parentId){var i=e("#"+o.modelIdToNodeId(t.parentId),this.$el)[0];i&&i._layout&&i._layout.setPreferredLocation&&(t.layoutProperties||(t.layoutProperties={}),i._layout.setPreferredLocation(t))}},o._setCopyPasteLayout=function(e,t,i,n){var a=o.getLayoutContentContainer(i.id,null,n),r=o.nodeIdToModelId(a.id),s=i.findModel(r);if(a&&s&&(t.layout&&t.layout.style||t.style)){e.insertBefore=null,e.parentId=s.id;var d=e.layoutProperties;d.style||(d.style={});var c=t.layout&&t.layout.style?t.layout.style:t.style,l=c.top,u=c.left;if(o._isOffsetAdjustmentRequired(r,i,n))for(var p=s.items.map((function(e){return e.style})),h=0,f=0,g=0;h<30;){var b=p.filter((function(e){return e.top===l&&e.left===u}));if(b&&0===b.length)break;if(f=o._incrementStyleValue(l),g=o._incrementStyleValue(u),!0===o._isOutOfBounds(f,c.height,a.clientHeight)||!0===o._isOutOfBounds(g,c.width,a.clientWidth))break;l=f,u=g,h++}d.style.top=l,d.style.left=u,d.style.width=c.width,d.style.height=c.height}},o._isOffsetAdjustmentRequired=function(e,t,o){var i=t.findModel(e),n=["widget"],a=o.getFeature("ContentTypeRegistry");return n=n.concat(a.getRegisteredTypes()),i.findDescendantsWithType(n).length>0},o._incrementStyleValue=function(e){var t=e.match(/[0-9\\.]+/g),o=e.match(/[^0-9\\.]+/g);if(null==t||null==o||t.isEmpty||o.isEmpty)return e;var i=parseFloat(t[0]);return"%"===o[0]?i+=5:i+=25,i+o[0]},o._isOutOfBounds=function(e,t,i){return o._getPixelValue(e,i)>i-o._getPixelValue(t,i)},o._getPixelValue=function(e,t){return"%"===e[e.length-1]?parseFloat(e)/100*parseFloat(t):parseFloat(e)},o.nodeIdToModelId=function(e){return e},o.modelIdToNodeId=function(e){return e},o.getLayoutContentContainer=function(t,o,i){return function(t){var n=!1,a=e(".pageTabContent .page:not(.pagegroup):not(.pagetemplateDropZone):not(.pagetemplateIndicator)",e(t)).filter((function(t,i){return n=!0,o?e("#"+o,i).length>0:e(this).closest(".pageTabContent").hasClass("selected")})).last();if(!n){var r=e(".page:not(.pagegroup):not(.pagetemplateDropZone):not(.pagetemplateIndicator)",e(t)).filter((function(t,i){return n=!0,o?e("#"+o,i).length>0:e(this).is(":visible")})).last();return r&&r[0]||t}if(a&&a[0])return a[0];if(i){var s=i.getDashboardCoreSvc(".StringResources").get("pageSelectWarning");i.showToast(s,{type:"info"})}}(document.getElementById(t))},o.getLayoutContentContainerForDropTarget=function(t,i,n){if(t){var a=e(t).attr("id"),r=i&&i.findModel(a);if(r&&"genericPage"===r.type)return t}return o.getLayoutContentContainer(i.id,null,n)},o.getLastVisiblePage=function(t,i,n){var a=o.getLayoutContentContainer(t,i,n),r=e(a).find(".pagetemplateDropZone.empty");return r.length>0?r[0]:a},o.getContainerPageId=function(e,t){var o=e.findTopLevelParentItem(t);if(o)return o.id},o.getBoundingPageSize=function(e,i){if(e){var n={width:0,height:0},a=void 0;a="genericPage"===e.type?[e]:e.findDescendantsWithType("genericPage"),i&&(n=t.deepClone(i));var r=a,s=Array.isArray(r),d=0;for(r=s?r:r[Symbol.iterator]();;){var c;if(s){if(d>=r.length)break;c=r[d++]}else{if((d=r.next()).done)break;c=d.value}var l=c;if("absolute"===l.layoutPositioning){var u=l.findDescendantsWithType(["widget","group"]),p=Array.isArray(u),h=0;for(u=p?u:u[Symbol.iterator]();;){var f;if(p){if(h>=u.length)break;f=u[h++]}else{if((h=u.next()).done)break;f=h.value}var g=f,b=o._getRawStyle(g.style,"px");if(b){var m=b.left+b.width;m>n.width&&(n.width=m);var v=b.top+b.height;v>n.height&&(n.height=v)}}}}return n&&n.width?n:void 0}},o._getRawStyle=function(e,t){if(-1!==e.left.indexOf(t)&&-1!==e.top.indexOf(t)&&-1!==e.width.indexOf(t)&&-1!==e.height.indexOf(t))return{left:parseInt(e.left,10),top:parseInt(e.top,10),width:parseInt(e.width,10),height:parseInt(e.height,10)}},o.styleIntToPx=function(e){e.top=e.top+"px",e.left=e.left+"px",e.width=e.width+"px",e.height=e.height+"px"},o}()})),define("dashboard-core/js/dashboard/loader/WidgetLoader",["../../lib/@waca/core-client/js/core-client/utils/PerfUtils","../../lib/@waca/core-client/js/core-client/utils/Deferred","underscore","jquery","../widgets/PropertiesUtil","../widgets/error/ErrorView","../EventChannelRouterHelper","../layout/LayoutHelper"],(function(e,t,o,i,n,a,r,s){var d={LOAD:20,UNLOAD:21,WIDGET_ALREADY_LOADED:22,RENDER:23,UNLOADING_A_LOADING_WIDGET:24},c=0;return function(){function l(e){_classCallCheck(this,l),this.ERROR=d,this.loadingWidgets={},this.failedWidgets={},this.eventGroups=null,this.boardModel=null,this._initializeParams(e),this.registerEvents()}return l.prototype._initializeParams=function(e){this.widgetReadyPromises={},this.pendingWidgetResolveRequests={},this.services=e.services,this.appSettings=e.appSettings,this.contentFeatureLoader=e.contentFeatureLoader,this.dashboardApi=e.dashboardApi,this.canvas=e.canvas,this.eventRouter=e.eventRouter,this.logger=this.dashboardApi.getGlassCoreSvc(".Logger"),this.colorsService=this.dashboardApi.getFeature("Colors"),this.widgetRegistry=e.widgetRegistry,this.loadedWidgets=e.loadedWidgets,e.boardModel&&(this.eventGroups=e.boardModel.eventGroups,this.boardModel=e.boardModel,this.topLayoutModel=e.boardModel.layout),this.channelRouterHelper=new r({eventRouter:this.eventRouter})},l.prototype.registerEvents=function(){this.eventGroups.on("change:id",this.onEventGroupIdChange,this),this.eventGroups.on("change:widgetIds",this.onWidgetIdsChange,this),this.boardModel&&this.boardModel.on("change:eventGroups",this.onEventGroupsChange,this)},l.prototype.onEventGroupIdChange=function(e){var t={sender:e.sender,payloadData:{undoRedoTransactionId:e.data.undoRedoTransactionId,transactionToken:e.data.transactionToken}},i=this.channelRouterHelper.getChannelRouter(e.model.id);o.each(e.model.widgetIds,function(e){this.loadedWidgets[e]&&this.loadedWidgets[e].setEventRouter(i,t)}.bind(this))},l.prototype.onWidgetIdsChange=function(e){var t,i,n={sender:e.sender,payloadData:{undoRedoTransactionId:e.data.undoRedoTransactionId,transactionToken:e.data.transactionToken}};e.prevValue.length>e.value.length?(t=o.difference(e.prevValue,e.value),i=null):(t=o.difference(e.value,e.prevValue),i=this.channelRouterHelper.getChannelRouter(e.model.id)),o.each(t,function(e){this.loadedWidgets[e]&&this.loadedWidgets[e].setEventRouter(i,n)}.bind(this));var a=this.dashboardApi.getFeature("EventGroups").getContentIdList(e.model.id),r=this.channelRouterHelper.getChannelRouter(e.model.id);o.each(a,function(e){this.loadedWidgets[e]&&this.canvas.getContent(e)&&this.loadedWidgets[e].setEventRouter(r,n)}.bind(this))},l.prototype.onEventGroupsChange=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("add"===t.name){var o=t.value||{};if(o.widgetIds instanceof Array){var i=this.channelRouterHelper.getChannelRouter(t.value.id);o.widgetIds.forEach((function(t){e.loadedWidgets[t]&&e.loadedWidgets[t].setEventRouter(i,{silent:!0})}))}}},l.prototype.registerWidgetToEventGroup=function(e,t){var o=this.getWidget(e);o&&o.registerEventGroup(t)},l.prototype.unregisterWidgetFromEventGroup=function(e,t,o){this.eventGroups.removeWidgetsFromGroup([e],{payloadData:{undoRedoTransactionId:t,skipUndoRedo:o.data&&o.data.skipUndoRedo},sender:o.sender})},l.prototype.loadWidget=function(e,t,o,i,n,a){var r=c;return c++,this.logger.debug("Widget load start ("+r+")",e,t,o),this._invokeLifeCycleHandlers("pre:widget.load",{modelId:e,widgetSpec:t}).then(function(){var s;if(!this.loadedWidgets[e]&&this.loadingWidgets[e])this.loadingWidgets[e].cbOnLoad.push(i),this.loadingWidgets[e].cbOnError.push(n);else if(e&&t){if(this.loadedWidgets[e]||this.loadingWidgets[e])this._onError(n,d.WIDGET_ALREADY_LOADED,e,null,r),s=Promise.reject(new Error("Widget already loaded"));else try{s=this._loadWidget(e,t,o,i,n,r,a)}catch(t){this._onError(n,d.LOAD,e,t,r),s=Promise.reject(t)}}return s}.bind(this)).catch(this.logger.error.bind(this.logger))},l.prototype.unLoadWidget=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var i=o.data?o.data.undoRedoTransactionId:void 0;if(this.logger.debug("Unloading widget",e),this.loadingWidgets[e])return void this._onError(t,d.UNLOADING_A_LOADING_WIDGET,e);var n=this.loadedWidgets[e];if(this.unregisterWidgetFromEventGroup(e,i,o),n&&n.destroy)try{n.destroy(i)}catch(o){this._onError(t,d.UNLOAD,e,o)}finally{this.loadedWidgets[e]=null,this.widgetReadyPromises[e]=null}var a=document.getElementById(e);a&&a.getElementsByClassName("widgetContentWrapper").length&&(a.getElementsByClassName("widgetContentWrapper")[0].innerHTML="")}},l.prototype._setLoading=function(e){this.loadingWidgets[e]={cbOnLoad:[],cbOnError:[]}},l.prototype._loadWidget=function(e,i,n,a,r,s,c){a=a||function(){},this.loadingWidgets[e]||this._setLoading(e);var l=this.widgetRegistry[i.type]&&this.widgetRegistry[i.type].widget;if(l){var u=new t,p=o.partial(this._onLoadWidget.bind(this),e,i,l,n,a,r,s,c);return require([l],(function(e){return p(e).then(u.resolve.bind(u),u.reject.bind(u))}),function(t){u.reject(t),delete this.loadingWidgets[e],this._onError(r,d.LOAD,e,t,s)}.bind(this)),u.promise}try{a({id:e,widget:null})}catch(e){r(e)}},l.prototype._onLoadWidget=function(t,o,r,s,c,l,u,p,h){var f=this,g=void 0,b=void 0,m=void 0,v=void 0;try{if(!this.loadingWidgets[t])return Promise.reject(new Error("Widget '"+t+"' is not in a loading state. Unable to load."));e.createPerformanceMark({component:"dashboard",name:"loadWidget",state:"start"}),this.logger.debug("Widget load finish ("+u+")"),v=this._invokeLifeCycleHandlers("post:widget.load",{modelId:t,widgetSpec:o}).then((function(){return f.contentFeatureLoader.whenContentReady(t)})).then(function(){var r=this;if(m=g=document.getElementById(t)||s,g&&g.getElementsByClassName("widgetContentWrapper").length&&(g=g.getElementsByClassName("widgetContentWrapper")[0]),g){var d=!0,f=this.widgetRegistry[o.type];f&&(d=this.widgetRegistry[o.type].createContentNode),d?((b=document.createElement("div")).className=o.type+"WidgetContent widgetContent",b.id=t+"_",i(g).append(b)):b=g;var v={services:this.services,appSettings:this.appSettings,dashboardApi:this.dashboardApi,id:t,canvas:this.canvas,content:this.canvas&&this.canvas.getContent(t),initialConfigJSON:o,el:b,widgetContainer:m,registry:f,eventRouter:this.eventRouter,errorView:new a,propertiesUtil:n,contentFeatureLoader:this.contentFeatureLoader};v=this._addScopedEventInfo(v,o,p),v=this._addConfigInfo(v);var y=this.boardModel&&this.boardModel.widgetInstances&&this.boardModel.widgetInstances[t];return y?v.widgetModel=y:v.widgetSpec=o,this._createWidget(v,c,l,h,u,p).then((function(){e.createPerformanceMark({component:"dashboard",name:"loadWidget",state:"end"})}),(function(e){throw r.failedWidgets[t].setEventRouter(null),e}))}this.logger.error('Could not find layout node for widget with id: "'+t+'"')}.bind(this)).catch(this.logger.error.bind(this.logger))}catch(e){delete this.loadingWidgets[t],g&&g.removeChild(b),this._onError(l,d.LOAD,t,e,u),v=Promise.reject(e)}return v},l.prototype._createWidget=function(e,t,o,i,n,a){var r=this;this.logger.debug("Widget create start ("+n+")");var s=e.id,d=new i(e),c=void 0,l=function(){return r.loadedWidgets[s]=d,r._renderWidget(d,s,t,o,n,a)},u=function(){var t=e.content.getFeature("state.internal");t.setStatus(t.STATUS.INITIALIZED)};if(d.initialize){var p={};a&&(p.transactionId=a),c=d.initialize(p).then((function(){return u(),l()}),(function(e){throw r.failedWidgets[s]=d,e&&e.uiErrorMessage&&d.showError&&d.showError(e.uiErrorMessage),e}))}else u(),c=l();return c},l.prototype._renderWidget=function(e,t,i,n,a,r){var s=this;this.logger.debug("Widget render start ("+a+")");var c=void 0;this.pendingWidgetResolveRequests[t]&&(this.pendingWidgetResolveRequests[t](e),delete this.pendingWidgetResolveRequests[t]);var l=this.loadingWidgets[t].cbOnLoad,u=this.loadingWidgets[t].cbOnError;delete this.loadingWidgets[t];try{e.content&&"widget.filter"===e.content.getType()||this.registerWidgetToEventGroup(t,r),c=e.render?e.createVisualizationCompleteDeferred?e.createVisualizationCompleteDeferred.then((function(){return Promise.resolve().then(e.render.bind(e)).catch((function(e){s.logger.error("[WidgetLoader] widget render error",e)}))})):Promise.resolve(e.render()).catch((function(e){throw s.logger.error("[WidgetLoader] widget render error",e),o.each(u,(function(o){s._onError(o,d.RENDER,t,e,a)})),s._onError(n,d.RENDER,t,e,a),e})):Promise.resolve(),o.each(l,(function(o){o({id:t,widget:e})})),i({id:t,widget:e}),this.logger.debug("Widget render finish ("+a+")")}catch(e){o.each(u,(function(o){s._onError(o,d.RENDER,t,e,a)})),this._onError(n,d.RENDER,t,e,a),c=Promise.reject(new Error(""))}return c},l.prototype._getChannelId=function(e,t,o){var i;return this.eventGroups&&((i=this.eventGroups.findGroup(t))||(i=this.eventGroups.getDefaultGroup(e,{payloadData:{undoRedoTransactionId:o}}))),i?i.id:e},l.prototype._addScopedEventInfo=function(e,t,o){if(this.channelRouterHelper){var i=this.widgetRegistry[t.type].filter;e.containerPageId=s.getContainerPageId(this.topLayoutModel,t.id);if(-1!==["data","live"].indexOf(t.type)||i){var n=this._getChannelId(e.containerPageId,t.id,o);e.eventRouter=this.channelRouterHelper.getChannelRouter(n)}}return e},l.prototype._addConfigInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.focusModeDisabled=!!this.dashboardApi.getConfiguration("focusModeDisabled"),e.interactivitySettings=this.dashboardApi.getConfiguration("interactions"),e},l.prototype.cleanup=function(){var e=this.loadedWidgets;for(var t in e)if(e.hasOwnProperty(t)){var o=e[t];o&&o.destroy&&(o.destroy(),this.loadedWidgets[t]=null,this.widgetReadyPromises[t]=null)}this.loadingWidgets={},this.eventGroups&&(this.eventGroups.off("change:id",this.onEventGroupIdChange,this),this.eventGroups.off("change:widgetIds",this.onWidgetIdsChange,this)),this.boardModel&&this.boardModel.off("change:eventGroups",this.onEventGroupsChange,this),this.channelRouterHelper&&(this.channelRouterHelper.destroy(),delete this.topLayoutModel)},l.prototype.isLoaded=function(e){return!!e&&(null!==this.loadedWidgets[e]&&void 0!==this.loadedWidgets[e])},l.prototype.isLoading=function(e){return this.loadingWidgets[e]},l.prototype.getWidget=function(e){return e?this.loadedWidgets[e]:void 0},l.prototype.getWidgetAsync=function(e){var t=this;return this.widgetReadyPromises[e]||(this.widgetReadyPromises[e]=new Promise((function(o){var i=void 0;t.isLoaded(e)&&(i=t.getWidget(e)),i?o(i):t.pendingWidgetResolveRequests[e]=o}))),this.widgetReadyPromises[e]},l.prototype.runAPIOnAllWidgets=function(e,t){var i=[];return o.each(o.keys(this.loadedWidgets),function(o){var n=this.loadedWidgets[o];if(n&&n[e]&&(!t||n.getContainerPageId()===t)){var a=n[e]();a&&i.push(a)}}.bind(this)),i},l.prototype._onError=function(e,t,o,i,n){var a={errorCode:t,widget:o,exception:i};e&&setTimeout((function(){e(a)}),1),this.logger.error("Error loading widget",n,a)},l.prototype._invokeLifeCycleHandlers=function(e,t){return this.dashboardApi.getFeature(".LifeCycleManager").invokeLifeCycleHandlers(e,t)},l}()})),define("dashboard-core/js/dashboard/loader/DeploymentReferencesUtil",["underscore"],(function(e){var t={updateIds:function(e,o){e&&o&&0!==o.length&&(t.updateWidgetIds(e,o),t.updateDatasetShaping(e,o),t.updateDataSources(e,o),t.updateDrillThrough(e,o))},updateWidgetIds:function(o,i){o&&o.widgets&&e.keys(o.widgets).forEach((function(e){var n=o.widgets[e];if(n.dataSet){var a=t.findReference(n.dataSet.id,i);if(a){n.dataSet.id=a.id,n.dataSet.type=a.type,n.dataSet.name=a.defaultName,n.dataSet.exists=!0;var r=a.ancestors;r&&r.length>0&&(n.dataSet.ancestors=a.ancestors,n.dataSet.parentFolderURL=r[r.length-1]._meta.links.self.url)}}}))},updateDatasetShaping:function(e,o){e&&e.datasetShaping&&e.datasetShaping.forEach((function(e){var i=t.findReference(e.id,o);i&&(e.id=i.id)}))},updateDataSources:function(e,o){e&&e.dataSources&&e.dataSources.sources&&e.dataSources.sources.forEach((function(e){var i=t.findReference(e.assetId,o);i&&(e.assetId=i.id),(i=t.findReference(e.assetId,o,!0))&&(e.searchPath=i.searchPath),e.shaping&&t.updateShaping(e.shaping,o)}))},updateShaping:function(e,o){if(e){if(e.moserJSON){var i=t.findReference(e.moserJSON.useSpec[0].storeID,o);i&&(e.moserJSON.useSpec[0].storeID=i.id)}if(e.embeddedModuleId){var n=t.findReference(e.embeddedModuleId,o);n&&(e.embeddedModuleId=n.id)}}},updateDrillThrough:function(e,o){e&&e.drillThrough&&e.drillThrough.length&&e.drillThrough.forEach((function(e){var i=t.findReference(e.assetId,o);i&&(e.assetId=i.id)}))},findReference:function(t,o,i){if(!o)return null;for(var n=0;n<o.length;n++){var a=o[n],r=a.name&&e.keys(a.name)[0]||"en-us";if(a.objects&&a.objects.length>0&&a.name[r]===t)return i||a.objects[0].id!==t?a.objects[0]:null}return null}};return t})),define("dashboard-core/js/extension/Extensions",["../lib/@waca/core-client/js/core-client/utils/ClassFactory","underscore"],(function(e,t){return function(){function o(e){_classCallCheck(this,o),this.dashboardApi=e,this.logger=this.dashboardApi.getGlassCoreSvc(".Logger"),this.consumeViews={absolute:"dashboard-core/js/dashboard/layout/views/LayoutBaseView",genericPage:"dashboard-core/js/dashboard/layout/views/GenericPage",tab:"dashboard-core/js/dashboard/layout/views/Tab",hub:"dashboard-core/js/dashboard/layout/views/Tab",longscroll:"dashboard-core/js/dashboard/layout/views/Tab",group:"dashboard-core/js/dashboard/layout/views/LayoutBaseView",singlePage:"dashboard-core/js/dashboard/layout/views/SinglePage"},this.authoringViews={absolute:"dashboard-core/js/dashboard/layout/authoring/views/Absolute",tab:"dashboard-core/js/dashboard/layout/authoring/views/Tab",hub:"dashboard-core/js/dashboard/layout/authoring/views/Tab",longscroll:"dashboard-core/js/dashboard/layout/authoring/views/Tab",group:"dashboard-core/js/dashboard/layout/authoring/views/Group",templateDropZone:"dashboard-core/js/dashboard/layout/authoring/views/TemplateDropZone",templateIndicator:"dashboard-core/js/dashboard/layout/authoring/views/TemplateIndicator",scalingAbsolute:"dashboard-core/js/dashboard/layout/authoring/views/ScalingAbsolute",genericPage:"dashboard-core/js/dashboard/layout/authoring/views/GenericPage",container:"dashboard-core/js/dashboard/layout/authoring/views/TemplateContainer",singlePage:"dashboard-core/js/dashboard/layout/authoring/views/SinglePage"}}return o.prototype.getBoardModelExtensions=function(){return this.boardModelExtensions},o.prototype.getLayoutModelExtensions=function(){return this.layoutExtensions&&this.layoutExtensions.modelExtensions},o.prototype.getLayoutViewExtensions=function(){if(!this.layoutViewExtensions){var e=this.layoutExtensions&&this.layoutExtensions.consumeViews;e&&Object.keys(e).forEach(function(t){this.consumeViews[t]=e[t]}.bind(this));var t=this.layoutExtensions&&this.layoutExtensions.authoringViews;t&&Object.keys(t).forEach(function(e){this.authoringViews[e]=t[e]}.bind(this)),this.layoutViewExtensions={authoringViews:this.authoringViews,consumeViews:this.consumeViews,modelExtensions:this.layoutExtensions&&this.layoutExtensions.modelExtensions}}return this.layoutViewExtensions},o.prototype.getCanvasExtensions=function(){return this.canvasExtensions},o.prototype.load=function(){var e=this;return this.loadLayoutAndCanvasExtensions().then((function(t){return e.layoutExtensions=t[0],e.canvasExtensions=t[1],e.loadBoardModelExtensions().then((function(t){e.boardModelExtensions=t}))}))},o.prototype.loadLayoutAndCanvasExtensions=function(){return Promise.all([this._getLayoutExtensions(),this._getCanvasExtensions()]).then(function(e){return e}.bind(this))},o.prototype._getLayoutExtensions=function(){var e=this,t=Promise.resolve(),o=this.dashboardApi.getCollectionConfig("layoutExtension");if(o){var i=o.id;t=Promise.all([this.dashboardApi.findGlassCollection(i)]).then((function(t){var o=t[0]||[];return e.loadLayoutModelExtensions(o)}))}return t},o.prototype.loadLayoutModelExtensions=function(e){var t=this._combineLayoutModelExtensions(e);return this._loadModelExtensions(t)},o.prototype._combineLayoutModelExtensions=function(e){var t={};return e.forEach((function(e){var o=e.extensions;Object.keys(o).forEach((function(e){var i=o[e];t[e]||(t[e]={}),Object.keys(i).forEach((function(o){t[e][o]=i[o]}))}))})),t},o.prototype._loadModelExtensions=function(o){var i=this,n=o.modelExtensions;return n?Promise.all(Object.keys(n).map((function(t){return e.loadModule(n[t]).then((function(e){var o;return(o={})[t]=e,o})).catch((function(e){return i.logger.error(e),{}}))}))).then((function(e){return o.modelExtensions=t.extend.apply(t,e),o})):Promise.resolve(o)},o.prototype._getCanvasExtensions=function(){var e,t=this.dashboardApi.getCollectionConfig("canvasExtension");if(t){var o=t.id;e=Promise.all([this.dashboardApi.findGlassCollection(o)]).then(function(e){var t=[];return e.length>0&&e[0]&&e[0].forEach(function(e){t.push(e)}.bind(this)),t}.bind(this))}return e||Promise.resolve()},o.prototype.loadBoardModelExtensions=function(){var e=this.dashboardApi.getCollectionConfig("boardModel").id;return this.dashboardApi.findGlassCollection(e).then(function(e){return this._loadBoardModelExtensions(e)}.bind(this))},o.prototype._loadBoardModelExtensions=function(t){if(t){var o=[];return t.forEach((function(t){t.name&&t.class&&o.push(e.loadModule(t.class).then(function(e){return{name:t.name,type:t.type||"model",class:e,triggers:t.triggers||[],autoCreate:!1!==t.autoCreate}}.bind(this)).catch(function(e){this.logger.error(e)}.bind(this)))}),this),Promise.all(o).then((function(e){return e.filter((function(e){return null!=e}))}))}},o}()})),define("dashboard-core/js/app/services/SmartNamingSvc",["../../lib/@waca/core-client/js/core-client/ui/core/Class","underscore","../nls/StringResources","../../lib/@waca/dashboard-common/dist/core/MultilingualAttribute"],(function(e,t,o,i){var n={crosstab:{requiredMappings:["values","row_level1"],optionalMapping:"column_level1"},JQGrid:{requiredMappings:["grid_cols"]},hierarchy:{requiredMappings:["level1"]},map:{requiredMappings:["categories"]},infographicSummary:{requiredMappings:["actual"]},summary:{requiredMappings:["actual"]},kpi:{requiredMappings:["actual"],optionalMapping:"sparkline.time"},LIVE_bubble_chart:{requiredMappings:["x","y","size"]},LIVE_line_column:{requiredMappings:["columnValue","lineValue"],optionalMapping:"categories"},LIVE_decision_tree:{requiredMappings:["values"]},LIVE_heatmap:{requiredMappings:["color"]},LIVE_pie:{requiredMappings:["categories","values"]},LIVE_pie_as_donut:{requiredMappings:["categories","values"]},LIVE_point:{requiredMappings:["categories","values"]},LIVE_line:{requiredMappings:["categories","values"]},LIVE_map:{requiredMappings:["locations"]},LIVE_network:{requiredMappings:["categories","series"],optionalMapping:"values"},LIVE_bar:{requiredMappings:["values"],optionalMapping:"categories"},LIVE_bullet:{requiredMappings:["actual"]},LIVE_stacked_bar:{requiredMappings:["values"],optionalMapping:"categories"},LIVE_column:{requiredMappings:["values"],optionalMapping:"categories"},LIVE_stacked_column:{requiredMappings:["values"],optionalMapping:"categories"},LIVE_packed_bubble:{requiredMappings:["categories"]},LIVE_hierarchy_packed_bubble:{requiredMappings:["categories"]},LIVE_marimekko:{requiredMappings:["categories","values"]},LIVE_sunburst:{requiredMappings:["values"]},LIVE_decision_analysis:{requiredMappings:["values"]},LIVE_data_player:{requiredMappings:["category"]},LIVE_radial_bar:{requiredMappings:["values"],optionalMapping:"categories"},LIVE_spiral:{requiredMappings:["values"]},LIVE_treemap:{requiredMappings:["categories","size"]},LIVE_wordcloud:{requiredMappings:["categories"]},LIVE_area:{requiredMappings:["categories","values"]},LIVE_area_as_stacked_percent:{requiredMappings:["categories","values"]},LIVE_scatter:{requiredMappings:["x","y"],optionalMapping:"categories"},LIVE_waterfall:{requiredMappings:["values"]}},a={grid:"JQGrid",player:"dataPlayer",summaryChart:"summary"},r={list:"hierarchy",hierarchy2:"hierarchy",hierarchy3:"hierarchy",map1measure:"map",map2measure:"map",map3measure:"map","com.ibm.vis.rave2polygonmap":"map","com.ibm.vis.rave2bundlearea":"LIVE_area","com.ibm.vis.rave2bundlebar":"LIVE_bar","com.ibm.vis.rave2bundlebullet":"LIVE_bullet","com.ibm.vis.rave2bundlecomposite":"LIVE_line_column","com.ibm.vis.rave2bundlepackedbubble":"LIVE_packed_bubble","com.ibm.vis.rave2bundlehierarchicalpackedbubble":"LIVE_hierarchy_packed_bubble","com.ibm.vis.rave2marimekko":"LIVE_marimekko","com.ibm.vis.sunburst":"LIVE_sunburst","com.ibm.vis.rave2comet":"LIVE_decision_analysis","com.ibm.vis.rave2bundlepie":"LIVE_pie","com.ibm.vis.rave2bundleradialbar":"LIVE_radial_bar","com.ibm.vis.rave2bundletreemap":"LIVE_treemap","com.ibm.vis.rave2bundlewordcloud":"LIVE_wordcloud","com.ibm.vis.ravebubble":"LIVE_bubble_chart","com.ibm.vis.decisiontree":"LIVE_decision_tree","com.ibm.vis.rave2heat":"LIVE_heatmap","com.ibm.vis.rave2line":"LIVE_line","com.ibm.vis.rave2network":"LIVE_network","com.ibm.vis.spiral":"LIVE_spiral","com.ibm.vis.rave2bundletiledmap":"LIVE_map","com.ibm.vis.rave2bundlecolumn":"LIVE_column","com.ibm.vis.rave2bundlestackedbar":"LIVE_stacked_bar","com.ibm.vis.rave2bundlestackedcolumn":"LIVE_stacked_column","com.ibm.vis.rave2point":"LIVE_point","com.ibm.vis.ravescatter":"LIVE_scatter","com.ibm.vis.rave2bundlewaterfall":"LIVE_waterfall",dataPlayer:"LIVE_data_player",pieExpressedAsDonut:"LIVE_pie_as_donut",areaExpressedAsStackedPercent:"LIVE_area_as_stacked_percent"};return e.extend({init:function(e,t){this._widgetRegistry=e,this._boardModel=t},getPinName:function(e){var t,o=1,i=1,n=[];if(e.content&&e.content.widgets){n=e.content.widgets,o=e.content.widgets.length;var a=e.content.widgets.reduce(function(e,t){var o=this._getWidgetType(t);return o in e?e[o]++:e[o]=1,e}.bind(this),{});t=Object.keys(a).reverse((function(e,t){return a[e]>a[t]}))[0],i=Object.keys(a).length}return this._getName(o,i,t,n)},getWidgetName:function(e,t){var o=this._getWidgetType(e),i=[e];return this._getName(1,1,o,i,t)},getLocalizedWidgetType:function(e){var t=this._getWidgetType(e);return o.get(t+"_label")},_getWidgetType:function(e){var t=e.type;return"media"===t&&e.mediaType?t=e.mediaType:e.placeholder&&!this._getTextContent(e).length&&(t="text"===e.type||e.placeholder.text?"placeholder_text":"placeholder_vis"),t},_getCountKey:function(e,t){return 1===e?t?"one_unknown":"one":e>1&&e<5?t?"few_unknown":"few":t?"many_unknown":"many"},_getLabelsFromMappings:function(e,t){return e[t.slotId]=t.label,e},_isInfographics:function(e){return e&&e.hasGraphic},getWidgetVisId:function(e){var t=e.visId;return!t&&e.archetype&&(t=a[e.archetype]||e.archetype),"summary"===t&&this._isInfographics(e)&&(t="infographicSummary"),-1!==["com.ibm.vis.rave2bundlepie","com.ibm.vis.rave2bundlearea"].indexOf(t)&&e.properties&&(t=this._getExpressedVisId(t,e.properties)),r[t]&&(t=r[t]),t},_getExpressedVisId:function(e,o){switch(e){case"com.ibm.vis.rave2bundlepie":t.each(o,function(t){"pie.has.hole"===t.id&&!0===t.value&&(e="pieExpressedAsDonut")}.bind(this));break;case"com.ibm.vis.rave2bundlearea":t.each(o,function(t){"stacked.percent"===t.id&&!0===t.value&&(e="areaExpressedAsStackedPercent")}.bind(this))}return e},_getKeyFromDataLabels:function(e,o){if(!n[e])return"one_unknown_live";var i=t.every(n[e].requiredMappings,(function(e){return o[e]}));return n[e].optionalMapping&&o[n[e].optionalMapping]&&i?e+"_opt_mapping":i?e+"_has_mapping":e+"_no_mapping"},_getName:function(e,t,i,n,a){var r=this._getCountKey(e,!1),s={count:e,resource_key:r+"_"+i},d=n[0];if(1===e&&d)switch(i){case"text":this._getTextName(s,d);break;case"live":this._getLiveName(s,d);break;case"filter":this._getFilterName(s,d);break;case"shape":this._getShapeName(s,d);break;case"image":case"webpage":case"youtube":case"embedMedia":case"media":case"multipurpose":this._getStaticName(s,d,i);break;case"placeholder_text":case"placeholder_vis":this._getPlaceholderName(s,i);break;default:this._getRegistryName(s,d,i,r)}else t>1&&(s.resource_key=e<5?"few_unknown":"many_unknown");var c=o.get(s.resource_key,s);if(c===s.resource_key&&(s.resource_key=this._getCountKey(e,!0),c=o.get(s.resource_key,s)),a&&a[c]){s.resource_key=s.resource_key+"_numbered";for(var l=1;l<501&&a[c];l++)s.number=l,c=o.get(s.resource_key,s)}return c},_getTextContent:function(e){return new i(e.name,this._boardModel.getLanguageModelOptions()).getValue()},_getTextName:function(e,t){var o=this._getTextContent(t);o?(e.name=o,e.resource_key="one_name"):t.placeholder?e.resource_key="one_placeholder_text":e.resource_key="noExtraText_text"},_getLiveName:function(e,n){var a=this.getWidgetVisId(n),r=null;n.name&&(r=new i(n.name,this._boardModel.getLanguageModelOptions()).getValue().trim());if(r&&r.length>0){e.name=r,e.resource_key=a+"_named",o.get(e.resource_key,e)===e.resource_key&&(e.resource_key="one_named_live")}else{var s=[],d=n.slotmapping&&n.slotmapping.slots,c=this._getAllDataItemsFromData(n.data);t.each(c,function(e){var o={label:e.itemLabel};t.each(d,function(t){t.dataItems.indexOf(e.id)>=0&&(o.slotId=t.name)}.bind(this)),s.push(o)}.bind(this)),t.extend(e,s.reduce(this._getLabelsFromMappings,{})),e.resource_key=this._getKeyFromDataLabels(a,e)}},_getAllDataItemsFromData:function(e){var t=[];return e&&e.dataViews&&e.dataViews.forEach((function(e){t.push.apply(t,e.dataItems)})),t},_getFilterName:function(e,t){t.properties.itemName?(e.name=t.properties.itemName.trim(),o.get(e.resource_key,e)===e.resource_key&&(e.resource_key="one_named_filter")):e.resource_key="one_unknown_filter"},_getShapeName:function(e,t){t.name?(e.name=t.name.trim(),e.resource_key="one_name"):e.resource_key="noExtraText_shape"},_getStaticName:function(e,t,o){var n,a=null;(n="image"===o?t.altText:t.title)&&(a=new i(n,this._boardModel.getLanguageModelOptions()).getValue());a?(e.text=a.trim(),e.resource_key="one_"+o):e.resource_key="noExtraText_"+o},_getRegistryName:function(e,t,o,n){if(this._widgetRegistry&&this._widgetRegistry[o]&&!this._widgetRegistry[o].builtin)if(t.name){var a=new i(t.name,this._boardModel.getLanguageModelOptions());e.name=a.getValue().trim(),e.resource_key="one_custom_named"}else e.resource_key="one_custom";else e.resource_key=n+"_"+o},_getPlaceholderName:function(e,t){e.resource_key="one_"+t}})})),define("dashboard-core/js/dashboard/loader/BoardModuleFactory",["../../lib/@waca/core-client/js/core-client/utils/ClassFactory"],(function(e){var t=function(){function t(o){_classCallCheck(this,t),this.modules=o.modules||[],this._cache=o.cache||{},this._loader=o.loader||e,this.logger=o.logger}return t.prototype.make=function(e){var t=this,o=this.getModuleByType(e);if(!o)throw new Error('Module with type "'+e+'" not found');return(this.isCached(o)?Promise.resolve(this.getFromCache(o)):this.loadModule(o).then((function(e){return t.setToCache(o,e),e}))).then((function(e){return new e({logger:t.logger})}))},t.prototype.loadModule=function(e){var t=this;return this._loader.loadModule(e.path).catch((function(o){throw t.logger.warn('[BoardModuleFactory]: attempted to load module "'+e.path+' and failed"',o),o}))},t.prototype.getModuleByType=function(e){var t;for(var o in this.modules)this.modules.hasOwnProperty(o)&&this.modules[o].type===e&&(t=this.modules[o]);return t},t.prototype.getDefaultModuleType=function(){return t.defaultModuleType},t.prototype.isCached=function(e){return!!this._cache[e.type]},t.prototype.getFromCache=function(e){return this._cache[e.type]},t.prototype.setToCache=function(e,t){return this._cache[e.type]=t,this},t}();return t.defaultModuleType="legacy",t})),define("dashboard-core/js/common/templates/HtmlTemplates",["../../lib/@waca/core-client/js/core-client/ui/core/Class","../../lib/@waca/dashboard-common/dist/utils/HtmlXSSUtils","underscore"],(function(e,t,o){var i='<div id="{{id}}" tabindex="-1" class="page page{{type}} gridCapable{{extraCSS}}"{{style}}>{{items}}</div>',n='<div id="{{id}}" class="page page{{type}}{{extraCSS}}"{{style}}><div class="tabCntr"></div><div class="tabPageHolder">{{items}}</div></div>',a='<div id="{{item.id}}_tab" class="pageTabContent">{{item}}</div>',r=0;return e.extend({init:function(e){if(e=e||{},this._defaultHtml=['<div id="{{id}}" tabindex="-1" class="page page{{type}}{{extraCSS}}"{{style}}>{{items}}</div>',"{{item}}"],this._htmlTemplates={absolute:[i,"{{item}}"],scalingAbsolute:[i,"{{item}}"],genericPage:[i,"{{item}}"],widget:['<div id="{{id}}" role="application" aria-label="{{title}}" class="widget {{widgetType}}Widget{{extraCSS}}"{{style}} tabIndex="0"><div class="widgetContentWrapper" style="height:100%;width:100%"></div></div>',""],column:['<table id="{{id}}" class="page page{{type}}{{extraCSS}}"{{style}}><tbody><tr>{{items}}</tr></tbody></table>',"<td>{{item}}</td>"],flow:['<div id="{{id}}" class="page page{{type}}{{extraCSS}}"{{style}}><div class="pageflowcolumn">{{items}}</div></div>',"{{item}}"],tab:[n,a],cardtab:[n,a],hub:['<div id="{{id}}" class="page page{{type}}{{extraCSS}}"{{style}}><div class="tabLabelCntr">{{labels}}</div><div class="tabCntr">{{items}}</div></div>','<div id="{{id}}_{{counter}}" class="pageTabContent" style="display:none">{{item}}</div>','<div id="{{id}}_{{counter}}_label" class="tabLabel" tabIndex="0" role="tab">{{label}}</div>'],longscroll:['<div id="{{id}}" class="page page{{type}}{{extraCSS}}"{{style}}><div class="tabLabelCntr">{{labels}}</div><div class="tabCntr">{{items}}</div></div>','<div id="{{id}}_{{counter}}" class="pageTabContent" style="display:none">{{item}}</div>','<div id="{{id}}_{{counter}}_label" class="tabLabel" tabIndex="0" role="tab">{{label}}</div>']},e.layoutExtensionsTemplates){var t=/<!--[\s\S]*?-->/m;Object.keys(e.layoutExtensionsTemplates).forEach(function(o){var i=e.layoutExtensionsTemplates[o]();this._htmlTemplates[o]=i.map((function(e){return(e||"").replace(t,"")}))}.bind(this))}},reset:function(){r=0},getStyleValue:function(e){var t=[];if(e)if("string"==typeof e)t.push(e);else{var o=[];for(var i in e)e.hasOwnProperty(i)&&o.push(i+":"+e[i]);t.push(o.join(";"))}return t.join("")},getStyle:function(e){var t=this.getStyleValue(e),i=[];return t&&(i.push(' style="'),i.push(o.escape(t)),i.push('"')),i.join("")},getHtml:function(e,t){if(!e.id){var i="page"+r++;e.setId?e.setId(i):e.id=i}var n=e.type,a=this.getTemplate(n)[0],s=[],d=[];o.each(e.items,function(e,o){this._loadLabelHtml(d,n,t,e,o),this._loadItemHtml(s,n,t,e)}.bind(this));var c=a.replace(/\{\{items\}\}/g,s.join("")).replace(/\{\{labels\}\}/g,d.join(""));return c=this.replaceWidgetValues(c,t?t[e.id]:null),c=this.replaceLayoutValues(c,e)},_loadLabelHtml:function(e,t,o,i,n){var a=this.getLabel(i,o)||"Tab "+(n+1),r=this.getLabelTemplate(t,a,i);r&&e.push(r)},_loadItemHtml:function(e,t,o,i){var n=this.getLabel(i,o)||"",a=this.getItemTemplate(t,this.getHtml(i,o),i,n);a&&e.push(a)},getTemplate:function(e){return this._htmlTemplates[e]||this._defaultHtml},getLabelTemplate:function(e,t,i){var n=null,a=this.getTemplate(e)[2];return a&&(i.id=i.id||"page"+r++,n=a.replace(/\{\{item.id\}\}/g,o.escape(i.id)).replace(/\{\{label\}\}/g,o.escape(t))),n},getItemTemplate:function(e,t,i,n){var a=i.data||{},r=i.style||{},s=n||"",d=null,c=this.getTemplate(e)[1];return c&&(d=c.replace(/\{\{item.id\}\}/g,o.escape(i.id)).replace(/\{\{item\}\}/g,t).replace(/\{\{label\}\}/g,o.escape(s)).replace(/\{\{dx\}\}/g,o.escape(""+(a.x||0))).replace(/\{\{dy\}\}/g,o.escape(""+(a.y||0))).replace(/\{\{dscale\}\}/g,o.escape(""+(a.scale||1))).replace(/\{\{style\}\}/g,this.getStyle(r))),d},replaceLayoutValues:function(e,t){var i=t.data||{},n=t.fillColor;if(n){var a="fill-"+n;t.css&&-1===t.css.indexOf(a)?t.css+=" "+a:t.css=a}return e.replace(/\{\{id\}\}/g,o.escape(t.id)).replace(/\{\{type\}\}/g,o.escape(t.type)).replace(/\{\{style\}\}/g,this.getStyle(t.style)).replace(/\{\{extraCSS\}\}/g,t.css?" "+o.escape(t.css):"").replace(/\{\{extraCSSTabLabels\}\}/g,t.cssTabLabels?" "+o.escape(t.cssTabLabels):"").replace(/\{\{dx\}\}/g,o.escape(""+(i.x||0))).replace(/\{\{dy\}\}/g,o.escape(""+(i.y||0))).replace(/\{\{dscale\}\}/g,o.escape(""+(i.scale||1)))},replaceWidgetValues:function(e,i){var n=i&&i.type?i.type:"",a=null;return i&&(a=i.get("name")||i.get("title")||i.get("altText")),a=t.sanitizeHtml(a),e.replace(/\{\{widgetType\}\}/g,o.escape(n)).replace(/\{\{title\}\}/g,o.escape(a))},getLabel:function(e,t){var o,i="";return e&&e.title&&(o=e.get?e.get("title"):e.title),"string"==typeof o?i=o:o&&(i=this.getHtml(o,t)),i}})})),define("dashboard-core/js/dashboard/loader/BoardLoaderHelper",["../../app/services/SmartNamingSvc","./BoardModuleFactory","../../common/templates/HtmlTemplates"],(function(e,t,o){var i=[{type:"legacy",path:"dashboard-core/js/dashboard/loader/modules/LegacyBoardModule"},{type:"react",path:"dashboard-core/js/dashboard/loader/modules/ReactBoardModule"}];return function(){function n(e){_classCallCheck(this,n),this.dashboardApi=e}return n.prototype.createBoardServices=function(t){var o={};return t.widgetRegistry&&(o.smartNamingSvc=new e(t.widgetRegistry,t.boardModel),this.dashboardApi.registerDashboardSvc(".SmartNamingSvc",o.smartNamingSvc)),o},n.prototype.createBoardModuleFactory=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({modules:e.boardModules||i,logger:this.dashboardApi.getGlassCoreSvc(".Logger")})},n.prototype.loadLayoutExtensions=function(e,o){var i=[];return e.consumeViews&&Object.keys(e.consumeViews).forEach((function(n){var a=e.consumeViews[n];"string"==typeof a?a={id:n,path:a}:a.id=a.id||n;var r=o.make(a.type||t.defaultModuleType).then((function(e){return e.load(a)})).then((function(e){return e.key=n,e}));i.push(r)}),this),Promise.all(i)},n.prototype.registerLayoutExtensions=function(e){var t={};e.forEach((function(e){e.template&&(t[e.key]=e.template)}));var i=new o({layoutExtensionsTemplates:t});this.dashboardApi.registerDashboardSvc("htmlTemplates",i)},n}()})),define("dashboard-core/js/dashboard/loader/BoardLoader",["../../lib/@waca/core-client/js/core-client/ui/core/Class","jquery","../../canvas/CanvasFactory","./WidgetLoader","../../lib/@waca/core-client/js/core-client/utils/ClassFactory","./DeploymentReferencesUtil","underscore","../../extension/Extensions","./BoardLoaderHelper","../../lib/@waca/core-client/js/core-client/utils/Deferred"],(function(e,t,o,i,n,a,r,s,d,c){var l=e.extend({init:function(e){l.inherited("init",this,arguments),e=e||{},this.glassContext=e.glassContext,this.appSettings=e.appSettings||{},this.services=e.services,this.ajaxSvc=e.ajaxSvc,this.dashboardApi=e.dashboardApi,this.eventRouter=e.eventRouter,this.boardSpec=e.boardSpec,this.addOnSpec=e.addOnSpec,this.specUrl=e.specUrl,this.boardModel=e.boardModel,this.setDirty=this.boardModel.isUpgraded||!1,this.pageViewContentNode=e.el,this.contentNode=null,this.$viewEl=e.$viewEl,this.isLayoutRendered=e.isLayoutRendered,this._registry=e.widgetRegistry,this.gatewayUrl=e.gatewayUrl||"",this.cdnUrl=e.cdnUrl||"",this.currentVersion=e.currentVersion,this.logger=this.dashboardApi.getGlassCoreSvc(".Logger"),this.stringResources=this.dashboardApi.getDashboardCoreSvc(".StringResources"),this.extensions=e.extensions,this.boardLoaderHelper=new d(this.dashboardApi),this.boardModuleFactory=this.boardLoaderHelper.createBoardModuleFactory(e.boardModules),this._canvasControllerDfd=new c,this.featureLoader=e.featureLoader,this._dashboardController=e.dashboardController,this._colorsService=this.dashboardApi.getFeature("Colors")},getCanvasController:function(){return this._canvasControllerDfd.promise},_createCanvas:function(){var e=this;return new o({dashboardAPI:this.dashboardApi,services:this.services,extensions:this.extensions,glassContext:this.glassContext,eventRouter:this.eventRouter,appSettings:this.appSettings,logger:this.logger,widgetRegistry:this._registry,featureLoader:this.featureLoader,boardModel:this.boardModel,dashboardContent:this._dashboardController.getContent()}).createCanvas().then((function(t){e.canvas=t.canvas,e.internalCanvas=t.internalCanvas}))},_createDashboardContent:function(){return this._dashboardController.createContent(this.boardModel)},loadBoard:function(){return this._preDashboardInitialize().then(this._createDashboardContent.bind(this)).then(this._createCanvas.bind(this)).then(this._registerServices.bind(this)).then(this._initializeTranslationService.bind(this)).then(this._renderLayoutHtml.bind(this)).then(this._initBoardController.bind(this)).then(this._postDashboardInitialize.bind(this))},getCanvas:function(){return this.canvas},_initializeTranslationService:function(){return this.dashboardApi.getDashboardSvc("TranslationService").then(function(e){return e.initialize({boardModel:this.boardModel,view:this.$viewEl})}.bind(this))},_getDashboardFrameNode:function(){var e=this.pageViewContentNode,t=e.querySelector(".dashboardFrame");if(!t){(t=document.createElement("div")).setAttribute("class","dashboardFrame");var o=document.createElement("div");o.setAttribute("class","dashboardFrameCentre");var i=document.createElement("div");i.setAttribute("class","dashboardFrameRight"),t.appendChild(o),t.appendChild(i),e.appendChild(t)}return t},_getDashboardFrameCentreNode:function(){return this._getDashboardFrameNode().querySelector(".dashboardFrameCentre")},_setContentNode:function(){this.contentNode=this._getDashboardFrameCentreNode()},_renderLayoutHtml:function(){var e=this;return this._setContentNode(),this.boardLoaderHelper.loadLayoutExtensions(this.extensions.getLayoutViewExtensions(),this.boardModuleFactory).then((function(t){e.boardLoaderHelper.registerLayoutExtensions(t);var o=e.dashboardApi.getFeature("htmlTemplates").getHtml(e.boardModel.layout,e.boardModel.widgetInstances);e.isLayoutRendered||(e.contentNode.innerHTML=o)}))},_initBoardController:function(){var e=this;return n.loadModule("dashboard-core/js/dashboard/CanvasController").then((function(t){return e.widgetLoader=new i({glassContext:e.glassContext,services:e.services,appSettings:e.appSettings,dashboardApi:e.dashboardApi,eventRouter:e.eventRouter,widgetRegistry:e._registry,loadedWidgets:{},boardModel:e.boardModel,contentFeatureLoader:e.internalCanvas,canvas:e.getCanvas()}),e.canvasController=new t({glassContext:e.glassContext,services:e.services,appSettings:e.appSettings,dashboardApi:e.dashboardApi,eventRouter:e.eventRouter,$el:e.$viewEl,boardModel:e.boardModel,boardModuleFactory:e.boardModuleFactory,widgetLoader:e.widgetLoader,layoutExtensions:e.extensions.getLayoutViewExtensions(),boardLoader:e,gatewayUrl:e.gatewayUrl,cdnUrl:e.cdnUrl,contentFeatureLoader:e.internalCanvas}),e.dashboardApi.registerDashboardSvc("widgetLoader",{loadedWidgets:e.widgetLoader.loadedWidgets,loadingWidgets:e.widgetLoader.loadingWidgets,load:e.widgetLoader.loadWidget.bind(e.widgetLoader),unload:e.widgetLoader.unLoadWidget.bind(e.widgetLoader),isLoaded:e.widgetLoader.isLoaded.bind(e.widgetLoader),isLoading:e.widgetLoader.isLoading.bind(e.widgetLoader),getWidget:e.widgetLoader.getWidget.bind(e.widgetLoader)}),e.canvasController.initialize().then((function(){e._canvasControllerDfd.resolve(e.canvasController)}))})).catch((function(t){e.logger.error(t)}))},_preDashboardInitialize:function(){return this.dashboardApi.getFeature(".LifeCycleManager").invokeLifeCycleHandlers("pre:dashboard.initialize")},_postDashboardInitialize:function(){return this.dashboardApi.getFeature(".LifeCycleManager").invokeLifeCycleHandlers("post:dashboard.initialize")},_registerServices:function(){var e=this.boardLoaderHelper.createBoardServices({boardModel:this.boardModel,widgetRegistry:this._registry});this.smartNamingSvc=e.smartNamingSvc},_mapContainerPageForWidgetsInLayout:function(e,t,o){if(t=t||{},e.items)for(var i=0;i<e.items.length;i++)t=this._mapContainerPageForWidgetsInLayout(e.items[i],t,o);else"widget"===e.type&&(t[e.id]=o);return t},activate:function(){this._colorsService&&this._colorsService.enableTheme()},deactivate:function(){this._colorsService&&this._colorsService.disableTheme()},destroyViews:function(){this.deactivate(),this.widgetLoader&&(this.widgetLoader.cleanup(),this.widgetLoader=null),this.canvasController&&(this.canvasController.destroy(),this.canvasController=null)},destroyCanvasAPI:function(){this.internalCanvas&&(this.internalCanvas.destroy(),this.internalCanvas=null)},_hasPermission:function(e){return-1!==r.indexOf(e,"read")&&-1!==r.indexOf(e,"execute")}});return l})),define("dashboard-core/js/dashboard/util/EventConstants",[],(function(){return{changeModeAction:"ChangeMode"}})),define("dashboard-core/js/dashboard/layout/authoring/interaction/ChangeModeAction",["../../../../lib/@waca/core-client/js/core-client/ui/core/Events","../../../util/EventConstants"],(function(e,t){var o=null;return o=e.extend({init:function(e,i){o.inherited("init",this,arguments),this.name=t.changeModeAction,this.sender=i&&i.sender,this.value=e.isAuthoringMode,this.prevValue=!e.isAuthoringMode,this.senderContext={applyFn:function(t,o){e.isAuthoringMode!==t&&e.toggleMode({sender:o})}.bind(this)}}})})),define("dashboard-core/js/dashboard/util/ButtonHideHelper",["../../lib/@waca/core-client/js/core-client/ui/core/Class","underscore","../../app/util/ErrorUtils"],(function(e,t,o){var i={buttons:{"com.ibm.bi.dashboard.pin":!1,"com.ibm.bi.dashboard.customWidget":!1,"com.ibm.bi.dashboard.saveMenu":!1}},n=[{id:"navbar"},{id:"appbar"}];return new(e.extend({changeMode:function(e,t,o){this._buttonCollection?this._changeMode(e,t):e.appController.findCollection(this._getButtonsCollection(e)).then(function(i){this._buttonCollection=i,this._applyContainerAppButtonConfig(o&&o.containerAppOptions),this._applyContainerUIPartConfig(o&&o.containerAppOptions),this._changeMode(e,t)}.bind(this))},_applyContainerAppButtonConfig:function(e){var o=((e||{}).configuration||{}).ui||null;if(o){["com.ibm.bi.glass.common.home","com.ibm.bi.admin.admin","com.ibm.bi.glass.common.createMenu","com.ibm.bi.share.notifications","com.ibm.bi.glass.common.viewSwitcher","com.ibm.bi.glass.common.personalMenu","com.ibm.bi.dashboard.saveMenu","com.ibm.bi.contentApps.myContentFoldersSlideout","com.ibm.bi.search.search","com.ibm.bi.contentApps.teamFoldersSlideout","com.ibm.bi.contentApps.mruSlideout","com.ibm.bi.contentApps.myPortalPages"].forEach(function(e){this._buttonCollection.push({id:e})}.bind(this)),t.each(this._buttonCollection,function(e){t.extend(e,{modes:{authoring:{visible:this._getButtonVisibility(o,e,"authoring",!0)},consume:{visible:this._getButtonVisibility(o,e,"consume",!0)},eventGroups:{visible:this._getButtonVisibility(o,e,"eventGroups",!0)},widgetMaximized:{visible:this._getButtonVisibility(o,e,"widgetMaximized",!1)},translation:{visible:this._getButtonVisibility(o,e,"translation",!0)}}})}.bind(this))}},_applyContainerUIPartConfig:function(e){var o=((e||{}).configuration||{}).ui||null;o&&n.forEach(function(e){t.extend(e,{modes:{authoring:{visible:this._getUISectionVisibility(o,e.id,"authoring",!0)},consume:{visible:this._getUISectionVisibility(o,e.id,"consume","navbar"!==e.id)},eventGroups:{visible:this._getUISectionVisibility(o,e.id,"eventGroups",!0)},translation:{visible:this._getUISectionVisibility(o,e.id,"translation",!0)}}})}.bind(this))},_getUISectionVisibility:function(e,t,o,i){if(!e)return{};var n=((e.modes||{})[o]||{})[t];return void 0!==n?n:void 0!==e[t]?e[t]:i},_getButtonVisibility:function(e,t,o,n){var a=this._getButtonVisibilityFromOptions(e,t.id,o);if(null!==a)return a;if(null!==(a=this._getButtonVisibilityFromOptions(i,t.id,o)))return a;var r=!0!==n&&void 0;return((t.modes||{})[o]||{}).visible||r},_getButtonVisibilityFromOptions:function(e,t,o){if(!e)return{};var i=(((e.modes||{})[o]||{}).buttons||{})[t];if(void 0!==i)return i;var n=(e.buttons||{})[t];return void 0!==n?n:null},_handleUIPartModeChange:function(e,t){n.forEach((function(o){o.modes&&o.modes[t]&&e.appController.currentAppView.$("."+o.id).css("display",o.modes[t].visible?"":"none")}))},_changeMode:function(e,t){this._buttonCollection?(e.appController.currentAppView.$(".navbar").hasClass("narrow")||e.appController.currentAppView.$(".navbar").addClass("narrow"),this._handleUIPartModeChange(e,t),this._buttonCollection.forEach(function(o){var i=e.appController.findPlugin(o.id);if(i)if(this._isDevMode(e)||!0!==o.development)if(this._isHideForConsumerMode(e,o.id))this._hidePlugin(i);else if(this._isDisabledForConsumerMode(e,o.id))this._disablePlugin(i);else{var n=o.modes?o.modes[t]:null;if(n){var a=!0!==i.hideForever&&n.visible;this._handleVisibleProperty(a,i),this._handleDisabledProperty(n.disabled,i),this._handlePressedProperty(n.pressed,i)}}else this._hidePlugin(i)}.bind(this))):console.log("Could not fix the contributed button collection.")},_isHideForConsumerMode:function(e,t){var i=e.appController.getCurrentContentView().getDashboardApi().getType().toUpperCase();return-1!==["com.ibm.bi.dashboard.saveMenu","com.ibm.bi.dashboard.mode"].indexOf(t)&&"EXPLORE"!==i&&!o.hasCapability(e,"canAuthorDashboard")},_isDisabledForConsumerMode:function(e,t){return-1!==["com.ibm.bi.dashboard.mode"].indexOf(t)&&(o.hasCapability(e,"canAuthorDashboard")&&!e.appController.getCurrentContentView().canAuthor()&&!e.appController.getCurrentContentView().isNew())},_isDevMode:function(e){return!!e.isDevInstall&&e.isDevInstall()},_handleVisibleProperty:function(e,t){!0===e?this._showPlugin(t):!1===e&&this._hidePlugin(t)},_handleDisabledProperty:function(e,t){!0===e?this._disablePlugin(t):!1===e&&t.enable()},_handlePressedProperty:function(e,t){!0===e?t.setPressed():!1===e&&t.setUnpressed()},_disablePlugin:function(e){e&&(this._actionControllerOnHide(e),e.disable())},_hidePlugin:function(e){e&&(this._actionControllerOnHide(e),e.hide())},_showPlugin:function(e){e&&(e.enable(),e.show())},_actionControllerOnHide:function(e){e&&e.actionController&&e.actionController.onHide&&e.actionController.onHide()},_getButtonsCollection:function(e){return e.appController.currentAppView.getContent().options.collections.buttons.id}}))})),define("dashboard-core/js/app/ui/dialogs/EditableDialog",["../../../lib/@waca/core-client/js/core-client/ui/dialogs/BaseDialog","jquery","underscore","../../nls/StringResources"],(function(e,t,o,i){var n=null;return n=e.extend({init:function(e){this._props={type:e.sType,title:e.sTitle,value:e.sValue,actionHandler:e.actionHandler},this._close={text:i.get("close"),handler:this.cancel,type:e.updateable?"secondary":"primary"},this._buttons=[this._close],e.updateable&&this._buttons.push({text:i.get("dlg_update"),handler:this.save,type:"primary"}),this._buttons.push({text:i.get("copyButton"),handler:this.copy,type:e.updateable?"secondary":"primary"}),n.inherited("init",this,arguments)},save:function(){this._props.actionHandler&&this._props.actionHandler(this.$textarea.val())&&this.hide()},copy:function(){document.execCommand("copy")},focusOnButton:function(){var e=this._container().find("footer").children(".dialogButton")[1];e&&e.focus()},show:function(){n.inherited("show",this,arguments),this.$textarea[0].select()},renderContent:function(e){return this.$textarea=t("<textarea>",{class:"dashboardMessageBox "+this._props.type,html:o.escape(this._props.value)}),e.append(this.$textarea),e},renderTitle:function(e){return e.text(this._props.title),e}})})),define("text!dashboard-core/js/app/ui/templates/Splitter.html",[],(function(){return'<div class="splitterBar">\n\t<div class="handleWrapper">\n\t\t{{~ it.handles :value:index}}\n\t\t<div class="handle {{! value.handleClass}}" data-icon="{{! value.handleIcon}}" tabindex="{{=value.defaultTabIndex}}" ></div>\n\t\t{{~}}\n\t</div>\n\t<div class="splitterSizeHandle" tabindex="0">\n\t\t<svg class="svgIcon"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#common-handle"></use></svg>\n\t</div>\n</div>\n'})),define("dashboard-core/js/app/ui/Splitter",["../../lib/@waca/core-client/js/core-client/ui/core/View","../../lib/@waca/core-client/js/core-client/utils/Utils","../../lib/@waca/core-client/js/core-client/utils/BrowserUtils","underscore","jquery","hammerjs","text!./templates/Splitter.html"],(function(e,t,o,i,n,a,r){var s=function(e){function s(){_classCallCheck(this,s);for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return _possibleConstructorReturn(this,e.call.apply(e,[this].concat(o)))}return _inherits(s,e),s.prototype.init=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.templateString=r,s.$el&&s.$el.length>0&&(this.el=s.$el[0]),e.prototype.init.call(this,s),this.content=s.content,this.handlers=s.handlers||{getParentSize:function(){return{height:1/0,width:1/0}}},this.items=(s.items||[]).map((function(e){return void 0===e.defaultTabIndex&&(e.defaultTabIndex=e.hidden?"-1":"0"),e})),this.panel=s.panel,this.currentIndex=-1,this.isDragStartCalled=!1,o.isIPad()&&document.addEventListener("touchmove",this.preventPageScrollDrag.bind(this),{passive:!1}),this.overrideGlobalMaxSize=this.getOverrideGlobalMaxSize(this.items),this._setupEvent(),this.$el.children().addClass("splitterPane");var d=this.dotTemplate({handles:this.items});this.$el.children(this.panel).before(d),this.$el.find(".handle").each((function(){var e=this.dataset.icon||"";t.setIcon(n(this),e)})),this.$splitterBar=this.$el.find(".splitterBar");var c=i.filter(this.items,(function(e){return!e.hidden}));0===c.length&&this.$splitterBar.find(".splitterSizeHandle").hide(),this._shouldHideHandle()&&this.$splitterBar.addClass("showSplitterSizeHandle"),i.each(this.items,(function(e){(e.hidden||this._shouldHideHandle())&&this.$splitterBar.find("."+e.handleClass).hide()}),this),this.$handles=this.$splitterBar.find(".handle"),this.$handles.each(function(e,t){n(t).attr("title",this.items[e].handleOpenTitle),n(t).attr("aria-label",this.items[e].handleOpenTitle)}.bind(this)),this.renderedMap={},n(window).off("resize.splitterResize"+this.viewId).on("resize.splitterResize"+this.viewId,this.onResize.bind(this)),n.each(this.$splitterBar.find(".handle, .splitterSizeHandle"),function(e,t){a(t).on("dragstart",this.onHandleDragStart.bind(this)).on("dragup dragdown",this.onHandleDragDownUp.bind(this)).on("dragend",this.onHandleDragEnd.bind(this)).on("tap",this.onHandleClick.bind(this)),n(t).on("keydown",this.onHandleKeyDown.bind(this))}.bind(this))},s.prototype.preventPageScrollDrag=function(e){this.isDragStartCalled&&e.preventDefault()},s.prototype._setupEvent=function(){(this.items||[]).forEach((function(e,t){var o=this,i=this.toggleItem.bind(this,t,!0);e.view.on("openPane",(function(){i()})),e.view.on("closePane",(function(){})),e.view.on("hidePane",(function(){})),e.view.on("showPane",(function(){})),e.view.on("disableHandle",(function(){o._toggleItemHandle(t,!0)})),e.view.on("enableHandle",(function(){o._toggleItemHandle(t,!1)})),e.view.on("disableAndSwitchHandle",(function(){o._preservedIndex=null,e.view.trigger("disableHandle");var i=o.$handles.eq(t);if(i.hasClass("selected")){i.removeClass("selected");var n=o._getNextAvailableHandle(t);o.toggleItem(n,!0),o._preservedIndex=t}})),e.view.on("restoreHandle",(function(){e.view.trigger("enableHandle"),o._preservedIndex===t&&(o.toggleItem(o._preservedIndex,!0),o._preservedIndex=null)}))}),this)},s.prototype._shouldHideHandle=function(){return this.items&&1===this.items.length},s.prototype._toggleItemHandle=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$handles.eq(e).toggleClass("disabled blockOnExpandView",t)},s.prototype._getNextAvailableHandle=function(e){return e<0?e=0:e>=this.items.length&&(e=this.items.length-1),e<this.items.length-1?e+1:e-1},s.prototype.getOverrideGlobalMaxSize=function(e){var t=1/0;return(e||[]).forEach((function(e){e.overrideGlobalMaxSize&&(t!==1/0&&console.warn("Multiple modules are trying to override the global max splitter size."),t=e.overrideGlobalMaxSize)}),this),t},s.prototype.remove=function(){n(window).off("resize.splitterResize"+this.viewId),o.isIPad()&&document.removeEventListener("touchmove",this.preventPageScrollDrag.bind(this),{passive:!1});var e=this.$splitterBar.find(".handle, .splitterSizeHandle");if(e instanceof n&&e.length>0)for(var t=0;t<e.length;t++){n(e[t]).off("dragstart dragup dragdown dragend tap keydown")}this.$el.children().removeClass("splitterPane"),n(".splitterBar",this.$el).remove(),this.content=null,this.handlers=null,this.items=null,this.panel=null,this.$splitterBar=null,this.$el=null,this.off&&this.off()},s.prototype.onHandleClick=function(e){var t=this,o=void 0;if(!this._isAnimating){var i=0;this._shouldHideHandle()||(i=this.getHandleIndexFromNode(n(e.currentTarget))),o=this.toggleItem(i).then((function(){null!=t.currentIndex&&t.items[t.currentIndex].view.trigger("splitterPanel:visibleChange")}))}return o||Promise.resolve()},s.prototype.onHandleKeyDown=function(e){var t,o={13:this.onHandleClick.bind(this,e),40:this._handleUpDownKey.bind(this,e,1),38:this._handleUpDownKey.bind(this,e,-1)};return e.keyCode in o&&(t=o[e.keyCode].call(this)),t||Promise.resolve()},s.prototype._handleUpDownKey=function(e,t){e.stopPropagation();var o=this._getSizePropName();this.prevSize=this.$splitterBar.prev()[o](),this.nextSize=this.panel[o](),this._adjustSize(t,10,this.currentIndex)},s.prototype.isOpen=function(){return!(!this.$splitterBar||!this.$splitterBar.hasClass)&&this.$splitterBar.hasClass("open")},s.prototype.toggleItem=function(e,t,o){var i=this;if(e<0||e>=this.items.length)return Promise.resolve(!1);var a=this.isOpen();void 0===t&&(t=e!==this.currentIndex||!a);var r=this._getHeight(e,t,a,o);if(r<=0&&this.items[e]&&this.items[e].view.trigger("splitterPanel:hide",o),this.$handles.each(function(e,t){n(t).attr("title",this.items[e]&&this.items[e].handleOpenTitle),n(t).attr("aria-label",this.items[e]&&this.items[e].handleOpenTitle)}.bind(this)),r>0){var s=this.$handles.eq(e);s.attr("title",this.items[e].handleCloseTitle),s.attr("aria-label",this.items[e].handleCloseTitle)}else this.$handles.eq(e).removeClass("selected"),this.currentIndex=null,this._preservedIndex=null;return this._isAnimating=!0,this.$splitterBar.addClass("animating"),this.setPaneSize(r).finally((function(){return i.$splitterBar.removeClass("animating"),i._isAnimating=!1,r}))},s.prototype._getHeight=function(e,t,o,i){var n;return t&&null!==e?((n=o&&this.items[this.currentIndex]?Math.max(this.items[this.currentIndex].size,this.items[e].view.minimumSize||-8):this.items[e].size||this.items[e].initialSize)||(n="100%"),this.overrideGlobalMaxSize===1/0||this.items[e].size||(n=this.overrideGlobalMaxSize),this.selectHandle(e,i)):n=0,n},s.prototype.setPaneSize=function(e){var t=this,o=this._getSizePropName();if("100%"!==e&&this.isRestrictToParentSize){var i=this.handlers.getParentSize();e=Math.round(Math.min(e,i[o]))}var a=parseInt(e,10)>0,r={};return r[o]=e,new Promise((function(o,i){try{t.panel.animate(r,300,(function(){try{a?(t.$splitterBar.toggleClass("open",!0),t.items[t.currentIndex]&&(t.items[t.currentIndex].size=e)):t.$splitterBar.toggleClass("open",!1),n(window).resize()}catch(e){console.error(e)}o(e)}))}catch(e){i(e)}}))},s.prototype.selectHandle=function(e,t){if(this.currentIndex!==e){this.loadPanel(e);var o=this.$splitterBar.find(".handle"),i=o.eq(e);i.hasClass("selected")||(o.removeClass("selected"),i.addClass("selected"),this._preservedIndex=null,this.items[e]&&this.items[e].view&&this.items[e].view.trigger("splitterPanel:show",t))}},s.prototype.loadPanel=function(e){this.currentIndex=e;var t=this.items[e].view;this.renderedMap[e]?(t.$el.css("visibility","visible"),t.$el.css("z-index","1"),this.$splitterBar.hasClass("open")?(t.$el.css("opacity",0),t.$el.animate({opacity:1},300)):(this.panel.children().not(t.$el).css("visibility","hidden"),t.$el.css("opacity",1))):(t.render(),t.$el.appendTo(this.panel),this.renderedMap[e]=!0);var o=this.panel.children().not(t.$el);o.animate({opacity:0},300,(function(){o.css("visibility","hidden"),o.css("z-index","-1")}))},s.prototype.getHandleIndexFromNode=function(e){return this.$splitterBar.find(".handle").index(e)},s.prototype.onHandleDragStart=function(e){this.isDragStartCalled=!0,this.$el.addClass("resizing");var t=this._getSizePropName();this.prevSize=this.$splitterBar.prev()[t](),this.nextSize=this.panel[t](),e.gesture&&e.gesture.preventDefault();var o=this.getHandleIndexFromNode(n(e.currentTarget));this._shouldHideHandle()&&(o=0),(o<0||o>=this.items.length)&&(o=this.currentIndex),this.selectHandle(o),this.$splitterBar.hasClass("open")||this.$splitterBar.toggleClass("open",!0)},s.prototype.onHandleDragDownUp=function(e){var t="up"===e.gesture.direction||"left"===e.gesture.direction?-1:1,o=this.getHandleIndexFromNode(n(e.currentTarget));this._shouldHideHandle()&&(o=0),o<0||o>=this.items.length?this._adjustSize(t,e.gesture.distance,this.currentIndex):this._adjustSize(t,e.gesture.distance,o),this.lastDragEvent=e},s.prototype._adjustSize=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.isOpen()||1!==e&&-1!==e){var i=this._getSizePropName(),a=this.nextSize-e*t;a<this._calculateSizeLimit()&&a>0?(this.selectHandle(o),this.panel.css(i,Math.round(a))):a<=0&&!this._isAnimating&&this.close(),this.panel.css(i),n(window).resize()}},s.prototype._calculateSizeLimit=function(){return this.handlers.getParentSize().height-160},s.prototype.onResize=function(){if(this.isOpen()){var e=this._getSizePropName(),t=this._calculateSizeLimit();this.panel[e]()>t&&this.panel.css(e,Math.round(t))}},s.prototype.onHandleDragEnd=function(){this.$el.removeClass("resizing");var e=this._getSizePropName();if(this.lastDragEvent&&!this._isAnimating){var t=this.lastDragEvent.gesture,o="down"===t.direction||"right"===t.direction,i=t.velocityY;this.enableSwipe&&i>1.5?this._handleSwipe(this.$splitterBar,o):(this._handleMinSize(this.$splitterBar,e,o),null!==this.currentIndex&&(this.items[this.currentIndex].size=this.panel.height(),this.items[this.currentIndex].size>0&&this.items[this.currentIndex].view.trigger("splitterPanel:visibleChange")))}this.isDragStartCalled=!1},s.prototype._handleSwipe=function(e,t){this.setPaneSize(e,t?0:"100%")},s.prototype._handleMinSize=function(e,t,o){var i="function"==typeof this.minSize?this.minSize():this.minSize;if(e.prev()[t]()<i){var n=this.handlers.getParentSize();this.setPaneSize(e,o?Math.round(n[t]-i):"100%")}else if(this.panel[t]()<i)this.setPaneSize(e,o?0:i);else{var a=this.panel.css(t);e.toggleClass("open",parseInt(a,10)>1)}},s.prototype._getSizePropName=function(){return"height"},s.prototype.open=function(){return this.toggleItem(this.currentIndex,!0)},s.prototype.close=function(){var e=this.items[this.currentIndex];return e&&(e.size=0),this.toggleItem(this.currentIndex,!1)},s.prototype.hideHandle=function(e){var t=this.$splitterBar.find("."+e),o=this.$splitterBar.find(".splitterSizeHandle");this._shouldHideHandle()?o.attr("tabindex","-1"):(t.hide(),t.attr("tabindex","-1")),(i.findWhere(this.items,{handleClass:e})||{}).hidden=!0,0===i.filter(this.items,(function(e){return!e.hidden})).length&&o.hide()},s.prototype.hide=function(){var e=this;return new Promise((function(t,o){try{e.$splitterBar.fadeOut(250,(function(){t()}))}catch(e){o(e)}}))},s.prototype.showHandle=function(e){var t=this.$splitterBar.find(".splitterSizeHandle");t.show();var o=this.$splitterBar.find("."+e);this._shouldHideHandle()?t.attr("tabindex","0"):(o.show(),o.attr("tabindex","0")),(i.findWhere(this.items,{handleClass:e})||{}).hidden=!1},s.prototype.show=function(){var e=this;return new Promise((function(t,o){try{e.$splitterBar.fadeIn(250,(function(){t()}))}catch(e){o(e)}}))},s}(e);return n.fn.splitter=function(e){return this.destroySplitter(),this.data("splitter",new s(i.extend({$el:this},e))),this},n.fn.destroySplitter=function(){var e=this.data("splitter");return e&&(e.remove(),this.data("splitter",null)),this},s})),define("dashboard-core/js/dashboard/glass/SplitPaneView",["../../lib/@waca/core-client/js/core-client/ui/core/View","jquery","../../app/ui/Splitter"],(function(e,t){return function(e){function o(){_classCallCheck(this,o);for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return _possibleConstructorReturn(this,e.call.apply(e,[this].concat(i)))}return _inherits(o,e),o.prototype.init=function(){for(var t,o=arguments.length,i=Array(o),n=0;n<o;n++)i[n]=arguments[n];(t=e.prototype.init).call.apply(t,[this].concat(i)),this.$bottom=null,this.$top=null,this.$content=null,this.splitter=null;var a=i[0];this._splitterItems=a.splitterItems||[],this.handlers=a.handlers,this.services=a.services,this.dashboard=a.dashboardApi,this.glassContext=a.services.biGlass.glassContext},o.prototype.render=function(){for(var t,o=arguments.length,i=Array(o),n=0;n<o;n++)i[n]=arguments[n];(t=e.prototype.render).call.apply(t,[this].concat(i));var a={};return this.glassContext.appController.currentAppView.content&&(a=this.glassContext.appController.currentAppView.content),this.splitter=this.$el.splitter({items:this._splitterItems,panel:this.getBottomBarNode(),content:a,handlers:{getParentSize:this.handlers.getParentSize}}).data("splitter"),this._setupEvents(),Promise.resolve()},o.prototype._setupEvents=function(){this.dashboard.on("enter:fullscreen",this.hideSplitter.bind(this)),this.dashboard.on("exit:fullscreen",this.restoreSplitter.bind(this))},o.prototype.getBottomBarNode=function(){if(null===this.$bottom){var e=t(".bottomPane",this.el);0===e.length&&(e=t('<div class="bottomPane"></div>').appendTo(this.el)),this.$bottom=e}return this.$bottom},o.prototype.getContentNode=function(){if(null===this.$content){var e=this.$(".pageViewContent",this.el);0===e.length&&(e=t('<div class="pageViewContent"></div>').prependTo(this.el)),this.$content=e}return this.$content},o.prototype.close=function(){this.splitter.close()},o.prototype.open=function(){this.splitter.open()},o.prototype.getSplitter=function(){return this.splitter},o.prototype.showHandle=function(e){this.splitter.showHandle(e)},o.prototype.hideHandle=function(e){this.splitter.hideHandle(e)},o.prototype.onContainerReady=function(){var e=[];return this._splitterItems.forEach((function(t){t.view.onContainerReady&&"function"==typeof t.view.onContainerReady&&e.push(t.view.onContainerReady())}),this),Promise.all(e)},o.prototype.hideSplitter=function(){var e=this,t=void 0;return this.splitter.isOpen()?(this._splitterWasOpen=!0,t=this.splitter.close().then((function(){e._hideBottomPanel()}))):(this._hideBottomPanel(),t=Promise.resolve()),t.then((function(){e.splitter.hide()}))},o.prototype.slideSplitterToMinSize=function(){this.splitter.isOpen()&&(this._splitterWasOpen=!0,this.splitter.setPaneSize(120))},o.prototype.restoreSplitter=function(){var e=this;return this._showBottomPanel(),this.splitter.show().then((function(){e._splitterWasOpen&&(e.splitter.open(),e._splitterWasOpen=!1)}))},o.prototype._hideBottomPanel=function(){this.getBottomBarNode().hide()},o.prototype._showBottomPanel=function(){this.getBottomBarNode().show()},o.prototype.remove=function(){var t;this.dashboard.off("enter:fullscreen",this.hideSplitter.bind(this)),this.dashboard.off("exit:fullscreen",this.restoreSplitter.bind(this)),this.$el.destroySplitter(),this.splitter=null,this.$bottom=null,this.$top=null,this.$content=null,this._splitterItems=null,this.handlers=null,this.services=null,this.glassContext=null;for(var o=arguments.length,i=Array(o),n=0;n<o;n++)i[n]=arguments[n];(t=e.prototype.remove).call.apply(t,[this].concat(i))},o}(e)})),define("dashboard-core/js/dashboard/services/CanvasExtensions",["../../lib/@waca/core-client/js/core-client/utils/ClassFactory","../glass/SplitPaneView"],(function(e,t){var o={_ClassFactory:e,_SplitPaneView:t,init:function(e){this.dashboardApi=e.dashboardApi,this.topNode=e.topNode,this.bottomNode=e.bottomNode,this.canvasExtensions=e.canvasExtensions||[],this.services=e.services,this.eventRouter=e.eventRouter,this.appSettings=e.appSettings,this.handlers=e.handlers,this.consumeHideHandles=[],this.views=new Map([])},destroy:function(){this.views.forEach((function(e){"function"==typeof e.remove?e.remove():console.warn("view.remove should be implemented")})),this.views=new Map([]),this.splitPaneView&&this.splitPaneView.remove()},render:function(){var e=Promise.resolve();if(this.canvasExtensions.length>0){this.canvasExtensions.sort((function(e,t){return e.order-t.order}));var t=[];this.canvasExtensions.forEach(function(o){e=e.then(this._ClassFactory.loadModule.bind(this._ClassFactory,o.class)).then(function(e){var i=this,n={appSettings:this.appSettings,services:this.services,eventRouter:this.eventRouter,dashboardApi:this.dashboardApi};o.extraOptions&&(n.extraOptions=o.extraOptions);var a=new e(n);return("function"==typeof a.initialize?a.initialize():Promise.resolve()).then((function(){if(!!a.getApi)return i.dashboardApi.getCanvas().registerFeature(o.name,a.getApi())})).then((function(){var e;return"top"===o.position?i.topNode.append(a.$el):"bottom"===o.position?i.bottomNode.append(a.$el):"splitter"===o.position&&(e=a.getSplitterOpts().then(function(e){return e.hideInConsume&&(this.consumeHideHandles.push(e.handleClass),this.handlers.isAuthorMode()||(e.hidden=!0)),t.push(e),e}.bind(i))),i.views.set(o.name,a),e||Promise.resolve()})).then((function(){var e;return"splitter"!==o.position&&(e=a.render()),e||Promise.resolve()}))}.bind(this))}.bind(this)),e=e.then(function(){if(t.length>0)return this._createSplitPaneView(t)}.bind(this))}return e},_createSplitPaneView:function(e){return this.splitPaneView?Promise.resolve():(this.splitPaneView=new this._SplitPaneView({splitterItems:e,handlers:{getParentSize:this.handlers.getParentSize},dashboardApi:this.dashboardApi,services:this.services}),this._setupHideHandles(),this.splitPaneView.render().then(function(){return this.bottomNode.prepend(this.splitPaneView.$el.children()),this.splitPaneView.onContainerReady()}.bind(this)))},_setupHideHandles:function(){this.eventRouter.on("mode:change",(function(e){switch(this.handlers.getSplitterState()){case"close":this.splitPaneView.close();break;case"open":this.splitPaneView.open()}this.consumeHideHandles.forEach(function(t){e.authoring?this.splitPaneView.showHandle(t):this.splitPaneView.hideHandle(t)}.bind(this))}),this)},setState:function(e){e.bottomNode.isOpen?this.splitPaneView.open():this.splitPaneView.close()},getState:function(){return{bottomNode:{isOpen:this.bottomNode[0].clientHeight>0}}},getExtension:function(e){return this.views.get(e)}};function i(e){this.init(e)}return Object.keys(o).forEach((function(e){i.prototype[e]=o[e]})),i})),define("dashboard-core/js/dashboard/api/controllers/DashboardController",["../../../lib/@waca/core-client/js/core-client/ui/core/Class","../../../lib/@waca/dashboard-common/dist/utils/ObjectHelper","jquery"],(function(e,t,o){var i=e.extend({init:function(e){i.inherited("init",this,arguments),this.view=e.view,this.glassContext=e.glassContext,this.eventRouter=e.eventRouter,this.services=e.services,this.widgetRegistry=e.widgetRegistry,this.featuresOverride=e.featuresOverride||{},this.FrozenWidgetRegistry=null;var t=e.appSettings||{},o=t.options,n=(o=void 0===o?{}:o).collections,a=void 0===n?{}:n,r=o.config,s=void 0===r?{}:r;this.collectionsConfig=a,this.config=s},createContent:function(e){var t={featureLoader:this.featureLoader,dashboardFeatures:this.featureLoader,boardModel:e,type:"dashboard"},o=this.featureLoader.getFeature("ContentFactory");return this._dashboardContent=o.createContent(t),this._dashboardContent.initialize()},getFeature:function(e){var t=void 0;if(this.featureLoader&&(t=this.featureLoader.getFeature(e)),!t)try{t=this.getDashboardCoreSvc(e)}catch(e){}return t},setDirty:function(e){this.view.boardController&&this.view.boardController.undoRedoController&&this.view.boardController.undoRedoController.setDirty(e),this.view.trigger("change:dirty",{value:e}),this.view.eventRouter.trigger("change:dirty",{value:e})},setServices:function(e){this.services=e},setFeatureLoader:function(e){this.featureLoader=e},getCurrentContentView:function(){return this.view},getCanvas:function(){return this.view.getDeprecatedCanvas()},getCanvasWhenReady:function(){return this.view.getDeprecatedCanvasWhenReady()},isDevInstall:function(){return this.glassContext.isDevInstall()},addContentToCanvas:function(e){this.view.boardController.addDataItemsOrAddWidget(e)},getApplicationName:function(){return this.glassContext.appController.getCurrentPerspective()},getApplicationLabel:function(){return this.view.getApplicationLabel()},reloadFromJSONSpec:function(e,t){return this.view.reloadFromJSONSpec(e,t)},getCDNUrl:function(){return this.view.getCDNUrl()},getLayout:function(e){return this.view.boardController.layoutController.getView(e)},prepareGlassOptions:function(e){e.glassContext=this.glassContext},openGlassApplication:function(e,t){return this.glassContext.appController.openAppView(e,t)},closeGlassApplication:function(e,t,o){return this.glassContext.appController.closeAppView(e,t,o)},getCollectionConfig:function(e){return this.collectionsConfig[e]},getAppConfig:function(e){return this.config[e]},getDashboardSvc:function(e){return this.services.getSvc(e)},registerDashboardSvc:function(e,t){return this.services.register(e,t)},getDashboardCoreSvc:function(e){return this.services.getSvcSync(e)},getGlassSvc:function(e){return this.glassContext.getSvc(e)},getGlassCoreSvc:function(e){return this.glassContext.getCoreSvc(e)},showErrorMessage:function(e,t){return this.glassContext.appController.showErrorMessage(e,t)},showMessage:function(e){return this.glassContext.appController.showMessage(e)},showToast:function(e,t){return this.glassContext.appController.showToast(e,t)},showSlideOut:function(e){return this.glassContext.appController.showSlideOut(e)},showContextMenu:function(e){return this.glassContext.appController.showContextMenu(e)},findGlassPlugin:function(e){return this.glassContext.appController.findPlugin(e)},findGlassCollection:function(e){var t=this;return this.glassContext.appController.findCollection(e).then((function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=t.featuresOverride[e]||{},n=i.excludes||[];return o.filter((function(e){return!(-1!==n.indexOf(e.name))}))}))},openAppView:function(e,t){return this.glassContext.appController.openAppView(e,t)},getSelectedWidgets:function(){return this.view.getSelectedWidgets()},setPermissions:function(e){this.view.setPermissions(e)},canAuthor:function(){return this.view.canAuthor()},destroy:function(){i.inherited("init",this,arguments),this.services&&this.services.destroy(),this.featureLoader&&this.featureLoader.destroy(),this._dashboardContent&&(this._dashboardContent.destroy(),this._dashboardContent=null),this.view=null,this.glassContext=null,this.eventRouter=null,this.services=null,this.collectionsConfig=null,this.config=null,this.widgetRegistry=null,this.services=null,this.featureLoader=null},eventMap:{dirty:"change:dirty"},on:function(e,t,o){if(e){var i=this.eventMap[e]||e;return this.eventRouter.on(i,t,o)}},off:function(e,t,o){if(e){var i=this.eventMap[e]||e;this.eventRouter.off(i,t,o)}},triggerDashboardEvent:function(e,t){if(e){var o=this.eventMap[e]||e;this.eventRouter.trigger(o,t)}},relink:function(){},setMode:function(e){var t=void 0,o=this.view;return o&&("eventGroups"===e&&!o.isEventGroupViewMode||"eventGroups"!==e&&o.isEventGroupViewMode?t=o.toggleEventGroupMode(e):("authoring"===e&&!o.isAuthoringMode||"consumption"===e&&o.isAuthoringMode)&&(t=o.toggleMode()),!o.isEventGroupViewMode&&o.isAuthoringMode||this.toggleProperties(!1)),t||Promise.reject(new Error("Cannot set mode without a content view"))},getMode:function(){var e=this.view;if(e)return e.isEventGroupViewMode?"eventGroups":e.isAuthoringMode?"authoring":"consumption"},getSpec:function(){var e=this.view;if(e&&e.getContent)return e.getContent().boardSpec},undo:function(){var e=this.view;e&&e.doUndo()},redo:function(){var e=this.view;e&&e.doRedo()},toggleProperties:function(e,t){var o=this.view;if(o){var i=o.boardController,n=o.dashboardApi.getFeature("InAppSlideoutState"),a=i.getExtension("propertiesManager"),r=function(){a.getPropertyControl("tabControl").selectTabByName(t.tabName)};"boolean"!=typeof e&&(e=!a.isSlideoutOpen()),e=!(o.isEventGroupViewMode||!o.isAuthoringMode)&&e,t=t||{},!o.isEventGroupViewMode&&o.isAuthoringMode||n&&n.close(),a.isSlideoutOpen()?e?t.tabName&&r():a.hide():e&&!a.isSlideoutOpen()&&a.show({context:t,onSetFocus:t.tabName?r:null})}},getDashboardInfo:function(){return this.view.getBoardInfo()},selectWidget:function(e){var t=this.view.boardController,i=(t=void 0===t?{}:t).layoutController;return i?i.getInteractionController().then((function(t){var i=o("#"+e).get(0);t.selectionHandler.selectNode(i)})):Promise.reject(new Error("Unable to select widget. Canvas not fully initialized."))},deselectAllWidgets:function(){var e=this.view.boardController,t=(e=void 0===e?{}:e).layoutController;return t?t.getInteractionController().then((function(e){e.selectionHandler.deselectAll()})):Promise.resolve()},getToolbarActions:function(){return this.view.boardController&&this.view.boardController.layoutController&&this.view.boardController.layoutController.interactionController&&this.view.boardController.layoutController.interactionController.toolbarItems},waitTillWidgetsRendered:function(e){return e&&0!==e.length?this.getCanvasWhenReady().then((function(t){var o=[],i=0;return e.forEach((function(e){var i=t.getWidgetWhenReady(e);o.push(i)})),Promise.all(o).then((function(e){var t=[];return e.forEach((function(e){var o=e.whenRenderComplete().then((function(){i++}));t.push(o)})),Promise.all(t).then((function(){return i}))}))})):Promise.resolve(0)},getWidgetRegistry:function(){return this.FrozenWidgetRegistry||(this.FrozenWidgetRegistry=t.deepFreezeObject(JSON.parse(JSON.stringify(this.widgetRegistry)))),this.FrozenWidgetRegistry},copy:function(){var e=this.view;e&&e.doCopy()},paste:function(){var e=this.view;return e?e.doPaste():Promise.reject()},getContent:function(){return this._dashboardContent&&this._dashboardContent.getAPI()}});return i})),define("dashboard-core/js/api/DashboardAPI",[],(function(){var e=function(){function e(){_classCallCheck(this,e)}return e.prototype.setMode=function(){},e.prototype.setDirty=function(){},e.prototype.getMode=function(){},e.prototype.getSpec=function(){},e.prototype.undo=function(){},e.prototype.redo=function(){},e.prototype.toggleProperties=function(){},e.prototype.on=function(){},e.prototype.off=function(){},e.prototype.addSources=function(){},e.prototype.relink=function(){},e.prototype.getCanvas=function(){},e.prototype.getCanvasWhenReady=function(){},e.prototype.getType=function(){},e.prototype.getName=function(){},e.prototype.canAuthor=function(){},e.prototype.getService=function(){},e.prototype.getServiceWhenReady=function(){},e.prototype.getFeature=function(){},e.prototype.triggerDashboardEvent=function(){},e.prototype.showToast=function(){},e.prototype.showMessage=function(){},e.prototype.showSlideOut=function(){},e.prototype.showContextMenu=function(){},e.prototype.getPluginExtension=function(){},e.prototype.getCollectionExtension=function(){},e.prototype.getConfiguration=function(){},e.prototype.getAppConfig=function(){},e.prototype.openApplication=function(){},e.prototype.closeApplication=function(){},e.prototype.showErrorMessage=function(){},e.prototype.getApplicationName=function(){},e.prototype.getApplicationLabel=function(){},e.prototype.getGlassSvc=function(){},e.prototype.getGlassCoreSvc=function(){},e.prototype.getDashboardSvc=function(){},e.prototype.getDashboardCoreSvc=function(){},e.prototype.findGlassPlugin=function(){},e.prototype.findGlassCollection=function(){},e.prototype.getLayout=function(){},e.prototype.deselectAllWidgets=function(){},e.prototype.getToolbarActions=function(){},e.prototype.openAppView=function(){},e.prototype.addContentToCanvas=function(){},e.prototype.waitTillWidgetsRendered=function(){},e.prototype.getCollectionConfig=function(){},e.prototype.getCurrentContentView=function(){},e.prototype.getSources=function(){},e.prototype.getDataSourceList=function(){},e.prototype.setActiveDataSourceId=function(){},e.prototype.getActiveDataSourceId=function(){},e.prototype.copy=function(){},e.prototype.paste=function(){},e.prototype.destroy=function(){},e}();return e.MODES={EDIT:"authoring",VIEW:"consumption",EDIT_GROUP:"eventGroups"},e.GLOBAL_SERVICES={AJAX:".Ajax",LOGGER:".Logger",LIVEWIDGET:".LiveWidgetService"},e.GLOBAL_INTERNAL_SERVICES={CONTENT:".Content",USER_PROFILE:".UserProfile",PINNING:".DashboardPinning",THEME:".DashboardTheme",CONVERSION:".ConversionService",DRILL_INFO:".DrillInfoService",CONTENT_DIALOG:".ContentDialogFactory",DATA_CONNECTION:".DataConnectionServiceFactory"},e})),define("dashboard-core/js/features/dashboard/internalAPI/api/InternalAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.reloadFromJSONSpec=function(){},e.prototype.getWidgetRegistry=function(){},e.prototype.getDashboardInfo=function(){},e.prototype.prepareGlassOptions=function(){},e.prototype.getCDNUrl=function(){},e.prototype.isDevInstall=function(){},e.prototype.registerDashboardSvc=function(){},e.prototype.setPermissions=function(){},e.prototype.destroy=function(){},e}()})),define("dashboard-core/js/features/dashboard/internalAPI/api/impl/Internal",[],(function(){return function(){function e(t){_classCallCheck(this,e),this.view=t.view}return e.prototype.destroy=function(){this.view=null},e.prototype.getBoardModel=function(){return this.view.boardModel},e}()})),define("dashboard-core/js/features/dashboard/internalAPI/api/deprecated/InternalAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getBoardModel=function(){},e}()})),define("dashboard-core/js/api/impl/Dashboard",["../../lib/@waca/dashboard-common/dist/core/APIFactory","../../dashboard/api/controllers/DashboardController","../DashboardAPI","../../features/dashboard/internalAPI/api/InternalAPI","../../features/dashboard/internalAPI/api/impl/Internal","../../features/dashboard/internalAPI/api/deprecated/InternalAPI"],(function(e,t,o,i,n,a){return function(t){function r(e){_classCallCheck(this,r);var o=_possibleConstructorReturn(this,t.call(this,e));return o.getType=o.getApplicationName.bind(o),o.getName=o.getApplicationLabel.bind(o),o.getService=o.getGlassCoreSvc.bind(o),o.getServiceWhenReady=o.getGlassSvc.bind(o),o.getPluginExtension=o.findGlassPlugin.bind(o),o.getCollectionExtension=o.findGlassCollection.bind(o),o.getConfiguration=o.getAppConfig.bind(o),o.openApplication=o.openGlassApplication.bind(o),o.closeApplication=o.closeGlassApplication.bind(o),o.internalImpl=new n(e),o}return _inherits(r,t),r.prototype.destroy=function(){t.prototype.destroy.call(this),this.internalImpl.destroy()},r.prototype.getAPI=function(){return e.createAPI(this,[o,i])},r.prototype.getInternalAPI=function(){return e.createAPIFromSpec([{implementation:this,interface:i},{implementation:this.internalImpl,interface:a}])},r.prototype.getCanvas=function(){if(this.view)return this.view.getDeprecatedCanvas()},r.prototype.getCanvasWhenReady=function(){return this.view.getDeprecatedCanvasWhenReady()},r.prototype.getDataSourceList=function(){return Promise.resolve(this.getFeature("DataSources").getDataSourceList())},r.prototype.getSources=function(){return this.getFeature("DataSources").getSourcesInfo()},r.prototype.addSources=function(e,t){return this.getFeature("DataSources").addDataSources(e,t)},r.prototype.getActiveDataSourceId=function(){return this.getFeature("DataSources").getActiveDataSourceId()},r.prototype.setActiveDataSourceId=function(e){this.getFeature("DataSources").setActiveDataSourceId(e)},r}(t)})),define("dashboard-core/js/features/dashboard/undoRedo/api/UndoRedoAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.canUndo=function(){},e.prototype.canRedo=function(){},e.prototype.undo=function(){},e.prototype.redo=function(){},e.prototype.clearStack=function(){},e}()})),define("dashboard-core/js/features/dashboard/undoRedo/api/impl/UndoRedo",["../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../UndoRedoAPI"],(function(e,t){return function(){function o(e){_classCallCheck(this,o),this.undoRedoController=e}return o.prototype.getAPI=function(){return e.createAPI(this,[t])},o.prototype.canUndo=function(){return this.undoRedoController.canUndo()},o.prototype.canRedo=function(){return this.undoRedoController.canRedo()},o.prototype.undo=function(){return this.undoRedoController.undo()},o.prototype.redo=function(){return this.undoRedoController.redo()},o.prototype.clearStack=function(){this.undoRedoController.clearStack()},o}()})),define("dashboard-core/js/dashboard/widgets/WidgetRegistry",["underscore","../../app/nls/StringResources","../../lib/@waca/core-client/js/core-client/ui/core/Class"],(function(e,t,o){return o.extend({initialize:function(e){var o=e.getCollectionConfig("widget").id;return e.findGlassCollection(o).then(function(e){return this._fnInitializeRegistryItems(e).then(function(){return this}.bind(this))}.bind(this)).fail(function(){throw t.get("errorLoadingWidgetList")}.bind(this))},_fnInitializeRegistryItems:function(t){if(!t||!t.length)return Promise.resolve(t);var o=[];return e.each(t,function(e){o.push(this._fnInitializeRegistryItem(e))}.bind(this)),Promise.all(o)},_fnInitializeRegistryItem:function(t){return t.builtin&&t.id.indexOf(".")>=0?t.id=t.id.replace(/(\w+\.)/g,""):this._fnInitCustomWidget(t),e.defaults(t,{layoutAuthoringView:"dashboard-core/js/dashboard/layout/authoring/views/Widget",disableTitle:!1,ownTitle:!0,createContentNode:!0}),this[t.id]=t,!t.modelClassPath||t.ModelClass?Promise.resolve(t):this._fnLoadWidgetModelClass(t.modelClassPath).then((function(e){return t.ModelClass=e,t}))},_fnLoadWidgetModelClass:function(e){return new Promise((function(t,o){try{require([e],t,o)}catch(e){o(e)}}))},_fnInitCustomWidget:function(o){(o=e.defaults(o,{ownTitle:!1,title:t.get("customWidget"),layoutConsumeView:"dashboard-core/js/dashboard/layout/views/Widget",svgIcon:"dashboard-default-custom-widget",scroll:"scroll",propertyLayoutList:[{id:"banner",value:o.title,name:"banner",type:"Banner"}],propertyList:[{id:"fillColor",defaultValue:"transparent",editor:{sectionId:"general.appearance",uiControl:{type:"ColorPicker",label:t.get("propFillColor"),showHexValue:!0,addButton:!0,open:!1,ariaLabel:t.get("propFillColor"),paletteType:"DashboardColorSet"}}},{id:"borderColor",defaultValue:"transparent",editor:{sectionId:"general.appearance",uiControl:{type:"ColorPicker",label:t.get("propBorderColor"),showHexValue:!0,addButton:!0,open:!1,ariaLabel:t.get("propBorderColor"),paletteType:"DashboardColorSet"}}}]})).defaultSpec=e.defaults(o.defaultSpec||{},{model:{type:o.id,name:o.ownTitle?null:o.title},layoutProperties:{style:{display:"flex",border:"1px solid transparent","border-radius":"5px","flex-direction":"column",width:"250px",height:"250px"}}})}})})),define("dashboard-core/js/dashboard/model/WidgetModel",["../../lib/@waca/dashboard-common/dist/core/Model"],(function(e){var t=null;return t=e.extend({runtimeAttrs:["filters"],validLocalizedProps:["content","title","altText","name"],validWidgetTypesForLocalizationProps:["text","image","media","webpage"],init:function(e){if(this._addLocalizedProps(e),t.inherited("init",this,arguments),e)for(var o in this.whitelistAttrs=["id"],e)e.hasOwnProperty(o)&&this.whitelistAttrs.push(o)},_addLocalizedProps:function(e){var t=[];if(e&&-1!==this.validWidgetTypesForLocalizationProps.indexOf(e.type))for(var o in e)e.hasOwnProperty(o)&&-1!==this.validLocalizedProps.indexOf(o)&&t.push(o);this.localizedProps=t},cloneWidget:function(e){var o=new t(this.toJSON());return o.replaceIds(e),o}})})),define("dashboard-core/js/dashboard/model/content/properties/PropertiesModel",["../../../../lib/@waca/dashboard-common/dist/core/Model"],(function(e){var t=e.extend({init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var o in t.inherited("init",this,arguments),e)this.whitelistAttrs.push(o)},setPropertyValue:function(e,t,o){-1===this.whitelistAttrs.indexOf(e)&&this.whitelistAttrs.push(e);var i={};i[e]=t&&"object"===(void 0===t?"undefined":_typeof(t))?JSON.parse(JSON.stringify(t)):t,this.set(i,o)},getPropertyValue:function(e){var t=this.get(e);return t&&"object"===(void 0===t?"undefined":_typeof(t))&&(t=JSON.parse(JSON.stringify(t))),t}});return t})),define("dashboard-core/js/dashboard/model/content/ContentModel",["../../../lib/@waca/dashboard-common/dist/core/Model","./properties/PropertiesModel"],(function(e,t){var o=e.extend({nestedModels:{properties:t},whitelistAttrs:["properties","features"],init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.inherited("init",this,arguments),e.conditionalFormatting&&this.whitelistAttrs.push("conditionalFormatting"),this.features=e.features||{}},setPropertyValue:function(e,o,i){this.properties||(this.properties=new t),this.properties.setPropertyValue(e,o,i)},getPropertyValue:function(e){if(this.properties)return this.properties.getPropertyValue(e)},getConditionalFormatting:function(){return this.get("conditionalFormatting")},setConditionalFormatting:function(e,t){-1===this.whitelistAttrs.indexOf("conditionalFormatting")&&this.whitelistAttrs.push("conditionalFormatting");var o={conditionalFormatting:e};this.set(o,t)}});return o})),define("dashboard-core/js/dashboard/model/ModelUtils",["./content/ContentModel"],(function(e){return function(){function t(){_classCallCheck(this,t)}return t.initializeContentModel=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=t.content||{};return t.hasOwnProperty("properties")&&(i.properties={},Object.keys(t.properties).forEach((function(e){-1===o.indexOf(e)&&(i.properties[e]=t.properties[e],delete t.properties[e])})),0===Object.keys(t.properties).length&&delete t.properties),t.hasOwnProperty("features")&&(i.features=t.features,delete t.features),delete t.content,new e(i)},t.pullPropertiesFromContentModelSpec=function(e){var t=e.content;t&&(["properties","features"].forEach((function(o){t.hasOwnProperty(o)&&(t[o]&&Object.keys(t[o]).length&&(e[o]=Object.assign({},e[o],t[o])),delete t[o])})),0===Object.keys(t).length&&delete e.content)},t}()})),define("dashboard-core/js/dashboard/model/LayoutModel",["../../lib/@waca/dashboard-common/dist/core/Model","./content/ContentModel","./ModelUtils","underscore","jquery"],(function(e,t,o,i,n){var a=e.extend({localizedProps:["title"],init:function(e,t,o){if(a.inherited("init",this,arguments),this.boardModel=t,this.whitelistAttrs=["id","from","css","items","style","type","title","templateName","relatedLayouts","clones","fillColor","disableScrollDrop","showGrid","snapGrid","snapObjects","tabTextColor","tabSelectedLineColor","tabBackgroundColor","pageSize","hideTab","tabPosition","tabIconPosition","tabIcon","tabIconColor","layoutPositioning","fitPage","content"],this.colorProperties=["fillColor","tabTextColor","tabSelectedLineColor","tabBackgroundColor","tabIconColor"],this.selected=new Set,this.boardModel.layoutExtensions){var i=this.boardModel.layoutExtensions;Object.keys(i||{}).forEach((function(n){this.whitelistAttrs.push(n),i[n]&&"function"==typeof i[n].init&&i[n].init(this,e,t,o)}),this)}this.on("op",this.boardModel.onLayoutChange,this.boardModel),this.on("change:title",this.boardModel.onLayoutChange,this.boardModel),this.on("change:css",this.boardModel.onLayoutChange,this.boardModel),this.on("change:fillColor",this.boardModel.onLayoutChange,this.boardModel),this.on("change:type",this.boardModel.onLayoutChange,this.boardModel),this.on("change:showGrid",this.boardModel.onLayoutChange,this.boardModel),this.on("change:snapGrid",this.boardModel.onLayoutChange,this.boardModel),this.on("change:snapObjects",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabTextColor",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabSelectedLineColor",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabBackgroundColor",this.boardModel.onLayoutChange,this.boardModel),this.on("change:pageSize",this.boardModel.onLayoutChange,this.boardModel),this.on("change:hideTab",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabPosition",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabIconPosition",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabIcon",this.boardModel.onLayoutChange,this.boardModel),this.on("change:tabIconColor",this.boardModel.onLayoutChange,this.boardModel),this.on("change:layoutPositioning",this.boardModel.onLayoutChange,this.boardModel),this.on("change:fitPage",this.boardModel.onLayoutChange,this.boardModel),this._initializeContentModel(),this.logger=o;var n={};if(e.items){this.items=[];for(var r=0,s=e.items.length;r<s;r++){var d=new a(e.items[r],this.boardModel,o);n[d.id]?this.logger.error('Found duplicate layout id "'+d.id+'" on initialization of layout "'+this.id+'".'):(this.items.push(d),n[d.id]=!0)}}return this},getValueFromSelfOrParent:function(e){var t=this.get(e);if(void 0===t){var o=this.getParent();o&&(t=o.getValueFromSelfOrParent(e))}return t},cloneLayout:function(e){var t=new a(this.toJSON(),this.boardModel);return this.clones||(this.clones=0),this.clones++,t.clones=0,t.replaceIds(e),t.replaceRelatedLayouts(e),t.incrementTitleCount(this.clones),t},findModel:function(e){var t=null;if(this.id===e&&(t=this),!t&&this.items)for(var o=0;!t&&o<this.items.length;o++)t=this.items[o].findModel(e);return t},listWidgets:function(e){for(var t,o=[],i=0;i<e.length;i++){t=e[i];var n=this.findModel(t);if(n)if("widget"===n.type)o.push(n.id);else if(n.items)for(var a=0;a<n.items.length;a++)o.push.apply(o,n.items[a].listWidgets([n.items[a].id]))}return o},add:function(e,t,o){o=this.checkPayloadData(o);var i=e.parentId?e.parentId:this.id,n=this.findModel(i),a=n&&"widget"===n.type,r=e.model;if(!r)return null;var s=this._insertItem({model:r,insertBeforeId:e.insertBefore},t,o).value.parameter.model;return a?this._createPayload("add:item",{op:"add",parameter:{model:s,insertBefore:e.insertBefore}},{op:"remove",parameter:s.id},t,o):this._triggerEvent("add:item",{op:"add",parameter:{model:s,insertBefore:e.insertBefore}},{op:"remove",parameter:s.id},t,o)},addArray:function(e,t,o){o=this.checkPayloadData(o);for(var n,a,r,s=[],d=[],c=0;c<e.length;c++)r=(a=e[c]).parentId?a.parentId:this.id,(n=this.findModel(r).add(e[c],t,o))&&n.value&&n.prevValue&&(d.push(i.extend({parentId:r},n.value.parameter)),s.unshift(n.prevValue.parameter));var l=null;return s.length>0&&(l=this._triggerEvent("add:items",{op:"addArray",parameter:d},{op:"removeArray",parameter:s},t,o)),l},remove:function(e,t,o){o=this.checkPayloadData(o),this._triggerEvent("pre:remove:item",{parameter:e},null,t,o);var i=null,n=this.findModel(e).getNextSiblingId(),a=this._removeItem(e);return a&&(i=this._triggerEvent("remove:item",{op:"remove",parameter:e},{op:"add",parameter:{model:a.toJSON(),insertBefore:n}},t,o),a.off()),i},removeArray:function(e,t,o){o=this.checkPayloadData(o);for(var n,a,r,s=[],d=0;d<e.length;d++)a=e[d],(r=this.findParentModel(a))&&(n=r.remove(e[d],t,o))&&s.unshift(i.extend({parentId:r.id},n.prevValue.parameter));var c=null;return s.length>0&&(c=this._triggerEvent("remove:items",{op:"removeArray",parameter:e},{op:"addArray",parameter:s},t,o)),c},updateStyle:function(e,t,o){o=this.checkPayloadData(o);var n=null;if(e){this.style||(this.style={});var r=this._getStyles(e);n=this._triggerEvent("prechange:style",{style:e},null,t,o),i.extend(this.style,e),n=this._triggerEvent(a.CHANGE_STYLE_EVENT_NAME,{op:"updateStyle",parameter:e},{op:"updateStyle",parameter:r},t,o)}return n},updateFilters:function(e,t){var o={prevValue:{},value:{}},i=this.boardModel.getWidgetModel(e);if(i&&i.filters){var n=i.filters;i.filters=t,o.prevValue.filters=n,o.value.filters=t}return o},updateParent:function(e,t,o){o=this.checkPayloadData(o);var i=null,n=this.boardModel.layout.findModel(e.parentId);if(n){var a=this.getParent(),r=null;a&&(r=this.getNextSiblingId(),a._removeItem(this.id)),n._insertItem({model:this,insertBeforeId:e.insertBefore},t,o),i=this._triggerEvent("change:parent",{op:"updateParent",parameter:e},{op:"updateParent",parameter:{parentId:a?a.id:null,insertBefore:r}},t,o)}return i},updateModel:function(e,t,o){var n;o=this.checkPayloadData(o);var a=null,r={},s={};if(e.addArray&&(a=this.addArray(e.addArray,t,o))&&(r.addArray=a.value.parameter,s.removeArray=a.prevValue.parameter),e.updateArray){var d=a?a.value.parameter:null,c=this._updateModelsProperties(e.updateArray,t,d,o);c&&JSON.stringify(c.value)!==JSON.stringify(c.prevValue)&&(r.updateArray=c.value,s.updateArray=c.prevValue)}if(e.removeArray){var l=this.removeArray(e.removeArray,t,o);l&&(r.removeArray=l.value.parameter,s.addArray=l.prevValue.parameter)}return e.payloadData&&(r.info=e.payloadData,s.info=e.payloadData),i.isEmpty(r)||(n=this._triggerEvent("op:updateModel",{op:"updateModel",parameter:r},{op:"updateModel",parameter:s},t,o)),n},moveModel:function(e,t,o){o=this.checkPayloadData(o);var i={},n={};if(e.removeArray){var a=this.removeArray(e.removeArray,t,o);a&&(i.removeArray=a.value.parameter,n.addArray=a.prevValue.parameter)}if(e.addArray){var r=this.addArray(e.addArray,t,o);r&&(i.addArray=r.value.parameter,n.removeArray=r.prevValue.parameter)}if(e.updateArray){var s=this._updateModelsProperties(e.updateArray,t,o);s&&(i.updateArray=s.value,n.updateArray=s.prevValue)}return e.payloadData&&(i.info=e.payloadData,n.info=e.payloadData),this._triggerEvent("op:moveModel",{op:"moveModel",parameter:i},{op:"moveModel",parameter:n},t,o)},checkPayloadData:function(e){var t=e;t||(t={undoRedoTransactionId:i.uniqueId("layoutModelTransaction")});return t},_updateModelProperties:function(e,t,o,n,a){var r={prevValue:{id:e.id},value:{id:e.id}};if(t.parentId){var s=t.parentId;"$addArray[0]"===s&&n&&n.length>0&&(s=n[0].model.id);var d=e.updateParent({parentId:s,insertBefore:t.insertBefore},o,a);null!==d&&(r.prevValue=i.extend(r.prevValue,d.prevValue.parameter),r.value=i.extend(r.value,d.value.parameter))}var c=e.updateStyle(t.style,o,a);if(c&&(r.prevValue.style=c.prevValue.parameter,r.value.style=c.value.parameter),t.filters){var l=e.updateFilters(t.id,t.filters);l&&(r.prevValue.filters=l.prevValue.filters,r.value.filters=l.value.filters)}if(this.boardModel.layoutExtensions){var u=this.boardModel.layoutExtensions;Object.keys(u||{}).forEach((function(i){var n=e._callExtensionMethod({property:i,value:t[i]},o,a);n&&(r.prevValue[i]=n.prevValue.parameter.value,r.value[i]=n.value.parameter.value)}),this)}return r},_callExtensionMethod:function(e,t,o){var i=this.boardModel.layoutExtensions[e.property];if(i&&"function"==typeof i.update){var n=i.update(this,e.value);if(n)return this._triggerEvent(n.event,{op:"_callExtensionMethod",parameter:{property:e.property,value:n.value}},{op:"_callExtensionMethod",parameter:{property:e.property,value:n.previousValue}},t,o)}return null},_updateModelsProperties:function(e,t,o,i){for(var n,a={value:[],prevValue:[]},r=0;r<e.length;r++){n=e[r];var s=this.findModel(n.id);if(s){var d=this._updateModelProperties(s,n,t,o,i);a.value.push(d.value),a.prevValue.unshift(d.prevValue)}}return a},isSelected:function(e){return this.selected.has(e)},select:function(e){this.findModel(e)&&this.selected.add(e)},deselect:function(e){this.selected.delete(e);var t=this.getParent();t&&t.deselect(e)},getSelectedChildLayouts:function(){var e=this,t=[],o=function(o){var i=e.findModel(o);return i&&t.push(i),i};if(this.selected.forEach(o),"group"===this.type){var i=this.getParent();if(i&&i.isSelected(this.id)){return this.items.forEach((function(e){return function e(t){o(t.id),t.item&&t.items.forEach((function(t){return e(t)}))}(e)})),t}}return this.items&&this.items.forEach((function(e){var o=e.getSelectedChildLayouts();o&&(t=t.concat(o))})),t},getSelectedWidgets:function(){return this.getSelectedChildLayouts().filter((function(e){return"widget"===e.type}))},getWidgetByIndex:function(e){if(!(e<0))return function e(t,o,i){if("widget"===t.type&&o===i.index++)return t;var n=t.items;if(n)for(var a=n.length,r=0;r<a;r++){var s=e(n[r],o,i);if(s)return s}}(this,e,{index:0})},getNextSiblingId:function(){return this._getSiblingId(1)},getPreviousSiblingId:function(){return this._getSiblingId(-1)},_getSiblingId:function(e){var t=this.getParent(),o=null;if(t){var i=t.items.indexOf(this)+e;i>=0&&i<t.items.length&&(o=t.items[i].id)}return o},getParent:function(){return this.boardModel.layout.findParentModel(this.id)},getTopLayoutModel:function(){return this.boardModel.layout},_getStyles:function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[o]=this.style&&this.style[o]?this.style[o]:"");return t},incrementStyleValue:function(e){return e?"%"===e[e.length-1]?parseFloat(e)+5+"%":"x"===e[e.length-1]?parseFloat(e)+25+"px":e:e},decrementStyleValue:function(e){return e?"%"===e[e.length-1]?parseFloat(e)-5+"%":"x"===e[e.length-1]?parseFloat(e)-25+"px":e:e},findParentModel:function(e){if(-1!==this._getItemIndex(e))return this;var t=null;if(this.items)for(var o=0;!t&&o<this.items.length;o++)t=this.items[o].findParentModel(e);return t},_isContainerType:function(){return!!i.contains(["container"],this.type)},findDropZones:function(){if(this._isContainerType()){for(var e=this.findDescendantsWithType(["templateDropZone","templateIndicator"]),t=this.findParentModel(e[0].id).id,o=[],i=0;i<e.length;i++)o.push(e[i].id);return{ids:o,parentId:t}}},findDescendantsWithType:function(e){var t=Array.isArray(e)?e:[e],o=[];if(this.items){var i=this.items,n=Array.isArray(i),a=0;for(i=n?i:i[Symbol.iterator]();;){var r;if(n){if(a>=i.length)break;r=i[a++]}else{if((a=i.next()).done)break;r=a.value}var s=r;-1!==t.indexOf(s.type)?o.push(s):o.push.apply(o,s.findDescendantsWithType(e))}}return o},getLinkedLayoutTree:function(e,t){return this._getLinkedLayoutTreeWorker(e,t,[])},_getLinkedLayoutTreeWorker:function(e,t,o){o.push([e,t]);var i=function(e){return"group"===e.type},n=e.getParent(),a=t.getParent();return i(n)||i(a)?i(n)&&i(a)?this._getLinkedLayoutTreeWorker(n,a,o):null:o},findTopLevelParentItem:function(e){var t=null;return i.each(this.items,function(o){o.id===e?t=this:null!==this.findChildItem(o.items,e)&&(t=o)}.bind(this)),t},findChildItem:function(e,t){if(e)for(var o=0;o<e.length;++o){var i=e[o];if(i.id===t)return i;if(i.items&&(i=this.findChildItem(i.items,t)))return i}return null},_insertItem:function(e,t,o){var i=e.model,r=e.insertBeforeId;i instanceof a||(i=new a(n.extend(!0,{},i),this.boardModel)),this.items||(this.items=[]);var s=this._getItemIndex(i.id);-1!==s&&(this.logger.error('Found duplicate layout id "'+i.id+'" at index "'+s+'" in layout "'+this.id+'".'),this.items.splice(s,1));var d=this._getItemIndex(r);return-1!==d?this.items.splice(d,0,i):this.items.push(i),this._triggerEvent("insert:item",{op:"_insertItem",parameter:{model:i.toJSON(),insertBeforeId:r}},{op:"_removeItem",parameter:i.id},t,o)},_getItemIndex:function(e){var t=-1;if(this.items)for(var o=0;o<this.items.length;o++)if(this.items[o].id===e){t=o;break}return t},_removeItem:function(e){var t=null,o=this._getItemIndex(e);return o>=0&&(t=this.items[o],this.items.splice(o,1)),t},replaceRelatedLayouts:function(e){if(this.relatedLayouts&&this.relatedLayouts.length>0){var t="";if("|"===this.relatedLayouts[0]){var o=this.relatedLayouts.split("|");t+="|",i.each(o,(function(o){o.length>0&&(t+=(e[o]?e[o]:o)+"|")}))}else t=e[this.relatedLayouts]?e[this.relatedLayouts]:this.relatedLayouts;this.relatedLayouts=t}i.each(this.items,(function(t){t.replaceRelatedLayouts(e)}))},incrementTitleCount:function(e){this.title&&this.title.length>0&&(this.title=this.title+" ("+e+")"),this.title&&this.title.translationTable&&(this.title.translationTable=i.extend({},this.title.translationTable),Object.keys(this.title.translationTable).forEach(function(t){this.title.translationTable[t]=this.title.translationTable[t]+"-"+e}.bind(this)))},_createPayload:function(e,t,o,i,n){var a={modelId:this.id,value:t,sender:i||this};if(n&&(a.data=n),o){a.prevValue=o;var r=0===e.indexOf("change:")?this:this.boardModel.layout,s=r.applyFn.bind(r);a.senderContext={applyFn:function(e,t){s(e,t,n)}.bind(this)}}return a},_triggerEvent:function(e,t,o,i,n){var a=this._createPayload(e,t,o,i,n);return this.trigger(e,a),a},applyFn:function(e,t,o){var i=this;if(e&&e.op&&"function"==typeof this[e.op]){var n=[e.parameter];n.push(t),n.push(o),this[e.op].apply(this,n)}else{var r=this.boardModel&&this.boardModel.layout&&this.boardModel.layout.items||[],s=r.find((function(e){return e.id===i.id}));a.inherited("applyFn",s||this,arguments)}},getLayoutPositioning:function(e){if("genericPage"===this.type)return this.layoutPositioning||"relative";if(e){var t=this.getParent();return t?t.getLayoutPositioning():void 0}},_initializeContentModel:function(){if(this.features){var e=void 0;this.features["Models.internal"]?e="Models.internal":this.features.Models_internal&&(e="Models_internal"),e&&this.boardModel.createLegacyWidgetModel(this.features[e])}this.content=o.initializeContentModel(this)},getContentModel:function(){return this.content},getUsedCustomColors:function(e){var t=a.inherited("getUsedCustomColors",this,arguments);return this.items&&this.items.length&&this.items.forEach((function(o){t=t.concat(o.getUsedCustomColors(e))})),i.uniq(t,!1)}});return a.CHANGE_STYLE_EVENT_NAME="change:style",a})),define("dashboard-core/js/dashboard/model/EventGroupEntry",["../../lib/@waca/dashboard-common/dist/core/Model"],(function(e){var t=null;return t=e.extend({whitelistAttrs:["id","widgetIds"],init:function(){t.inherited("init",this,arguments),this.widgetIds||(this.widgetIds=[])},addWidget:function(e,t){if(this.widgetIds.indexOf(e)<0){var o=this.widgetIds.slice();o.push(e),this.set({widgetIds:o},t)}},removeWidget:function(e,t){if(this.widgetIds.indexOf(e)>-1){var o=this.widgetIds.filter((function(t){return e!==t}));this.set({widgetIds:o},t)}},getGroupIndex:function(){var e=this.id.split(":");return 2===e.length?parseInt(e[1],10):0},setGroupIndex:function(e,t){this.set({id:this.getPageId()+":"+e},t)},getPageId:function(){return this.id.split(":")[0]}})})),define("dashboard-core/js/dashboard/model/EventGroups",["../../lib/@waca/dashboard-common/dist/core/Collection","./EventGroupEntry","underscore"],(function(e,t,o){var i=null;return i=e.extend({modelClass:t,defaultGroupIndex:1,maxGroupsPerPage:5,init:function(){i.inherited("init",this,arguments)},findGroup:function(e){return o.find(this.getModels(),(function(t){return t.widgetIds.indexOf(e)>-1}))},_createGroupId:function(e,t){return e+":"+t},_nextGroupIndex:function(e){return o.filter(this.models,(function(t){return 0===t.id.indexOf(e+":")})).length+1},getNumberOfGroups:function(e){return o.filter(this.models,(function(t){return 0===t.id.indexOf(e+":")})).length},getDefaultGroup:function(e,t){var o=this.createDefaultGroupId(e);return this.get(o)||this.add([{id:o,widgetIds:[]}],this._createTransactionOptions(t)),this.get(o)},getGroupsOnPage:function(e){return o.filter(this.models,(function(t){return 0===t.id.indexOf(e+":")}))},_createGroup:function(e,t){var o=this._createGroupId(e,this._nextGroupIndex(e));return this.add([{id:o,widgetIds:[]}],this._createTransactionOptions(t)),this.get(o)},removeWidgetsFromGroup:function(e,t){var o;e.forEach(function(e){(o=this.findGroup(e))&&(1===o.widgetIds.length?this._destroyGroupAndRelabel(o,this._createTransactionOptions(t)):o.removeWidget(e,this._createTransactionOptions(t)))}.bind(this))},_addWidgetsToGroup:function(e,t,o){e.forEach(function(e){t.addWidget(e,this._createTransactionOptions(o))}.bind(this))},_destroyGroupAndRelabel:function(e,t){this.remove(e,this._createTransactionOptions(t));var o={},i=[];this.getModels().forEach(function(e){var n=e.getPageId();o[n]?o[n]++:o[n]=1,e.setGroupIndex(o[n],this._createTransactionOptions(t)),i.push(e)}.bind(this)),this.reset(i,this._createTransactionOptions(t))},canCreateGroup:function(e){return!this.get(e+":"+this.maxGroupsPerPage)},createGroup:function(e,t){var o=(t=t||{}).targetPageId||this.findGroup(e[0]).getPageId();this.removeWidgetsFromGroup(e,t);var i=this._createGroup(o,t);return this._addWidgetsToGroup(e,i,t),i},addToGroup:function(e,t,o){var i=this.get(e);t=t.filter((function(e){return-1===i.widgetIds.indexOf(e)})),this.removeWidgetsFromGroup(t,o),this._addWidgetsToGroup(t,i,o)},disconnectFromGroup:function(e,t){var o=this,i=this.findGroup(e[0]).getPageId();return this.removeWidgetsFromGroup(e,t),e.map((function(e){var n=o._createGroup(i,t);return o._addWidgetsToGroup([e],n,t),n}))},_createTransactionOptions:function(e){return e?e.payloadData?{payloadData:e.payloadData,sender:e.sender?e.sender:this}:{sender:this}:null},createDefaultGroupId:function(e){return this._createGroupId(e,this.defaultGroupIndex)}})})),define("dashboard-core/js/dashboard/model/properties/customColors/CustomColorsModel",["../../../../lib/@waca/dashboard-common/dist/core/Model","underscore"],(function(e,t){var o=e.extend({whitelistAttrs:["colors"],init:function(e){e&&t.defaults(e,{colors:[]}),o.inherited("init",this,arguments)},addCustomColor:function(e){var t=this,o=Array.isArray(e)?e:[e],i=!1;o.forEach((function(e){var o=t.colors.indexOf(e.toLowerCase()),n=t.colors.indexOf(e.toUpperCase());-1===o&&-1===n&&(t.colors.push(e),i=!0)})),i&&this.trigger("changed:colors",{payloadData:{skipUndoRedo:!0},data:{runtimeOnly:!0}})},getHexColorFromClassName:function(e){return"#"+e.split("customColor")[1]},customColorExists:function(e){return this.colors.indexOf(e)},isCustomColor:function(e){return!!e&&-1!==e.indexOf("customColor")},getColorClassName:function(e){return e?"customColor"+(0===e.indexOf("#")?e.substring(1):e):""},getCustomPaletteDefinition:function(){var e=this,t=[];return this.colors.forEach((function(o){t.push(e.getColorClassName(o))})),{id:"customColorPalette",ids:t,fillType:"simple",fills:this.colors}}});return o})),define("dashboard-core/js/dashboard/model/properties/PropertiesModel",["../../../lib/@waca/dashboard-common/dist/core/Model","./customColors/CustomColorsModel","underscore"],(function(e,t,o){var i=e.extend({nestedModels:{customColors:t},whitelistAttrs:["dashboardColorSet","customColors","localCache","defaultLocale","fredIsRed"],init:function(e,t){var n=this;o.extend(this,t),e&&o.defaults(e,{customColors:{},defaultLocale:"Default",fredIsRed:!0}),i.inherited("init",this,arguments),this.contentReferences&&this.contentReferences.push({type:"palette",get:function(){var e=n.get("dashboardColorSet");return e&&0===e.indexOf("__CM__")?e.split("__CM__")[1]:null}})}});return i})),define("dashboard-core/js/dashboard/model/BoardModel",["jquery","../../lib/@waca/dashboard-common/dist/core/Model","./WidgetModel","./LayoutModel","./ModelUtils","underscore","./EventGroups","./properties/PropertiesModel","../../lib/@waca/core-client/js/core-client/utils/UniqueId"],(function(e,t,o,i,n,a,r,s,d){function c(e,t){return new i(e,t.boardModel,t.logger)}var l=t.extend({nestedCollections:{eventGroups:r},nestedModels:{properties:s},init:function(e,t){var o=this;this._initBoardSpec=e,t=t||{},this.logger=t.logger,this.dashboardApi=t.dashboardApi,this.createLayoutModel=t.createLayoutModel||c,t.whitelistAttrs?this.whitelistAttrs=t.whitelistAttrs:this.whitelistAttrs=["name","layout","theme","version","eventGroups","datasetShaping","properties","content"];var i=["dashboardColorSet","customColors","localCache","defaultLocale","fredIsRed"];if(this.content=n.initializeContentModel(e,i),t.boardModel=this,e.properties||(e.properties={}),this.defaultLocale=e.properties.defaultLocale,this.dashboardApi){var s=this.dashboardApi.getGlassCoreSvc(".UserProfile");s&&(this.contentLocale=s.preferences.contentLocale)}if(a.extend(t,this.getLanguageModelOptions()),this._updateNestedInfoWithExtensions(t.boardModelExtensions),l.inherited("init",this,arguments),this.eventRouter=t.eventRouter,this._autoCreateExtensionModelsAndCollections(t.boardModelExtensions,e),this.id=t.id,this.name=t.name||this.name,this.widgetRegistry=t.widgetRegistry,this.layoutExtensions=t.layoutExtensions,this.widgetInstances={},Object.keys(e.widgets||{}).forEach((function(t){o.createLegacyWidgetModel(e.widgets[t])})),this.createLayoutModel!==c&&this._instantiateWidgetModels(e.layout.items),this.layout=this.createLayoutModel(e.layout,{boardModel:this,logger:this.logger,dashboardApi:this.dashboardApi}),this.eventGroups||this.set({eventGroups:new r},{silent:!0}),this.boardModelExtensions=t.boardModelExtensions,this.layout.items&&this.layout.items.length>0){var d=this.layout.items[0];this.setSelectedLayout(d.id)}this.eventRouter&&this.eventRouter.on("tab:tabChanged",this.onTabChanged,this),this.isUpgraded=t.isUpgraded,this.type="dashboard"},_instantiateWidgetModels:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=0;t<e.length;t++){var o=e[t];o.items&&o.items.length?this._instantiateWidgetModels(o.items):"widget"===o.type&&o.features&&o.features.Models_internal&&this.createLegacyWidgetModel(o.features.Models_internal)}},getContentModel:function(){return this.content},createLegacyWidgetModel:function(e){this.getWidgetModel(e.id)||this._addWidgetModel(e,{addDashboardTranslatedLocales:!1})},_updateNestedInfoWithExtensions:function(e){var t=this;e&&e.forEach((function(e){var o=e.name;t.whitelistAttrs.push(o),"collection"===e.type?t.nestedCollections[o]=e.class:t.nestedModels[o]=e.class}))},_autoCreateExtensionModelsAndCollections:function(e,t){var o=this;e&&(e.forEach((function(e){var i=e.name;!t[i]&&e.autoCreate&&("collection"===e.type?o._setCollection(i,t[i]||null,{silent:!0,logger:o.logger,boardModel:o,dashboardApi:o.dashboardApi}):o._setNestedModel(i,t[i]||{},{silent:!0,logger:o.logger,boardModel:o}))})),this._registerBoardModelExtensionTriggers(e))},setDefaultLocale:function(e){this.defaultLocale=e},setTranslationLocale:function(e){this.properties.set({translationModeLocale:e}),this.translationLocale=e},_registerBoardModelExtensionTriggers:function(e){e&&e.forEach((function(e){e.triggers&&e.triggers.length>0&&e.triggers.forEach((function(t){this[e.name].on(t.eventName,this.trigger.bind(this,t.event))}),this)}),this)},onTabChanged:function(e){this.setSelectedLayout(e.modelId)},getWidgetModel:function(e){return this.widgetInstances?this.widgetInstances[e]:null},getTimeLineEpisode:function(e){return this.timeline?this.timeline.episodes.get(e):null},setSelectedLayout:function(e){this.selectedLayout=e},getSelectedLayout:function(){return this.selectedLayout},addContent:function(e,t,o){if(!e.parentId)throw new Error("Invalid argument options.parentId provided");if(!e.model)throw new Error("Invalid argument options.model provided");o=this.checkPayloadData(o);var i=Object.assign({},e.model);return i.id&&e.modelIdsValid||(i.id=d.get("content")),e.layoutProperties&&e.layoutProperties.style&&(i.style=Object.assign({},i.style||{},e.layoutProperties.style)),this.layout.addArray([{parentId:e.parentId,insertBefore:e.insertBefore,model:i}],t,o),i.id},removeContent:function(e,t,o){o=this.checkPayloadData(o),this.layout.removeArray([e],t,o)},addWidget:function(t,o,i){if(t.parentId){i=this.checkPayloadData(i);var n=this._addWidgetModel(t.model,{id:t.id});t.id&&(n.id=t.id);var r=n.id,s=a.extend({},t.layoutProperties,{type:"widget",id:r});return this.layout.addArray([{parentId:t.parentId,insertBefore:t.insertBefore,model:s}],o,i),this._triggerAddRemove("addWidget",{op:"addWidget",parameter:a.extend({},t,{model:n.toJSON(),layoutProperties:e.extend(!0,{},s)})},{op:"removeWidget",parameter:r},o,i)}},addFragment:function(e,t,o){var i=this;o=this.checkPayloadData(o);var n=a.extend({},e.model),r=this.dashboardApi.getFeature("dataSources.deprecated"),s=r?r.getSourcesCollection():void 0,d=s?s.addSourcesForPin(n,{payloadData:o}):{},c={};a.each(n.widgets,(function(t){var o=t.id;e.modelIdsValid||(t.id=void 0);var n=t.data?t.data.dataViews:null;n&&n.forEach((function(e){d[e.modelRef]&&(e.modelRef=d[e.modelRef])}));var a=i._addWidgetModel(t);c[o]=a.id,t.id=a.id})),e.layoutProperties&&!a.isArray(n.layout)&&(n.layout.style=n.layout.style||{},n.layout.style=a.extend(n.layout.style,e.layoutProperties.style)),e.modelIdsValid||(n.layout=this._updateFragmentSpecLayout(n.layout,c,e));var l=void 0;try{l=this.dashboardApi.getDashboardCoreSvc("DrillThroughService")}catch(e){this.logger.info(e)}l&&l.addDrillThroughOnAddFragment(e.model,d,c,n),n.properties&&n.properties.customColors&&n.properties.customColors.colors&&this.properties.customColors.addCustomColor(n.properties.customColors.colors),n.fredIsRed&&a.isEmpty(this.fredIsRed.colorMap)&&(this.fredIsRed.colorMap=n.fredIsRed.colorMap);var u=this.layout.addArray(this._getAddArrayPayload(n,e),t,o).prevValue.parameter;return a.each(n.pageContext,(function(e){if("filter"===e.origin){var t=void 0;e.tupleSet?t={values:a.values(JSON.parse(e.tupleSet))}:e.conditions?t={condition:{attributeUniqueNames:e.conditions[0].attributeUniqueNames,from:e.conditions[0].from[0],to:e.conditions[0].to[0]}}:i.logger.error("Error: AddFragment() - Only able to handle pageContext tupleSet and conditions, can not handle "+JSON.stringify(e)),t=a.extend(t,{scope:e.scope,openViewOnLoad:!1,exclude:e.exclude,payloadData:o}),i.dashboardApi.getCanvasWhenReady().then((function(o){o.filterApi.addFilter({sourceId:e.sourceId,itemId:e.hierarchyUniqueNames[0]},t)})).catch((function(e){i.logger.error(e)}))}else i.logger.error("Error: AddFragment() - Only able to handle pagecontext.origin=filter, not "+e.origin)})),this._triggerAddRemove("addFragment",{op:"addFragment",parameter:a.extend({},e,{model:n,modelIdsValid:!0,widgetIdMap:c})},{op:"removeFragment",parameter:u},t,o)},_getAddArrayPayload:function(e,t){var o=[];return a.isArray(e.layout)?(a.each(e.layout,(function(e){o.push({parentId:t.parentId,insertBefore:t.insertBefore,model:e})})),o):[{parentId:t.parentId,insertBefore:t.insertBefore,model:e.layout}]},_updateFragmentSpecLayout:function(e,t){var o=this;if(e)return function e(t,i){if(a.isArray(t))a.each(t,(function(t){e(t,i)}));else{if("widget"!==t.type){var n=o.createLayoutModel({items:[]},{boardModel:o,logger:o.logger});n.off(),i[t.id]=n.id,t.id=n.id}else t.id=i[t.id];a.each(t.items,(function(t){e(t,i)}))}return t}(e,t);return{type:"group",items:a.map(a.values(t),(function(e){return{id:e,type:"widget"}}))}},_getObjectFromArrayById:function(e){return a.object(a.map(e,(function(e){return[e.id,e]})))},removeFragment:function(e,t,o){return this.removeLayouts(e,t,o)},removeWidget:function(e,t,o){o=this.checkPayloadData(o),this.trigger("pre:removeWidget",{id:e,sender:t,data:a.extend({runtimeOnly:!0},o)});var i=this.layout.removeArray([e],t,o);if(i){var n=this.widgetInstances[e],r=this._triggerAddRemove("removeWidget",{op:"removeWidget",parameter:e},{op:"addWidget",parameter:{parentId:i.prevValue.parameter[0].parentId,model:n.toJSON(),layoutProperties:a.extend({},i.prevValue.parameter[0].model)}},t,o);return this.widgetInstances[e].off("change",this.onWidgetModelChange,this),delete this.widgetInstances[e],r}},getUsedCustomColors:function(e){var t=l.inherited("getUsedCustomColors",this,arguments);if(this.widgetInstances)for(var o in this.widgetInstances)t=t.concat(this.widgetInstances[o].getUsedCustomColors(e));return this.layout&&(t=t.concat(this.layout.getUsedCustomColors(e))),a.uniq(t,!1)},removeLayouts:function(e,t,o){o=this.checkPayloadData(o);var i=a.isArray(e)?e:[e];this.trigger("pre:removeLayouts",{idArray:i,sender:t,data:a.extend({runtimeOnly:!0},o)});var n=this.layout.listWidgets(i),r=this.layout.removeArray(i,t,o);if(r){for(var s,d={},c=0;c<n.length;c++){s=n[c];var l=this.widgetInstances[s];l&&(d[s]=l.toJSON(),l.off(),delete this.widgetInstances[s])}return this._triggerAddRemove("removeLayouts",{op:"removeLayouts",parameter:i,removedWidgets:d},{op:"addLayouts",parameter:{widgetSpecMap:d,addLayoutArray:r.prevValue.parameter}},t,o)}},addLayouts:function(e,t,o){if(o=this.checkPayloadData(o),e.widgetSpecMap)for(var i in e.widgetSpecMap)e.widgetSpecMap.hasOwnProperty(i)&&this._addWidgetModel(e.widgetSpecMap[i],{id:i});var n=e.parentId?this.layout.findModel(e.parentId):this.layout;n||(n=this.layout);var r=n.addArray(e.addLayoutArray,t,o);return this._triggerAddRemove("addLayouts",{op:"addLayouts",parameter:a.extend({},e,{widgetSpecMap:e.widgetSpecMap,addLayoutArray:r.value.parameter})},{op:"removeLayouts",parameter:r.prevValue.parameter},t,o)},_isTypeRegistered:function(e){return this.dashboardApi.getFeature("ContentTypeRegistry").isTypeRegistered(e)},duplicateLayout:function(e,t,o){var i=this;o=this.checkPayloadData(o);var n=this.layout.findModel(e),a={};return function(){if(n){if(i._isTypeRegistered(n.type)){var r=n.getParent().id,s=i.dashboardApi.getFeature("Canvas").getContent(e);return i.dashboardApi.getFeature("Canvas").addContent({containerId:r,spec:s.getFeature("Serializer").toJSON(),copyPaste:!0}).then((function(t){var o=t.getId();return a[e]=o,o}))}var d=i._cloneWidgets(n,a),c=i._cloneLayout(n,a,o),l={parentId:n.getParent().id,widgetSpecMap:d,addLayoutArray:[{model:c.toJSON(),insertBefore:"widget"===n.type?null:n.getNextSiblingId()}]};return i.addLayouts(l,t,o),Promise.resolve(c.id)}return Promise.resolve()}().then((function(n){return i.trigger("duplicateLayout",{layoutId:e,cloneId:n,idMap:a,sender:t,data:o}),n}))},duplicateSelection:function(e,t,o){var i=[],n=this.checkPayloadData(o);return n.limitToBounds=[],a.each(e.modelIds,function(o){e.outBoundIds&&e.outBoundIds.filter((function(e){return e.id===o})).length>0&&n.limitToBounds.push(e.outBoundIds.filter((function(e){return e.id===o}))),i.push(this.duplicateLayout(o,t,n))}.bind(this)),i},updateLayoutType:function(e,t,o){o=this.checkPayloadData(o);var i=e.id?this.layout.findModel(e.id):this.layout;i&&e.type&&i.set({type:e.type},{sender:t,payloadData:o})},updateLayoutDropZones:function(e,t,o){var i;e.id&&(i=this.layout.findModel(e.id)),i||(i=this.layout);var n=i.findDropZones();if(!n)return o;o=this.removeLayouts(n.ids,t,o);for(var a=i.listWidgets([i.id])[0],r=[],s=0;s<e.model.items[0].items.length;s++)r.push({parentId:n.parentId,model:e.model.items[0].items[s],insertBefore:a});return o=this.addLayouts({parentId:n.parentId,addLayoutArray:r},o.sender,o.data)},_cloneWidgets:function(e,t){var o={},i=e.listWidgets([e.id]);return a.each(i,function(e){var i=this.widgetInstances[e].cloneWidget(t);o[i.id]=i.toJSON()}.bind(this)),o},_cloneLayout:function(e,t,o){var i=e.cloneLayout(t);return("widget"===i.type||"group"===i.type)&&i.style&&o.limitToBounds&&o.limitToBounds.length<=0?(i.style.top=i.incrementStyleValue(i.style.top),i.style.left=i.incrementStyleValue(i.style.left)):o.limitToBounds&&o.limitToBounds.length>0&&o.limitToBounds[0].forEach((function(e){e.bottom&&(i.style.top=i.incrementStyleValue(i.style.top)),e.right&&(i.style.left=i.incrementStyleValue(i.style.left)),e.right||e.bottom||(parseFloat(i.decrementStyleValue(i.style.top))>0&&(i.style.top=i.decrementStyleValue(i.style.top)),parseFloat(i.decrementStyleValue(i.style.left))>0&&(i.style.left=i.decrementStyleValue(i.style.left)))})),i},getLanguageModelOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={defaultLocale:this.defaultLocale,contentLocale:this.contentLocale,translationLocale:this.translationLocale};if(e){var o=this.dashboardApi.getDashboardCoreSvc("TranslationService");t.availableDashboardLocales=o.getSelectedLanguages()}return t},_addWidgetModel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name||(e.name="");var i=o;e&&this.widgetRegistry&&this.widgetRegistry[e.type]&&this.widgetRegistry[e.type].ModelClass&&(i=this.widgetRegistry[e.type].ModelClass);var n=t.id,a=t.addDashboardTranslatedLocales,r=void 0===a||a,s=this.getLanguageModelOptions(r),d=new i(e,s);return d.on("change",this.onWidgetModelChange,this),this.widgetInstances[n||d.id]=d,d},onLayoutChange:function(e,t){this.trigger("change:layout",e,t)},_triggerAddRemove:function(e,t,o,i,n){var a={value:t,prevValue:o,sender:i,senderContext:{applyFn:this.applyFn.bind(this)},data:n};return this.trigger(e,a),a},applyFn:function(e,t,o,i){if(e.op&&"function"==typeof this[e.op]){var n=[e.parameter];n.push(t),n.push(i),this[e.op].apply(this,n)}else l.inherited("applyFn",this,arguments)},onWidgetModelChange:function(e){var t=e.senderContext||{},o=a.isObject(e.sender)?e.sender.id:e.sender;e&&e.senderContext&&this.widgetInstances[o]&&(e.senderContext.applyFn=function(){var e=this.widgetInstances[o];e&&e.applyFn.apply(e,arguments)}.bind(this)),this.trigger("widget:change",a.extend({modelId:e.model?e.model.id:o,senderContext:t},e))},toJSON:function(){var e=l.inherited("toJSON",this,[null,["layout"]]),t=this.dashboardApi.getFeature("Canvas").findContent({type:this.layout.type})[0];return e.layout=t.getFeature("Serializer").toJSON(),e},checkPayloadData:function(e){return e||{undoRedoTransactionId:a.uniqueId("boardModelTransaction")}},findWidgetById:function(e){return this.widgetInstances?this.widgetInstances[e]:null},findWidgetByIds:function(e){var t;return e.some(function(e){var o=!1,i=this.findWidgetById(e);return i&&(t=i,o=!0),o}.bind(this)),t},findWidgetByCriteriaFn:function(e){var t;for(var o in this.widgetInstances)if(this.widgetInstances.hasOwnProperty(o)){var i=this.widgetInstances[o];if(e(i)){t=i;break}}return t},filterWidgetsByCriteriaFn:function(e){var t=[];for(var o in this.widgetInstances)if(this.widgetInstances.hasOwnProperty(o)){var i=this.widgetInstances[o];e(i)&&t.push(i)}return t},getContentReferences:function(){var e=l.inherited("getContentReferences",this,arguments);if(this.widgetInstances)for(var t in this.widgetInstances)e=e.concat(this.widgetInstances[t].getContentReferences());return this.layout&&(e=e.concat(this.layout.getContentReferences())),a.uniq(e,!1,(function(e){return e.value}))},getInitialSpec:function(){return this._initBoardSpec},deleteInitialSpec:function(){delete this._initBoardSpec}});return l})),define("dashboard-core/js/dashboard/model/BoardModelFactory",["underscore","./BoardModel","../../lib/@waca/core-client/js/core-client/utils/ClassFactory"],(function(e,t,o){return function(){function e(t){_classCallCheck(this,e),this.glassContext=t.glassContext,this.dashboardAPI=t.dashboardAPI,this.boardId=t.boardId,this.objectUrl=t.objectUrl,this.boardSpec=t.boardSpec,this.widgetRegistry=t.widgetRegistry,this.extensions=t.extensions,this.stringResources=t.stringResources,this.eventRouter=t.eventRouter,this.logger=t.logger,this.createLayoutModel=t.createLayoutModel}return e.prototype.createBoardModel=function(){var e=this;return this._getBoardSpec(this.boardId,this.objectUrl).then((function(t){return e._upgradeSpec(t)})).then((function(t){return e._onLoadSpec&&e.dashboardAPI.getCurrentContentView().setSavedInstance(e._onLoadSpec),t})).then(this._createBoardModel.bind(this))},e.prototype._createBoardModel=function(e){var o=e.spec&&e.spec._meta,i=o&&o.bundleID||this.boardId,n=o&&o.name;return{boardModel:new t(e.spec,{id:i,name:n,eventRouter:this.eventRouter,widgetRegistry:this.widgetRegistry,boardModelExtensions:this.extensions.getBoardModelExtensions(),layoutExtensions:this.extensions.getLayoutModelExtensions(),dashboardApi:this.dashboardAPI,logger:this.logger,createLayoutModel:this.createLayoutModel,isUpgraded:e.upgraded}),boardSpec:e.spec,boardId:this.boardId}},e.prototype._getBoardSpec=function(e,t){var o=this;if(!this.boardId&&!this.objectUrl){var i=this.dashboardAPI.findGlassPlugin("com.ibm.bi.glass.common.operations");i&&i.disable()}return this.boardSpec?Promise.resolve(this.boardSpec):this.glassContext.getSvc(".DashboardContent").then((function(o){return o.getDashboard(e,t)})).then((function(e){return o._resolveBoardSpec(e)}))},e.prototype._resolveBoardSpec=function(e){var t=e.boardId,o=e.name,i=e.searchPath,n=e.permissions,a=e.boardSpec;return a._meta={bundleID:t},this.dashboardAPI.setPermissions(n),a.name=o,a.searchPath=i,this.boardSpec=a,this._onLoadSpec=JSON.stringify(a),this.boardId=t,a},e.prototype._upgradeSpec=function(e){var t=this;return this.glassContext.getSvc(".UpgradeService").then((function(o){return e.version=e.version||o.getLatestDashboardSpecVersion(),o.needsUpgrade(e,null)?t._doUpgrade(e,o).then((function(e){return{spec:e,upgraded:!0}})):{spec:e,upgraded:!1}})).catch((function(e){if(e.obj)return{spec:e.obj,upgraded:!0};throw e}))},e.prototype._doUpgrade=function(e,t){var i=this,n=null,a=this.dashboardAPI.canAuthor()?this.stringResources.get("toastUpgradeDone"):this.stringResources.get("upgradeComplete"),r=function(e){n.setComplete(e.completed/e.total*100,{isComplete:e.done,completeMsg:e.done?a:null,duration:e.done?10:100})};return Promise.all([o.loadModule("dashboard-core/js/lib/@waca/core-client/js/core-client/ui/ProgressToast"),this.glassContext.getCoreSvc(".Config").getProductVersion()]).then((function(o){var a=o[0],s=o[1];n=new a({noCancelBtn:!0,noHideBtn:!0});var d=i.stringResources.get("upgradingDashboard",{name:e.name,version:s});return n.show(d),e=i._restoreWidgetModelsForUpgrade(e,t.getLatestDashboardSpecVersion()),t.upgrade(e,null,{ajaxSvc:i.glassContext.getCoreSvc(".Ajax"),dashboardApi:i.dashboardAPI,services:i.services,logger:i.logger,hasWrite:i.dashboardAPI.canAuthor(),progress:r,noToast:!0,originalSpecVersion:e.version})})).catch((function(e){throw n&&setTimeout((function(){n.showButton("hide"),n.fail()}),1e3),i.logger.error(e),e}))},e.prototype._findWidgetInLayouts=function(e,t){if(e&&"widget"===e.type&&e.features&&e.features.Models_internal&&t.push(e),e&&e.items&&e.items.length>0)for(var o=0;o<e.items.length;o++){var i=e.items[o];this._findWidgetInLayouts(i,t)}},e.prototype._restoreWidgetModelsForUpgrade=function(e,t){var o=[];if(e.version<t&&e.layout){this._findWidgetInLayouts(e.layout,o);for(var i=0;i<o.length;i++){var n=o[i],a=n.features.Models_internal;e.widgets||(e.widgets={}),e.widgets[n.id]=a,delete n.features.Models_internal}}return e},e}()})),define("dashboard-core/js/api/DashboardCoreAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getFeature=function(){},e.prototype.destroy=function(){},e}()})),define("dashboard-core/js/api/impl/DashboardCore",["../../lib/@waca/dashboard-common/dist/core/APIFactory","../DashboardCoreAPI"],(function(e,t){return function(){function o(i){var n=i.dashboardAPI,a=i.internalDashboardAPI;_classCallCheck(this,o),this._dashboardAPI=n,this._internalDashboardAPI=a,this._api=e.createAPI(this,[t])}return o.prototype.getAPI=function(){return this._api},o.prototype.getFeature=function(e){return this._dashboardAPI.getFeature(e)},o.prototype.destroy=function(){var e=this.getFeature("LegacyViewControllers");e&&e.destroy(),this._internalDashboardAPI.destroy()},o}()})),define("dashboard-core/js/api/impl/DashboardFactory",["./Dashboard","./DashboardCore"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._bootstrapFeatures={},this._featureDefinitions={dashboard:[],content:[]}}return o.prototype.init=function(e){var t=e.bootstrapFeatures,o=e.dashboardFeatures,i=e.contentFeatures;return void 0===t.Logger?this._bootstrapFeatures.Logger=console:this._bootstrapFeatures.Logger=t.Logger,this._featureDefinitions.dashboard=o||[],this._featureDefinitions.content=i||[],Promise.resolve()},o.prototype.getBootstrapFeature=function(e){return this._bootstrapFeatures[e]},o.prototype.getDashboardFeatures=function(){return this._featureDefinitions.dashboard},o.prototype.getContentFeatures=function(){return this._featureDefinitions.content},o.prototype.create=function(){return this._dashboardAPI=new e({view:{}}),Promise.resolve(new t({dashboardAPI:this._dashboardAPI}).getAPI())},o}()})),define("dashboard-core/js/api/core/glass/Glass",[],(function(){return function(){function e(t){_classCallCheck(this,e),this.glassFeature={},this._glassContext=t,this._glassFeature=null}return e.prototype.getAPI=function(e){var t=this;return"internal"===e?{getGlassContext:function(){return t._glassContext}}:(this._glassFeature||(this._glassFeature={showErrorMessage:function(e,o){return t._glassContext.appController.showErrorMessage(e,o)},showMessage:function(e){return t._glassContext.appController.showMessage(e)},showToast:function(e,o){return t._glassContext.appController.showToast(e,o)},showSlideOut:function(e){return t._glassContext.appController.showSlideOut(e)},showContextMenu:function(e){return t._glassContext.appController.showContextMenu(e)},isDevInstall:function(){return t._glassContext.isDevInstall()},openApplication:function(e,o){return t._glassContext.appController.openAppView(e,o)},closeApplication:function(e,o,i){return t._glassContext.appController.closeAppView(e,o,i)},getService:function(e){return t._glassContext.getSvc(e)},getCoreService:function(e){return t._glassContext.getCoreSvc(e)}}),this._glassFeature)},e}()})),define("dashboard-core/js/api/core/glass/Logger",[],(function(){return function(){function e(t){_classCallCheck(this,e),this.glassContext=t}return e.prototype.getAPI=function(){return this.glassContext.getCoreSvc(".Logger")},e}()})),define("dashboard-core/js/features/dashboard/palette/PaletteAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getPalette=function(){},e.prototype.getPalettes=function(){},e.prototype.on=function(){},e.prototype.off=function(){},e}()})),define("dashboard-core/js/dashboard/glass/services/DashboardGlassContext",[],(function(){return function(){function e(t){_classCallCheck(this,e),this.model=t.model,this.impersonateGlassContext(t.glassContext)}return e.prototype.setServices=function(e){this._services=e},e.prototype.impersonateGlassContext=function(e){for(var t in e)"function"==typeof e[t]?this[t]=e[t].bind(e):this[t]="appController"===t?this.impersonateAppController(e[t]):e[t]},e.prototype.impersonateAppController=function(e){var t={};for(var o in e)"function"==typeof e[o]?t[o]="findCollection"===o?function(e){var t=this;return new Promise((function(o){var i=t.model.collectionContainers.find((function(t){return t.id===e}));o(i?i.items:[])}))}.bind(this):"getCurrentContentView"===o?function(){return{services:this._services,getDashboardApi:function(){return{getDashboardInfo:function(){return{type:"exploration"}}}}}}.bind(this):e[o].bind(e):t[o]=e[o];return t},e}()})),define("dashboard-core/js/api/deprecated/CanvasAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getLayout=function(){},e.prototype.addWidget=function(){},e.prototype.replaceWidget=function(){},e.prototype.removeWidget=function(){},e.prototype.getWidgetWhenReady=function(){},e.prototype.getWidgetsWhenRendered=function(){},e.prototype.selectWidget=function(){},e.prototype.selectWidgets=function(){},e.prototype.getSelectedWidgets=function(){},e.prototype.deselectAllWidgets=function(){},e.prototype.getWidget=function(){},e.prototype.getWidgets=function(){},e.prototype.hasMaximizedWidget=function(){},e.prototype.getFeature=function(){},e.prototype.registerFeature=function(){},e.prototype.addFragment=function(){},e.prototype.getFilters=function(){},e}()})),define("dashboard-core/js/dashboard/layout/authoring/EventHelper",["jquery","hammerjs","jquery.hammer","../../../lib/@waca/core-client/js/core-client/utils/EventHelper"],(function(e,t){var o="ontouchstart"in window,i={};for(var n in t.gestures)t.gestures.hasOwnProperty(n)&&(i[t.gestures[n].name]=1);return{currentHandlerCount:0,on:function(e,t,i){if(!o&&this.isTouch(t))return{off:function(){}};var n=function(e){return i(this.fixEvent(e))}.bind(this);return this._addListener(e,t,n),{off:function(){this._removeListener(e,t,n)}.bind(this)}},fixEvent:function(e){var t=e,o=function(e){return e.targetTouches?e.targetTouches:e.originalEvent&&e.originalEvent.targetTouches?e.originalEvent.targetTouches:e.gesture?e.gesture.touches:null}(e);t.isTouch=null!==o;var i=o&&o.length?o[0]:null;return i&&void 0!==i.clientX&&(t.clientX=i.clientX,t.clientY=i.clientY,t.pageX=i.pageX,t.pageY=i.pageY),t},_addListener:function(t,o,i){i&&(this.currentHandlerCount++,e(t).on(o,i))},_removeListener:function(t,o,i){i&&(this.currentHandlerCount--,e(t).off(o,i))},isTouch:function(e){return e.match(/touch/)||i[e]},setInlineEdit:function(t,o,i){var n=e(t);return n.inlineEditor(o,i),{off:function(){n.inlineEditor("remove")},blur:function(){n.inlineEditor("blur")},isEditing:function(){return n.inlineEditor("isEditing")}}}}})),define("dashboard-core/js/app/util/EventChainLocal",["../../lib/@waca/core-client/js/core-client/ui/core/Class"],(function(e){return e.extend({init:function(e){this.event=e},_getSourceEvent:function(){return this.event.gesture?this.event.gesture.srcEvent:this.event.originalEvent?this.event.originalEvent:this.event},_getPropertyMap:function(){var e=this._getSourceEvent();return e._eventChainLocalMap||(e._eventChainLocalMap={}),e._eventChainLocalMap},setProperty:function(e,t){this._getPropertyMap()[e]=t},getProperty:function(e){return this._getPropertyMap()[e]}})})),define("dashboard-core/js/dashboard/layout/authoring/interaction/Selection",["../../../../lib/@waca/core-client/js/core-client/ui/core/Events","../../../../lib/@waca/core-client/js/core-client/ui/KeyCodes","jquery","../../../layout/authoring/EventHelper","../../../../app/util/EventChainLocal","../../../../lib/@waca/core-client/js/core-client/utils/Utils","underscore","../../../../lib/@waca/dashboard-common/dist/utils/EventChainLocal","../../../../lib/@waca/core-client/js/core-client/utils/BrowserUtils"],(function(e,t,o,i,n,a,r,s,d){var c=e.extend({_utils:a,init:function(e){c.inherited("init",this,arguments),this.selectedNodes=[],this.orderedActionsBySelector=[],this.actionsBySelector={},this.selectionHandlers=null,this.deselectHandlers=[],this.saveMouseEvent=null,this.selector="",this.deselectionSelector=e.deselectionSelector||function(){return".page"},this.canvas=e.canvas,this.transaction=e.transaction,this.controller=e.controller,e.utils&&(this._utils=e.utils),this.delegate=e.delegate,this.canvas.on("change:selections:select",this.onSelection.bind(this)),this.canvas.on("change:selections:deselect",this.onDeselection.bind(this))},startTransaction:function(){return this.transaction.startTransaction()},endTransaction:function(e){this.transaction.endTransaction(e)},initialize:function(){},deselectAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments[2];if(!(e&&"mousedown"===e.type&&1!==(e.buttons||e.which)||this._isDraggingAction())&&this.selectedNodes.length){var n=void 0;if(e&&(n=o(this._getTargetNode(e))),!n||!n.closest(".widget").length&&!n.closest(".pagegroup").length||t)return this._deselectDomEvent=e,this._isSelectionInProgress=t,this.canvas.deselectContent(this.selectedNodes.map((function(e){return e.getAttribute("id")})),i),!1}},onDeselection:function(e){var t=this,i=!1;e.info.value.forEach((function(e){var n=t.canvas.getContent(e);if(n&&t._isSelectionSupported(n)){i=!0;var a=n.getFeature("ContentViewDOM").getNode();t._removeNodeFromSelection(a)&&(o(a).removeClass("nodeSelected").blur(),t.trigger("selection:nodeDeselected",{node:a}))}else t.selectedNodes=t.selectedNodes.filter((function(t){return t.getAttribute("id")!==e}))})),(i||this._deselectDomEvent)&&(this.updateDeSelection(this._deselectDomEvent),this._isSelectionInProgress||this._triggerSelectionReadyEvent(this._deselectDomEvent),delete this._deselectDomEvent,delete this._isSelectionInProgress)},deselectNode:function(e,t,o,i){this._deselectDomEvent=t,this._isSelectionInProgress=o,this.canvas.deselectContent([e.getAttribute("id")],i)},updateDeSelection:function(e){0===this.selectedNodes.length&&(this.deselectHandlers.forEach((function(e){return e.off()})),this.deselectHandlers=[]),this.notifyActionHandlers(e)},addActionForSelector:function(e,t,o){var i=this.actionsBySelector[t];i||(i=[],this.actionsBySelector[t]=i,o||this.enableSelectionFor(t)),-1===i.indexOf(e)&&(i.push(e),this.orderedActionsBySelector.push({selector:t,action:e}))},disableInteraction:function(){this.deselectAll(),this.selector="",this._detachHandlers(this.selectionHandlers),this.selectionHandlers=null,this.actionsBySelector={},this.orderedActionsBySelector=[]},disableActionsForSelector:function(e){this._removeSelector(e),""===this.selector&&(this._detachHandlers(this.selectionHandlers),this.selectionHandlers=null)},enableSelectionFor:function(e){this.selectionHandlers?this.selector+=","+e:(this.selectionHandlers=[],this._attachStartSelectionHandlers(this.controller.$el,this.selectionHandlers),this.selector=e)},isEnabled:function(){return!this.delegate||this.delegate.isEnabled()},_cleanRemovedSelectedNodes:function(){var e=this;this.selectedNodes=this.selectedNodes.filter((function(t){return e.canvas.getContent(t.getAttribute("id"))}))},_isSelectionSupported:function(e){var t=e.getType();if(-1!==t.indexOf("widget")||"group"===t)return!0;var o=e.getFeature("ContentRegistry.internal."+t+"Capabilities"),i=!1;if(o){var n=o.getCapabilities();i=n.selection?n.selection:i}return i},onSelection:function(e){var t=this,i=!1;e.info.value.forEach((function(e){var n=t.canvas.getContent(e);if(n&&t._isSelectionSupported(n)){i=!0;var a=n.getFeature("ContentViewDOM").getNode();t._attachDeselectHandlers(),t._addSelectedNode(a),t._emitSelectionAfterEvent(),d.isIE11()?setTimeout((function(){o(a).addClass("nodeSelected").focus()}),0):o(a).addClass("nodeSelected").focus(),t._cleanRemovedSelectedNodes(),t.trigger("selection:nodeSelected",{node:a,selectedNodes:t.selectedNodes})}})),e.tracking.action.params&&e.tracking.action.params.forEach((function(e){e&&e.hideContextBar&&(t._selectDomEvent=_extends({},t._selectDomEvent,{hideContextBar:e.hideContextBar}),new s(t._selectDomEvent).setProperty("preventDefaultContextBar",!0))})),(i||this._selectDomEvent)&&(this.notifyActionHandlers(this._selectDomEvent),this._isSelectionInProgress||this._triggerSelectionReadyEvent(this._selectDomEvent),delete this._selectDomEvent,delete this._isSelectionInProgress)},selectNode:function(e,t,o,i){if(!this._isDraggingAction()){var n=this.canvas.getContent(e.getAttribute("id"));if(this._selectDomEvent=t,this._isSelectionInProgress=o,!1!==n.getPropertyValue("selectable"))this.canvas.selectContent([e.getAttribute("id")],i);else{var a=n.getContainer();if(!1!==a.getPropertyValue("selectable")){var r=a.getFeature("ContentViewDOM").getNode();this.canvas.selectContent([r.getAttribute("id")],i)}}}},onTap:function(e){if("mousedown"!==e.type||1===(e.buttons||e.which)&&!this._suppressSyntheticMouseEvent){this._suppressSyntheticMouseEvent="tap"===e.type;var t=this._emitSelectionBeforeEvent(this._getTargetNode(e),e.type),o=this.canvas.getContent(t.getAttribute("id")),i=!1!==o.getPropertyValue("selectable");if(1===this.selectedNodes.length&&this._getIndexFromSelection(t)>-1||!i&&this.selectedNodes.length>0&&this._isInSelection(o.getContainer().getId()))this._triggerReselectEvent(e,t);else{var n=this.startTransaction();this.selectedNodes.length>0&&this.deselectAll(e,!0,n),this.selectNode(t,e,!1,n),this.endTransaction(n)}}else this._suppressSyntheticMouseEvent=!1},onHold:function(e){var t=this.startTransaction(),o=this._emitSelectionBeforeEvent(this._getTargetNode(e),e.type);if(this._getIndexFromSelection(o)>-1)return this.deselectNode(o,e,!1,t),e.gesture&&e.gesture.preventDefault(),!1;this.selectNode(o,e,!1,t),this.endTransaction(t)},onTouchStart:function(){this.selectionHandlers[2].off(),this.selectionHandlers[3].off()},onTouchEnd:function(e){var t=this,o=this._getTargetNode(e);setTimeout((function(){i.on(o,"mousedown",t.saveMouseEvent),i.on(o,"click",t.saveMouseEvent)}),600)},onKeyDownSelectEvent:function(e){if(this._shouldSelect(e)){var t=this.startTransaction(),o=this._emitSelectionBeforeEvent(this._getTargetNode(e),e.type);this._shouldDeselect(o,e)?this.deselectNode(o,e,!1,t):(this._shouldDeselectAll(e)&&this.deselectAll(e,!0,t),this.selectNode(o,e,!1,t)),this.endTransaction(t)}},onMouseSelectEvent:function(e){var t=!0;if(1===(e.buttons||e.which)){var i=this._getTargetNode(e),n=o(i),a=this._isParentMoving(n),r=this._isParentSelectedAndNotTarget(n),s=this._isDraggingAction();"click"!==e.type&&"contextmenu"!==e.type||!(this._ignoreMouseUpSelect||a||r||s)?t=this._handleMouseSelection(e,i):(!this._ignoreMouseUpSelect||a||r||this._deselectPrevented||this._triggerSelectionReadyEvent(e),this._ignoreMouseUpSelect=!1,this._deselectPrevented=!1)}return t},_removeNodeFromSelection:function(e){var t=this._getIndexFromSelection(e);return t>-1&&(this.selectedNodes.splice(t,1),!0)},_getIndexFromSelection:function(e){return r.map(this.selectedNodes,(function(e){return e.id})).indexOf(e&&e.id)},_createDelegatedEventHandler:function(e){var t=this;return function(i){if(t.isEnabled()){var n=i.target;if(n&&o(n).is(t.selector))return e(i);if(n){var a=o(n).parents(t.selector);if(a.length>0)return i._delegateTarget=a[0],e(i)}}}},_detachHandlers:function(e){e&&e.forEach((function(e){return e.off()}))},_removeSelector:function(e){for(var t=this.selector.split(","),o=0;o<t.length;o++)if(t[o]===e)return t.splice(o,1),void(this.selector=t.join(","))},_attachStartSelectionHandlers:function(e,t){var o=this._createDelegatedEventHandler(this.onTap.bind(this)),n=this._createDelegatedEventHandler(this.onHold.bind(this)),a=this._createDelegatedEventHandler(this.onMouseSelectEvent.bind(this)),r=this._createDelegatedEventHandler(this.onKeyDownSelectEvent.bind(this)),s=this._createDelegatedEventHandler(this.onTouchStart.bind(this)),d=this._createDelegatedEventHandler(this.onTouchEnd.bind(this));this.saveMouseEvent=a,this._utils.isIpad()?t.push(i.on(e,"tap",o),i.on(e,"hold",n),i.on(e,"keydown",r),i.on(e,"mousedown",o)):t.push(i.on(e,"tap",o),i.on(e,"hold",n),i.on(e,"mousedown",a),i.on(e,"click",a),i.on(e,"contextmenu",a),i.on(e,"keydown",r),i.on(e,"touchstart",s),i.on(e,"touchend",d))},_getTargetNode:function(e){return e._delegateTarget?e._delegateTarget:e.target},_shouldSelect:function(e){var o=new s(e);return(e.keyCode===t.ENTER||e.keyCode===t.SPACE)&&e.target&&"inlineText"!==e.target.className&&!o.getProperty("preventWidgetSelection")},_shouldDeselect:function(e,t){return this._getIndexFromSelection(e)>-1&&a.isControlKey(t)},_shouldDeselectAll:function(e){return this.selectedNodes.length>0&&!a.isControlKey(e)},_isParentMoving:function(e){return e.parents(".nodeDragging, .nodeResizing").length>0},_isParentSelectedAndNotTarget:function(e){return!e.is(".nodeSelected")&&0===e.parents(".nodeSelected").length},_isDraggingAction:function(){return o("body").hasClass("dragging")},_isInSelection:function(e){for(var t=!1,o=0;o<this.selectedNodes.length&&!(t=this.selectedNodes[o].getAttribute("id")===e);o++);return t},_handleMouseSelection:function(e,t){var i=this.canvas.getContent(t.getAttribute("id")),n=!1!==i.getPropertyValue("selectable"),r=!0;return t=this._emitSelectionBeforeEvent(t,e.type),this.selectedNodes.indexOf(t)>-1||!n&&this.selectedNodes.length>0&&this._isInSelection(i.getContainer().getId())?a.isControlKey(e)?(this._handleCtrlKeyClick(e,t),r=!1):"click"!==e.type||o(e.target).hasClass("resizePoint")||this._triggerReselectEvent(e,t):r=this._mouseEventSelectNode(e,t),r},_handleCtrlKeyClick:function(e,t){new n(e).getProperty("preventWidgetDeselect")?(this._ignoreMouseUpSelect=!0,this._deselectPrevented=!0):this.deselectNode(t,e)},_mouseEventSelectNode:function(e,t){var o=this.startTransaction();return this.selectedNodes.length>0&&!a.isControlKey(e)&&this.deselectAll(e,!0,o),e&&"mousedown"===e.type&&(this._ignoreMouseUpSelect=!0),this.selectNode(t,e,this._ignoreMouseUpSelect,o),this.endTransaction(o),!0},finishMoveSelection:function(e){this._ignoreMouseUpSelect&&this._triggerSelectionReadyEvent(e),this._ignoreMouseUpSelect=!1},_triggerReselectEvent:function(e,t){o(t).is(".nodeDragging, .nodeResizing")||this.emit("selection:reselect",{node:t,event:e})},_triggerSelectionReadyEvent:function(e){this.emit("selection:ready",{selectedNodes:this.selectedNodes,event:e})},_emitSelectionBeforeEvent:function(e,t){var o={newSelection:e,currentSelection:this.selectedNodes.concat(),eventType:t};return this.emit("selection:before",o),o.newSelection},_emitSelectionAfterEvent:function(){this.emit("selection:after",{currentSelection:this.selectedNodes.concat()})},_addSelectedNode:function(e){if(-1===this._getIndexFromSelection(e)){for(var t=e,o=-1;t&&-1===o;)t=t.nextSibling,o=this._getIndexFromSelection(t);-1!==o?this.selectedNodes.splice(o,0,e):this.selectedNodes.push(e)}},_deselectHandler:function(e){if(!e.keyCode||e.keyCode===t.ENTER||e.keyCode===t.SPACE){var i=o(e.target),n=this.deselectionSelector(),a=!1,r=!1;if(this.selectedNodes.length>=1){var s=this.selectedNodes[0],d=o(s).parents(".pagecontainer")[0];if(d){var c=!1,l=!1;if((d.scrollHeight>d.clientHeight||"scroll"===d.style.overflowY)&&(l=!0),(d.scrollWidth>d.clientWidth||"scroll"===d.style.overflowX)&&(c=!0),(l||c)&&!this.scrollbarWidth){var u=document.createElement("div");u.style.overflow="scroll",u.style.width="50px",u.style.width="50px",document.body.appendChild(u),this.scrollbarWidth=u.offsetWidth-u.clientWidth,document.body.removeChild(u)}if(l){var p=d.getBoundingClientRect(),h=p.left+d.clientLeft+d.clientWidth,f=h+this.scrollbarWidth,g=p.top+d.clientTop,b=g+d.clientHeight;e.clientX>=h&&e.clientX<=f&&e.clientY>=g&&e.clientY<=b&&(a=!0)}if(c){var m=d.getBoundingClientRect(),v=m.left+d.clientLeft,y=v+d.clientWidth,_=m.top+d.clientTop+d.clientHeight,C=_+this.scrollbarWidth;e.clientX>=v&&e.clientX<=y&&e.clientY>=_&&e.clientY<=C&&(r=!0)}}}!(i.is(n)||i.parents(n).length>0)||r||a||0!==i.closest(".dashboardAuthoringToolsPane").length||this.deselectAll(e)}},_attachDeselectHandlers:function(){if(0===this.deselectHandlers.length){var e=this._deselectHandler.bind(this);this.deselectHandlers.push(i.on(this.controller.$el,"tap",e)),this.deselectHandlers.push(i.on(this.controller.$el,"mousedown",e)),this.deselectHandlers.push(i.on(this.controller.$el,"keydown",e))}},notifyActionHandlers:function(e){var t=this,o=this.getActionsForSelection();o.forEach((function(o){if(o.newSelection&&o.newSelection(t.selectedNodes.concat(),e),t.previousActions){var i=t.previousActions.indexOf(o);i>-1&&t.previousActions.splice(i,1)}})),this.previousActions&&this.previousActions.forEach((function(t){return t.newSelection([],e)})),this.previousActions=o},getInteractionProperties:function(){var e=this.getActionsForSelection(),t=[];return e.forEach((function(e){var o=e.getProperties();t=t.concat(o)})),t=r.sortBy(t,"order")},getActionsForSelection:function(){var e=this,t=this.selectedNodes.map((function(t){return e.getNodeActionBySelector(t)}));return r.intersection.apply(r,t)},getNodeActionBySelector:function(e){var t=[];return this.orderedActionsBySelector.forEach((function(i){o(e).is(i.selector)&&(t=t.concat(i.action))})),t}});return c})),define("dashboard-core/js/dashboard/layout/authoring/interaction/Controller",["../../../../lib/@waca/core-client/js/core-client/ui/core/Class","underscore","../../../../lib/@waca/dashboard-common/dist/ui/AuthoringToolbar","../../../../lib/@waca/dashboard-common/dist/utils/ActionTypes","./Selection","../../../../app/util/EventChainLocal","jquery"],(function(e,t,o,i,n,a,r){return e.extend({init:function(e){this.$el=e.$el,this.glassContext=e.glassContext,this.dashboardApi=e.dashboardAPI,this.transaction=e.transaction,this.toolbarConfig=e.toolbarConfig,this.canvas=e.canvas,this.appSettings=e.appSettings||{},this.layoutController=e.layoutController,this.eventRouter=e.eventRouter,this.boardModel=e.boardModel,this.layout=this.boardModel&&this.boardModel.layout,this._glass=e.glass?e.glass:window.glass,this.services=e.services,this.config=this.appSettings.options&&this.appSettings.options.config||{},this.gatewayUrl=e.gatewayUrl,this.toolbarItems=[],this.dynamicToolbarItems=[],this._toolbarDock=this.dashboardApi.getFeature("ToolbarDock"),this._contentActions=this.dashboardApi.getFeature("ContentActions"),this.toolbar=new o({calculateBoundingRect:!0,container:r("body"),reactToolbar:!0}),this.defaultToolbarOptions={textOnly:!1,iconOnly:!1},this.toolbarMidShow=!1,this.selectedNodes=null,this.eventRouter&&(this.eventRouter.on("widget:availableActions",this.onUpdateAvailableActions,this),this.eventRouter.on("widget:maximize",this._hideToolbar,this),this.eventRouter.on("widget:hideToolbar",this._hideToolbar,this),this.eventRouter.on("widget:deleteItem",this._deleteItem,this),this.toolbar.on("toolbar:show:before",this._toolbarShowBefore,this),this.toolbar.on("toolbar:show",this._toolbarShowAfter,this),this.toolbar.on("toolbar:hide",this._toolbarHideAfter,this));var t=(e.selectionOptions||{}).deselectionSelector;this.selectionHandler=new n({controller:this,canvas:this.canvas,transaction:this.transaction,deselectionSelector:t?t.bind(null,this.layoutController):null}),this.selectionHandler.on("selection:nodeSelected",this.onNodeSelected,this),this.selectionHandler.on("selection:nodeDeselected",this.onNodeDeselected,this),this.selectionHandler.on("selection:ready",this.onSelectionDone,this),this.selectionHandler.on("selection:reselect",this.onWidgetReselect,this),this.$el.on("keydown.InteractionController",this.onKeydown.bind(this))},isToolbarEnabled:function(){var e=this.toolbarConfig;return void 0===e||!0===e||"true"===e},applyInteractions:function(e){return this.destroyInteractions(),this.toolbarItems=[],this.dynamicToolbarItems=[],this.interactions=e,this._attachInteractions()},finishMoveSelection:function(e){this.selectionHandler.finishMoveSelection(e)},onKeydown:function(e){if(121===e.keyCode&&this.toolbar.focus())return e.stopPropagation(),!1},onPageScroll:function(e){e.target.className.indexOf("page")>-1&&(e.target.className.indexOf("pageabsolute")>-1||e.target.className.indexOf("pagecontainer")>-1)&&!this.toolbarMidShow&&this._hideToolbar()},getInteraction:function(e){var t=null;return this.interactions.find((function(o){return t=o.getInteraction(e)})),t},_attachInteractions:function(){var e=this,t=Promise.resolve();return this.interactions&&this.interactions.forEach((function(o){t=t.then((function(){return o.attachInteractions(e)}))})),t},addActionForSelector:function(e,t,o){this.selectionHandler.addActionForSelector(e,t,o)},onSelectionDone:function(e){this.selectedNodes=e.selectedNodes,this.removeDynamicToolbarAndRestoreWidgetToolbar(e),this.eventRouter&&this.eventRouter.trigger("selection:ready",e)},getSelectedNodes:function(){return this.selectedNodes?this.selectedNodes:[]},getInteractionProperties:function(){return this.selectionHandler.getInteractionProperties()},onNodeSelected:function(e){e&&e.node&&e.node._layout&&e.node._layout.onSelect()},onNodeDeselected:function(e){e&&e.node&&e.node._layout&&e.node._layout.onDeselect()},addContextualToolbar:function(e){this.addContextualToolbarToArray(e,this.toolbarItems)},addContextualToolbarToArray:function(e,o){t.find(o,(function(t){return t.name===e.name}))||o.push(e)},removeContextualToolbar:function(e){e&&(this.toolbarItems=this._removeToolbarItem(e,this.toolbarItems))},_removeToolbarItem:function(e,o){return t.reject(o,(function(t){return t.name===e.name}))},removeDynamicToolbarItems:function(){t.each(this.dynamicToolbarItems,function(e){this.removeContextualToolbar(e)}.bind(this))},removeWidgetContextToolbarItems:function(){if(this.widgetContextItems){this.widgetContextItems.onBlur&&this.widgetContextItems.onBlur();for(var e=this.widgetContextItems.items,t=0;t<e.length;t++)this.removeContextualToolbar(e[t]);this.widgetContextItems=null}},onSelectionMoveOrResize:function(){this.toolbar.hide(),this.eventRouter.trigger("widget:hideToolbar")},onSelectionDelete:function(){return this._hideToolbar()},removeDynamicToolbarAndRestoreWidgetToolbar:function(e){e.event&&new a(e.event).getProperty("preventDefaultContextBar")||(this._removeDynamicToolbarAndRestoreWidgetToolbar(e.event),this.eventRouter.trigger("widget:toolbarItems:changed"))},_updateToolbarDock:function(e){var t=this,o=e.map((function(e){return e.id}));return this.toolbar.setSelectionContext(e).then((function(){t._toolbarDock.updateODTState(t._contentActions.getContentActionList(o),o)}))},_removeDynamicToolbarAndRestoreWidgetToolbar:function(e){var t=e&&e.options||{flyout:!0},o=this.isToolbarEnabled()&&!!t.flyout;this.removeDynamicToolbarItems(),o&&this._updateToolbar({nodes:this.selectedNodes,options:{isWidgetOdt:!0,addClass:["odtWidget"]}},this.toolbarItems,!0,e)},onUpdateAvailableActions:function(e){this.dynamicToolbarItems=[],e.toolbarOptions?t.extend(this.toolbar.options,this.defaultToolbarOptions,e.toolbarOptions):t.extend(this.toolbar.options,this.defaultToolbarOptions),t.each(e.actions,function(e){this.addContextualToolbarToArray(e,this.dynamicToolbarItems)}.bind(this));var o={nodes:e.targetNode?[e.targetNode]:this.selectedNodes};return this._updateToolbar(t.extend(o,e),this.dynamicToolbarItems,!0)},_updateToolbar:function(e,o,i,n){var a=e.nodes,r=t.map(a,(function(e){return e.id})),s=e&&e.options&&e.options.isWidgetOdt&&this.canvas.getContentActionList(r),d=s?o.concat(s):o,c=e.labels,l=a&&a.length>0||e.targetBounds,u=d.length>0||c&&c.length>0||e.title&&e.title.length>0;return l&&u?this._createToolbarShowTimer(e,d,i,n):this._hideToolbar()},_createToolbarShowTimer:function(e,t,o,i){var n=this,a=void 0;return!i||!i.target||this._shouldUpdateToolbar(i)?(o&&this._clearToolbarUpdateTimer(),this.toolbarUpdateTimer||(this.shownToolbarItems=t,a=new Promise((function(o,i){try{var a=e&&e.options&&e.options.isWidgetOdt;n._toolbarDock&&n._toolbarDock.isContentToolbarDocked()&&t.length&&a?n.toolbarUpdateTimer=setTimeout(function(){this._updateToolbarDock(e.nodes).then(o,i)}.bind(n),100):n.toolbarUpdateTimer=setTimeout(function(){this._showContextualToolbar(e,t).then(o,i)}.bind(n),100)}catch(e){i(e)}})))):a=Promise.resolve(),a},_shouldUpdateToolbar:function(e){return!!this.isToolbarEnabled()&&(!e.target.isContentEditable&&!r(e.target).data("isContentEditable")&&!e.target.tagName.toLowerCase().match(/input|textarea|select/gim))},_clearToolbarUpdateTimer:function(){this.toolbarUpdateTimer&&(clearTimeout(this.toolbarUpdateTimer),this.toolbarUpdateTimer=null)},_hideToolbar:function(e){var t=this;this.shownToolbarItems=null,this._clearToolbarUpdateTimer(),e&&e.node&&e.eventName&&e.func?e.node.off(e.eventName,e.func):this.$el.find(".page.pageabsolute, .page.pagecontainer").off("scroll.BaseController");var o=this.toolbar.hide();return o.then((function(){t.eventRouter.trigger("widget:hideToolbar:done")})),o},_deleteItem:function(e){this.boardModel.removeLayouts([e.widgetId])},_toolbarShowBefore:function(e){this.toolbarMidShow=!0,this.eventRouter.trigger("widget:toolbar:show:before",e)},_toolbarShowAfter:function(e){this.toolbarMidShow=!1,this.eventRouter.trigger("widget:toolbar:show:after",e)},_toolbarHideAfter:function(e){this.toolbarMidShow=!1,this.eventRouter.trigger("widget:toolbar:hide:after",e)},handleScrollForGridWidgets:function(e){var t=this;if(e&&e.targetNode&&e.targetNode.classList&&e.targetNode.classList.contains&&e.targetNode.classList.contains("grid-view")){var o=this._findScrollableArea(e.targetNode);if(!o)return;var i=r(o),n={node:i,eventName:"scroll.virtualScroll",func:this._hideToolbarForGridWidgets};i.on("scroll.virtualScroll",(function(){t._hideToolbarForGridWidgets(n)}))}},_findScrollableArea:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.id&&e.id.match&&e.id.match("scrollableArea")?e:!(!e.children||!e.children.length)&&this._findScrollableArea(e.children[0])},_hideToolbarForGridWidgets:function(e){this._hideToolbar(e)},_showContextualToolbar:function(e,t){this.toolbarUpdateTimer=null;var o=e.nodes,n=e.labels;this.eventRouter.trigger("textToolbar:hide");var a=function(){return delete this.toolbar.options.placement,e.placement&&(this.toolbar.options.placement=e.placement),this.toolbar.setName(e.toolbarName),this.toolbar.setLabels({title:e.title,labels:n,tooltipContext:e.tooltipContext,tooltipRenderer:this.dashboardApi.getFeature("TooltipRenderer.react")}),this.$el.find(".page.pageabsolute, .page.pagecontainer").on("scroll.BaseController",this.onPageScroll.bind(this)),!e.title&&!n||e.options.isWidgetOdt||this.handleScrollForGridWidgets(e),e.options&&e.options.hasOwnProperty("isHover")&&!0===e.options.isHover?this.toolbar.options.hideOnMouseLeave=!0:this.toolbar.options.hideOnMouseLeave=!1,this.toolbar.show()}.bind(this);if(this.toolbar.clearHistory(),this.toolbar.clearItems(),t.forEach((function(e){void 0===e.order&&(e.order=i[e.name])})),this.toolbar.addItems(t.sort((function(e,t){return e.order&&t.order||!e.order&&!t.order?e.order-t.order:e.order&&!t.order?-1:!e.order&&t.order?1:void 0}))),this.toolbar.setOptions(e.options),e.targetBounds)return this.toolbar.options.preferredVertical=!1,this.toolbar.setSelectionBounds(e.targetBounds).then((function(){return a()}));var s=r(o).is(".widget, .pagegroup");return this.toolbar.options.iconOnly=s,this.toolbar.options.preferredVertical=s,this.toolbar.setSelectionContext(o).then((function(){return a()}))},onWidgetReselect:function(e){if(this.toolbar.isOpened){if(0===this.toolbar._viewStack.length)return this.toolbar.hide()}else this.removeDynamicToolbarAndRestoreWidgetToolbar(e)},destroyInteractions:function(){this.selectionHandler&&this.selectionHandler.disableInteraction(),this.interactions&&(this.interactions.forEach((function(e){e.destroy&&e.destroy()})),this.interactions=null)},destroy:function(){this.selectionHandler&&(this.selectionHandler.off(),this.destroyInteractions(),this.selectionHandler=null),this.eventRouter&&(this.eventRouter.off("widget:availableActions",this.onUpdateAvailableActions,this),this.eventRouter.off("widget:maximize",this._hideToolbar,this),this.eventRouter.off("widget:hideToolbar",this._hideToolbar,this),this.toolbar.off("toolbar:show:before",this._toolbarShowBefore,this),this.toolbar.off("toolbar:show",this._toolbarShowAfter,this),this.toolbar.off("toolbar:hide",this._toolbarHideAfter,this)),this.$el.off("keydown.InteractionController"),this.toolbar.remove()}})})),define("dashboard-core/js/api/core/RuntimeEnvironment",["../../lib/@waca/core-client/js/core-client/utils/ClassFactory","../../lib/@waca/core-client/js/core-client/ui/core/Events","../impl/Dashboard","../../dashboard/glass/services/DashboardGlassContext","../deprecated/CanvasAPI","../../dashboard/layout/authoring/interaction/Controller","../../dashboard/model/BoardModelFactory","../../dashboard/widgets/WidgetRegistry","jquery","underscore"],(function(e,t,o,i,n,a,r,s,d,c){return function(){function l(e){_classCallCheck(this,l),this.bootstrapFeatures=e,this.logger=this.bootstrapFeatures.Logger.getAPI(),this.glassFeature=this.bootstrapFeatures.Glass.getAPI()}return l.prototype._getCSSLinks=function(e){var t=document.getElementsByTagName("link"),o={};Array.from(t).forEach((function(e){o[e.getAttribute("href")]=!0,o[e.getAttribute("href").split("?")[0]]=!0}));var i=[];return e.cssStyles&&e.cssStyles.forEach((function(e){o[e]||i.push(e)})),i},l.prototype._registerBootstrapFeatures=function(e){var t=this;Object.keys(this.bootstrapFeatures).forEach((function(o){e.registerFeature(o,t.bootstrapFeatures[o],void 0,!0)}))},l.prototype.getRuntimeEnvironment=function(l,u){var p=this;return this.glassFeature.getCoreService(".Perspective").getModel("dashboard").then((function(h){return Promise.all(["dashboard-core/js/dashboard/services/ServicesHelper","dashboard-core/js/extension/Extensions","dashboard-core/js/canvas/CanvasFactory","dashboard-core/js/dashboard/loader/BoardLoaderHelper"].map((function(t){return e.loadModule(t)}))).then((function(e){var f=e[0],g=e[1],b=e[2],m=e[3],v=new t,y=p._serviceHelperClass||f,_=p._extensionsHelperClass||g,C=p._boardModelHelperClass||m,w=p.bootstrapFeatures.Glass.getAPI("internal").getGlassContext();p.dashboardGlassContext=new i({model:h,glassContext:w});var P=null,j=void 0,I={getDeprecatedCanvasWhenReady:function(){return P.then((function(){return j}))},getDeprecatedCanvas:function(){return j},canAuthor:function(){return!1},getBoardInfo:function(){return{type:"exploration"}},getContent:function(){return{}},setPermissions:function(){},setSavedInstance:function(){}},x=new s,S=new o({glassContext:p.dashboardGlassContext,view:I,eventRouter:v,appSettings:h.content,widgetRegistry:x,featuresOverride:l&&l.featuresOverride}),M=S.getInternalAPI(),k=S.getAPI(),A=new y({appSettings:h.content,logger:p.logger,glassContext:p.dashboardGlassContext,dashboardAPI:k,internalDashboardAPI:M}),L=A.createServices();p.dashboardGlassContext.setServices(L.serviceRegistry),S.setServices(L.serviceRegistry),S.setFeatureLoader(L.featureLoader);var T=void 0,D=void 0;l?(T=l.spec,D=l.assetId):T=u();var E=new _(k),V=void 0,F={internalDashboardAPI:M,dashboardApi:k,glassContext:p.dashboardGlassContext,services:L,serviceRegistry:L.serviceRegistry,eventRouter:v,cssStyles:p._getCSSLinks(h),widgetRegistry:x,dashboardFeatureLoader:L.featureLoader};return P=x.initialize(k).then((function(){V=new r({dashboardAPI:k,glassContext:w,boardSpec:T,extensions:E,stringResources:k.getDashboardCoreSvc(".StringResources"),eventRouter:v,logger:p.logger,boardId:D,widgetRegistry:x})})).then(E.load.bind(E)).then((function(){F.boardModelExtensions=E.getBoardModelExtensions(),F.layoutExtensions=E.getLayoutViewExtensions()||{},F.canvasExtensions=E.getCanvasExtensions()||[]})).then((function(){return V.createBoardModel()})).then((function(e){F.boardModel=e.boardModel,I.boardModel=F.boardModel})).then(p._registerBootstrapFeatures.bind(p,S.featureLoader)).then(A.createRuntimeServices.bind(A,{dashboardApi:k})).then((function(){S.createContent(F.boardModel)})).then((function(){return new b({dashboardAPI:k,services:F.serviceRegistry,extensions:E,glassContext:F.glassContext,eventRouter:F.eventRouter,appSettings:{},logger:p.logger,boardModel:F.boardModel,featureLoader:L.featureLoader,dashboardContent:S.getContent()}).createCanvas().then((function(e){return j=c.extend(new n,e.canvas),F.canvas=j,F.internalCanvas=e.internalCanvas,p.interactionController=new a({dashboardAPI:F.dashboardApi,toolbarConfig:F.dashboardApi.getAppConfig("toolbar"),transaction:F.dashboardApi.getFeature("Transaction"),canvas:F.canvas,services:F.serviceRegistry,glassContext:F.glassContext,boardModel:F.boardModel,layoutController:null,eventRouter:F.eventRouter,$el:d("body"),appSettings:{}}),new C(F.dashboardApi).createBoardServices({boardModel:F.boardModel}),F}))}))}))}))},l}()})),define("dashboard-core/js/api/core/glass/GlassDashboardFactory",["../../impl/DashboardFactory","./Glass","./Logger","../../../features/dashboard/palette/PaletteAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../RuntimeEnvironment"],(function(e,t,o,i,n,a){return function(e){function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,r);var o=_possibleConstructorReturn(this,e.call(this));return o.glassContext=t.glassContext||window.__glassAppController.glassContext,o.features={},o}return _inherits(r,e),r.prototype.initializeRuntime=function(){var e=this;return this.runtimeEnv?Promise.resolve():this.getBootstrapFeatures().then((function(t){return e.runtimeEnv=new a(t),e.runtimeEnv}))},r.prototype.getBootstrapFeatures=function(){var e=this,a=new t(this.glassContext);this.features={Glass:{getAPI:function(e){return a.getAPI(e)}},Logger:{getAPI:function(){return new o(e.glassContext).getAPI()}}};var r=a.getAPI();return Promise.all([r.getService(".DashboardPreferences"),r.getService(".Palette"),r.getService(".DashboardTheme"),r.getService(".DashboardSettings")]).then((function(t){var o=t[0],a=t[1],s=t[2],d=t[3];e.features.DashboardPreferences={getAPI:function(){return o.getAPI()}},e.features.DashboardTheme={getAPI:function(){return s.getAPI()}};var c=r.getCoreService(".DashboardCoreService").getFeature("UserProfile");e.features.UserProfile={getAPI:function(){return c.getAPI()}};var l=n.createAPI(a,[i]);return e.features.Palette={getAPI:function(){return l}},e.features.DashboardSettings={getAPI:function(){return d.getAPI()}},e.features}))},r}(e)})),define("dashboard-core/js/dashboard/glass/BaseBoardView",["./BaseView","jquery","underscore","../services/ServicesHelper","../../app/EventRouter","../loader/BoardLoader","../layout/authoring/interaction/ChangeModeAction","../util/ButtonHideHelper","../../app/util/ErrorUtils","../../app/ui/dialogs/EditableDialog","../../lib/@waca/core-client/js/core-client/utils/PerfUtils","../../lib/@waca/core-client/js/core-client/ui/KeyCodes","../services/CanvasExtensions","../../api/impl/Dashboard","../../features/dashboard/undoRedo/api/impl/UndoRedo","../../lib/@waca/dashboard-common/dist/core/APIFactory","../../lib/@waca/dashboard-common/dist/utils/EventChainLocal","../../app/nls/StringResources","../../lib/@waca/dashboard-common/dist/utils/DialogBlocker","../../extension/Extensions","../widgets/WidgetRegistry","../../dashboard/model/BoardModelFactory","../../lib/@waca/dashboard-common/dist/utils/MemUtil","../../api/core/glass/GlassDashboardFactory"],(function(e,t,o,i,n,a,r,s,d,c,l,u,p,h,f,g,b,m,v,y,_,C,w,P){var j=e.extend({buttonIds:{UNDO:"com.ibm.bi.dashboard.undo",REDO:"com.ibm.bi.dashboard.redo"},init:function(e){j.inherited("init",this,arguments),this.dashboardApi=null,this.initialize(e),void 0===window.__getDashboardAPI&&(window.__getDashboardAPI=function(){return window.__glassAppController.Glass.getCurrentContentView().getDashboardApi()}),this.firstRender=!0},initialize:function(e){this._resolveOptions(e),o.extend(this,e),this.options=e||{};var t="true"===String(e._isDirty).toLowerCase();this.options.isDirtyOption=t,this._pressed={},this._boardLoaderClass=e.boardLoaderClass||a,this.eventRouter=new n,this._buttonHideHelper=e._buttonHideHelper||s,this._splitterItems=[],this._modifiedDataset=[],this.upgradesCollectionPath="dashboard/upgrades",this.logger=e.glassContext.getCoreSvc(".Logger"),this.$content=null,this.widgetRegistry=e.widgetRegistry||new _,this._createController(e),this._prepareForRendering(e)},_prepareForRendering:function(e){this._createServices(),e.containerAppOptions&&o.extend(this.options.options.config,e.containerAppOptions.configuration),e.preprocessKeyDown&&(this.preprocessKeyDown=e.preprocessKeyDown),this.specHelper=null,this.extensions=e.extensions||new y(this.dashboardApi),this.boardModelFactory=e.boardModelFactory,this.dashboardFactory=new P({glassContext:this.glassContext})},_createController:function(e){var t=e.overrideDashboardController?e.overrideDashboardController:h;this.dashboardController=e.dashboardController||new t({glassContext:this.glassContext,view:this,services:this.services,featureLoader:this.featureLoader,eventRouter:this.eventRouter,appSettings:this.getContent({dirty:this.options.isDirtyOption}),widgetRegistry:this.widgetRegistry}),this.dashboardApi?(this.dashboardApi=g.refreshAPI(this.dashboardApi,[this.dashboardController]),this.internalDashboardApi=g.refreshAPI(this.internalDashboardApi,[this.dashboardController,this.dashboardController.internalImpl])):(this.dashboardApi=this.dashboardController.getAPI(),this.internalDashboardApi=this.dashboardController.getInternalAPI())},getApplicationLabel:function(){return m.get("dashboard")},getContentNode:function(){if(null===this.$content){var e=this.$(".pageViewContent",this.el);0===e.length&&(e=t('<div class="pageViewContent"></div>').prependTo(this.el)),this.$content=e}return this.$content},setSavedInstance:function(e){this.savedInstance=e},getSavedInstance:function(){return this.savedInstance},addReloadableObject:function(e,t){this.reloadables||(this.reloadables={}),t.reload&&"function"==typeof t.reload&&(this.reloadables[e]=t)},removeReloadableObject:function(e){this.reloadables&&delete this.reloadables[e]},_registerDatasetExecution:function(){var e=this;return this.glassContext.appController.findCollection("com.ibm.bi.dashboard.services").then((function(t){for(var o=t||[],i=!1,n=0;n<o.length&&!1===i;)i="com.ibm.bi.dashboard.services.datasetExecutionService"===o[n].id,n++;if(i)return e.glassContext.getSvc(".DatasetExecutionService").then((function(t){e.datasetRefreshEventHandler=t.on("loadComplete",e._onDatasetRefresh.bind(e))}))}))},_resolveOptions:function(e){e.boardId=e.boardId||e.objRef,e.isAuthoringMode=this.hasAuthoringCapability()&&("true"===String(e.isAuthoringMode).toLowerCase()||"edit"===e.action)},isDirty:function(){var e=this.dashboardApi.getFeature("DashboardState");return e?e.getUiState().dirty:this.options.isDirtyOption},setPermissions:function(e){this.permissions=e},isNew:function(){return!this.getBoardId()},canAuthor:function(){return-1!==o.indexOf(this.permissions,"write")},getBoardId:function(){return this.boardModel&&this.boardModel.id},getBoardInfo:function(){return{isDirty:this.isDirty(),boardId:this.getBoardId(),searchPath:this.boardModel.searchPath,type:"exploration"}},getType:function(){return"exploration"},getLoadedWidget:function(e){var t=this.boardLoader,o=(t=void 0===t?{}:t).widgetLoader;if(o){var i=o.getWidget(e);if(i)return i.getAPI()}},getContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.pick(this.options,"id","objRef","options","subView","filters");t.isAuthoringMode=this.isAuthoringMode,this.options.boardId&&(t.boardId=this.options.boardId),t.objRef&&(t.id=t.objRef),this.id=t.id,this.boardModel&&this.boardModel.id&&(t.boardId=this.boardModel.id,t.id=this.boardModel.id,t.objRef=this.boardModel.id,this.id=this.boardModel.id);var i=e&&e.mode===this.glassContext.bookmarkMode;return i||(t.boardSpec=this.options.boardSpec,this._isDashboardFeatureLoaded("DashboardState")?t._isDirty=this.dashboardApi.getFeature("DashboardState").getUiState().dirty:t._isDirty=e.dirty,this._isDashboardFeatureLoaded("Serializer")&&(t.boardSpec=this.dashboardApi.getFeature("Serializer").toJSON())),t},_isDashboardFeatureLoaded:function(e){return!!this.dashboardApi&&!!this.dashboardApi.getFeature(e)},preprocessKeyDown:function(e){return e},isPressed:function(e){var t=this,i=o.filter(o.keys(this._pressed),(function(e){return t._pressed[e]&&-1==[u.LEFT_WINDOW_KEY,u.CTRL,u.CAPSLOCK,u.F11].indexOf(parseInt(e))})),n=e.length?o.map(e,(function(e){return String(e)})):[String(e)];return o.isEqual(i,n)},isTextSelected:function(){return""!==window.getSelection().toString()},getECLProp:function(e,t){return new b(e).getProperty(t)},hasAuthoringCapability:function(){return!0},_processKeyDown:function(e){var o=this;if(!((e=this.preprocessKeyDown(e)).target.tagName&&e.target.tagName.match(/input|textarea|select/gim)||t(e.target).closest("[contentEditable=true]").length>0)){e.keyCode==u.CAPSLOCK&&this._pressed[u.CAPSLOCK]?delete this._pressed[u.CAPSLOCK]:this._pressed[e.keyCode]=!0;var i=function(t){return!(!o.isPressed(t)||o.getECLProp(e,"doNotHandle"))&&(e.preventDefault(),!0)};!e.ctrlKey&&!e.metaKey||v.isShowingDialogBlocker()||(i(u.V)?this.isAuthorMode()&&this.doPaste():i(u.S)?this.hasAuthoringCapability()&&this.doSave():i(u.Y)||i([u.SHIFT,u.Z])?this.doRedo():i(u.Z)?this.doUndo():i([u.Q,u.FORWARDSLASH])?this.hasAuthoringCapability()&&this._openBoardSpecificationDialog():i([u.Q,u.L])?window.gLogRaveTestSpec=!0!==window.gLogRaveTestSpec:!this.isTextSelected()&&i(u.C)?this.hasAuthoringCapability()&&this.doCopy():i([u.Q,u.COMMA])&&(window.dashboardErrorDetailsEnabled=!0,this.eventRouter.trigger("widget:onDetailErrors"))),e.metaKey&&e.keyCode!==u.Q&&e.keyCode!==u.SHIFT&&delete this._pressed[e.keyCode]}},_openBoardSpecificationDialog:function(){new c({sType:"editableInfo",sTitle:"Board Specification",sValue:JSON.stringify(this.dashboardApi.getFeature("Serializer").toJSON(),null,4),actionHandler:this._updateBoardModelFromDialog.bind(this),updateable:!0}).open()},_updateBoardModelFromDialog:function(e){try{this.reloadFromJSONSpec(JSON.parse(e))}catch(e){return this.logger.debug("Invalid JSON provided",e,this),this.glassContext.appController.showToast(this.stringService.get("invalidJSONResponse"),{type:"error",preventDuplicates:!0}),!1}return!0},doCopy:function(){return this.boardController.copyPasteController.doCopy()},doPaste:function(){return this.boardController.copyPasteController.doPaste()},_processKeyUp:function(){this._pressed={}},doSave:function(){var e=this.glassContext.appController.findPlugin("com.ibm.bi.dashboard.saveMenu");e&&e.defaultButton.$el.trigger("click")},doUndo:function(){var e=t(".popover");e.length>0&&e.popover("hide"),this.boardController.undoRedoController.undo()},doRedo:function(){var e=t(".popover");e.length>0&&e.popover("hide"),this.boardController.undoRedoController.redo()},_onWidgetMaximize:function(){this._buttonHideHelper.changeMode(this.glassContext,"widgetMaximized")},_onWidgetRestore:function(){this._buttonHideHelper.changeMode(this.glassContext,this.dashboardController.getMode())},toggleEventGroupMode:function(e){return this.isEventGroupViewMode?"eventGroups"!==e?this.turnOffEventGroupView(e):Promise.resolve():(this._buttonHideHelper.changeMode(this.glassContext,e),this.turnOnEventGroupView())},toggleMode:function(e){var t=this,o=this.dashboardApi.getFeature("dataSources.deprecated");return o&&o.clearShapingCache(),(this.isAuthoringMode?this.turnOffEditMode():this.turnOnEditMode()).then((function(){t._finishModeChange(e)}))},_addChangeModeActionToUndoRedoStack:function(e){e&&"UndoRedoController"===e.sender||this.boardController.undoRedoController.addToUndoRedoStack(new r(this,{glassContext:this.glassContext}))},_triggerWindowResize:function(){try{t(window).resize()}catch(e){console.error(e)}},_finishModeChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.eventRouter.trigger("mode:change",{authoring:this.isAuthoringMode,isStoryMode:this.options.isStoryMode}),!1!==e.addToUndoRedoStack&&this._addChangeModeActionToUndoRedoStack(e),this._triggerWindowResize()},isAuthorMode:function(){return!!this.isAuthoringMode},turnOnEditMode:function(){var e=this;return this.isAuthoringMode=!0,this.lifeCycleManager.invokeLifeCycleHandlers("pre:mode.edit").then(this.boardController.changeToAuthorMode.bind(this.boardController)).then((function(){if(e.isEventGroupViewMode)return e.turnOnEventGroupView().then(e.applyModeToGlassPlugins.bind(e));e.applyModeToGlassPlugins()})).then(this.lifeCycleManager.invokeLifeCycleHandlers.bind(this.lifeCycleManager,"post:mode.edit"))},turnOffEditMode:function(){return this.isAuthoringMode=!1,this.lifeCycleManager.invokeLifeCycleHandlers("pre:mode.consume").then(this.boardController.changeToConsumeMode.bind(this.boardController)).then(this.applyModeToGlassPlugins.bind(this)).then(this.lifeCycleManager.invokeLifeCycleHandlers.bind(this.lifeCycleManager,"post:mode.consume"))},turnOnEventGroupView:function(){var e=this;return this.isEventGroupViewMode=!0,this.isAuthoringMode=!0,this.boardController.undoRedoController.setMode("eventGroups"),this.boardController.changeToEventGroupMode().then((function(){e.applyModeToGlassPlugins()}))},turnOffEventGroupView:function(e){var t=this;this.isEventGroupViewMode=!1,this.boardController.undoRedoController.setMode(null);var o="consumption"===e;return(o?this.turnOffEditMode():this.turnOnEditMode()).then((function(){return t._finishModeChange({addToUndoRedoStack:o})}))},applyModeToGlassPlugins:function(){this.isAuthoringMode?this.isEventGroupViewMode?this._buttonHideHelper.changeMode(this.glassContext,"connections",this.options):this._buttonHideHelper.changeMode(this.glassContext,"authoring",this.options):this._buttonHideHelper.changeMode(this.glassContext,"consume",this.options)},_createServices:function(){this.servicesHelper=new i({glassContext:this.glassContext,eventRouter:this.eventRouter,appSettings:this.getContent(),logger:this.logger,dashboardAPI:this.dashboardApi,internalDashboardAPI:this.internalDashboardApi});var e=this.servicesHelper.createServices();this.stringService=e.stringService,this.lifeCycleManager=e.lifeCycleManager,this.dnDManager=e.dnDManager,this.services=e.serviceRegistry,this.featureLoader=e.featureLoader,this.dashboardController.setServices(this.services),this.dashboardController.setFeatureLoader(this.featureLoader)},getDeprecatedCanvas:function(){return this.boardController?this.boardController.getDeprecatedCanvas():null},getDeprecatedCanvasWhenReady:function(){var e=this;return this._boardRendered?this._boardRendered.then((function(){return e.boardController.getDeprecatedCanvas()})):Promise.reject(new Error("Unable to getCanvas . Board is not rendered yet."))},hasCapability:function(){return d.hasCapability(this.glassContext)},_registerBootstrapFeatures:function(){var e=this.dashboardController.featureLoader;return this.dashboardFactory.getBootstrapFeatures().then((function(t){Object.keys(t).forEach((function(o){e.registerFeature(o,t[o],void 0,!0)}))}))},render:function(){var e=this;if(j.inherited("render",this,arguments),this.$el.addClass("boardPageView"),this.getContentNode(),!this.hasCapability())return Promise.reject({code:"noCapability",message:this.stringService.get("noDashboardCapability")});this.setupKeyboardHandlers(),this.ajaxSvc=this.glassContext.getCoreSvc(".Ajax");var t=this.isAuthoringMode;return this.eventRouter.on("widget:maximize",this._onWidgetMaximize,this),this.eventRouter.on("widget:restore",this._onWidgetRestore,this),l.createPerformanceMark({component:"dashboard",name:"LoadBoard",state:"start"}),this.boardModelFactory=this.boardModelFactory||new C({dashboardAPI:this.dashboardApi,glassContext:this.glassContext,boardId:this.boardId,objectUrl:this.objectUrl,boardSpec:this.boardSpec,widgetRegistry:this.widgetRegistry,extensions:this.extensions,stringResources:this.dashboardApi.getDashboardCoreSvc(".StringResources"),eventRouter:this.eventRouter,logger:this.logger,createLayoutModel:this.createLayoutModel}),this._boardRendered=this._registerBootstrapFeatures().then(this.extensions.load.bind(this.extensions)).then(this.widgetRegistry.initialize.bind(this.widgetRegistry,this.dashboardApi)).then(this.boardModelFactory.createBoardModel.bind(this.boardModelFactory)).then((function(t){e.boardModel=t.boardModel,e.boardSpec=t.boardSpec,e.boardId=t.boardId})).then(this.glassContext.appController.findCollection.bind(this.glassContext.appController,"com.ibm.bi.dashboard.templates")).then((function(t){return e.glassContext.appController.findCollection("com.ibm.bi.dashboard.contentTypes").then((function(o){return e.servicesHelper.createRuntimeServices({dashboardApi:e.getDashboardApi(),collections:{templates:t,contentTypes:o}})}))})).then(this._registerDatasetExecution.bind(this)).then((function(){return e.boardLoader=new e._boardLoaderClass({glassContext:e.glassContext,isAuthoringMode:t,services:e.services,ajaxSvc:e.ajaxSvc,appSettings:e.getContent(),dashboardApi:e.getDashboardApi(),eventRouter:e.eventRouter,setDirty:e.boardModel.isUpgraded,boardSpec:e.boardSpec,boardModel:e.boardModel,el:e.getContentNode()[0],$viewEl:e.$el,widgetRegistry:e.widgetRegistry,gatewayUrl:"v1",cdnUrl:e.getCDNUrl(),featureLoader:e.featureLoader,extensions:e.extensions,dashboardController:e.dashboardController}),e.boardLoader.loadBoard()})).then((function(){return e.boardLoader.getCanvasController().then((function(t){e.boardController=t}))})).then((function(){(e.canUndo=!1,e.canRedo=!1,e.applyModeToGlassPlugins(),e._registerUndoRedoListener(e.buttonIds.UNDO),e._registerUndoRedoListener(e.buttonIds.REDO),e.boardModel.on("change:name",e._onNameChange,e),e.boardModel.on("all",e._onAllModelEvents,e),e.dashboardApi.getCanvas().on("all",e._manageDirtyFlagForCanvasEvents.bind(e)),e.boardController.onPageRenderComplete().then((function(){l.createPerformanceMark({component:"dashboard",name:"LoadBoard",state:"end"})})),e.containerAppOptions&&e.containerAppOptions.callbacks&&e.containerAppOptions.callbacks.resolve(e.getDashboardApi()),e.canvasExtensions=new p({topNode:e.getCanvasExtensionsTopNode(),bottomNode:e.getCanvasExtensionsBottomNode(),splitterItems:e._splitterItems,canvasExtensions:e.extensions.getCanvasExtensions()||[],dashboardApi:e.getDashboardApi(),services:e.services,eventRouter:e.eventRouter,appSettings:e.getContent(),handlers:{getParentSize:function(){return{height:e.$el.height(),width:e.$el.width()}},isAuthorMode:e.isAuthorMode.bind(e),getSplitterState:e.getSplitterState.bind(e)}}),e.services.register(".CanvasExtensions",e.canvasExtensions),e.services.register(".CopyPasteController",e.boardController.copyPasteController),e.featureLoader.registerFeature("UndoRedo",new f(e.boardController.undoRedoController)),e.firstRender)&&(e.dashboardApi.getFeature("DashboardState").setDirty(e.options.isDirtyOption),e.firstRender=!1);!e.getBoardId()||e.boardLoader.setDirty?(e.dashboardApi.getFeature("DashboardState").setDirty(!0),e.getBoardId()||(e.title=e.stringService.get("defaultName")),e.boardLoader.setDirty=!1):e.title=e.getTitle();return e.dashboardApi.getFeature("DashboardState").setActive(!0),e.logger.debug("Authored View created",e.options,e),e.onCanvasReady(),e.boardController.onPageReady().then((function(){if(e.sources){var t=e.dashboardApi.getFeature("DataSources");e.sources.forEach((function(e){return t.addDataSource(e,!1,{silent:!0,payloadData:{skipUndoRedo:!0}})})),e.options.sources=e.sources=null}var o=e.dashboardApi.getFeature("Print"),i=e.dashboardApi.getFeature("DashboardPrint");o.registerContent("tab",i),o.registerContent("page",i)})).then((function(){return e.canvasExtensions.render()})).then((function(){}))})),this._boardRendered.catch((function(t){throw e.logger&&(e.logger.log("An error occured while rendering the baseBoardView"),e.logger.error(t)),t}))},getSplitterState:function(){},_onNameChange:function(e){this.trigger("change:title",e),this.title=e.value},_onAllModelEvents:function(e){var t=e&&("undo"===e.stack||"redo"===e.stack),o=e&&e.data&&e.data.runtimeOnly,i=!this.isAuthoringMode&&e&&e.eventName&&"change:eventGroups"===e.eventName,n=e&&e.data&&e.data.skipUndoRedo,a=this.dashboardApi.getFeature("DashboardState");if(!o&&!i){var r=a.getUiState().dirty;if(t||r||n){if(t){var s=this.boardController.undoRedoController.isDirty();r&&!s?a.setDirty(!1):!r&&s&&a.setDirty(!0)}}else a.setDirty(!0)}},_manageDirtyFlagForCanvasEvents:function(e){e.info&&e.info.supportsUndoRedo&&e.context&&!0!==e.context.undoRedo&&(this.isDirty()||this.dashboardApi.getFeature("DashboardState").setDirty(!0))},getCanvasExtensionsTopNode:function(){if(!this.$top){var e=this.getContentNode(),o=t(".canvasExtensionTop",e);0===o.length&&(o=t('<div class="canvasExtensionTop"></div>'),e.prepend(o)),this.$top=o}return this.$top},getCanvasExtensionsBottomNode:function(){if(!this.$bottom){var e=t(".canvasExtensionBottom",this.el);0===e.length&&(e=t('<div class="canvasExtensionBottom"></div>'),this.$el.append(e)),this.$bottom=e}return this.$bottom},getDashboardApi:function(){return this.dashboardApi},onCanvasReady:function(){},_registerUndoRedoListener:function(e){var t=this.glassContext.appController.findPlugin(e);t&&this.boardController.undoRedoController.addListener(e,t)},remove:function(){j.inherited("remove",this,arguments),this.teardownKeyboardHandlers(),this.eventRouter.off("widget:maximize",this._onWidgetMaximize,this),this.eventRouter.off("widget:restore",this._onWidgetRestore,this);try{this.boardLoader.destroyViews()}catch(e){this.logger&&this.logger.error(e)}try{this.boardLoader.destroyCanvasAPI()}catch(e){this.logger&&this.logger.error(e)}this.datasetRefreshEventHandler&&this.datasetRefreshEventHandler.remove(),this.boardLoader=null,this.dashboardController.destroy(),w.destroy(this)},getTitle:function(){return this.boardModel&&this.boardModel.get("name")||""},setTitle:function(e){this.title=e,this.trigger("change:title",{value:e})},openDatasetpane:function(){var e=this.glassContext.appController.findPlugin("com.ibm.bi.dashboard.dataSources.sourcesBtn");e&&!e.isPressed()&&e.$el.trigger("click",{expandFirstEntry:!0})},setupKeyboardHandlers:function(){this._keyDownBind||(this._keyDownBind=this._processKeyDown.bind(this),this._keyUpBind=this._processKeyUp.bind(this),this._windowBlur=this._processKeyUp.bind(this),t(document).on("keydown",this._keyDownBind),t(document).on("keyup",this._keyUpBind),t(window).on("blur",this._windowBlur))},teardownKeyboardHandlers:function(){t(document).off("keydown",this._keyDownBind),t(document).off("keyup",this._keyUpBind),t(window).off("blur",this._windowBlur),this._keyDownBind=null,this._keyUpBind=null,this._windowBlur=null},_onDatasetRefresh:function(e){this._modifiedDataset.push(e.id)},deactivate:function(){var e=this.dashboardApi.getFeature("DashboardState");return e&&e.setActive(!1),this.boardLoader&&this.boardLoader.deactivate(),this.teardownKeyboardHandlers(),this.canvasExtensions&&(this.canvasExtensionState=this.canvasExtensions.getState()),this.dashboardApi.triggerDashboardEvent("dashboard:deactivate"),j.inherited("deactivate",this,arguments)},activate:function(e){var t=this;if(this.dashboardApi.getFeature("DashboardState").setActive(!0),!this.boardLoader)return this.setupKeyboardHandlers(),j.inherited("activate",this,[e]);var o=function(){var e=t.boardLoader.activate();return e&&e.then||(e=Promise.resolve()),e.then((function(){return t.dashboardApi.triggerDashboardEvent("dashboard:show"),t.setupKeyboardHandlers()}))};return j.inherited("activate",this,[e]).then((function(){var e=void 0;return e=t._modifiedDataset.length>0?t._refreshDataSource().then((function(){t._modifiedDataset=[]})):Promise.resolve(),t.canvasExtensions.setState(t.canvasExtensionState),e})).then(o).catch(o)},_refreshDataSource:function(){var e=this,t=this.dashboardApi.getFeature("dataSources.deprecated").getSourcesCollection().getSources(),i=[];return o.each(t,(function(t){e._modifiedDataset.indexOf(t.getAssetId())>=0&&i.push(t.reloadMetadata())})),Promise.all(i)},_removeForReload:function(){this.teardownKeyboardHandlers(),this.boardLoader.destroyViews(),this.boardLoader.destroyCanvasAPI(),this.boardLoader=null,this.datasetRefreshEventHandler&&this.datasetRefreshEventHandler.remove(),this.services&&this.services.destroy(),this.dashboardApi.destroy(),this.dashboardApi=null,this.boardModel=null,this.$el.empty(),this.$bottom=null,this.$top=null},reloadFromJSONSpec:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.isAuthoringMode,n=o.clearDirtyFlag,a=void 0!==n&&n;this.dashboardController.toggleProperties(!1),this._removeForReload();var r=this.options;return r.boardSpec=e,r.isAuthoringMode=void 0!==i?i:this.isAuthoringMode,o.boardId&&(r.boardId=o.boardId),this.initialize(r),this.render().then((function(){t.reloadables&&Object.values(t.reloadables).filter((function(e){return"function"==typeof e.reload})).forEach((function(e){return e.reload()})),t.setFocus();var e=t.dashboardApi.getFeature("DashboardState");return a&&!t.boardLoader.setDirty?e.setDirty(!1):e.setDirty(!0),t.dashboardApi}))},setFocus:function(){var e=this;j.inherited("setFocus",this,arguments),this.lifeCycleManager.invokeLifeCycleHandlers("pre:dashboard.focus").then(this.boardLoader.getCanvasController.bind(this.boardLoader)).then((function(e){return e.layoutController.getTopLayoutViewWhenReady()})).then((function(t){return t&&t.onShow(),e.lifeCycleManager.invokeLifeCycleHandlers("post:dashboard.focus")})).catch((function(t){e.logger.error("Failed to setFocus",t,e)}))}});return j})),define("dashboard-core/js/dashboard/glass/dashboard/DashboardView",["../BaseBoardView","../../../app/util/ErrorUtils"],(function(e,t){"use strict";return e.extend({getIcon:function(){return"common-dashboard_24"},getIconTooltip:function(){return this.stringService.get("dashboard")},hasAuthoringCapability:function(){return t.hasCapability(this.glassContext,"canAuthorDashboard")},shouldShowCloseConfirmationDialog:function(){return this.isDirty()&&this.hasAuthoringCapability()},getSplitterState:function(){return this.isAuthorMode()?"nochange":"close"}})})),define("dashboard-core/js/dashboard/nls/DashboardTemplateResources",{root:!0,cs:!0,da:!0,de:!0,es:!0,fi:!0,fr:!0,he:!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("dashboard-core/js/dashboard/nls/root/DashboardTemplateResources",{dashboard_save_success:"Your dashboard template has been saved."}),define("dashboard-core/js/dashboard/nls/DashboardTemplateStringResources",["i18n!./DashboardTemplateResources","polyglot"],(function(e,t){var o=new t({phrases:e,allowMissing:!0}),i=function(){};return i.prototype.get=function(e,t){return o.t(e,t)},new i})),define("dashboard-core/js/dashboard/glass/dashboard/DashboardTemplateView",["./DashboardView","../../nls/DashboardTemplateStringResources"],(function(e,t){return function(o){function i(){return _classCallCheck(this,i),_possibleConstructorReturn(this,o.apply(this,arguments))}return _inherits(i,o),i.prototype.init=function(){e.inherited("init",this,arguments),this.isAuthoringMode=!0,this.stringService.register(t,1)},i.prototype.getIcon=function(){return this.dashboardApi.getFeature("Icons").getIcon("dashboard-templates").id},i.prototype.getIconTooltip=function(){return this.stringService.get("dashboardTemplate")},i.prototype.getCanvasExtensionsBottomNode=function(){var e=o.prototype.getCanvasExtensionsBottomNode.call(this);return e.hide(),e},i}(e)})),define("dashboard-core/js/dashboard/glass/util/SaveActionUtil",["underscore"],(function(e){return function(){function t(){_classCallCheck(this,t)}return t.saveAs=function(e){var o=e.ajaxService,i=e.name,n=e.dashboard,a=e.overwrite,r=e.url,s=n.getFeature("internal").getBoardModel(),d=n.getFeature("Serializer").toJSON();t.cleanUnusedCustomColors(n,d,s),i&&(d.name=i);var c=t.getCMSpec(d,s,!0);return r+=a?"?updateAction=replace&ignoreInvalidObjectReference=true":"?ignoreInvalidObjectReference=true",new Promise((function(e,t){o.post(r,{contentType:"application/json",processData:!1,dataType:"text",data:JSON.stringify(c)}).done((function(t,o,n){var a=n.getResponseHeader("location"),r=a.substring(a.lastIndexOf("/")+1);s.set({id:r,name:i},{silent:!0}),e({status:"success",name:i,saveRequest:n,assetId:r,url:a,savedSpec:c.specification})})).fail((function(e,o){t({status:"fail",saveRequest:o,cmSpec:c})}))}))},t.getCMSpec=function(e,o,i){var n=o.getContentReferences().map((function(e){return e.value})),a={defaultName:e.name,type:t.getAssetType(o.dashboardApi),specification:JSON.stringify(e),deploymentReferences:t._getAllDeploymentReferences(o.dashboardApi,i),references:n},r=t._getAssetTags(o.dashboardApi);return r&&(a.tags=r),"page_asset"!==a.type&&"card_group"!==a.type||(delete a.specification,a.content=e),a},t.getAssetType=function(e){return e.getConfiguration("assetType")||"exploration"},t._getAllDeploymentReferences=function(e,t){var o=e.getFeature("ContentStoreReferences"),i=o?o.getContentStoreReferences():[];return[].concat(e.getFeature("dataSources.deprecated").getDeploymentReferences(t),e.getFeature("DrillThroughService").getDeploymentReferences(),i)},t._getAssetTags=function(e){return e.getConfiguration("assetTags")},t.cleanUnusedCustomColors=function(t,o,i){var n=t.getFeature("CustomColor"),a=i.properties.customColors.getCustomPaletteDefinition();if(a&&a.ids.length){var r,s=i.getUsedCustomColors(a);(r=s).push.apply(r,n.getUsedCustomColors()),s=e.uniq(s),o&&o.properties&&o.properties.customColors&&(o.properties.customColors.colors=s)}},t}()})),define("dashboard-core/js/app/util/GlassUtil",["../../lib/@waca/core-client/js/core-client/ui/core/Class"],(function(e){return new(e.extend({isDevMode:function(e){return!!(e&&e.biGlass&&e.biGlass.glassContext&&e.biGlass.glassContext.isDevInstall)&&e.biGlass.glassContext.isDevInstall()},getAjaxService:function(e){return e.services.ajax}}))})),define("dashboard-core/js/ca/services/DashboardContentService",["../../dashboard/glass/util/SaveActionUtil","../../app/util/GlassUtil","../../app/nls/StringResources","../../dashboard/loader/DeploymentReferencesUtil"],(function(e,t,o,i){return function(){function n(){_classCallCheck(this,n)}return n.prototype.initialize=function(e){return this._glassContext=e,Promise.resolve()},n.prototype.getAncestors=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.id,i=t.url;return o||i?this._getContentService().then((function(e){var t=i||e.getBaseObjectsURL()+"/"+o;return e.get(t,{data:{fields:"ancestors"}})})).then((function(e){return Promise.resolve(e&&e.data[0].ancestors||null)})).catch((function(t){return e._logError("Error retrieving ancestors:",t),null})):Promise.resolve(null)},n.prototype.getDashboard=function(e,t){var o=this,i=t||"v1/objects/"+e,n={dataType:"json",data:{fields:["defaultName","specification","searchPath","deploymentReferences.ancestors","deploymentReferences.defaultName","deploymentReferences.id","deploymentReferences.type","deploymentReferences.searchPath"].join(",")},MRUInfo:{}};return this._getBoardSpecFromContentSvc(i,n).then((function(e){return o._handleBoardSpecResponse(e)}))},n.prototype.onSaveAsSuccess=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,o=e.url;return t||o?this._getContentService().then((function(e){var i=o||e.getBaseObjectsURL()+"/"+t;return e.get(i,{dataType:"json",data:{fields:"defaultName,specification"},MRUInfo:{}})})).then((function(e){var t=e&&e.data&&e.data.length>0?e.data[0]:{};return Promise.resolve({permissions:t.permissions,id:t.id})})):Promise.resolve(null)},n.prototype.saveDashboard=function(e,t){var o=this,i=e.getFeature("Serializer").toJSON(),n=this._getCMSpec(i,e);return new Promise((function(e,i){o._getContentService().then((function(o){return o.put("v1/objects/"+t+"?ignoreInvalidObjectReference=true",{contentType:"application/json",processData:!1,dataType:"application/json",data:JSON.stringify(n),MRUInfo:{}}).fail((function(e,t){i(t)})).then((function(){e({savedSpec:n.specification,status:"success"})}))}))}))},n.prototype.saveAsDashboard=function(o,i,n,a){var r=t.getAjaxService(this._glassContext),s=this._glassContext.appController.findPlugin("com.ibm.bi.glass.common.operations");return s&&!s.isEnabled&&s.enable(),e.saveAs({ajaxService:r,name:i,url:n,dashboard:o,overwrite:a})},n.prototype.saveThumbnail=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.thumbnailDataUri,i=t.id,n=o&&o.split(",");if(n&&2==n.length){if(i)return this._getContentService().then((function(t){return e._getAjaxService().post(t.getBaseObjectsURL()+"/"+i+"/items?updateAction=update",{contentType:"application/json",processData:!1,dataType:"text",data:JSON.stringify({defaultName:"thumbnail",type:"graphic",dataType:"image/png",data:n[1]})})}));this._logError("Dashboard id is undefined when generating thumbnail.")}else this._logError("Invalid thumbnail returned from Thumbnail service.")},n.prototype._handleBoardSpecResponse=function(e){if(0===e.data.length)return Promise.reject({code:"notFound",message:o.get("noDashboardFound")});var t=e.data[0].permissions;if(!this._hasPermission(t))return Promise.reject({code:"noPermission",message:o.get("noDashboardPermission")});var n=e.data[0],a=n.specification||"{}",r=JSON.parse(a);return r._meta={bundleID:n.id},i.updateIds(r,n.deploymentReferences),r.features=r.features||{},r.features.ContentStoreReferences=n.deploymentReferences,Promise.resolve({boardSpec:r,boardId:n.id,permissions:n.permissions,searchPath:n.searchPath,name:n.defaultName})},n.prototype._hasPermission=function(e){return!(!Array.isArray(e)||!e.length)&&["read","execute"].every((function(t){return-1!==e.indexOf(t)}))},n.prototype._getBoardSpecFromContentSvc=function(e,t){var i=this;return new Promise((function(n,a){i._getContentService().then((function(i){i.get(e,t).done(n).fail((function(e,t,i){a({status:t.status,code:i,message:o.get("noDashboardFound")})}))}))}))},n.prototype._getCMSpec=function(t,o){var i=o.getFeature("internal").getBoardModel();return e.getCMSpec(t,i,!1)},n.prototype._logError=function(e){this._glassContext.getCoreSvc(".Logger").error(e)},n.prototype._getContentService=function(){return this._glassContext.getSvc(".Content")},n.prototype._getAjaxService=function(){return this._glassContext.services.ajax},n.prototype._getDashboardApi=function(){return this._getCurrentView().getDashboardApi()},n.prototype._getCurrentView=function(){return this._glassContext.appController.currentAppView.currentContentView},n}()})),define("dashboard-core/js/features/dashboard/dashboardSettings/DashboardSettingsAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.get=function(){},e}()})),define("dashboard-core/js/ca/services/DashboardSettingsService",["../../features/dashboard/dashboardSettings/DashboardSettingsAPI"],(function(e){return function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,e.apply(this,arguments))}return _inherits(t,e),t.prototype.getAPI=function(){return this},t}(e)})),define("dashboard-core/js/lib/@waca/upgrades/deps/amd/AMD",["bluebird","require"],(function(e,t){return{require:null,loadModules:function(o){var i=[],n=[];return o.forEach((function(){var t={},o=new e((function(e,o){t.resolve=e,t.reject=o}));n.push(t),i.push(o)})),(t=this.require||t)(o,(function(){for(var e=0;e<arguments.length;e++)n[e].resolve(arguments[e])}),(function(e){n[0].reject(e)})),e.all(i)}}})),define("dashboard-core/js/lib/@waca/upgrades/lib/MigrationFactory",["../deps/amd/AMD","bluebird"],(function(e,t){var o=function(t){this._AMD=null,this._migrations=null,this._cache=null,t=t||{},this._cache=t.cache||{},this._migrations=t.migrations||{},this._AMD=t.AMD||e};return o.prototype.make=function(e){return e?this.isInCache(e)?t.resolve(this.getFromCache(e)):this._fetchMigration(e).then(function(t){return this.storeInCache(e,t),t}.bind(this)):t.reject(new Error("Invalid argument provided: version"))},o.prototype.isInCache=function(e){if(!e)throw new Error("Invalid argument provided: version");return void 0!==this._cache[e]},o.prototype.getFromCache=function(e){if(!e)throw new Error("Invalid argument provided: version");return this._cache[e]},o.prototype.storeInCache=function(e,t){if(!e)throw new Error("Invalid argument provided: version");if(!t)throw new Error("Invalid argument provided: migration");this._cache[e]=t},o.prototype.getCachedVersions=function(){return Object.keys(this._cache)},o.prototype.isCacheEmpty=function(){return 0===this.getCachedVersions().length},o.prototype.getMigrationPath=function(e){if(!e)throw new Error("Invalid argument provided: version");var t=this._migrations[e];if(!t)throw new Error("No migration present for the provided version: "+e);return t},o.prototype._fetchMigration=function(e){var t=this.getMigrationPath(e);return this._AMD.loadModules([t]).then((function(e){return e[0]}))},o.prototype.register=function(e,t){if(!e)throw new Error("Invalid argument provided: version");if(!t)throw new Error("Invalid argument provided: migration");this._migrations[e]=t},o.prototype.unregister=function(e){if(!e)throw new Error("Invalid argument provided: version");delete this._migrations[e]},o.prototype.getAllVersions=function(){return Object.keys(this._migrations).map((function(e){return parseInt(e,10)}))},o.prototype.getMigration=function(e){if(!e)throw new Error("Invalid argument provided: version");return this._migrations[e]},o.prototype.getVersion=function(e,t){if(!e)throw new Error("Invalid argument: version");t=t||0;var o=this.getAllVersions(),i=o.indexOf(e)+t;return o[i]},o})),define("dashboard-core/js/lib/@waca/upgrades/lib/UpgradeRunner",["./MigrationFactory","underscore"],(function(e,t){"use strict";var o=function(t){t=t||{},this.factory=t.factory||new e({migrations:t.migrations,AMD:t.AMD})};return o.prototype.needsUpgrade=function(e,t){if(!e.version)throw new Error("Object must be versioned");var o=parseInt(e.version,10);return this._getMigrationsToPerform(o,t).versions.length>0},o.prototype.upgrade=function(e,t,o){if(!e.version)throw new Error("Object must be versioned");var i,n=parseInt(e.version,10),a=this._getMigrationsToPerform(n,t);if(0===a.versions.length)i=Promise.resolve({obj:e,upgradePerformed:!1});else{var r=JSON.parse(JSON.stringify(e));i=this._migrate(r,a,o).then((function(e){return Promise.resolve({obj:e,upgradePerformed:!0})}))}return i},o.prototype._migrate=function(e,o,i){var n=Promise.resolve(e),a=0,r=o.versions.length,s=i&&t.isFunction(i.progress)?i.progress:function(){};return o.versions.forEach((function(t){n=n.then((function(e){return Promise.resolve(e)})).then(this._performMigration.bind(this,t,o.direction,i)).then(function(e){switch(o.direction){case"up":e.version=this.factory.getVersion(t,0);break;case"down":e.version=this.factory.getVersion(t,-1)}return e}.bind(this)).then((function(e){a++;try{s({completed:a,total:r,done:a===r})}catch(e){console.error(e)}return e})).catch((function(t){return t.obj=e,Promise.reject(t)}))}),this),n},o.prototype._performMigration=function(e,t,o,i){return this.factory.make(e).then((function(e){o&&(e.data=o);var n=e[t].call(e,i);return n?n.then((function(e){return e||(e=i),e})):i}))},o.prototype._getMigrationsToPerform=function(e,o){var i;o="number"==typeof(i=o)&&isFinite(i)&&Math.floor(i)===i?o:1/0;var n=t.filter(this.factory.getAllVersions(),(function(t){return t>e&&t<=o})),a=t.filter(this.factory.getAllVersions(),(function(t){return t<=e&&t>o}));return t.sortBy(n),t.sortBy(a),a.reverse(),n.length>0?{direction:"up",versions:n}:{direction:"down",versions:a}},o})),define("dashboard-core/js/dashboard/services/UpgradeService",["../../lib/@waca/upgrades/lib/UpgradeRunner","../../lib/@waca/core-client/js/core-client/utils/ClassFactory","../../app/nls/StringResources"],(function(e,t,o){return function(){function i(){_classCallCheck(this,i),this._latestDashboardSpecVersion=0}return i.prototype.getLatestDashboardSpecVersion=function(){return parseInt(this._latestDashboardSpecVersion)},i.prototype.initialize=function(o){var i=this;return o.getCoreSvc(".Perspective").getModel("dashboard").then((function(n){var a=n.content.options.config.upgrades;return a?t.loadModule(a).then((function(t){var o=Object.keys(t);i._isValidUpgrade(o)&&(i._latestDashboardSpecVersion=o[o.length-1],i.upgradeRunner=new e({migrations:t}))})).catch((function(e){i._logger=o.getCoreSvc(".Logger"),i._logger.error(e)})):Promise.resolve()}))},i.prototype._isValidUpgrade=function(e){if(!e.length)return!1;var t=e[e.length-1];return!(!t||isNaN(t))&&Number.isInteger(Number(t))},i.prototype.needsUpgrade=function(e,t){return!!this.upgradeRunner&&this.upgradeRunner.needsUpgrade(e,t)},i.prototype.upgrade=function(e,t,i){return this.upgradeRunner?this.upgradeRunner.upgrade(e,t,i).then((function(t){return t?(t.upgradePerformed&&i.hasWrite&&t.obj.queriedForUpgrade&&(delete t.obj.queriedForUpgrade,i.noToast||i.dashboardApi.showToast(o.get("toastUpgradeDone"),{type:"info"})),t.obj):e})):t&&e.version!==t?Promise.reject(new Error("The requested spec upgrade version is not available")):Promise.resolve(e)},i.prototype.destroy=function(){this.upgradeRunner=null},i}()})),define("dashboard-core/js/dashboard/upgrades",[],(function(){return{6:"dashboard/loader/upgrader/6",7:"dashboard/loader/upgrader/7",8:"dashboard/loader/upgrader/8",9:"dashboard/loader/upgrader/9",1e3:"dashboard/loader/upgrader/wa_infographic",1002:"dashboard/loader/upgrader/ca_updateSheet1InUploadedFile",1003:"dashboard/loader/upgrader/waca_removeWidgetContentBoardSpec",1004:"dashboard/loader/upgrader/waca",1005:"dashboard/loader/upgrader/waca_shaping",1006:"dashboard/loader/upgrader/VIDA_breakingchanges",1007:"dashboard/loader/upgrader/multiLayersSupport",1008:"dashboard/loader/upgrader/R9toR10",1009:"dashboard/loader/upgrader/dateTimeLocalFilter",1010:"dashboard/loader/upgrader/HeliosToEndorUpgrade",1011:"dashboard/loader/upgrader/LayoutPageSizeUpgrade",1012:"dashboard/loader/upgrader/LayoutPositioningUpgrade",1013:"dashboard/loader/upgrader/VIDAPropUpgrade",1014:"dashboard/loader/upgrader/DataItemIdUpgrade",1015:"dashboard/loader/upgrader/DataItemUpgrade",1016:"dashboard/loader/upgrader/CompositeChartUpgrade",1017:"dashboard/loader/upgrader/FredIsRedUpgrade",1018:"dashboard/loader/upgrader/DataItemAggregationTypeUpgrade",1019:"dashboard/loader/upgrader/VIDA_ClippingUpgrade",1020:"dashboard/loader/upgrader/VIDA_OptimizeSizeUpgrade",1021:"dashboard/loader/upgrader/VIDA_LabelsColorPropUpgrade",1022:"dashboard/loader/upgrader/TextWidgetResponsiveUpgradeHelper",1023:"dashboard/loader/upgrader/LayoutTemplateIndicatorUpgrade",1024:"dashboard/loader/upgrader/RecommendedDriversUpgrade",1025:"dashboard/loader/upgrader/DataItemAggregationTypeUpgradeForScatterAndBubble",1026:"dashboard/loader/upgrader/TextWidgetParagraphUpgrade",1027:"dashboard/loader/upgrader/RankSlotUpgrade",1300:"dashboard/loader/upgrader/VIDAPaddingPropUpgrade",1301:"dashboard/loader/upgrader/DuplicateLayoutCssPropUpgrade",1400:"dashboard/loader/upgrader/VIDALegendFontSizeMappingUpgrade",1401:"dashboard/loader/upgrader/SummaryKPIUpgrade",1402:"dashboard/loader/upgrader/WidgetTitleAriaLabelUpgrade",1403:"dashboard/loader/upgrader/MissingOriginalCustomGroupItemId",1404:"dashboard/loader/upgrader/DrillthroughDefinitionScopeUpgrade",1600:"dashboard/loader/upgrader/TabIconUpgrade",1601:"dashboard/loader/upgrader/CssAndFillColorConflictUpgrade",1800:"dashboard/loader/upgrader/NewGenSpec",1801:"dashboard/loader/upgrader/ColBarZeroOriginValueUpgrade",1802:"dashboard/loader/upgrader/DatasetScopeMultiMeasure",1803:"dashboard/loader/upgrader/CompositeChartV2Upgrade",1804:"dashboard/loader/upgrader/CarbonPlexUpgrade",1805:"dashboard/loader/upgrader/KPI_VCF_Upgrade",1806:"dashboard/loader/upgrader/AggregateTypeVisibleUpgrade",1807:"dashboard/loader/upgrader/CrosstabTable_VCF_Upgrade",1808:"dashboard/loader/upgrader/FredIsRedColorMapUpgrade"}})),define("dashboard-core/js/features/common/icons/api/IconsAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.registerIcons=function(){},e.prototype.getIcon=function(){},e}()})),define("dashboard-core/js/features/common/icons/api/impl/Icons",["../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../IconsAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._api=e.createAPI(this,[t]),this._iconCache={}}return o.prototype.getAPI=function(){return this._api},o.prototype.registerIcons=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){t.icon?e._iconCache[t.id]=t.icon.default:t.icons&&(e._iconCache[t.id]=t.icons.default)}))},o.prototype.getIcon=function(e){return this._iconCache[e]},o}()})),define("dashboard-core/js/features/dashboard/dashboardProperties/DashboardPropertiesProvider",["underscore","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/core-client/js/core-client/utils/ClassFactory","../../../app/nls/StringResources"],(function(e,t,o,i,n){return function(){function a(e){_classCallCheck(this,a),this._api=o.createAPI(this,[t]),this._properties=e.features.Properties,this._internal=e.features.internal,this.dashboard=e.features.API}return a.prototype.getAPI=function(){return this._api},a.prototype.initialize=function(){return this._properties.registerProvider(this._api),this._fetchThemes()},a.prototype.destroy=function(){this._properties&&this._properties.deregisterProvider(this._api)},a.prototype.getPropertyLayoutList=function(){return[{value:n.get("dashboardProperties"),id:"banner",type:"Banner",editable:!1},{id:"general",type:"Group",label:n.get("tabName_general")},{id:"colorsAndTheme",type:"Section",label:n.get("sectionName_colorsAndThemes"),position:3}]},a.prototype.getPropertyList=function(){var e=this,t=this._internal.getBoardModel(),o=t.properties;return[{id:"theme",setPropertyValue:function(e){t.set({theme:e})},getPropertyValue:function(){return t.get("theme")},editor:{sectionId:"general.colorsAndTheme",position:1,uiControl:{type:"DropDown",label:n.get("propTheme"),getOptions:function(){return e._themeListing}}}},{id:"dashboardColorSet",setPropertyValue:function(e){o.set({dashboardColorSet:e})},getPropertyValue:function(){return o.get("dashboardColorSet")||"userPaletteColor"},editor:{sectionId:"general.colorsAndTheme",position:1,uiControl:{type:"NewPalette",paletteType:"ColorPalette",sectionLabel:n.get("propDashboardColorPalette"),newPaletteLabel:n.get("propNewDashboardPaletteLabel"),linkLabel:n.get("propDashboardChangePaletteLink"),ariaLabel:n.get("propDashboardColorPalette"),includeUserColorPalette:!0,onChange:function(t,i){e.setPropertyValue(t,i),e.dashboard.triggerDashboardEvent("properties:refreshPane",{sender:o.id})}}}},{id:"fredIsRed",setPropertyValue:function(e){o.set({fredIsRed:e})},getPropertyValue:function(){return o.get("fredIsRed")},validatePropertyValue:function(e){return{isValid:"boolean"==typeof e,message:"fredIsRed property must be of type boolean."}},editor:{sectionId:"general.advanced",position:1,uiControl:{type:"ToggleButton",label:n.get("propFredIsRed")}}},{id:"dataCache",setPropertyValue:function(e){var t="automatic"===e?void 0:e;o.set({localCache:t})},getPropertyValue:function(){return o.get("localCache")||"automatic"},editor:{sectionId:"general.advanced",position:2,uiControl:{type:"DropDown",label:n.get("dataCache"),options:[{label:n.get("dataCache_auto"),value:"automatic"},{label:n.get("dataCache_on"),value:"yes"},{label:n.get("dataCache_off"),value:"no"}]}}}]},a.prototype._fetchThemes=function(){var t=this;return this._themeListing?Promise.resolve(this._themeListing):(this._themeListing=[],i.loadModule("text!dashboard-core/js/lib/@waca/dashboard-common/dist/themes/themeListing.json").then((function(o){var i=JSON.parse(o);return e.each(i.themes,(function(e){t._themeListing.push({label:n.get(e.name+"Label"),value:e.name})})),t._themeListing}),(function(){return t._themeListing=[],t._themeListing})))},a}()})),define("dashboard-core/js/features/dashboard/transaction/api/TransactionAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.startTransaction=function(){},e.prototype.startTransactionById=function(){},e.prototype.endTransaction=function(){},e.prototype.getTransactionById=function(){},e.prototype.isValidTransaction=function(){},e.prototype.registerTransactionHandler=function(){},e.prototype.getActiveTransactionList=function(){},e}()})),define("dashboard-core/js/features/dashboard/transaction/api/impl/Transaction",["underscore","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../TransactionAPI"],(function(e,t,o){return function(){function i(){_classCallCheck(this,i),this._transactions=new Map,this._handlers=new Map}return i.prototype.getAPI=function(){return t.createAPI(this,[o])},i.prototype.startTransaction=function(t){if(t&&t.transactionId){var o=this._get(t.transactionId);if(o){var i=this._addSubTransaction(o),n=e.extend({subTransaction:i},o.token);return t&&t.source&&(n.source=t.source,n.eventGenerated=t.eventGenerated),n}return console.warn("Invalid transactionId: "+t.transactionId),t}var a=this._createTransactionEntry(e.uniqueId("__transaction__"));return t&&t.source&&(a.token.source=t.source,a.token.eventGenerated=t.eventGenerated),a.token},i.prototype.startTransactionById=function(e){var t=this._get(e);return t?this.startTransaction(t.token):(t=this._createTransactionEntry(e)).token},i.prototype.endTransaction=function(e){var t=e&&e.transactionId,o=this._get(t);return o&&Number.isInteger(e.subTransaction)&&(o=o.children[e.subTransaction]),o?(o.timestamp.end=Date.now(),o.end()):console.warn("Invalid transactionId: "+t),e},i.prototype.getTransactionById=function(e){var t=this._get(e);return t?t.token:{}},i.prototype.registerTransactionHandler=function(e,t,o,i){if(this.isValidTransaction(e))return this._register(t,o,e.transactionId,i),this._invoke(t);var n=o([i]);return n instanceof Promise?n:Promise.resolve()},i.prototype.whenTransactionComplete=function(e){return this._get(e.transactionId)._promise.then(this._dispose.bind(this,e.transactionId))},i.prototype.isValidTransaction=function(e){return!!this._get(e.transactionId)},i.prototype.getActiveTransactionList=function(){return e.map(this._getAll(),(function(e){return e.token}))},i.prototype._createTransactionEntry=function(e){var t={token:{transactionId:e},timestamp:{start:Date.now()}};return t._promise=new Promise(function(e){this.end=function(){this.children&&this.children.length>0?this.children[0]._promise.then(e):e()}.bind(this)}.bind(t)),this._set(e,t),t},i.prototype._addSubTransaction=function(e){e.children||(e.children=[]);var t={timestamp:{start:Date.now()}},o=e.children.length,i=e.children&&e.children[e.children.length-1];return i&&(i.next=t),t._promise=new Promise(function(e){this.end=function(){this.next?this.next._promise.then(e):e()}.bind(this)}.bind(t)),e.children.push(t),o},i.prototype._getAll=function(){var e=[];return this._transactions.forEach((function(t){e.push(t)})),e},i.prototype._get=function(e){return this._transactions.get(e)},i.prototype._set=function(e,t){this._transactions.set(e,t)},i.prototype._dispose=function(e){this._transactions.delete(e)},i.prototype._register=function(e,t,o,i){var n=this._handlers.get(e);n?(n.transactionIds.indexOf(o)<0&&n.transactionIds.push(o),n.args.push(i)):this._handlers.set(e,{transactionIds:[o],handler:t,args:[i]})},i.prototype._isRegistered=function(e){return!!this._handlers.get(e)},i.prototype._waitForAllTransactions=function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e.length>o){var i=this._get(e[o]);return i?i._promise.then((function(){return t._waitForAllTransactions(e,o+1)})):this._waitForAllTransactions(e,o+1)}return Promise.resolve()},i.prototype._invoke=function(t){var o=this,i=this._handlers.get(t);if(!i._promise){var n=e.map(i.transactionIds,(function(e){return o._get(e)._promise}));i._promise=Promise.all(n).then((function(){e.each(i.transactionIds,o._dispose.bind(o));try{return i.handler(i.args)}finally{o._handlers.delete(t)}}))}return i._promise},i}()})),define("dashboard-core/js/features/dashboard/dashboardState/DashboardStateAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.onUiStateChange=function(){},e.prototype.offUiStateChange=function(){},e.prototype.getUiState=function(){},e.prototype.setDirty=function(){},e.prototype.setAuthoring=function(){},e.prototype.setSelectionProperties=function(){},e.prototype.setSidePanelOpen=function(){},e.prototype.setSidePanelCurrentView=function(){},e.prototype.setEventGroups=function(){},e.prototype.setFullScreen=function(){},e.prototype.setActive=function(){},e.prototype.isActive=function(){},e.prototype.onChangeActive=function(){},e.prototype.updateUiState=function(){},e}()})),define("dashboard-core/js/features/dashboard/dashboardState/DashboardState",["underscore","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/api/impl/CallbackInvoker","../../../api/DashboardAPI","./DashboardStateAPI"],(function(e,t,o,i,n){var a=function(e){function o(i){var a=i.features;_classCallCheck(this,o);var r=_possibleConstructorReturn(this,e.call(this,{logger:a.Logger}));return r._dashboard=a.API,r._api=t.createAPI(r,[n]),r._active=!1,r._uiState={dirty:!1,authoring:!1,eventGroups:!1,fullScreen:!1,selectionProperties:!1,focus:!1,sidePanel:{isOpen:!1,current:null}},r}return _inherits(o,e),o.prototype.getLifeCycleHandlers=function(){return[{name:"post:dashboard.initialize",action:this.postDashboardInitialize.bind(this)}]},o.prototype.postDashboardInitialize=function(){var e=this._dashboard.getFeature("InteractionController.internal");return this._modeChangeHandler=e.eventRouter.on("mode:change",this.authoringModeChanged.bind(this)),this._uiState.authoring=this._dashboard.getMode()!==i.MODES.VIEW,Promise.resolve()},o.prototype.getAPI=function(){return this._api},o.prototype.destroy=function(){this._uiState=null,this._api=null,this._active=null,this._modeChangeHandler&&(this._modeChangeHandler.remove(),this._modeChangeHandler=null)},o.prototype.setDirty=function(e){this._uiState.dirty=e,this._dashboard.setDirty(e),this._invokeUiChangeCallback()},o.prototype.onUiStateChange=function(e){this.registerCallback(o.UI_CHANGE,e)},o.prototype.offUiStateChange=function(e){this.removeCallback(o.UI_CHANGE,e)},o.prototype._invokeUiChangeCallback=function(){this.invokeCallbacks(o.UI_CHANGE,this._uiState)},o.prototype.getUiState=function(){return this._uiState},o.prototype.updateUiState=function(e){var t=this,o=e.stateChange;try{Object.keys(o).forEach((function(e){t._uiState[e]=o[e]})),this._invokeUiChangeCallback()}catch(e){throw e}},o.prototype.setAuthoring=function(e){this._uiState.authoring=!!e,!0===this._uiState.authoring?this._dashboard.setMode(i.MODES.EDIT):(this._dashboard.setMode(i.MODES.VIEW),this._uiState.eventGroups=!1,this._uiState.selectionProperties=!1)},o.prototype.authoringModeChanged=function(e){this._uiState.authoring=!!e.authoring,this._invokeUiChangeCallback()},o.prototype.setSelectionProperties=function(e){this._uiState.selectionProperties=!!e,this._invokeUiChangeCallback()},o.prototype.setSidePanelOpen=function(e){this._uiState.sidePanel.isOpen=!!e,this._invokeUiChangeCallback()},o.prototype.setSidePanelCurrentView=function(e){this._uiState.sidePanel.current=e,this._invokeUiChangeCallback()},o.prototype.setEventGroups=function(e){var t=this;if(!0===this._uiState.authoring){this._uiState.eventGroups=!!e;var o=void 0;return!0===this._uiState.eventGroups?(o=i.MODES.EDIT_GROUP,this._uiState.selectionProperties=!1):o=i.MODES.EDIT,this._dashboard.setMode(o).then((function(){t._invokeUiChangeCallback()}))}this._logger.info("The dashboard is not in the correct mode to perform the EventGroups action")},o.prototype.setFullScreen=function(e){this._uiState.fullScreen=!!e,this._invokeUiChangeCallback()},o.prototype.isActive=function(){return this._active},o.prototype.setActive=function(e){this._active=e,this.invokeCallbacks(o.ON_DASHBOARD_STATE_CHANGE,{name:"change:"+(this._active?"active":"deactive"),info:{actionName:"setActive",value:this._active}})},o.prototype.onChangeActive=function(e){this.registerCallback(o.ON_DASHBOARD_STATE_CHANGE,e)},o}(o);return a.ON_DASHBOARD_STATE_CHANGE="dashboardStateChange",a.UI_CHANGE="dashboardStateUiChange",a})),define("dashboard-core/js/features/dashboard/dashboardServiceability/api/DashboardServiceabilityAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.openPanel=function(){},e.prototype.closePanel=function(){},e.prototype.getPanelState=function(){},e.prototype.showInfo=function(){},e.prototype.hideInfo=function(){},e.prototype.isInfoVisible=function(){},e}()})),define("dashboard-core/js/features/dashboard/dashboardServiceability/DashboardServiceability",["jquery","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/core-client/js/core-client/ui/KeyCodes","./api/DashboardServiceabilityAPI"],(function(e,t,o,i){return function(){function n(e){var t=this;_classCallCheck(this,n),this._dashboardApi=e.features.API,this._selectedContent=null,this._selectedContentIds=[],this._keysPressed=[],this._slideout=null,this._openPromise=null,this._closePromise=null,this._dashboardState=null,this._callback=function(e){this._keyUpDownCallback(e)}.bind(this),this._dashboardState=e.features.DashboardState,this._isInfoVisible=!1,this._dashboardApi.getCanvasWhenReady().then((function(e){t.canvas=e,e.on("change:selections:select",t.onContentSelection,t),e.on("change:selections:deselect",t.onContentDeselection,t)}))}return n.prototype.getAPI=function(){return this._api},n.prototype.initialize=function(){return this._api=t.createAPI(this,[i]),this._dashboardState.onChangeActive(this.dashboardStateCallback.bind(this)),new Promise.resolve},n.prototype.showS12yView=function(e){return this._dashboardApi.showSlideOut({width:400,position:"right",content:{module:"dashboard-core/js/features/dashboard/dashboardServiceability/view/ServiceabilityView",id:"s12ySlideoutContainer",widgetInfo:e,dashboardApi:this._dashboardApi},resizable:{min:400}})},n.prototype.openPanel=function(){(this._closePromise=null,this._openPromise=Promise.resolve(!1),this._selectedContent)&&(void 0!==this._selectedContent.getFeature("Serviceability")&&(this._slideout=this.showS12yView(this._selectedContent.getFeature("Serviceability").getContentInfo()),this._slideout&&(this._openPromise=this._monitorOpeningSlideout())));return this._openPromise},n.prototype._monitorOpeningSlideout=function(){var e=this;return new Promise((function(t){e._slideout&&(e._slideout.on("done:show",(function(){t(!0)})),e._slideout.on("hide",(function(){e._slideout=null})))}))},n.prototype.closePanel=function(){return this._openPromise=null,this._closePromise=Promise.resolve(),this._slideout&&(this._slideout.hide(),this._closePromise=this._monitorClosingSlideout()),this._closePromise},n.prototype.showInfo=function(){this._isInfoVisible=!0,this._dashboardApi.getCanvas().findContent().forEach((function(e){var t=e.getFeature("Serviceability");t&&t.showInfo()}))},n.prototype.hideInfo=function(){this._isInfoVisible=!1,this._dashboardApi.getCanvas().findContent().forEach((function(e){var t=e.getFeature("Serviceability");t&&t.hideInfo()}))},n.prototype.isInfoVisible=function(){return this._isInfoVisible},n.prototype._monitorClosingSlideout=function(){var e=this;return new Promise((function(t){e._slideout?e._slideout.on("hide",(function(){e._slideout=null,t()})):t()}))},n.prototype.getPanelState=function(){var e=this;return(this._openPromise||this._closePromise||Promise.resolve()).then((function(){return{isOpen:null!==e._slideout}}))},n.prototype.onContentSelection=function(e){var t=this;e.info.value.forEach((function(e){var o=t._dashboardApi.getCanvas().getContent(e);o&&o.getFeature("Serviceability")&&t._selectedContentIds.push(e)})),this._updateSelectedWidget()},n.prototype.onContentDeselection=function(e){var t=this;this._selectedContentIds=this._selectedContentIds.filter((function(t){return-1===e.info.value.indexOf(t)})),this._updateSelectedWidget(),e.info.value.forEach((function(e){var o=t._dashboardApi.getCanvas().getContent(e);o&&"page"===o.getType()&&t.hideInfo()}))},n.prototype.setSelectedWidget=function(e){this._selectedContent=e},n.prototype._updateSelectedWidget=function(){if(this._selectedContent=null,1==this._selectedContentIds.length){var e=this._selectedContentIds[0];this.setSelectedWidget(this._dashboardApi.getCanvas().getContent(e))}},n.prototype.destroy=function(){this.canvas&&(this.canvas.off("change:selections:select",this.onContentSelection,this),this.canvas.off("change:selections:deselect",this.onContentDeselection,this),this.canvas=null),e("body").off("keydown.serviceability",this._callback),e("body").off("keyup.serviceability",this._callback),this._api=null,this._slideout=null,this._selectedContentIds=null,this._dashboardApi=null,this._keysPressed=null,this._dashboardState=null},n.prototype.dashboardStateCallback=function(t){!0===t.info.value?(e("body").on("keydown.serviceability",this._callback),e("body").on("keyup.serviceability",this._callback)):(e("body").off("keydown.serviceability",this._callback),e("body").off("keyup.serviceability",this._callback))},n.prototype._keyUpDownCallback=function(e){if("keydown"!==e.type||this._keysPressed.indexOf(e.keyCode)>=0||(2===this._keysPressed.length&&this._keysPressed.shift(),this._keysPressed.push(e.keyCode)),"keyup"===e.type&&this._keysPressed.indexOf(e.keyCode)>=0){var t=this._keysPressed.indexOf(e.keyCode);this._keysPressed.splice(t,1)}this._keysReady()&&(this.openPanel(),this._keysPressed=[])},n.prototype._keysReady=function(){return 2===this._keysPressed.length&&this._keysPressed[0]===o.CTRL&&this._keysPressed[1]===o.PERIOD},n}()})),define("dashboard-core/js/features/dashboard/toolbarDock/ToolbarDockAPI",[],(function(){var e=function(){function e(){_classCallCheck(this,e)}return e.prototype.disableDockedODT=function(){},e.prototype.enableDockedODT=function(){},e.prototype.toggle=function(){},e.prototype.isContentToolbarDocked=function(){},e.prototype.updateODTState=function(){},e.prototype.focusODT=function(){},e.prototype.getOwnerIDs=function(){},e}();return e.UPDATE_DOCKED_TOOLBAR_STATE="updateState_dockedToolbar",e.UPDATE_CANVAS_TOOLBAR_STATE="updateState_canvasToolbar",e.FOCUS_DOCKED_TOOLBAR="focus_dockedToolbar",e})),define("dashboard-core/js/features/dashboard/toolbarDock/ToolbarDock",["underscore","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/api/impl/CallbackInvoker","../../../lib/@waca/dashboard-common/dist/utils/ActionTypes","../../../api/DashboardAPI","./ToolbarDockAPI"],(function(e,t,o,i,n,a){return function(r){function s(e){var t=e.features;_classCallCheck(this,s);var o=t.API,i=o.getService(n.GLOBAL_SERVICES.LOGGER),a=_possibleConstructorReturn(this,r.call(this,{logger:i}));return a._dashboard=o,a._contentActions=t.ContentActions,a._dashboardState=t.DashboardState,a._dashboardPreferences=t.DashboardPreferences,a._dockedToolbarState={actions:[],selectedIds:[]},a}return _inherits(s,r),s.prototype.initialize=function(){var e=this;"EXPLORE"===this._dashboard.getType().toUpperCase()?this._api=void 0:(this._api=t.createAPI(this,[a,o]),void 0===this._dashboardPreferences.getPreference("isToolbarDocked")&&(this._dashboardPreferences.setPreference("isToolbarDocked",!0),this._dashboardPreferences.savePreferences().catch((function(t){e._logger.error("unable to save dashboard preferences",t.message)}))),this._dashboard.getCanvasWhenReady().then((function(t){e._canvas=t,t.on("change:selections:select",e.onContentSelectionChange,e),t.on("change:selections:deselect",e.onContentSelectionChange,e),e._dashboard.on("dashboard:show",e.onDashboardShow,e),e._updateCanvasToolbar(),e._currentUIState=Object.assign({},e._dashboardState.getUiState()),e._dashboardState.onUiStateChange(e._uiStateChange.bind(e))})))},s.prototype.getAPI=function(){return this._api},s.prototype.destroy=function(){this._canvas&&(this._canvas.off("change:selections:select",this.onContentSelectionChange,this),this._canvas.off("change:selections:deselect",this.onContentSelectionChange,this)),this._dashboard&&this._dashboard.off("dashboard:show",this.onDashboardShow,this),this._api=null},s.prototype.getOwnerIDs=function(){return this._dockedToolbarState.selectedIds},s.prototype.onDashboardShow=function(){this.isContentToolbarDocked()?this._renderContentToolbar():this.updateODTState([],[])},s.prototype.onContentSelectionChange=function(){this._renderContentToolbar()},s.prototype._getSelectedIds=function(){var e=[];if(this._currentUIState.focus){for(var t=this._canvas.getWidgets(),o=0;o<t.length;o++)if(t[o].isWidgetMaximized()){e.push(t[o].getId());break}}else(e=this._canvas.getSelectedContentList().map((function(e){return e.getId()}))).sort();return e},s.prototype._renderContentToolbar=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isContentToolbarDocked()){var i=this._getSelectedIds();0===i.length?this.updateODTState([]):!o&&e.isEqual(this._dockedToolbarState.selectedIds,i)||(this.updateODTState(this._contentActions.getContentActionList(i),i),t&&i.length&&this.focusODT())}},s.prototype.toggle=function(){var e=this,t=!this.isContentToolbarDocked();this._dashboardPreferences.setPreference("isToolbarDocked",t),this._dashboardPreferences.savePreferences().catch((function(t){e._logger.error("Unable to save dashboard preferences",t.message)}));var o=this._canvas.getSelectedContentList();!0===t?this._renderContentToolbar():this.updateODTState([],[]),o.length>0&&document.getElementById(o[0].getId()).click()},s.prototype.disableDockedODT=function(){this._dashboardPreferences.setPreference("isToolbarDocked",!1),this._dashboardPreferences.savePreferences(),this.updateODTState([],[])},s.prototype.enableDockedODT=function(){this._dashboardPreferences.setPreference("isToolbarDocked",!0),this._dashboardPreferences.savePreferences(),this.updateODTState([],[])},s.prototype.updateODTState=function(e,t){this._dockedToolbarState.actions=this._orderActions(e),this._dockedToolbarState.selectedIds=t||void 0,this.invokeCallbacks(a.UPDATE_DOCKED_TOOLBAR_STATE,this._dockedToolbarState)},s.prototype.isContentToolbarDocked=function(){return this._dashboardPreferences.getPreference("isToolbarDocked")||this._currentUIState.focus},s.prototype._uiStateChange=function(e){var t=this._currentUIState;this._currentUIState=Object.assign({},e),(e.focus||t.focus)&&(this.isContentToolbarDocked()?this._renderContentToolbar(!1,!0):this.updateODTState([],[])),this._updateCanvasToolbar()},s.prototype._updateCanvasToolbar=function(){this.invokeCallbacks(a.UPDATE_CANVAS_TOOLBAR_STATE,this._getCanvasActions())},s.prototype._getCanvasActions=function(){return{actions:this._orderActions(this._contentActions.getContentActionList([]))}},s.prototype._orderActions=function(e){return e.forEach((function(e){void 0===e.order&&(e.order=i[e.name])})),e.sort((function(e,t){return e.order&&t.order||!e.order&&!t.order?e.order-t.order:e.order&&!t.order?-1:!e.order&&t.order?1:void 0})),e},s.prototype.focusODT=function(){this.invokeCallbacks(a.FOCUS_DOCKED_TOOLBAR)},s}(o)})),define("dashboard-core/js/features/dashboard/toolbarDock/ToolbarDockComponent",["react","react-dom","ca-ui-toolkit","prop-types"],(function(e,t,o,i){var n=o.Container,a=o.Separator,r=function(t){function o(e){return _classCallCheck(this,o),_possibleConstructorReturn(this,t.call(this,e))}return _inherits(o,t),o.prototype._generateSeparator=function(){return e.createElement(a,{className:"toolbarDockSeparator",orientation:"vertical",style:{margin:"0"}})},o.prototype._generateDocks=function(){var t=this;if(this.props.toolbarDockDOM.getProviders()){var o=Object.values(this.props.toolbarDockDOM.getProviders());return o.sort((function(e,t){return e.getIndex()-t.getIndex()})),o.map((function(i,n){return n+1===o.length?i.getReactElement():e.createElement(e.Fragment,null,i.getReactElement(),t._generateSeparator())}))}},o.prototype.render=function(){return e.createElement(n,{className:o.ROOT},this._generateDocks())},o}(e.Component);return r.ROOT="toolbarDockContainer",r.propTypes={toolbarDockDOM:i.shape({getProviders:i.func})},r})),define("dashboard-core/js/features/dashboard/toolbarDock/ToolbarDockDOMAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.render=function(){},e.prototype.addProvider=function(){},e.prototype.removeProvider=function(){},e.prototype.getProviders=function(){},e}()})),define("dashboard-core/js/features/dashboard/toolbarDock/ToolbarDockDOM",["react","react-dom","../../../lib/@waca/dashboard-common/dist/core/APIFactory","./ToolbarDockDOMAPI","./ToolbarDockComponent"],(function(e,t,o,i,n){return function(){function a(e){var t=e.features;_classCallCheck(this,a),this._dashboard=t.API,this._toolbarDock=t.ToolbarDock,this._sections={},this._providers={}}return a.prototype.initialize=function(){if(this._toolbarDock){this._api=o.createAPI(this,[i]);var e=this._dashboard.getCurrentContentView().el;return this._root=document.createElement("div"),e.insertBefore(this._root,e.firstChild),this.render()}return this._api=void 0,Promise.resolve()},a.prototype.getAPI=function(){return this._api},a.prototype.destroy=function(){this._root&&t.unmountComponentAtNode(this._root),this._root&&this._root.parentNode&&this._root.parentNode.removeChild(this._root),delete this._api,delete this._providers,delete this._node},a.prototype.render=function(){var o=this;return new Promise((function(i){t.render(e.createElement(n,{toolbarDockDOM:o}),o._root,i)}))},a.prototype.addProvider=function(e,t){this._providers[e]=t,this.render()},a.prototype.removeProvider=function(e){delete this._providers[e],this.render()},a.prototype.getProviders=function(){return this._providers},a}()})),define("dashboard-core/js/features/dashboard/toolbarDock/toolbarSections/ToolbarSectionComponent",["react","react-dom","ca-ui-toolkit","prop-types","../../../../lib/@waca/dashboard-common/dist/ui/Toolbar","../../../../lib/@waca/core-client/js/core-client/ui/KeyCodes"],(function(e,t,o,i,n,a){var r=o.Container,s=function(o){function i(e){_classCallCheck(this,i);var t=_possibleConstructorReturn(this,o.call(this,e));return t._setRef=t._setRef.bind(t),t._toolbar=new n({className:"dockedToolbar toolbar",reactToolbar:!0}),t._toolbarRendered=Promise.resolve(),t}return _inherits(i,o),i.prototype.componentDidMount=function(){this._callbacks={state:this._updateState.bind(this),focus:this._focus.bind(this)},this.props.stateProvider.registerCallback(this.props.stateEvent,this._callbacks.state),this.props.stateProvider.registerCallback(this.props.focusEvent,this._callbacks.focus)},i.prototype.componentWillUnmount=function(){this.props.stateProvider.removeCallback(this.props.stateEvent,this._callbacks.state),this.props.stateProvider.removeCallback(this.props.focusEvent,this._callbacks.focus)},i.prototype._updateState=function(e){var t=this;this._toolbar.clearItems(),this._toolbarRendered=this._toolbar.addItems(e.actions).then((function(){t._toolbar.ready()}))},i.prototype._focus=function(){var e=this;this._initialFocus=document.activeElement,this._toolbarRendered.then((function(){e._toolbar.setFocus()}))},i.prototype._onKeyDown=function(e){e.keyCode===a.ESCAPE&&this._initialFocus&&(this._initialFocus.focus(),this._initialFocus=null)},i.prototype._setRef=function(e){this[i.ROOT]=e;var o=t.findDOMNode(e);this.props.toolbarSectionDOM.setNode(o),e?o.appendChild(this._toolbar.el):this._toolbar.el.parentNode&&this._toolbar.el.parentNode.removeChild(this._toolbar.el)},i.prototype.render=function(){return e.createElement(r,{className:i.ROOT+" "+this.props.className,ref:this._setRef,onKeyDown:this._onKeyDown.bind(this)})},i}(e.Component);return s.ROOT="ToolbarSection",s.propTypes={className:i.string,toolbarSectionDOM:i.shape({setNode:i.func}),stateProvider:i.shape({getState:i.func,registerCallback:i.func,removeCallback:i.func}),stateEvent:i.string,focusEvent:i.string},s.defaultProps={focusEvent:"null_focus"},s})),define("dashboard-core/js/features/dashboard/toolbarDock/toolbarSections/ToolbarSectionDOMAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getReactElement=function(){},e.prototype.setNode=function(){},e.prototype.getNode=function(){},e.prototype.getIndex=function(){},e}()})),define("dashboard-core/js/features/dashboard/toolbarDock/toolbarSections/onDemandToolbarSection/OnDemandToolbarSectionDOM",["react","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../ToolbarSectionDOMAPI","../ToolbarSectionComponent","../../ToolbarDockAPI"],(function(e,t,o,i,n){var a=function(){function a(e){var t=e.features;_classCallCheck(this,a),this._toolbarDockDOM=t.ToolbarDockDOM,this._toolbarDock=t.ToolbarDock}return a.prototype.initialize=function(){this._toolbarDockDOM?(this._api=t.createAPI(this,[o]),this._toolbarDockDOM.addProvider(a.PROVIDER_ID,this)):this._api=void 0},a.prototype.getAPI=function(){return this._api},a.prototype.destroy=function(){delete this._api,delete this._node},a.prototype.setNode=function(e){this._node=e},a.prototype.getNode=function(){return this._node},a.prototype.getReactElement=function(){return e.createElement(i,{className:a.PROVIDER_ID,stateProvider:this._toolbarDock,stateEvent:n.UPDATE_DOCKED_TOOLBAR_STATE,focusEvent:n.FOCUS_DOCKED_TOOLBAR,toolbarSectionDOM:this})},a.prototype.getIndex=function(){return a.PROVIDER_INDEX},a}();return a.PROVIDER_ID="OnDemandToolbarSection",a.PROVIDER_INDEX=0,a})),define("dashboard-core/js/features/dashboard/toolbarDock/toolbarSections/canvasToolbarSection/CanvasToolbarSectionDOM",["react","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../ToolbarSectionDOMAPI","../ToolbarSectionComponent","../../ToolbarDockAPI"],(function(e,t,o,i,n){var a=function(){function a(e){var t=e.features;_classCallCheck(this,a),this._toolbarDockDOM=t.ToolbarDockDOM,this._toolbarDock=t.ToolbarDock}return a.prototype.initialize=function(){this._toolbarDockDOM?(this._api=t.createAPI(this,[o]),this._toolbarDockDOM.addProvider(a.PROVIDER_ID,this)):this._api=void 0},a.prototype.getAPI=function(){return this._api},a.prototype.destroy=function(){delete this._api,delete this._node},a.prototype.setNode=function(e){this._node=e},a.prototype.getNode=function(){return this._node},a.prototype.getReactElement=function(){return e.createElement(i,{className:a.PROVIDER_ID,stateProvider:this._toolbarDock,stateEvent:n.UPDATE_CANVAS_TOOLBAR_STATE,toolbarSectionDOM:this})},a.prototype.getIndex=function(){return a.PROVIDER_INDEX},a}();return a.PROVIDER_ID="CanvasToolbarSection",a.PROVIDER_INDEX=1,a})),define("dashboard-core/js/features/dashboard/dashboardPreferences/DashboardPreferencesAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getPreference=function(){},e.prototype.setPreference=function(){},e.prototype.savePreferences=function(){},e}()})),define("dashboard-core/js/features/dashboard/dashboardPreferences/DashboardPreferences",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./DashboardPreferencesAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._api=e.createAPI(this,[t]),this._preferences={}}return o.prototype.initialize=function(){try{var e=window.localStorage.getItem("dashboardPreferences");if(null!==e)try{this._preferences=JSON.parse(e)}catch(e){this._preferences={}}return Promise.resolve()}catch(e){return Promise.reject(e)}},o.prototype.getAPI=function(){return this._api},o.prototype.getPreference=function(e){return this._preferences[e]},o.prototype.setPreference=function(e,t){this._preferences[e]=t},o.prototype.savePreferences=function(){var e=Promise.resolve();try{window.localStorage.setItem("dashboardPreferences",JSON.stringify(this._preferences))}catch(t){e=Promise.reject(t)}return e},o}()})),define("dashboard-core/js/ca/features/CADashboardPreferences/CADashboardPreferences",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../js/features/dashboard/dashboardPreferences/DashboardPreferencesAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._preferences={},this._dirtyPreferences={}}return o.prototype.initialize=function(o){this._glassContext=o,this._api=e.createAPI(this,[t]),this._userProfile=o.getCoreSvc(".UserProfile"),this._logger=o.getCoreSvc(".Logger"),this._preferences=this._userProfile.preferences},o.prototype.getAPI=function(){return this._api},o.prototype.getPreference=function(e){return this._preferences[e]},o.prototype._isValidValue=function(e){return null===e||"boolean"==typeof e||"string"==typeof e||"number"==typeof e},o.prototype.setPreference=function(e,t){if(!this._isValidValue(t))throw new Error("Invalid value type",t);this._preferences[e]=t,this._dirtyPreferences[e]=t},o.prototype.savePreferences=function(){var e=this,t=void 0;return 0===Object.keys(this._dirtyPreferences).length?(this._logger.info("No preferences to save to CM"),t=Promise.resolve()):t=this._userProfile.savePreferences(this._dirtyPreferences).then((function(){e._dirtyPreferences={}})),t},o}()})),define("text!dashboard-core/js/dashboard/schema/schemaDefs.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "schemaDefs.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "Definitions",\n "definitions": {\n "id": {\n "type": "string"\n },\n "modelId": {\n "type": "string"\n },\n "queryId": {\n "type": "string"\n },\n "name": {\n "type": ["string", "null"]\n },\n "theme": {\n "oneOf": [{\n "enum": ["defaultTheme"]\n }, {\n "type": "string"\n }]\n },\n "type": {\n "type": "string",\n "enum": ["templateDropZone", "scalingAbsolute", "container", "uploadedFile", "theme"]\n },\n "style": {\n "height": { "type": "string" },\n "width": { "type": "string" },\n "left": { "type": "string" },\n "top": { "type": "string" },\n "transform": { "type": "string" },\n "-webkit-transform": { "type": "string" }\n },\n "assetId": {\n "type": "string",\n "pattern": "^i[0-9,A-F]"\n },\n "strArray": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "uniqueId": {\n "type": "string",\n "pattern": "[0-9,a-f,-]*"\n\n },\n "layoutItem": {\n "type": "object",\n "properties": {\n "id": { "$ref": "#/definitions/id" },\n "style": { "$ref": "#/definitions/style" },\n "type": { "$ref": "#/definitions/layoutType" },\n "relatedLayouts": { "type": "string" },\n "items": { "$ref": "#/definitions/layoutItems" },\n "css": { "type": "string" },\n "title": { "type": "string" },\n "templateName": { "type": "string" }\n },\n "required": [ "id", "type" ]\n },\n "layoutItems": {\n "type": "array",\n "minItems": 0,\n "items": { "$ref": "#/definitions/layoutItem" }\n },\n "layoutType": {\n "type": "string",\n "enum": ["tab", "absolute", "widget", "group"]\n }\n }\n}'})),define("text!dashboard-core/js/dashboard/schema/schemaMappings.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "name": "nameSchema.json",\n "version": "versionSchema.json",\n "layout": "layoutSchema.json",\n "layoutFragment": "layoutFragmentSchema.json",\n "theme": "themeSchema.json",\n "specVersion": "versionSchema.json",\n "eventGroups": "eventGroupsSchema.json",\n "drillThrough": "drillThroughSchema.json",\n "properties": "propertiesSchema.json",\n "pageContext": "pageContextSchema.json",\n "widgets": "widgetsSchema.json",\n "widgetsFragment": "widgetsFragmentSchema.json"\n}\n'})),define("text!dashboard-core/js/dashboard/schema/nameSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "nameSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "name",\n "description": "The name of the dashboard specification",\n "type": "string"\n}\n'})),define("text!dashboard-core/js/dashboard/schema/layoutSchema.json",[],(function(){return'{\n\t"copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018, 2020. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n\t"$id": "layoutSchema.json",\n\t"$schema": "http://json-schema.org/draft-07/schema#",\n\t"title": "layout",\n\t"description": "The layout of the dashboard specification, representing ...",\n\t"definitions": {\n\t\t"item": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"id": { "$ref": "schemaDefs.json#/definitions/id" },\n\t\t\t\t\t"style": { "$ref": "schemaDefs.json#/definitions/style" },\n\t\t\t\t\t"type": { "$ref": "#/definitions/layoutType" },\n\t\t\t\t\t"relatedLayouts": { "type": "string" },\n\t\t\t\t\t"items": { "$ref": "#/definitions/items" },\n\t\t\t\t\t"css": { "type": "string" },\n\t\t\t\t\t"title": { "type": "string" },\n\t\t\t\t\t"templateName": { "type": "string" },\n\t\t\t\t\t"features": { "$ref": "#/definitions/features" }\n\t\t\t\t},\n\t\t\t\t"required": [ "id", "type"]\n\t\t},\n\t\t"features": {\n\t\t\t"type": "object",\n\t\t\t"patternProperties": {\n\t\t\t\t"[0-9,a-z,-,_]*": { "$ref": "widgetsTemplateSchema.json#/definitions/widget" }\n\t\t\t}\n\t\t},\n\t\t"items": {\n\t\t\t\t"type": "array",\n\t\t\t\t"minItems": 0,\n\t\t\t\t"items": { "$ref": "#/definitions/item" }\n\t\t},\n\t\t"layoutType": {\n\t\t\t\t"type": "string",\n\t\t\t\t"enum": ["tab", "absolute", "widget", "group"]\n\t\t}\n\n\t},\n\t"type": "object",\n\t"properties": {\n\t\t"id": { "$ref": "schemaDefs.json#/definitions/id" },\n\t\t"style": { "$ref": "schemaDefs.json#/definitions/style" },\n\t\t"items": { "$ref": "#/definitions/items" },\n\t\t"type": { "$ref": "#/definitions/layoutType" },\n\t\t"showGrid": { "type": "boolean" },\n\t\t"snapGrid": { "type": "boolean" },\n\t\t"snapObjects": { "type": "boolean" },\n\t\t"tabTextColor": { "type": "string" },\n\t\t"tabSelectedLineColor": { "type": "string" },\n\t\t"tabBackgroundColor": { "type": "string" },\n\t\t"hideTab": { "type": "boolean" },\n\t\t"tabPosition": { "type": "string" },\n\t\t"tabIconPosition": { "type": "string" },\n\t\t"tabIcon": { "type": "string" },\n\t\t"tabIconColor": { "type": "string" },\n\t\t"fitPage": { "type": "boolean" },\n\t\t"fillColor": { "type": "string" },\n\t\t"pageSize": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"height": { "type": "number" },\n\t\t\t\t\t"width": { "type": "number" }\n\t\t\t\t}\n\t\t},\n\t\t"layoutPositioning": { "type": "string" },\n\t\t"features": { "$ref": "#/definitions/features" }\n\t},\n\t"required": [ "id", "type", "items" ]\n}\n'})),define("text!dashboard-core/js/dashboard/schema/layoutFragmentSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "layoutFragmentSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "layout Fragment",\n "description": "The layout fragment of the dashboard specification fragment, representing ...",\n "type": "array",\n "items": { "$ref": "layoutSchema.json#/definitions/item" },\n "required": [ "id", "type", "items" ]\n}\n'})),define("text!dashboard-core/js/dashboard/schema/themeSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "themeSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "theme",\n "description": "The theme for the dashboard specification",\n "properties": {\n "theme": {"$ref": "schemaDefs.json#/definitions/theme"}\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/versionSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "versionSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "version",\n "description": "The version of the dashboard specification",\n "type": "integer",\n "minimum": 1000\n}\n'})),define("text!dashboard-core/js/dashboard/schema/eventGroupsSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "eventGroupsSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "eventGroups",\n "description": "The event groups of the dashboard specification, representing ...",\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "schemaDefs.json#/definitions/id"\n },\n "widgetIds": {\n "description": "The model id of ...",\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "uniqueItems": true\n }\n },\n "required": ["id", "widgetIds"]\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/drillThroughSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "drillThroughSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "drillThrough set",\n "description": "The drill through of the dashboard specification, representing ...",\n "type": "array",\n "minItems": 0,\n "items": {\n "title": "drillThrough",\n "type": "object",\n "properties": {\n "id": {\n "$ref": "schemaDefs.json#/definitions/modelId"\n },\n "name": {\n "$ref": "schemaDefs.json#/definitions/name"\n },\n "targetName": {\n "$ref": "schemaDefs.json#/definitions/name"\n },\n "type": {\n "type": "string",\n "enum": ["report"]\n },\n "assetId": {\n "$ref": "schemaDefs.json#/definitions/assetId"\n },\n "modelRefs": {\n "type": "array",\n "minItems": 0,\n "items": {"$ref": "schemaDefs.json#/definitions/modelId" }\n },\n "mappings": {\n "description": "...",\n "type": "array",\n "minItems": 0,\n "items": {\n "type": "object",\n "properties": {\n "name": {\n "$ref": "schemaDefs.json#/definitions/name"\n },\n "modelFilterItem": {\n "$ref": "schemaDefs.json#/definitions/name"\n },\n "type": {\n "type": "string",\n "enum": ["xsdString"]\n },\n "capabilities": {\n "description": "...",\n "type": "array",\n "minItems": 0,\n "items": { "type": "string" },\n "uniqueItems": true\n },\n "mapTo": {\n "type": "string"\n }\n }\n },\n "uniqueItems": true\n },\n "ownerId": { "$ref": "schemaDefs.json#/definitions/modelId" }\n }\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/propertiesSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018, 2019. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "propertiesSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "properties",\n "description": "The properties of the dashboard specification",\n "type": "object",\n "properties": {\n "customColors": {\n "type": "object",\n "properties": {\n "colors": {\n "type": "array",\n "items": {\n "color": { "$ref": "schemaDefs.json#/definitions/name" }\n }\n }\n }\n },\n "localCache": { "type": "string" },\n "dashboardColorSet": { "type": "string" },\n "fredIsRed": { "type": "boolean" },\n "defaultLocale": { "type": "string" },\n "colorSet": {\n "oneOf": [\n { "type": "string" },\n {\n "type": "object",\n "properties": {\n "type": { "type": "string" }\n }\n }\n ]\n }\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/pageContextSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "pageContextSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "pageContext set",\n "description": "The page context of the dashboard specification, representing ...",\n "type": "array",\n "items": {\n "title": "pageContext",\n "type": "object",\n "properties": {\n "origin": {\n "type": "string"\n },\n "table": {\n "type": "string"\n },\n "alias": {\n "type": "string"\n },\n "sourceId": {\n "type": "string"\n },\n "exclude": {\n "type": "boolean"\n },\n "isNamedSet": {\n "type": "boolean"\n },\n "tupleSet": {\n "type": "string"\n },\n "dataType": {\n "type": "string",\n "enum": ["DOUBLE", "INTEGER", "STRING"]\n },\n "scope": {\n "type": "string"\n },\n "usage": {\n "type": "string"\n },\n "conditions": {\n "description": "...",\n "type": "array",\n "minItems": 0,\n "items": {\n "type": "object",\n "properties": {\n "attributeUniqueNames": {\n "type": "array",\n "minItems": 1,\n "items": { "type": "string" }\n },\n "from": {\n "type": "array",\n "minItems": 1,\n "items": { "type": "string" }\n },\n "to": {\n "type": "array",\n "minItems": 1,\n "items": { "type": "string" }\n },\n "invert": {"type": "boolean"}\n }\n },\n "uniqueItems": true\n },\n "hierarchyNames": {\n "description": "...",\n "type": "array",\n "minItems": 1,\n "items": { "type": "string" },\n "uniqueItems": true\n },\n "hierarchyUniqueNames": {\n "description": "...",\n "type": "array",\n "minItems": 1,\n "items": { "type": "string" },\n "uniqueItems": true\n },\n "hierarchies": {\n "description": "...",\n "type": "array",\n "minItems": 1,\n "items": {\n "type": "object",\n "properties": {\n "hierarchyUniqueName": {"type": "string"}\n }\n }\n }\n }\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/widgetsSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018, 2020. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "widgetsSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "widget set",\n "description": "The widget of the dashboard specification, representing ...",\n "definitions": {\n "widgetData": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "itemId": { "$ref": "schemaDefs.json#/definitions/queryId" },\n "itemLabel": { "$ref": "schemaDefs.json#/definitions/name" },\n "selection": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "operation": {\n "type": "string",\n "enum": ["add", "remove", "order", "keep"]\n },\n "selectDepth": { "type": "string"},\n "set": { "$ref": "schemaDefs.json#/definitions/strArray" },\n "filter": {\n "type": "object",\n "properties": {\n "not": { "$ref": "#/definitions/filterEntry" },\n "or": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "type": { "$ref": "#/definitions/filterEntry" },\n "not": { "$ref": "#/definitions/filterEntry" }\n }\n }\n }\n }\n },\n "children": { "$ref": "schemaDefs.json#/definitions/strArray" },\n "sort": {\n "type": "object",\n "properties": {\n "type": {\n "type": "string",\n "enum": ["asc", "desc"]\n },\n "priority": { "type": "number" },\n "by": {\n "type": "string",\n "enum": ["caption"]\n }\n }\n },\n "topBottom": {\n "type": "object",\n "properties": {\n "type": {\n "type": "string",\n "enum": ["topcount", "bottomcount", "toppercent", "bottompercent"]\n },\n "value": { "type": "number" }\n }\n },\n "context": {\n "type": "array",\n "items": {\n "itemId": { "$ref": "schemaDefs.json#/definitions/id" }\n }\n }\n }\n }\n },\n "format": {\n "type": "object",\n "properties": {\n "formatSpec": {\n "type": "object",\n "properties": {\n "local": { "type": "boolean" },\n "type": {\n "type": "string",\n "enum": ["number","percent","currency"]\n },\n "timezone": { "type": "string" },\n "locale": { "type": "string" },\n "convertPercent": { "type": "boolean" },\n "currencyCode": { "type": "string" },\n "currencyDisplay": {\n "type": "string",\n "enum": ["symbol", "code"]\n },\n "maximumFractionDigits": { "type": "number" },\n "minimumFractionDigits": { "type": "number" },\n "dateStyle": {\n "type": "string",\n "enum": ["short", "medium", "full", "long"]\n\n },\n "timeStyle": {\n "type": "string",\n "enum": ["short", "full", "long"]\n }\n }\n }\n }\n },\n "aggregate": { "$ref": "#/definitions/aggregationType" }\n }\n },\n "filterEntry": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "columnId": { "$ref": "schemaDefs.json#/definitions/id" },\n "operator": { "$ref": "#/definitions/operatorType" },\n "values": { "$ref": "#/definitions/values" },\n "excludedValues": {\n "type": "array",\n "items": { "$ref": "#/definitions/values" }\n },\n "idSuffix": { "type": "integer" },\n "valueDataItem": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "aggregationType": { "$ref": "#/definitions/aggregationType" },\n "preOrPost": {\n "type": "string",\n "enum": ["pre", "post"]\n },\n "conditions": {\n "type": "object",\n "properties": {\n "operator": { "$ref": "#/definitions/operatorType" },\n "itemId": { "$ref": "schemaDefs.json#/definitions/queryId" },\n "ignoreCase": { "type": "boolean" },\n "values": { "$ref": "#/definitions/values" },\n "valueType": {\n "type": "string",\n "enum": ["display"]\n },\n "and" : {\n "type": "array",\n "minItems": 2,\n "items": {\n "operator": { "$ref": "#/definitions/operatorType" },\n "itemId": { "$ref": "schemaDefs.json#/definitions/queryId" },\n "ignoreCase": { "type": "boolean" },\n "values": { "$ref": "#/definitions/values" },\n "valueType": {\n "type": "string",\n "enum": ["display"]\n }\n }\n },\n "or" : {\n "type": "array",\n "minItems": 2,\n "items": {\n "operator": { "$ref": "#/definitions/operatorType" },\n "itemId": { "$ref": "schemaDefs.json#/definitions/queryId" },\n "ignoreCase": { "type": "boolean" },\n "values": { "$ref": "#/definitions/values" },\n "valueType": {\n "type": "string",\n "enum": ["display"]\n }\n }\n }\n }\n },\n "overrideHierarchyDefaultSelection": { "type": "boolean" },\n "visualizationId": { "$ref": "schemaDefs.json#/definitions/id" }\n }\n },\n "slotmapping": {\n "type": "object",\n "properties": {\n "slots": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "name": { "$ref": "schemaDefs.json#/definitions/name" },\n "caption": { "$ref": "schemaDefs.json#/definitions/name" },\n "id": { "$ref": "schemaDefs.json#/definitions/name" },\n "layerId": { "$ref": "schemaDefs.json#/definitions/name" },\n "dataItems": {\n "type": "array",\n "items": { "$ref": "schemaDefs.json#/definitions/modelId" }\n },\n "type": {\n "type": "string",\n "enum": ["categorical", "ordinal", "any"]\n }\n }\n }\n }\n }\n },\n "possibleKeyDrivers": {\n "type": "array",\n "items": {\n "$ref": "schemaDefs.json#/definitions/queryId"\n }\n },\n "localFilters": {\n "type": "array",\n "items": {\n "$ref": "#/definitions/filterEntry"\n }\n },\n "aggregationType": {\n "type": "string",\n "enum": ["avg", "sum", "min", "max", "count", "countdistinct"]\n },\n "operatorType": {\n "type": "string",\n "enum": ["containsignorecase", "eq", "beginswith", "endswith", "in", "notin", "between", "notbetween", "or", "not", "gt", "lt"]\n },\n "values": {\n "anyOf": [ {\n "$ref": "schemaDefs.json#/definitions/strArray"\n },\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "u": {"type": ["string", "number"] },\n "d": {"type": ["string", "number"] }\n }\n }\n } ]\n },\n "data" :{\n "type": "object",\n "properties": {\n "dataViews": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "modelRef": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "dataItems": {\n "type": "array",\n "items": { "$ref": "#/definitions/widgetData" }\n }\n }\n }\n }\n }\n }\n },\n "type": "object",\n "patternProperties": {\n "[0-9,a-z,-,_]*": {\n "type": "object",\n "allOf": [\n { "$ref": "widgetsTemplateSchema.json#/definitions/widget" },\n {\n "properties": {\n "data": { "$ref": "#/definitions/data" },\n "slotmapping": { "$ref": "#/definitions/slotmapping" },\n "possibleKeyDrivers": { "$ref": "#/definitions/possibleKeyDrivers" },\n "localFilters": { "$ref": "#/definitions/localFilters" }\n }\n }\n ]\n }\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/widgetsFragmentSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "widgetsFragmentSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "widget set",\n "description": "The widget fragment of the dashboard specification, representing ...",\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "type": {"$ref": "widgetsTemplateSchema.json#/definitions/widgetType" },\n "data": {\n "type": "object",\n "properties": {\n "dataViews": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "modelRef": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "dataItems": {\n "type": "array",\n "items": { "$ref": "widgetsSchema.json#/definitions/widgetData" }\n }\n }\n }\n }\n }\n },\n "visTypeLocked": { "$ref": "widgetsTemplateSchema.json#/definitions/visTypeLocked" },\n "slotmapping": { "$ref": "widgetsSchema.json#/definitions/slotmapping" },\n "possibleKeyDrivers": { "$ref": "widgetsSchema.json#/definitions/possibleKeyDrivers" },\n "name": { "$ref": "schemaDefs.json#/definitions/name" },\n "localFilters": { "$ref": "widgetsSchema.json#/definitions/localFilters" },\n "properties": { "$ref": "widgetsTemplateSchema.json#/definitions/properties" },\n "borderColor": { "$ref": "schemaDefs.json#/definitions/name" },\n "titleAlign": { "$ref": "widgetsTemplateSchema.json#/definitions/titleAlign" },\n "titleState": { "$ref": "schemaDefs.json#/definitions/name" },\n "content": { "$ref": "widgetsTemplateSchema.json#/definitions/content" }\n }\n }\n}\n'})),define("text!dashboard-core/js/dashboard/schema/widgetsTemplateSchema.json",[],(function(){return'{\n "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2019, 2020. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",\n "$id": "widgetsTemplateSchema.json",\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "widget set",\n "description": "The widget of the dashboard specification, representing ...",\n "definitions": {\n "visTypeLocked": { "type": "boolean" },\n "properties": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/name" },\n "value": {\n "anyOf": [\n { "type": "string" },\n { "type": "integer" },\n { "type": "boolean" },\n { "type": "null" },\n {\n "type": "object",\n "properties": {\n "r": { "type": "integer" },\n "g": { "type": "integer" },\n "b": { "type": "integer" },\n "a": { "type": "number" },\n "name": { "$ref": "schemaDefs.json#/definitions/name" },\n "caption": { "type": "string" },\n "description": {\n "type": ["null", "string"]\n }\n }\n }\n ]\n }\n }\n }\n },\n "titleAlign": {\n "type": "string",\n "enum": ["align_left", "align_center", "align_right"]\n },\n "widgetType": {\n "type": "string",\n "enum": ["live", "text", "shape", "webpage", "media", "image", "filter"]\n },\n "content": { "type": "string" },\n "widget": {\n "type": "object",\n "properties": {\n "id": { "$ref": "schemaDefs.json#/definitions/modelId" },\n "type": { "$ref": "#/definitions/widgetType" },\n "visId": { "type": "string" },\n "isResponsive": { "type" : "boolean"},\n "visTypeLocked": { "$ref": "#/definitions/visTypeLocked" },\n "properties": { "$ref": "#/definitions/properties" },\n "borderColor": { "$ref": "schemaDefs.json#/definitions/name" },\n "title": { "$ref": "schemaDefs.json#/definitions/name" },\n "titleAlign": { "$ref": "#/definitions/titleAlign" },\n "titleState": { "$ref": "schemaDefs.json#/definitions/name" },\n "titleHtml": { "$ref": "schemaDefs.json#/definitions/name" },\n "altText": { "type": "string" },\n "content": { "$ref": "#/definitions/content" },\n "imageLink": { "type": "string" },\n "fillColor" : { "type": "string" },\n "showTitle" : { "type": "boolean" },\n "placeholder": {\n "type": "object",\n "properties" : {\n "showIcon": { "type": "boolean" },\n "text": { "type": "string" }\n }\n },\n "params": {\n "type": "object",\n "properties": {\n "notebookId": {"type": "string" },\n "notebookSelectedCellIndex": {"type": "number" },\n "showTimestamp": {"type": "boolean" }\n }\n },\n "mediaLink": { "type": "string" },\n "mediaType": { "type": "string" },\n "url": { "type": "string" },\n "name": { "$ref": "schemaDefs.json#/definitions/name" }\n }\n }\n },\n "type": "object",\n "patternProperties": {\n "[0-9,a-z,-,_]*": { "$ref": "#/definitions/widget" }\n }\n}\n'})),define("dashboard-core/js/dashboard/util/DashboardSpecHelper",["underscore","../../app/util/GlassUtil","text!../schema/schemaDefs.json","text!../schema/schemaMappings.json","text!../schema/nameSchema.json","text!../schema/layoutSchema.json","text!../schema/layoutFragmentSchema.json","text!../schema/themeSchema.json","text!../schema/versionSchema.json","text!../schema/eventGroupsSchema.json","text!../schema/drillThroughSchema.json","text!../schema/propertiesSchema.json","text!../schema/pageContextSchema.json","text!../schema/widgetsSchema.json","text!../schema/widgetsFragmentSchema.json","text!../schema/widgetsTemplateSchema.json","jquery"],(function(e,t,o,i,n,a,r,s,d,c,l,u,p,h,f,g,b){return function(){function m(e){_classCallCheck(this,m),this.controller=e,this.dashboardApi=e.dashboardApi,this.glassContext=e.glassContext,this.logger=this.glassContext&&this.glassContext.getCoreSvc?this.glassContext.getCoreSvc(".Logger"):null}return m.prototype.getContents=function(e,t){var o=this,i=[],n=this.dashboardApi.getFeature("internal").getBoardModel(),a=n.version;return(t?[t]:this.dashboardApi.getCanvas().getSelectedContentList()).forEach((function(t){for(var r=t.getFeature("Models.internal").getLayoutModel(),s=r.listWidgets([r.id]),d=[],c=[],l=[],u=[],p=void 0,h=void 0,f=0;f<s.length;f++){var g=o.dashboardApi.getCanvas().getContent(s[f])||t.getContent(s[f])||t;h=g.getFeature("Models.internal").getWidgetModel();var b=o._addFilterToWidgetModel(h);e?d.push(b):"filter"!==h.type?(c.push(h),d.push(b)):p="filterWidgetCopyWarn";var m=o._getTimeLineEpisodeForPinning(n,s[f]);m&&l.push(m);var v=g.getFeature("Visualization");if(v){var y=v.getDataSource(),_=y?y.getId():null;_&&-1===u.indexOf(_)&&u.push(_)}}var C=o._getDataSources(u,n.dataSources),w={specVersion:a,layout:r,widgets:d,dataSources:C,dashboardID:"",errMsg:p,nodeCopied:!0};if(p&&(w.nodeCopied=!1),w.nonMergedWidgets=c,t.getContainer()&&(w.parentID=t.getContainer().getId()),n.drillThrough&&"function"==typeof n.drillThrough.getModels){var P=o.dashboardApi.getDashboardCoreSvc("DrillThroughService");w.drillThrough=P.getDrillThroughByWidgetAndGroups(h)}(n.properties&&n.properties.customColors&&(w.properties={customColors:{colors:n.properties.customColors.colors}}),n.fredIsRed&&(w.fredIsRed=n.fredIsRed),r.content&&r.content.properties)&&(-1!==Object.keys(r.content&&r.content.properties).indexOf("explicitScale")&&delete w.layout.content.properties.explicitScale);if(l.length>0&&(w.episodes=l),0===i.length){var j=o._getPageContext(n.pageContext);j&&j.length&&(w.pageContext=j,o.controller.layoutController.topLayoutModel.id&&(w.dashboardID=o.controller.layoutController.topLayoutModel.id))}i.push(w)})),i},m.prototype._addFilterToWidgetModel=function(e){var t=this.dashboardApi.getCanvas().getContent(e.id),o=t&&t.getFeature("Visualization.legacy");if(o){var i=b.extend(!0,{},e),n=o.getLegacyManagers().visFilterSupport.getAllFiltersAsLocalFiltersForPinning();return n&&(i.localFilters=n,delete i.filters),i}return e},m.prototype.getContentsToJSONSpec=function(t){var o={},i=void 0,n=this.getContents(!1,t),a=e.countBy(n,(function(e){return e.nodeCopied?"copied":"notCopied"}));if((n=this._removeErrorsFromSpec(n,o)).length){n[0].specVersion&&(o.specVersion=n[0].specVersion),o.layout=e.map(n,(function(e){return e.layout.toJSON()})),o.parentID=e.map(n,(function(e){return e.parentID})),o.pageContext=e.map(n[0].pageContext,(function(e){return e.toJSON()})),o.dashboardID=n[0].dashboardID,o.widgets=e.chain(n).map((function(e){return e.widgets})).flatten().map((function(e){return e.toJSON()})).value(),o.nonMergedWidgets=e.chain(n).map((function(e){return e.nonMergedWidgets})).flatten().map((function(e){return e.toJSON()})).value(),o.dataSources={},o.dataSources.version=n[0].dataSources.version,o.dataSources.sources=[];var r=[];e.each(n,(function(t){e.each(t.dataSources.sources,(function(e){var t=-1;if(o.dataSources.sources.length>0&&(t=o.dataSources.sources.findIndex((function(t){return t.id===e.id}))),t<0){var i=e.toJSON();i&&i.shaping&&i.shaping.embeddedModuleId&&(delete i.shaping.embeddedModuleId,delete i.shaping.embeddedModuleName,i.shaping.embeddedModuleUpToDate=!1),o.dataSources.sources.push(i)}})),t.drillThrough&&t.drillThrough.length&&t.drillThrough.forEach((function(t){e.find(r,(function(e){return e.id===t.id}))||r.push(t.toJSON())}))})),n[0].properties&&(o.properties=n[0].properties),n[0].fredIsRed&&(o.fredIsRed=n[0].fredIsRed),r.length&&(o.drillThrough=r);var s=e.chain(n).map((function(e){return e.episodes})).flatten().filter(Boolean).map((function(e){return e.toJSON()})).value();s.length&&(o.episodes=s)}return o&&(i=JSON.stringify(o,null,4)),{spec:i,count:a.copied,errMsg:o.errMsg}},m.prototype.validateDashboardSpec=function(o,n){var a=this;return Promise.resolve().then((function(){var r={schema:"noSchema",schemaCondition:"noSchemaCondition",schemaKeyword:"noSchemaKeyword",schemaDataPath:"noSchemaDataPath",data:"noData",msg:"noMsg"},s=void 0;try{s=JSON.parse(o)}catch(t){var d="Invalid JSON provided";if(a.logger&&a.logger.error(d,t,a),null!=n&&e.isArray(n)){var c=Object.create(r);return c.data=t,c.msg=d,n.push(c),null}throw new Error("invalidJSONResponse")}function l(t,o,i){"widget"===o&&(function(t,o){return e.find(t,(function(e){return o===e.id}))}(s.widgets,t)||i.push(t))}function u(t,o){e.each(t,(function(e){return e.items?u(e.items,o):l(e.id,e.type,o)}))}var p=[],h=!1;if(!s||void 0===Object.keys(s).length||0===Object.keys(s).length){var f="Spec is empty";if(null!=n&&e.isArray(n)){var g=Object.create(r);return g.msg=f,n.push(g),null}throw new Error(f)}return Array.isArray(s.layout)&&(h=!0),t.isDevMode(a.glassContext)?a._getAjv().then((function(t){var o=JSON.parse(i);Object.keys(s).forEach((function(e){var i=o[e];h&&"layout"===e&&(i=o.layoutFragment),h&&"widgets"===e&&(i=o.widgetsFragment);var n=s[e];if(i){var a=t.getSchema(i);a&&(a(n)||a.errors.forEach((function(e){var t=Object.create(r);t.schema=e.schemaPath,t.schemaCondition=e.parentSchema,t.schemaKeyword=e.keyword,t.schemaDataPath=e.dataPath,t.data=e.data,t.msg=e.message,p.push(t)})))}}));var d=[];if(s.widgets&&(s.layout.items?u(s.layout.items,d):u(s.layout,d),d.length)){var c=Object.create(r);c.schema="noSchema",c.schemaDataPath="noSchemaDataPath",c.schemaKeyword="noSchemaKeyword",c.data="noData",c.schemaCondition="semantic layout widget id check",c.msg="No widget objects in the specification for layout ids "+d.toString(),p.push(c)}if(p.length){if(s=null,null==n||!e.isArray(n))throw a.logger&&e.each(p,(function(e){var t=void 0;"noMsg"!==e.msg&&(t=" error: "+e.msg),"noData"!==e.data&&(t+=" data: "+e.data),"noSchema"!==e.schema&&(t+=" schema: "+e.schema),"noSchemaCondition"!==e.schemaCondition&&(t+=" schema defn: "+e.schemaCondition.$id),a.logger.error("schema validation error:",t,a)})),new Error("schema validation errors logged above");n.push(p)}return s})):s}))},m.prototype._getAjv=function(){var e=this;return this.ajv?Promise.resolve(this.ajv):new Promise((function(t,i){require(["ajv"],(function(a){try{var b=JSON.parse(o),m=JSON.parse(n),v=e._getLayoutSchema(),y=JSON.parse(r),_=JSON.parse(s),C=JSON.parse(d),w=JSON.parse(c),P=JSON.parse(l),j=JSON.parse(u),I=JSON.parse(p),x=JSON.parse(h),S=JSON.parse(f),M=JSON.parse(g);e.ajv=new a({allErrors:!0,verbose:!0,schemas:[b,m,v,y,_,C,w,P,j,I,x,S,M]}),t(e.ajv)}catch(e){i(e)}}),i)}))},m.prototype._getLayoutSchema=function(){var e=JSON.parse(a),t=this.dashboardApi.getFeature("ContentTypeRegistry"),o=e.definitions.layoutType.enum;return e.definitions.layoutType.enum=o.concat(t.getRegisteredTypes()),e},m.prototype._getDataSources=function(e,t){var o={version:"0.0",sources:[]};if(t&&"object"===(void 0===t?"undefined":_typeof(t))){o.version=t.version;var i=o.sources;e.forEach((function(e){i.push(t.get("sources").get(e))}))}return o},m.prototype._getTimeLineEpisodeForPinning=function(e,t){return e.timeline&&"function"==typeof this.controller.boardModel.timeline.get?e.timeline.episodes.get(t):null},m.prototype._getPageContext=function(t){if(t&&t.getModels().length){var o=[],i=this.controller.layoutController.getCurrentSubViewId();return e.each(t.getModels(),(function(e){e.getScope()!==i&&"global"!==e.getScope()||o.push(e)})),o}},m.prototype._removeErrorsFromSpec=function(t,o){return o.errMsg=e.first(e.compact(e.map(t,(function(e){return e.errMsg})))),o.errMsg?e.filter(t,(function(e){return void 0===e.errMsg})):t},m}()})),define("dashboard-core/js/features/dashboard/segment/api/impl/Segment",["underscore"],(function(e){var t={uploadedFile:"custom.counts.uploadedFile",module:"custom.counts.dataModule",package:"custom.counts.fmPackage"},o={data:"custom.counts.data_widget",nondata:"custom.counts.nondata_widget"};return function(){function i(e){_classCallCheck(this,i),this.dashboardApi=e.dashboardApi,this.instrumentationSvc=e.instrumentationSvc,this.logger=e.logger,this.infoCallback=void 0}return i.prototype.registerInfoCallback=function(e){this.infoCallback=e},i.prototype.unregisterInfoCallback=function(){this.infoCallback=null},i.prototype.track=function(e,t){try{var o=this.infoCallback?this.infoCallback():{},i=t?t():{};(i=_extends({},o,i)).action=e;var n=i.trackType||"application";if(delete i.trackType,this._canTrack(n)){var a=this.getInfo(i,n);a.action=e,a.milestoneName=a.milestoneName?a.milestoneName:e+"_"+a.objectType,this.instrumentationSvc.track(a)}}catch(e){this.logger.error(e)}},i.prototype._canTrack=function(e){return"application"===e||"explore"!==this.dashboardApi.getApplicationName()},i.prototype.getInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"application";return"application"===t?this._getApplicationInfo(e):this._getWidgetInfo(e,t)},i.prototype._getApplicationInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._getApplicationDetailsInfo();return _extends({type:e.type,objectType:this.dashboardApi.getApplicationName(),object:this._getBoardId()},t,e)},i.prototype._getWidgetInfo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i={};t.details&&e.each(t.details,(function(e,t){i["custom."+t]=e}));var n=_extends({type:t.type,objectType:o,category:"InProduct"},i);return t.object&&(n.object=t.object),n.milestoneName=t.action+"_"+o+"_in_"+this.dashboardApi.getApplicationName(),n},i.prototype._getBoardId=function(){return this.dashboardApi.getDashboardInfo().boardId},i.prototype._getApplicationDetailsInfo=function(){var e=this._getApplicationDataSourcesInfo(),t=this._getApplicationWidgetsInfo();return _extends({},e,t,{"custom.counts.tabs":this._getApplicationTabsCount()})},i.prototype._getApplicationDataSourcesInfo=function(){var e=this.dashboardApi.getFeature("DataSources").getDataSourceList();return i.getDataSourcesTypeCount(e)},i.prototype._getApplicationWidgetsInfo=function(){var e=this.dashboardApi.getCanvas().findContent({type:"widget"});return i.getWidgetsTypeCount(e)},i.prototype._getApplicationTabsCount=function(){return this.dashboardApi.getCanvas().findContent({type:"container"}).length},i.prototype.destroy=function(){this.dashboardApi=null,this.glassContext=null,this.instrumentationSvc=null},i.getDataSourcesTypeCount=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=e.reduce((function(e,o){var i,n=o.getType();return _extends({},e,((i={})[t[n]]=(e[t[n]]||0)+1,i))}),{});return o},i.getWidgetsTypeCount=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((function(e,t){var i,n="live"===t.getType()||"widget.live"===t.getType()?"data":"nondata";return _extends({},e,((i={})[o[n]]=(e[o[n]]||0)+1,i))}),{});return t},i}()})),define("dashboard-core/js/dashboard/glass/util/InstrumentationUtil",["../../../features/dashboard/segment/api/impl/Segment"],(function(e){return function(){function t(){_classCallCheck(this,t)}return t.track=function(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.getCoreSvc(".Instrumentation");if(n&&n.enabled){var a={},r={};if(i.sources&&i.sources.length>0){var s=i.sources.map((function(e){return e.getType?e:{getType:function(){return e.type}}}));r=e.getDataSourcesTypeCount(s)}if(i.widgets&&i.widgets.length>0){var d=i.widgets.map((function(e){return e.getType?e:{getType:function(){return e.type}}}));a=e.getWidgetsTypeCount(d)}var c=_extends({type:i.type,objectType:i.objectType,action:o,milestoneName:o+"_"+i.objectType},r,a);i.object&&(c.object=i.object),n.track(c)}},t.trackWidget=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],n=void 0,a=void 0,r=void 0;if("deleted"===e){var s=t.getCanvas(),d=s.getContent(i);if(d)if("widget.live"===d.getType()){a="data_widget";var c=t.getDashboardCoreSvc(".StringResources"),l=d.getFeature("Visualization"),u=d.getFeature("state").getError()||null,p=u?u.getParams():null,h=p?p.errorInfo:null;n=h?h.id:l.getDefinition()?l.getDefinition().getLabel():c.get("one_unknown_live")}else a="nonData_widget",n=d.getType()}else{var f=function(){return o&&o.data&&o.data.dataViews&&o.data.dataViews.length?"fromRecommendation":"manual"};"fromRecommendation"!==(r=f())&&(a="live"===o.type?"data_widget":"nonData_widget",n=o.name||o.type)}if(n){var g=function(){var o={details:{widgetType:n,assetType:t.getApplicationName()},type:"deleted"===e?"Deleted Object":"Created Object",trackType:a,widgetType:n};i&&(o.object=i);var s=t.getDashboardInfo().boardId;return s&&(o.details.assetId=s),r&&(o.widgetSource=r,o.details.widgetSource=r),o},b=t.getFeature("segment");b.track(e,g)}},t}()})),define("dashboard-core/js/features/dashboard/actions/launchExploreAction/LaunchIntoExploreHandler",["../../../../lib/@waca/core-client/js/core-client/utils/UniqueId","../../../../dashboard/util/DashboardSpecHelper","../../../../app/nls/StringResources","../../../../dashboard/glass/util/InstrumentationUtil"],(function(e,t,o,i){return function(){function n(e){_classCallCheck(this,n),this.dashboard=e.dashboard,this.controller=e.controller,this.specHelper=new t(this.controller)}return n.prototype.launchExplore=function(t){var i=this,n=e.get("explore"),a=this._createEmptyBoardSpec(),r=this._getAddOnSpec();this._track(r,t);var s=!1;return this.dashboard.getGlassSvc(".ConversionService").then((function(e){return e.convert("DASHBOARD","EXPLORE",r.spec)})).then((function(e){var o=i._getPerspectiveOptions(a,e,n,t);for(var r in o.content.openAppViewCallback=i._openAppViewCallback,o.content.addOnSpec=i._getAddOnFragment(e),o.content.addOnSpec.hasOwnProperty("isStylesStripped")&&(!0===o.content.addOnSpec.isStylesStripped&&(s=!0),delete o.content.addOnSpec.isStylesStripped),o.content.addOnSpec.widgets)o.content.addOnSpec.widgets.hasOwnProperty(r)&&(o.content.addOnSpec.widgets[r].titleMode="smartTitle");return i.dashboard.openAppView("explore",o)})).then((function(e){s&&i.dashboard.showToast(o.get("explore_remove_widget_styles"),{type:"info"}),e&&e.currentContentView&&e.currentContentView.openCardListPane&&e.currentContentView.openCardListPane()}))},n.prototype._track=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.content,n=void 0===o?{}:o;if(e.spec){var a=JSON.parse(e.spec),r={objectType:"explore"},s=void 0;n.boardId?(r.object=n.boardId,s="exportedToExistingExplore"):s="exportedToNewExplore",a.dataSources&&a.dataSources.sources&&(r.sources=a.dataSources.sources),a.widgets&&(r.widgets=a.widgets),r.type="Exported Object";var d={};this.dashboard.prepareGlassOptions(d);var c=d.glassContext;i.track(c,s,r)}},n.prototype._openAppViewCallback=function(e,t){e&&t.addFragment({model:e},{selectAfterAdd:!0})},n.prototype._getAddOnFragment=function(e){if(!e)return null;var t=JSON.parse(e);return this.preprocess(t),t},n.prototype._getPerspectiveOptions=function(e,t,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=i.content,a=JSON.parse(t);this.preprocess(a);var r=n||{boardSpec:e,isAuthoringMode:!0};return r.addOnSpec=a,{id:r.boardId||o,content:r}},n.prototype.preprocess=function(e){e&&e.layout&&"exploreContainer"===e.layout.type&&(e.layout.items.map((function(e,t){e.id=e.id+"_"+t})),e.layout=e.layout.items)},n.prototype._getAddOnSpec=function(){var e=this.controller.getSelectedNodes(),t=this.specHelper.getContentsToJSONSpec().spec;return{spec:void 0===t?null:t,count:e.length||0}},n.prototype._createEmptyBoardSpec=function(){return{name:o.get("launchNewExplore"),layout:{type:"exploreContainer",items:[]},widgets:{},_meta:{bundleID:null}}},n}()})),define("dashboard-core/js/features/dashboard/actions/launchExploreAction/LaunchIntoExploreAction",["./LaunchIntoExploreHandler","../../../../app/nls/StringResources","../../../../app/util/ErrorUtils","../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../lib/@waca/dashboard-common/dist/api/ContentActionsProviderAPI"],(function(e,t,o,i,n){var a=["new","existing"];return function(){function r(e){var t=e.features;_classCallCheck(this,r),this._dashboard=t.API,this._contentActions=t.ContentActions,this._controller=null,this._launchHandler=null,this._icons=t.Icons}return r.prototype.initialize=function(){this._contentActions.registerProvider("LaunchIntoExplore",this.getAPI())},r.prototype.getAPI=function(){return this._api||(this._api=i.createAPI(this,[n])),this._api},r.prototype.getLifeCycleHandlers=function(){return[{name:"post:dashboard.initialize",action:this.postDashboardInitialize.bind(this)}]},r.prototype.postDashboardInitialize=function(){return this._controller=this._dashboard.getFeature("InteractionController.internal"),this._launchHandler=new e({dashboard:this._dashboard,controller:this._controller}),Promise.resolve()},r.prototype.destroy=function(){},r.prototype.getContentActionList=function(e){return o.hasCapability(this._dashboard,"canUseExploration")&&0!==e.length&&this._validateWidgetTypes()&&this._dashboard.getMode()!==this._dashboard.MODES.EDIT_GROUP?[{name:"launchExplore",label:t.get("exploreData"),icon:this._icons.getIcon("explore").id,type:"NextView",order:1,viewModule:"lib/@waca/dashboard-common/dist/ui/dialogs/CommonSelectItemsDialog",viewOptions:{height:202,width:402,possibleItems:[{id:a[0],localizedString:t.get("launchNewExplore")},{id:a[1],localizedString:t.get("addToExisting")}],eventHandler:this,labelsView:t.get("exploreData")}}]:[]},r.prototype.handleSelection=function(e){e===a[1]?this._selectExistingExplore():this._launchNewExplore()},r.prototype._isCustomVisType=function(e,t){var o=e.getProperty("isSchematic"),i=e.getProperty("isCustomVis");return o||i||["visualizationPreview","com.ibm.vis.schematicsPreview"].indexOf(t)>=0},r.prototype._isInvalidWidget=function(e){if(!e)return!0;var t=e.getDefinition().getId();return"dataPlayer"===t||this._isCustomVisType(e.getDefinition(),t)},r.prototype._validateWidgetTypes=function(){var e=this,t=this._dashboard.getCanvas(),o=t?t.getSelectedContentList({type:"widget.live"}):[];return!o.some((function(t){var o=t.getFeature("Visualization");return e._isInvalidWidget(o)}))&&0!==o.length},r.prototype._filterResults=function(e){var t=this;e.data?e.data=e.data.filter((function(e){return t._hasRequiredPermissions(e)})):e.data=[]},r.prototype._hasRequiredPermissions=function(e){var t=e.permissions;return"folder"===e.type?t&&t.indexOf("read")>-1&&t.indexOf("traverse")>-1:"exploration"===e.type&&(t&&t.indexOf("read")>-1)},r.prototype._selectExistingExplore=function(){var e=this;this._dashboard.getGlassSvc(".ContentDialogFactory").then((function(o){var i={dataManipulationCallback:e._filterResults.bind(e),dialogTitle:t.get("addToExisting"),extraUrlParameters:["tags","permissions"],multiSelect:!1,onOpenCallback:e._launchExistingExplore.bind(e),primaryBtnText:t.get("addTo"),typesToOpen:["explore"]};e._dashboard.prepareGlassOptions(i),o.createOpenDialog(i).open()}))},r.prototype._launchExistingExplore=function(e){var t=e[0].id;this._launchHandler.launchExplore({content:{boardId:t,isAuthoringMode:!0,objRef:t}})},r.prototype._launchNewExplore=function(){this._launchHandler.launchExplore()},r}()})),define("dashboard-core/js/features/dashboard/actions/dockAction/DockAction",["../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../app/nls/StringResources","../../../../lib/@waca/dashboard-common/dist/api/ContentActionsProviderAPI"],(function(e,t,o){return function(){function i(e){var t=e.features;_classCallCheck(this,i),t&&(this._toolbarDock=t.ToolbarDock,this._dashboard=t.API,this._contentActions=t.ContentActions,this._dashboardState=t.DashboardState,this._icons=t.Icons)}return i.prototype.initialize=function(){this._toolbarDock&&(this._api=e.createAPI(this,[o]),this._contentActions.registerProvider("dockToolbarAction",this._api))},i.prototype.getAPI=function(){return e.createAPI(this,[o])},i.prototype._isAvailable=function(e){var t="EXPLORE"===this._dashboard.getType().toUpperCase();return e.length&&!t},i.prototype._isDisabled=function(){return this._dashboardState.getUiState().focus},i.prototype.getContentActionList=function(e){var o=void 0;if(this._isAvailable(e)){var i=void 0,n=void 0;this._toolbarDock.isContentToolbarDocked()?(i=this._icons.getIcon("undock-icon").id,n=t.get("undockToolbar")):(i=this._icons.getIcon("dock-icon").id,n=t.get("dockToolbar")),o=[{name:"dockToolbarAction",label:n,icon:i,type:"Button",disabled:this._isDisabled.bind(this),actions:{apply:function(){this._toolbarDock.toggle()}.bind(this)}}]}else o=[];return o},i}()})),define("text!dashboard-core/js/dashboard/views/templates/FilterPDFContainer.html",[],(function(){return'\n<div class="pdfFilterList" style="height:{{!it.height}}pt;">\n\t<div class="filterPDFTitle"><b>{{!it.filterTitle}}</b></div>\n\t{{~it.widgets :widget:index}}\n\t\t\t<div class="widgetText"><b>{{!it.widgetText}} {{!index+1}}</b></div>\n\t\t\t<div class="filterPDFRow">\n\t\t\t{{~widget.filters :filter}}\n\t\t\t\t<div class="filterText">{{!filter.title}} {{!filter.description}}</div>\n\t\t\t{{~}}\n\t\t</div>\n\t{{~}}\n</div>\n'})),define("dashboard-core/js/features/dashboard/print/api/PrintAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.print=function(){},e.prototype.registerContent=function(){},e}()})),define("dashboard-core/js/features/dashboard/print/api/impl/Print",["doT","jquery","../../../../../app/nls/StringResources","../../../../../lib/@waca/core-client/js/core-client/utils/BrowserUtils","../../../../../lib/@waca/core-client/js/core-client/utils/ClassFactory","text!../../../../../dashboard/views/templates/FilterPDFContainer.html","../../../../../lib/@waca/dashboard-common/dist/ui/interaction/Utils","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../PrintAPI"],(function(e,t,o,i,n,a,r,s,d){return function(){function c(e){_classCallCheck(this,c),this._dashboard=e.features.API,this.pdfSizes={Chrome:{Letter:{height:520,width:710},Legal:{height:520,width:930},A4:{height:500,width:770},Tabloid:{height:700,width:1150}},Firefox:{Letter:{height:510,width:670},Legal:{height:510,width:880},A4:{height:470,width:720},Tabloid:{height:660,width:1100}},IE:{Letter:{height:480,width:660},Legal:{height:480,width:810},A4:{height:460,width:680},Tabloid:{height:620,width:980}},Other:{Letter:{height:450,width:620},Legal:{height:450,width:820},A4:{height:440,width:670},Tabloid:{height:620,width:1030}}},this.orientation="portrait",this.pageSize="letter",this.GeneratePDFView={},this.toast={},this.layoutController={},this.tabsHidden=!1,this.contents={}}return c.prototype.getAPI=function(){return s.createAPI(this,[d])},c.prototype.registerContent=function(e,t){this.contents[e]=t},c.prototype.isItemVisible=function(){return!0},c.prototype.print=function(e,t,o){var i=this._getPageSize(o.pageSize),n=requirejs.s.contexts._.config.waitSeconds;this.context=t;var a=this._dashboard.getCanvas().getContent(e).getType();this.subAPI=this.contents[a],requirejs.config({waitSeconds:900});var r=this._dashboard.getCurrentContentView().boardController.layoutController;this.tabsHidden=r.boardModel.layout.get("hideTab");var s=t.glassContext.appController.currentAppView.getCurrentContentView().$el;return this._renderDashboard(r,s,i,o.printFilters).finally((function(){requirejs.config({waitSeconds:n})}))},c.prototype._getPageSize=function(e){var t={};if(t=i.isFirefox()?{height:this.pdfSizes.Firefox[e.pageSize].height,width:this.pdfSizes.Firefox[e.pageSize].width}:i.isChrome()?{height:this.pdfSizes.Chrome[e.pageSize].height,width:this.pdfSizes.Chrome[e.pageSize].width}:i.isIE()?{height:this.pdfSizes.IE[e.pageSize].height,width:this.pdfSizes.IE[e.pageSize].width}:{height:this.pdfSizes.Other[e.pageSize].height,width:this.pdfSizes.Other[e.pageSize].width},this.orientation=e.orientation,this.pageSize=e.pageSize,this.orientation=this.orientation.toLowerCase(),this.pageSize=this.pageSize.toLowerCase(),"portrait"===this.orientation){var o=t.height,n=t.width;t.width=o,t.height=n}return i.isSafari()&&(t.width=t.width+50),t},c.prototype._renderDashboard=function(e,i,n,a){var r=e.boardModel.layout,s=r.items,d=s.map((function(e){return e.id}));this._showToast();var c={modelIds:d,layoutType:r.type,pageElement:i[0],context:this.context,printPageSize:n};return this.subAPI.showContentsForPrint(c).then(function(){return this.tabRenderer(s,e).then(function(){var o=[];return t.each(t(i).find(".widget"),(function(e,i){o.push(t(i).attr("id"))})),this.whenWidgetsRendered(o,e)}.bind(this))}.bind(this)).then(function(){var o=[];return t.each(t(i).find(".widget"),function(e,i){t(i).has(".TiledMapBundleRenderer").length>0&&o.push(t(i).attr("id"))}.bind(this)),this.renderMapsForPrint(e,o)}.bind(this)).delay(this._getDelay(i)).then(function(){var o=[];s.forEach((function(e){o.push(e.title)}));var r=[];if(i.find(".pageTabContent").length?t.each(i.find(".pageTabContent"),function(e,t){r.push(this._getDashboardSizes(t))}.bind(this)):i.find(".pagecontainer").length?t.each(i.find(".pagecontainer"),function(e,t){r.push(this._getDashboardSizes(t))}.bind(this)):i.find(".pageabsolute").length&&t.each(i.find(".pageabsolute"),function(e,t){r.push(this._getDashboardSizes(t))}.bind(this)),a){var d=this.getFilters(e,s);this.scaleDashboard(r,o,n,d)}else this.scaleDashboard(r,o,n);return this.toast.remove(0)}.bind(this)).delay(1e3).then(function(){this.isCancelled||window.print()}.bind(this)).catch(function(){this.isCancelled||(this.isCancelled=!0,e.glassContext.appController.showToast(o.get("errorPDF"),{type:"error",preventDuplicates:!0}))}.bind(this)).finally(function(){return this.subAPI.hideContentsAfterPrint(d,i[0]).then(function(){this._removeAllPdfStyles(),this.isCancelled=!1,this.toast.remove(0)}.bind(this))}.bind(this))},c.prototype._getDashboardSizes=function(e){var o=this.findPageSize(e),i=this.subAPI.getOffScreenPageSize(e),n=i&&this._dashboard.getCanvas().findContent().length>0?i:o,a=e.id.indexOf(t(e).children().first().attr("id"))?t(e).children().first().next().attr("id"):t(e).children().first().attr("id");return{size:n,id:t(e).attr("id"),childId:a,absolute:this._checkIfPageAbsolute(e)}},c.prototype._getDelay=function(e){var o=2e3;return i.isIE()&&(o=7e3),t(e).find(".TiledMapBundleRenderer").length>0&&(o=1e4),o},c.prototype._showToast=function(){var e=this;n.loadModule("dashboard-core/js/lib/@waca/core-client/js/core-client/ui/ProgressToast").then((function(t){e.toast=new t({noHideBtn:!0}),e.toast.show(o.get("buildingPDF")),e.toast.indefinite(o.get("buildingPDF")),e.toast.onCancel((function(){e.isCancelled=!0}))}))},c.prototype.getFilters=function(e,o){var i=e.boardModel.widgetInstances,n=[];return t.each(o,function(o,a){var r=[];t.each(i,function(t,o){if("live"===o.type){var i=[];i.push(a.id);var n=a.listWidgets(i);if(this._checkIfWidgetInModel(n,o)){var s=e.getLayoutView(o.id),d=s.widgetAPI.getWidgetLocalFilters();(d=(d=d.concat(s.widgetAPI.getWidgetGlobalFilters())).concat(s.widgetAPI.getWidgetTopBottom())).length>0&&r.push({id:o.id,filters:d})}}}.bind(this)),n.push({id:a.id,widgets:r})}.bind(this)),n},c.prototype._checkIfWidgetInModel=function(e,o){var i=!1;return t.each(e,function(e,t){t===o.id&&(i=!0)}.bind(this)),i},c.prototype.createFilterContainer=function(t,i){return e.template(a)({widgets:t.widgets,widgetText:o.get("pdfWidget"),filterTitle:o.get("filtersPresentPDF"),height:i.height})},c.prototype.numberWidgets=function(e,o){t.each(o,(function(o,i){var n=o+1;t("#"+e.id).find("#"+i.id).append('<div class="widgetPDFNumber">'+n+"</div>")}))},c.prototype.renderMapsForPrint=function(e,t){return Promise.map(t,function(t){return this.isCancelled?Promise.reject():e.widgetLoader.getWidget(t).mapVizRenderForPrint()}.bind(this))},c.prototype.tabRenderer=function(e,t){return Promise.map(e,function(e){return this.isCancelled?Promise.reject():t.getLayoutViewWhenReady(e.id).then((function(e){e.onShow()}))}.bind(this))},c.prototype.whenWidgetsRendered=function(e,t){var o=Promise.map(e,function(e){if(this.isCancelled)return Promise.reject();var o=this._dashboard.getDashboardCoreSvc("widgetLoader").getWidget(e);return o&&o.resize(),o?o.whenRenderComplete():t.whenWidgetRenderComplete(e)}.bind(this));return Promise.all(o)},c.prototype._removeAllPdfStyles=function(){t(".dashboardPdf").remove(),t(".widgetPdf").remove(),t(".widgetPDFNumber").remove(),t(".pdfFilterList").remove()},c.prototype._fixWidgetsStyle=function(e,o){var i="";return t.each(t(e).find(o),(function(e,o){var n=t(o).attr("id"),a=n+" .vis-container [data-area=row] [data-node=content]",r=t(o).css(["width","height","top","left"]),s=r.width,d=r.height,c=r.top,l=r.left,u=t(o).find(".vis-container [data-area=row] [data-node=content]"),p=u&&u.css(["margin-right"]),h=p&&Math.abs(parseInt(p["margin-right"]));i=t(o).parent().hasClass("pagegroup")?i+" #"+n+"{ position: absolute !important; top: "+c+" !important; left: "+l+" !important;}":i+" #"+n+"{ width:"+s+" !important; height:"+d+" !important; top: "+c+" !important; left: "+l+" !important; position: fixed !important;}",i=u&&i+" #"+a+"{ margin-right: "+h+"px !important; }"||i})),i},c.prototype._fixWidgets=function(e){var o=this._fixWidgetsStyle(e,".widget")+this._fixWidgetsStyle(e,".page.pagegroup");t("head").append('<style class="widgetPdf" rel="stylesheet" type="text/css" media="print"> @media print {'+o+"}</style>")},c.prototype._scaleWidgets=function(e,o){var i="",n=0,a=0;t.each(t(e).find(".widget"),function(e,s){var d=r.getAngleDegree(s),c=t(s).css(["width","height","top","left"]),l=c.width,u=c.height,p=c.top,h=c.left;n=parseFloat(p)*o,a=parseFloat(h)*o,i=t(s).parent().hasClass("pagegroup")||"matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)"===t(s).css("transform")?i+" #"+t(s).attr("id")+"{ position: absolute !important}":i+" #"+t(s).attr("id")+"{ width:"+l+" !important; height:"+u+" !important; top: "+n+"px !important; left: "+a+"px !important; transform:scale("+o+") rotate("+d+"deg) !important; transform-origin: top left !important;}"}.bind(this)),t.each(t(e).find(".page.pagegroup"),function(e,s){var d=r.getAngleDegree(s),c=t(s).css(["width","height","top","left"]),l=c.width,u=c.height,p=c.top,h=c.left;n=parseFloat(p)*o,a=parseFloat(h)*o,i=t(s).parent().hasClass("pagegroup")?i+" #"+t(s).attr("id")+"{ position: absolute !important}":i+" #"+t(s).attr("id")+"{ width:"+l+" !important; height:"+u+" !important; top: "+n+"px !important; left: "+a+"px !important; transform-origin: top left !important; transform:scale("+o+") rotate("+d+"deg) !important; position: absolute !important;}"}.bind(this)),t("head").append('<style class="widgetPdf" rel="stylesheet" type="text/css" media="print"> @media print {'+i+"}</style>")},c.prototype.findPageSize=function(e){var o=e.querySelector(".pagecontainer");return{height:t(o).height(),width:t(o).width()}},c.prototype._checkIfPageAbsolute=function(e){return!!t(e).find(".pageabsolute").length},c.prototype.scaleDashboard=function(e,o,n,a){var r=0;t.each(e,function(e,s){r=this.scalePageSizes(n,s);var d=t("#"+s.id);if(i.isIE()||d.hasClass("pagecontainer")||d.hasClass("pageabsolute")?this._scaleWidgets(t("#"+s.id),r):this._fixWidgets(t("#"+s.id)),o?this.appendPrintStyles(r,s,o[e],n):this.appendPrintStyles(r,s,o,n),a&&a[e].widgets.length>0){var c=this.createFilterContainer(a[e],n);t("#"+s.id).after(c),this.numberWidgets(s,a[e].widgets)}}.bind(this))},c.prototype.appendPrintStyles=function(e,o,n,a){var r="";e>1?(n&&!this.tabsHidden&&(-1!==n.toString().indexOf("\\")&&(n=n.toString().replace(/\\/g,"\\\\")),-1!==n.toString().indexOf('"')&&(n=n.toString().replace(/"/g,'\\"')),r=r+"#"+o.id+'::before{content:"'+n+'"; display: block; display: block; margin-left: -12px; margin-top: -2px; padding-left: 12px; width:'+t("#page1_tab").width()+"px; background: white;} #"+o.id+"{ width: "+a.width+"pt; height: "+a.height+"pt;}"),r=(r=r+" #"+o.id+"{ width: "+a.width+"pt; height: "+a.height+"pt;}")+" #"+o.id+"{ page-break-after: always !important; page-break-inside: avoid !important;-webkit-column-break-inside: avoid !important; break-inside: avoid !important; display: flex !important; flex-direction: column;\t\t\t\t\tvertical-align: top !important;}"):(n&&!this.tabsHidden&&(r=r+"#"+o.id+'::before{content:"'+n+'"; display: block; margin-left: -12px; margin-top:-2px; padding-left: 12px; width:'+t("#page1_tab").width()+"px; background: white;}"),r=r+" #"+o.id+"{ width: "+a.width+"pt; height: "+a.height+"pt;}",r=i.isIE()?r+" #"+o.id+"{ page-break-after: always !important; -webkit-column-break-inside: avoid !important; break-inside: avoid !important; page-break-inside: avoid; display: flex !important; flex-direction: column; vertical-align: top !important; overflow: visible !important;} #"+o.childId+"{display: block !important; position:relative !important z-index:10; visibility: visible; overflow: visible !important;}":r+" #"+o.id+"{ page-break-after: always !important; -webkit-column-break-inside: avoid !important; break-inside: avoid !important; page-break-inside: avoid; display: flex !important; flex-direction: column; vertical-align: top !important; overflow: visible !important;} #"+o.childId+"{width: "+o.size.width+"px; height: "+o.size.height+"px; transform:scale("+e+") !important; transform-origin: 0 0 !important; display: block !important; position:relative !important; z-index:10; visibility: visible; overflow: visible !important;}"),t("head").append('<style class="dashboardPdf" rel="stylesheet" type="text/css" media="print"> @media print { @page { size: '+this.pageSize+" "+this.orientation+";}"+r+" } </style>")},c.prototype.scalePageSizes=function(e,t){var o,i,n=.75*t.size.width,a=.75*t.size.height;return(o=e.width/n)<(i=e.height/a)?o:i},c}()})),define("dashboard-core/js/features/dashboard/dashboardPrint/api/AssetPrintAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.showContentsForPrint=function(){},e.prototype.hideContentsAfterPrint=function(){},e.prototype.getOffScreenPageSize=function(){},e}()})),define("dashboard-core/js/features/dashboard/dashboardPrint/api/impl/DashboardPrint",["jquery","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../AssetPrintAPI"],(function(e,t,o){return function(){function i(){_classCallCheck(this,i)}return i.prototype.getAPI=function(){return t.createAPI(this,[o])},i.prototype.showContentsForPrint=function(t){var o=this;this.blocker=e("<div>",{class:"printBlocker"});var i=t.pageElement;e(i).append(this.blocker),e(i).find(".tabPageHolder").css("display","block");var n="tab"===t.layoutType,a=e(i).find(".tabPageHolder");return n&&(this.originalParentMap={}),e.each(t.modelIds,(function(t,r){var s=e(i).find("#"+r+"_tab");s.hasClass("selected")||(s.css("display","inline-block"),s.css("z-index",-1)),n&&(o.originalParentMap[r]=s.parent(),a.append(s))})),Promise.resolve()},i.prototype.hideContentsAfterPrint=function(t,o){var i=this;e(o).find(".tabPageHolder").css("display","");var n=!!this.originalParentMap;return e.each(t,(function(t,a){var r=e(o).find("#"+a+"_tab");r.hasClass("selected")||(r.css("display",""),r.css("z-index","")),n&&i.originalParentMap[a].append(r)})),this.originalParentMap=null,this.blocker&&(this.blocker.remove(),this.blocker=null),Promise.resolve()},i.prototype.getOffScreenPageSize=function(t){var o=0,i=0;return e.each(e(t).find(".widget"),function(t,n){var a=e(n).position().left,r=e(n).position().top;a+e(n).outerWidth()>o&&(o=a+e(n).outerWidth()),r+e(n).outerHeight()>i&&(i=r+e(n).outerHeight())}.bind(this)),{width:o,height:i}},i}()})),define("dashboard-core/js/features/dashboard/contentFactory/api/ContentFactoryAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.addModel=function(){},e.prototype.createContent=function(){},e.prototype.registerProvider=function(){},e}()})),define("dashboard-core/js/features/dashboard/contentFactory/api/impl/ContentFactory",["../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../ContentFactoryAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._providers=[]}return o.prototype.getAPI=function(){return e.createAPI(this,[t])},o.prototype.registerProvider=function(e){this._providers.push(e)},o.prototype._searchProviders=function(e){return this._providers.find((function(t){return-1!==t.getTypeList().indexOf(e)}))},o.prototype.addModel=function(e){var t=this._searchProviders(e.type)||this._searchProviders();return t.addModel.apply(t,arguments)},o.prototype.createContent=function(e){var t=this._searchProviders(e.type)||this._searchProviders();return t.createContent.apply(t,arguments)},o}()})),define("dashboard-core/js/features/dashboard/propertyCallbacks/DomainValidator",[],(function(){return function(){function e(t){_classCallCheck(this,e),this._validDomainListInitialized=!1,this._validDomainList=null,this._validDomains="",this.init(t)}return e.prototype.init=function(e){var t=this;this._validDomainListInitialized=!0,e&&"myDefault"!==e&&(this._validDomains=e,this._validDomainList=[],e.toLowerCase().split(",").forEach((function(e){var o=e.trim().split(":"),i=o[0],n=!1,a=!1;0===i.indexOf("*.")?(n=!0,a=!0,i=i.substring(2)):0===i.indexOf(".")&&(a=!0,i=i.substring(1)),t._validDomainList.push({hostname:i,port:o[1],allowFirstSubDomain:a,allowAllSubDomains:n})})))},e.prototype.isAllowedDomain=function(e){if(!e||!this._validDomainListInitialized)return!1;if(!this._validDomainList)return!0;var t,o=e.toLowerCase()+"/",i=void 0,n=void 0;return-1!==o.indexOf("://")?(-1!==(o=(o=o.substring(o.indexOf("://")+3)).substring(0,o.indexOf("/"))).indexOf("@")&&(o=o.substring(o.indexOf("@")+1)),o=o.split(":"),i=o[0],n=o[1]):(i=window.location.hostname,n=window.location.port),t=!!n,!!this._validDomainList.find((function(e){if(e.port&&(!t||e.port!==n))return!1;if(e.hostname===i)return!0;if(e.allowFirstSubDomain){var o="."+e.hostname;return i.substring(i.length-o.length,i.length)===o&&(!!e.allowAllSubDomains||-1===i.substring(0,i.length-o.length).indexOf("."))}return!1}))},e.prototype.getAllowedDomains=function(){return this._validDomains},e.prototype.isAllowedProtocol=function(e){return!!e&&(0===(e=e.toLowerCase()).indexOf("https://")||0===e.indexOf("//"))},e}()})),define("dashboard-core/js/dashboard/widgets/staticwidget/media/MediaBase",[],(function(){return function(){function e(t,o){_classCallCheck(this,e),this.url=t,this.type=o}return e.prototype.getDimensions=function(){return null},e.prototype.getMarkup=function(){return""},e.prototype.markupLoaded=function(e,t){"authoring"===t?this.showAuthoringMode():this.showConsumeMode()},e.prototype.showAuthoringMode=function(){},e.prototype.showConsumeMode=function(){},e}()})),define("text!dashboard-core/js/dashboard/widgets/staticwidget/media/Media.html",[],(function(){return'<div class="staticContent mediaContainer mediaWidgetContent consume">\n\t{{=it.mediaMarkup}}\n</div>'})),define("dashboard-core/js/dashboard/widgets/staticwidget/media/EmbedMedia",["underscore","doT","./MediaBase","text!./Media.html"],(function(e,t,o,i){var n=t.template(i);return function(o){function i(e,n,a,r){_classCallCheck(this,i);var s=_possibleConstructorReturn(this,o.apply(this,arguments));return s.videoTemplate=t.template(a),s.extraTemplateArguments=r||{},s}return _inherits(i,o),i.prototype.getDimensions=function(){return Promise.resolve(null)},i.prototype.getMarkup=function(t){return e.extend(t,this.extraTemplateArguments,{url:this.url}),n({mediaMarkup:this.videoTemplate(t)})},i.prototype.markupLoaded=function(e){var t;this.$el=e,(t=o.prototype.markupLoaded).call.apply(t,[this].concat(Array.prototype.slice.call(arguments)))},i.prototype.showAuthoringMode=function(){var e=this.$el.find("iframe.youtubePlayer, video, audio");if(e[0])switch(e[0].tagName){case"IFRAME":e[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");break;case"VIDEO":case"AUDIO":e[0].pause()}var t=this.$el.find(".mediaContainer");t.removeClass("consume"),t.addClass("authoring")},i.prototype.showConsumeMode=function(){var e=this.$el.find(".mediaContainer");e.removeClass("authoring"),e.addClass("consume")},i}(o)})),define("text!dashboard-core/js/dashboard/widgets/staticwidget/media/YoutubeVideo.html",[],(function(){return'<div class="placeholder youtubePlaceholder authoringShow"style="background-image:url(\'http://img.youtube.com/vi/{{!it.youtubeId}}/0.jpg\');"></div>\n<iframe {{? it.title }}aria-label="{{!it.title}}" {{?}}class="youtubePlayer authoringHide" src="//www.youtube.com/embed/{{!it.youtubeId}}?cc_load_policy=1&fs=0&html5=1&iv_load_policy=3&modestbranding=1&rel=0&enablejsapi=1" frameborder="0"></iframe>\n'})),define("dashboard-core/js/dashboard/widgets/staticwidget/media/YoutubeVideoLoader",["./EmbedMedia","text!./YoutubeVideo.html"],(function(e,t){var o=[/.*\.youtube\.com\/watch\?v=([A-Za-z0-9-_]+).*/,/.*\/youtu\.be\/([A-Za-z0-9-_]+).*/,/.*\.youtube\.com\/embed\/([A-Za-z0-9-_]+).*/];return function(){function i(e){_classCallCheck(this,i),this.type=e}return i.prototype.tryToLoad=function(i){var n=function(e){for(var t=void 0,i=0;i<o.length;i++)if(t=o[i].exec(e))return t[1];return null}(i);return n&&new e(i,this.type,t,{youtubeId:n})},i}()})),define("text!dashboard-core/js/dashboard/widgets/staticwidget/media/Mp4Video.html",[],(function(){return'<div class="placeholder videoPlaceholder authoringShow"></div>\n<video class="authoringHide" height="100%" width="100%" controls{{? it.title }} aria-label="{{!it.title}}"{{?}}><source src="{{=it.url}}" type="video/mp4"></video>\n'})),define("text!dashboard-core/js/dashboard/widgets/staticwidget/media/Audio.html",[],(function(){return'<div class="placeholder audioPlaceholder authoringShow"></div>\n<audio class="authoringHide" height="100%" width="100%" controls{{? it.title }} aria-label="{{!it.title}}"{{?}}><source src="{{=it.url}}" type="audio/{{=it.type}}"></audio>\n'})),define("dashboard-core/js/dashboard/widgets/staticwidget/media/EmbedMediaLoader",["./EmbedMedia","text!./Mp4Video.html","text!./Audio.html"],(function(e,t,o){return function(){function i(e){_classCallCheck(this,i),this.type=e}return i.prototype.tryToLoad=function(i){var n=function(e){var t=e.lastIndexOf(".");return t>=0?e.substring(t+1).toLowerCase():""}(i),a=null;switch(n){case"mp4":a=new e(i,this.type,t);break;case"mp3":case"aac":a=new e(i,this.type,o,{type:n});break;case"m4a":a=new e(i,this.type,o,{type:"mp4"})}return a},i}()})),define("dashboard-core/js/dashboard/widgets/staticwidget/media/MediaResolver",["underscore","./YoutubeVideoLoader","./EmbedMediaLoader"],(function(e,t,o){var i=[new t("youtube"),new o("embedMedia")],n={};return e.each(i,(function(e){n[e.type]=e})),function(){function t(){_classCallCheck(this,t)}return t.loadFromUrl=function(t){var o=null;return e.find(i,(function(e){return o=e.tryToLoad(t)})),o},t.loadFromModel=function(e){return e.mediaType&&n[e.mediaType]?n[e.mediaType].tryToLoad(e.mediaLink):t.loadFromUrl(e.mediaLink)},t}()})),define("dashboard-core/js/features/dashboard/propertyCallbacks/PropertyCallbacks",["../../../app/nls/StringResources","./DomainValidator","../../../dashboard/widgets/staticwidget/media/MediaResolver"],(function(e,t,o){return function(){function i(e){_classCallCheck(this,i),this._features=e.features}return i.prototype.getAPI=function(){return this},i.prototype.setProperties=function(e,t){var o=this._features.Transaction,i=o.startTransaction();Object.keys(t).forEach((function(o){var n=t[o];e.setPropertyValue(o,n,i)})),o.endTransaction(i)},i.prototype.validateImageInput=function(t,o){var i={isValid:!0};if(/(^https?:\/\/.+\.(jpeg|jpg|gif|png)$)|(^data:image\/(jpeg|jpg|gif|png);)|(^v[1-9]\/ext\/.+\.(jpeg|jpg|gif|png))/i.test(o)){var n=this._getDomainValidator();n.isAllowedDomain(o)||/(^data:image\/(jpeg|jpg|gif|png);)|(^v[1-9]\/ext\/.+\.(jpeg|jpg|gif|png))/i.test(o)||(i.message=e.get("imgUrlInvalidDomainError",{domains:n.getAllowedDomains()}),i.isValid=!1)}else i.message=e.get("imgUrlValidationError"),i.isValid=!1;return i},i.prototype.validateWebpageLink=function(t,o){var i={isValid:!0};if(o){var n=this._getDomainValidator();n.isAllowedProtocol(o)?n.isAllowedDomain(o)||(i.message=e.get("webpageInvalidDomainError",{domains:n.getAllowedDomains()}),i.isValid=!1):(i.message=e.get("webpageHttpValidationError"),i.isValid=!1)}else i.message=e.get("webpageMissingUrl"),i.isValid=!1;return i},i.prototype.validateMediaInput=function(t,i){var n={isValid:!0};if(i){var a=this._getDomainValidator();if(a.isAllowedProtocol(i))if(a.isAllowedDomain(i)){var r=o.loadFromUrl(i);r?n.media=r:(n.message=e.get("mediaUnknownValidationError"),n.isValid=!1)}else n.message=e.get("mediaInvalidDomainError",{domains:a.getAllowedDomains()}),n.isValid=!1;else n.message=e.get("mediaHttpValidationError"),n.isValid=!1}else n.message=e.get("mediaUrlValidationError"),n.isValid=!1;return n},i.prototype._getDomainValidator=function(){if(!this._domainValidator){var e=this._features.UserProfile.getValidDomainList();this._domainValidator=new t(e)}return this._domainValidator},i}()})),define("dashboard-core/js/features/dashboard/serializer/SerializerAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.toJSON=function(){},e}()})),define("dashboard-core/js/dashboard/layouts/SinglePageLayout",[],(function(){return{layout:{type:"genericPage",layoutPositioning:"relative",pageSize:{width:1280,height:720},showGrid:!0,snapGrid:!0,snapObjects:!0}}})),define("dashboard-core/js/dashboard/layouts/TabLayout",["../../app/nls/StringResources"],(function(e){return{layout:{type:"tab",layoutPositioning:"relative",items:[{type:"absolute",title:e.get("defaultTabTitle",{index:1})}],style:{height:"100%"},pageSize:{width:1280,height:720},showGrid:!0,snapGrid:!0,snapObjects:!0}}})),define("text!dashboard-core/js/dashboard/layout/templates/Template1.json",[],(function(){return'{\n\t"type": "container",\n\t"templateName": "Template1",\n\t"items": [\n\t\t{\n\t\t\t"type": "genericPage",\n\t\t\t"layoutPositioning": "relative",\n\t\t\t"css": "templateBox aspectRatio_default",\n\t\t\t"items": [\n\t\t\t\t{\n\t\t\t\t\t"type": "templateIndicator",\n\t\t\t\t\t"style": {\n\t\t\t\t\t\t"top": "0%",\n\t\t\t\t\t\t"left": "0%",\n\t\t\t\t\t\t"right": "0%",\n\t\t\t\t\t\t"bottom": "0%"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n'})),define("dashboard-core/js/features/dashboard/serializer/Serializer",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./SerializerAPI","../../../dashboard/layouts/SinglePageLayout","../../../dashboard/layouts/TabLayout","../../../dashboard/model/ModelUtils","text!../../../dashboard/layout/templates/Template1.json","../../../app/nls/StringResources"],(function(e,t,o,i,n,a,r){return function(){function s(o){var i=o.features;_classCallCheck(this,s),this._boardModel=i.internal.getBoardModel(),this._dashboard=i.API,this._api=e.createAPI(this,[t])}return s.prototype.getAPI=function(){return this._api},s.prototype.destroy=function(){delete this._boardModel,delete this._dashboard,delete this._api},s.prototype.toJSON=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.contentIds,o=e.dashboardFeatures,i=void 0;if(t&&Array.isArray(t)&&t.length>0)i=this._buildDashboardSpecForContents(t);else{var a=this._dashboard.getFeature("Canvas");i=a?this._boardModel.toJSON():this._boardModel.getInitialSpec()}return n.pullPropertiesFromContentModelSpec(i),o&&Array.isArray(o)&&o.length>0&&i.features&&Object.keys(i.features).forEach((function(e){-1===o.indexOf(e)&&delete i.features[e]})),i},s.prototype._buildDashboardSpecForContents=function(e){e=e.filter((function(t,o){return e.indexOf(t)===o}));var t=this._dashboard.getFeature("Canvas"),n=e.map((function(e){var o=t.getContent(e);if(!o)throw new Error("Cannot get the content by id "+e);return o})),s=n[0].getContainer();if(!s||"genericPage"!==s.getType())throw new Error("the list of contents must be the children of genericPage");for(var d=1;d<n.length;d++){if((n[d].getContainer()?n[d].getContainer().getId():null)!==s.getId())throw new Error("the list of contents must have same parent")}var c={version:this._boardModel.version,content:this._boardModel.getContentModel().toJSON()},l=JSON.parse(a),u=l.items[0];if(u.items=u.items.concat(n.map((function(e){return e.getFeature("Serializer").toJSON()}))),"tab"===this._boardModel.layout.type){var p=JSON.parse(JSON.stringify(i.layout));p.items=[_extends({},l,{title:r.get("defaultTabTitle",{index:1})})],c.layout=p}else c.layout=_extends({},JSON.parse(JSON.stringify(o.layout)),l);return c},s}()})),define("dashboard-core/js/features/dashboard/notification/api/NotificationAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.setMessage=function(){},e}()})),define("dashboard-core/js/features/dashboard/notification/Notification",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./api/NotificationAPI"],(function(e,t){return function(){function o(i){_classCallCheck(this,o),this.dashboard=i.features.API,this._api=e.createAPI(this,[t])}return o.prototype.getAPI=function(){return this._api},o.prototype.setMessage=function(e){this.dashboard.showToast(e)},o}()})),define("dashboard-core/js/features/dashboard/dashboardProperties/DashboardInternalProperties",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI"],(function(e,t){return function(){function o(i){var n=i.features,a=i.options;_classCallCheck(this,o),this._api=e.createAPI(this,[t]),this._templateCollection=a.templateCollection||[],n.Properties.registerProvider(this.getAPI())}return o.prototype.getAPI=function(){return this._api},o.prototype.getPropertyLayoutList=function(){return[]},o.prototype.getPropertyList=function(){var e=this;return[{id:"excludedTemplates",getPropertyValue:function(){return e._getExcludedTemplatesFromCollections()},setPropertyValue:function(){throw new Error("not supported")}}]},o.prototype._getExcludedTemplatesFromCollections=function(){var e=[];return this._templateCollection.find((function(t){"tab"===t.dataId&&Array.isArray(t.excludedTemplates)&&(e=e.concat(t.excludedTemplates))})),e},o}()})),define("dashboard-core/js/features/dashboard/contentTypeRegistry/api/ContentTypeRegistryAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getRegisteredTypes=function(){},e.prototype.getContentFeatures=function(){},e.prototype.getExposedContents=function(){},e.prototype.isTypeRegistered=function(){},e.prototype.processFeatureCollection=function(){},e}()})),define("dashboard-core/js/features/dashboard/contentTypeRegistry/api/impl/ContentTypeRegistry",["../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../ContentTypeRegistryAPI"],(function(e,t){var o=["LayoutPropertiesProvider"],i={title:["TextEditor"]};return function(){function n(o){var i=o.options;_classCallCheck(this,n),this._api=e.createAPI(this,[t]),this._contentTypes=i||[],this._contentFeatures=[]}return n.prototype.initialize=function(){var e=this;this._contentFeatures=[],this._contentTypes.forEach((function(t){t.type&&((t.propertyList||t.propertyLayoutList)&&e._contentFeatures.push({name:"ContentRegistry.internal."+t.type+"Properties",class:"dashboard-core/js/features/content/contentProperties/ContentPropertiesProvider",options:{propertyLayoutList:t.propertyLayoutList,propertyList:t.propertyList},dependencies:["Properties"],types:[t.type]}),e._contentFeatures.push({name:"ContentRegistry.internal."+t.type+"Capabilities",class:"dashboard-core/js/features/content/contentCapabilities/ContentCapabilities",options:t.capabilities||{},types:[t.type]}),t.renderer&&t.renderer.class&&e._contentFeatures.push({name:"renderer",class:t.renderer.class,types:[t.type],dependencies:t.renderer.dependencies||[]}))}))},n.prototype.destroy=function(){this._api=null,this._contentTypes=[],this._contentFeatures=[]},n.prototype.getAPI=function(){return this._api},n.prototype.getContentFeatures=function(){return this._contentFeatures},n.prototype.getExposedContents=function(){return this._contentTypes.filter((function(e){return e.expose})).map((function(e){return e.title=e.name||e.type,e.defaultSpec={spec:{name:e.title,type:e.type}},e}))},n.prototype.isTypeRegistered=function(e){return!!this._contentTypes.find((function(t){return t.type===e}))},n.prototype.getRegisteredTypes=function(){var e=[];return this._contentTypes.forEach((function(t){t.type&&e.push(t.type)})),e},n.prototype._getFeatureDependencies=function(e){var t=[],o=e.capabilities||{};return Object.keys(o).forEach((function(e){var n=o[e],a=i[e];n&&a&&a.forEach((function(e){-1===t.indexOf(e)&&t.push(e)}))})),t},n.prototype.processFeatureCollection=function(e){var t=this,i=e.concat(this._contentFeatures);return this._contentTypes.forEach((function(e){var n=o;e.type&&(n=n.concat(e.features||[]).concat(t._getFeatureDependencies(e))),n.forEach((function(t){var o=i.find((function(e){return e.name===t}));o&&o.types&&(o.types=[].concat(o.types,[e.type]))}))})),i},n}()})),define("dashboard-core/js/canvas/ContentAPISpec",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getAPISpec=function(){var e=this;return this.apiSpec||(this.apiSpec={name:"content API",events:{propagationInfo:{namespace:"content",info:{contentId:this.getId()},callStack:{name:"getContent",params:[this.getId()]}},actions:{addContent:{eventName:"child",type:"add",isResolvePostResponse:!0,transactionAPI:this.transaction,transactionParamIndex:1,autoCreateTransaction:!0,getInfo:function(e,t){return{value:e[0],newContentId:t.getId(),parentId:t.getContainer().getId(),supportsUndoRedo:!0}},getAction:function(e,t){var o=JSON.parse(JSON.stringify(e[0]));return o.spec&&(o.spec=t.getFeature("Serializer").toJSON()),o.modelIdsValid=!0,{name:"addContent",params:[o]}},getUndoActions:function(e,t){return[{name:"removeContent",params:t?[t.getId()]:[]}]}},removeContent:{eventName:"child",type:"remove",isResolvePostResponse:!1,transactionParamIndex:1,transactionAPI:this.transaction,autoCreateTransaction:!0,getInfo:function(e){return{value:e[0],supportsUndoRedo:!0}},getUndoActions:function(t){var o=e.dashboardFeatures.getFeature("API").getCanvas().getContent(t[0]);if(o){var i={containerId:o.getContainer().getId(),spec:o.getFeature("Serializer").toJSON(),modelIdsValid:!0},n=e.getContentPosition(t[0]);return-1!==n&&(i.position=n),[{name:"addContent",params:[i]}]}return[]}},setPropertyValue:{eventName:"property",getEventName:function(e){return"property:"+e[0]},getInfo:function(t){var o={name:t[0],value:t[1],supportsUndoRedo:!0};t[2]&&(o.options=JSON.parse(JSON.stringify(t[2])));var i=e.getPropertyList().find((function(e){return e.id===t[0]}));return i&&(i.onPropertyChange&&i.onPropertyChange.refresh?o.refresh=i.onPropertyChange.refresh:o.refresh={}),o},getUndoActions:function(t){return[{params:[t[0],e.getPropertyValue(t[0])]}]}}}}}),this.apiSpec},e}()})),define("dashboard-core/js/api/ContentAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getId=function(){},e.prototype.getType=function(){},e.prototype.getPropertyLayoutList=function(){},e.prototype.getPropertyNameList=function(){},e.prototype.getPropertyList=function(){},e.prototype.setPropertyValue=function(){},e.prototype.getPropertyValue=function(){},e.prototype.getFeature=function(){},e.prototype.setFeatureEnabled=function(){},e.prototype.on=function(){},e.prototype.off=function(){},e.prototype.getContent=function(){},e.prototype.findContent=function(){},e.prototype.getContainer=function(){},e.prototype.getChildren=function(){},e.prototype.addContent=function(){},e.prototype.removeContent=function(){},e}()})),define("dashboard-core/js/features/content/state/StateAPI",[],(function(){var e=function(){function e(){_classCallCheck(this,e)}return e.prototype.getStatus=function(){},e.prototype.whenStatusChanges=function(){},e.prototype.getError=function(){},e.prototype.onChangeError=function(){},e}();return e.STATUS={CREATED:"created",INITIALIZED:"init",RENDERING:"rendering",RENDERED:"rendered"},e})),define("dashboard-core/js/features/content/state/PrivateStateAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.setStatus=function(){},e.prototype.setError=function(){},e.prototype.clearError=function(){},e}()})),define("dashboard-core/js/features/content/state/impl/StateAPISpec",["../../../../api/DashboardAPI","../../../../lib/@waca/dashboard-common/dist/api/impl/CallbackInvoker"],(function(e,t){return function(e){function t(o){return _classCallCheck(this,t),_possibleConstructorReturn(this,e.call(this,o))}return _inherits(t,e),t.prototype.getAPISpec=function(){return this.apiSpec||(this.apiSpec={name:"State API",events:{actions:{setStatus:{eventName:"status"},setError:{eventName:"error"}}}}),this.apiSpec},t}(t)})),define("dashboard-core/js/features/content/state/impl/StateImpl",["underscore","../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../lib/@waca/dashboard-common/dist/api/Error","../StateAPI","../PrivateStateAPI","./StateAPISpec"],(function(e,t,o,i,n,a){var r=function(a){function r(e){_classCallCheck(this,r);var o=_possibleConstructorReturn(this,a.call(this,e));return o._pendingStatusMap={},o._status=i.STATUS.CREATED,o._error=void 0,o._api=t.createAPI(o,[i]),o._privateApi=t.createAPI(o,[i,n]),o._statusCountTracker={},o}return _inherits(r,a),r.prototype.getAPI=function(e){return"internal"===e?this._privateApi:this._api},r.prototype.destroy=function(){this._api=null},r.prototype._isValidStatus=function(t){return e.values(i.STATUS).indexOf(t)>-1},r.prototype.getStatus=function(){return this._status},r.prototype.setStatus=function(t){if(!this._isValidStatus(t))throw new Error("Invalid status: "+t);if(this._status=t,this._statusCountTracker[t]?this._statusCountTracker[t]++:this._statusCountTracker[t]=1,e.isArray(this._pendingStatusMap[t]))for(;this._pendingStatusMap[t].length>0;)this._pendingStatusMap[t][0].resolve(this._getResolveState(t)),this._pendingStatusMap[t].splice(0,1)},r.prototype._getResolveState=function(e){return{status:e,count:this._statusCountTracker[e]}},r.prototype.whenStatusChanges=function(e){var t=this;if(!this._isValidStatus(e))throw new Error("Invalid status: "+e);return e===this._status?Promise.resolve(this._getResolveState(e)):(this._pendingStatusMap[e]||(this._pendingStatusMap[e]=[]),new Promise((function(o,i){t._pendingStatusMap[e].push({resolve:o,reject:i})})))},r.prototype.getError=function(){return this._error},r.prototype.setError=function(e){null==e||e instanceof o||(e=new o(e)),this._error=e,this.invokeCallbacks(r.ON_CHANGE_ERROR,e)},r.prototype.clearError=function(){this.setError()},r.prototype.onChangeError=function(e){this.registerCallback(r.ON_CHANGE_ERROR,e)},r}(a);return r.ON_CHANGE_ERROR="onChangeError",r})),define("dashboard-core/js/features/content/internalModels/api/InternalModelsAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getWidgetModel=function(){},e.prototype.getLayoutModel=function(){},e.prototype.toJSON=function(){},e}()})),define("dashboard-core/js/features/content/internalModels/InternalModels",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./api/InternalModelsAPI"],(function(e,t){return function(){function o(i){var n=i.widgetModel,a=i.layoutModel;_classCallCheck(this,o),this.widgetModel=n,this.layoutModel=a,this._api=e.createAPI(this,[t])}return o.prototype.getAPI=function(){return this._api},o.prototype.getWidgetModel=function(){return this.widgetModel},o.prototype.getLayoutModel=function(){return this.layoutModel},o.prototype.toJSON=function(){if(this.widgetModel)return this.widgetModel.toJSON()},o}()})),define("dashboard-core/js/features/content/contentFilter/api/ContentFilterAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.registerProvider=function(){},e.prototype.match=function(){},e}()})),define("dashboard-core/js/features/content/contentFilter/ContentFilter",["underscore","./api/ContentFilterAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory"],(function(e,t,o){return function(){function e(i){_classCallCheck(this,e),this.content=i.content,this.logger=i.logger||console,this._api=o.createAPI(this,[t]),this._providers={type:{match:function(e){var t=e.selector,o=e.layout;return!!t.type&&(o&&o.type===t.type||this.content.getType()===t.type)}.bind(this)}}}return e.prototype.getAPI=function(){return this._api},e.prototype.registerProvider=function(e,t){this._providers[e]=t},e.prototype.match=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;for(var o in e.selector)try{if(!this._providers[o]||!this._providers[o].match(e)){t=!1;break}t=!0}catch(e){this.logger.error(e)}return t},e}()})),define("dashboard-core/js/features/content/serializer/Serializer",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../dashboard/serializer/SerializerAPI","../../../dashboard/model/ModelUtils"],(function(e,t,o){return function(){function i(o){var n=o.layoutModel,a=o.content,r=o.logger;_classCallCheck(this,i),this._layoutModel=n,this._content=a,this._logger=r,this._api=e.createAPI(this,[t])}return i.prototype.getAPI=function(){return this._api},i.prototype.destroy=function(){delete this._layoutModel,delete this._content,delete this._api},i.prototype.toJSON=function(){var e=this,t=this._layoutModel.toJSON(null,["items"]),i=this._layoutModel.items;return i&&(t.items=[],i.forEach((function(o){var i=e._content.getContent(o.id);i?t.items.push(i.getFeature("Serializer").toJSON()):e._logger.log("Cannot get the child content")}))),o.pullPropertiesFromContentModelSpec(t),t},i}()})),define("dashboard-core/js/canvas/Content",["underscore","../lib/@waca/dashboard-common/dist/core/APIFactory","./ContentAPISpec","../api/ContentAPI","../features/FeatureLoader","../dashboard/util/PropertyLayoutHelper","../features/content/state/impl/StateImpl","../features/content/internalModels/InternalModels","../features/content/contentFilter/ContentFilter","../features/content/serializer/Serializer","../dashboard/util/DashboardSpecHelper"],(function(e,t,o,i,n,a,r,s,d,c,l){return function(o){function u(e){_classCallCheck(this,u);var t=_possibleConstructorReturn(this,o.call(this));t.boardModel=e.boardModel,t.layoutModel=e.layoutModel,t.profile=e.profile,t.creationTransctionToken=e.transactionToken,t.contentFeatureCollection=e.contentFeatureCollection||[],t.widgetModel=e.widgetModel,t.contentMap={},t.container=e.container,t.featureLoaderClass=e.featureLoaderClass||n,t.featureLoader=e.featureLoader,t.canvas=e.canvas,t.dashboardFeatures=e.dashboardFeatures,t.transaction=t.dashboardFeatures.getFeature("Transaction"),t.lifeCycleManager=t.dashboardFeatures.getFeature("LifeCycle"),t.logger=t.dashboardFeatures.getFeature("Logger"),t.contentFactory=t.dashboardFeatures.getFeature("ContentFactory"),t.featureLoader||t.createFeatureLoader(),t._updateContentModelFeatures();var i=t._getModel();return i.on("add:item",t.onAddItem,t),i.on("remove:item",t.onRemoveItem,t),i.on("change:parent",t.onChangeParent,t),i.on("pre:remove:item",t.preRemoveItem,t),t}return _inherits(u,o),u.prototype._updateContentModelFeatures=function(){var e=this,t=this.featureLoader.getLoadedFeatures.bind(this.featureLoader),o=this._getModel().getContentModel().features,i=["toJSON","Serializer"];o.toJSON=function(){var n=t(),a=Object.keys(n).concat(Object.keys(o)).filter((function(e){return-1===i.indexOf(e)})),r={};return a.forEach((function(t){var i=null;n[t]&&"function"==typeof n[t].toJSON?i=n[t].toJSON():o[t]?i=o[t]:e.logger.info('Data for feature "'+t+'" is not persisted'),i&&Object.keys(i).length>0&&(r[t]=i)})),r.hasOwnProperty("Models.internal")&&(r.Models_internal=r["Models.internal"],delete r["Models.internal"]),r}},u.prototype.onAddItem=function(e){var t=e.value.parameter.model.id;this.getContentInstance(t,!1,e.data?e.data.transactionToken:null)},u.prototype.preRemoveItem=function(e){var t=e.value.parameter,o=this.getContentInstance(t);if(o){var i=o.getAPI().getFeature("ContentViewDOM"),n=i&&i.getNode();if(n)this.dashboardFeatures.getFeature("API").getFeature("InteractionController.internal").selectionHandler.deselectNode(n)}},u.prototype.onRemoveItem=function(e){var t=e.value.parameter,o=this.getContentInstance(t);o&&(o.destroy(),delete this.contentMap[t])},u.prototype.onChangeParent=function(e){var t=e.value.parameter.parentId;if(this.getContainer().getId()!==t){var o=this.canvas.getRootContentInstance().getContentInstance(t);this.moveToContainer(o)}},u.prototype.createFeatureLoader=function(){var e=this.getType(),t=[e];e!==this._getModel().type&&t.push(this._getModel().type),this.featureLoader=new this.featureLoaderClass({featureParams:{dashboardAPI:this.dashboardFeatures.getFeature("API"),content:this.getAPI(),featureSpecs:this._getModel().getContentModel().features,transactionToken:this.creationTransctionToken},externalFeatures:this.dashboardFeatures,lifeCycleManager:this.lifeCycleManager,types:t,parentAPI:this}),this.featureLoader.registerFeature("state",new r({logger:this.logger}),{containerId:"com.ibm.bi.dashboard.content-features",name:"state",types:["widget"]}),this.featureLoader.registerFeature("Models.internal",new s({widgetModel:this.widgetModel,layoutModel:this.layoutModel}),{containerId:"com.ibm.bi.dashboard.content-features",name:"InternalModels"}),this.featureLoader.registerFeature("ContentFilter",new d({content:this,logger:this.logger}),{containerId:"com.ibm.bi.dashboard.content-features",name:"ContentFilter"}),this.featureLoader.registerFeature("Serializer",new c({layoutModel:this.layoutModel,content:this,logger:this.logger}),{containerId:"com.ibm.bi.dashboard.content-features.Serializer",name:"Serializer"}),this._createdFeatureLoader=!0},u.prototype.initialize=function(){var e=this;if(!this._initializePromise){var t=[];t.push(this.featureLoader.loadFeaturesFromArray(this.contentFeatureCollection));var o=this._getModelItems();o&&o.forEach((function(o){var i=e.getContentInstance(o.id,!0,e.creationTransctionToken);i&&t.push(i.initialize())})),this._initializePromise=Promise.all(t)}return this._initializePromise.then((function(){return e.getAPI()}))},u.prototype.registerFeatures=function(e){return this.featureLoader.loadFeaturesFromArray(e)},u.prototype.registerFeature=function(e,t,o,i){var n=this;return this.initialize().then((function(){return n.featureLoader.registerFeature(e,t,o,i)}))},u.prototype.getAPI=function(){return this.api||(this.api=t.createAPI(this,[i])),this.api},u.prototype.destroyContentMap=function(){var e=this;Object.keys(this.contentMap).forEach((function(t){var o=e.contentMap[t];o&&o.destroy&&o.destroy()}))},u.prototype.destroy=function(){var e=this._getModel();e.off("add:item",this.onAddItem,this),e.off("remove:item",this.onRemoveItem,this),e.off("change:parent",this.onChangeParent,this),this.destroyContentMap(),this._createdFeatureLoader&&this.featureLoader.destroy(),this.featureLoader=null,this.dashboardFeatures=null,this.boardModel=null,this.layoutModel=null,this.widgetModel=null,this.contentMap=null,this.canvas=null,this.api=null},u.prototype.getId=function(){return this._getModel().getId()},u.prototype._getWidgetModel=function(){return this.widgetModel||(this.widgetModel=this.boardModel.getWidgetModel(this.getId())),this.widgetModel},u.prototype.getType=function(){var e=this.layoutModel.type,t=this._getWidgetModel();return t&&(e+="."+t.type),e},u.prototype.addContent=function(t,o){var i=this;if(e.isNumber(t.position)){var n=this.getChildren()[t.position];t.insertBefore=n&&n.getId()}return t.content?this._getContentSpec(t.content).then((function(e){return e&&(t.type=t.content.getType(),e.layout=e.layout[0],t.spec=e),i._addModel(t,o)})):this._addModel(t,o)},u.prototype._addModel=function(e,t){var o=this;return e.properties=Object.assign(e.properties||{},e.layout),delete e.layout,this.contentFactory.addModel(e,{boardModel:this.boardModel,canvas:this.canvas,canvasContent:this},t).then((function(e){return o.getContentInstance(e).initialize()})).then((function(o){var i=e.properties||{};return Object.keys(i).forEach((function(e){o.setPropertyValue(e,i[e],t)})),o}))},u.prototype._getContentSpec=function(e){return e.getFeature("Models.internal").getLayoutModel().boardModel.dashboardApi.getFeature("LegacyViewControllers").getLayoutController().getInteractionController().then((function(t){var o=new l(t),i=o.getContentsToJSONSpec(e).spec;return o.validateDashboardSpec(i)}))},u.prototype.removeChildContent=function(e,t){this.getContentInstance(e)&&this.boardModel.removeLayouts(e,"api",this._convertOptions(t))},u.prototype.removeContentReference=function(e){delete this.contentMap[e.getId()]},u.prototype.addContentReference=function(e){this.contentMap[e.getId()]=e},u.prototype.moveToContainer=function(e){this.container.removeContentReference(this),this.container=e,e.addContentReference(this)},u.prototype.moveContent=function(e,t,o,i){var n=this,a=e===this.getId()?this:this.getContentInstance(e);if(a){var r={updateArray:[]},s=t.map((function(e){return n.canvas.getContentInstance(e)}));return s.forEach((function(e){if(e){var t=e.getId(),o={id:t,parentId:a.getId()};i&&i[t]&&(o.insertBefore=i[t]),r.updateArray.push(o),e.moveToContainer(a)}})),r.updateArray.length>0&&this.layoutModel.getTopLayoutModel().updateModel(r,null,this._convertOptions(o)),s.map((function(e){return e.getAPI()}))}this.logger.error("cannot find container "+e)},u.prototype.removeContent=function(e,t){this.removeChildContent(e,t)},u.prototype.getContentInstance=function(e,o,i){var n=this.contentMap[e],a=this._getModelItems();if(!n&&a){var r=a.find((function(t){return t.id===e}));if(r)n=this.contentFactory.createContent({contentFeatureCollection:this.contentFeatureCollection,dashboardFeatures:this.dashboardFeatures,boardModel:this.boardModel,layoutModel:r,featureLoaderClass:this.featureLoaderClass,canvas:this.canvas,container:this,profile:this.profile,transactionToken:i,type:r.type}),t.setParentChildRelation(this.canvas,n),o||n.initialize(),this.contentMap[e]=n;else for(var s=0;s<a.length&&!n;s++){n=this.getContentInstance(a[s].id,!1,i).getContentInstance(e,o,i)}}return n},u.prototype.getContentPosition=function(e){var t=-1,o=this._getModelItems();if(o&&o.length&&-1===(t=o.findIndex((function(t){return t.id===e}))))for(var i=0;i<o.length&&-1===t;i++){t=this.getContentInstance(o[i].id).getContentPosition(e)}return t},u.prototype.getContent=function(e){var t=this.getContentInstance(e);return t?t.getAPI():null},u.prototype.getContainer=function(){var e=this.getContainerInstance();return e&&e.getAPI()},u.prototype.getContainerInstance=function(){return this.container},u.prototype.getChildren=function(){var e=this;return(this._getModelItems()||[]).map((function(t){return e.getContent(t.id)}))},u.prototype.findContent=function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.isEmpty(o)&&(o.type="widget");var i=[],n=this._getModelItems();return n&&n.forEach((function(e){var n=t.getContent(e.id);n.getFeature("ContentFilter").match({selector:o,layout:e})&&i.push(n),i.push.apply(i,n.findContent(o))})),i},u.prototype._convertOptions=function(e){var t={skipUndoRedo:!0};return e&&e.transactionId&&(t.undoRedoTransactionId=e.transactionId,t.transactionToken=e),t},u.prototype.getPropertyLayoutList=function(){var e=this.getFeature("Properties").getPropertyLayoutList(),t=this.getPropertyList();return a.getExpandedLayoutList(e,t,this.profile)},u.prototype.getPropertyNameList=function(){return this.getFeature("Properties").getPropertyList().map((function(e){return e.id}))},u.prototype.setPropertyValue=function(e,t,o){var i=this.getPropertyList().find((function(t){return t.id===e}));return i?i.setPropertyValue(t,o):this._getModel().getContentModel().setPropertyValue(e,t,o)},u.prototype.getPropertyValue=function(e){var t=this.getPropertyList().find((function(t){return t.id===e}));return t?t.getPropertyValue():this._getModel().getContentModel().getPropertyValue(e)},u.prototype.__getPropertyValueFunc=function(e,t){var o=void 0;return null==(o=e?e():this._getModel().getContentModel().getPropertyValue(t.id))&&null!=t.defaultValue&&(o=t.defaultValue),o},u.prototype.getPropertyList=function(){var e=this,t=this.getFeature("Properties");if(!t)return[];for(var o=t.getPropertyList(),i=function(t){var i=o[t];if(!i.isGetterSet){i.isGetterSet=!0;var n=i.getPropertyValue&&i.getPropertyValue.bind(i);i.getPropertyValue=e.__getPropertyValueFunc.bind(e,n,i)}i.setPropertyValue||(i.setPropertyValue=function(t,o){e._getModel().getContentModel().setPropertyValue(i.id,t,o)})},n=0;n<o.length;n++)i(n);return o},u.prototype.getFeature=function(e){if(this.featureLoader)return this.featureLoader.getFeature(e)},u.prototype.setFeatureEnabled=function(e,t){this.featureLoader&&this.featureLoader.setFeatureEnabled(e,t)},u.prototype._getModel=function(){return this.layoutModel},u.prototype._getModelItems=function(){return this.layoutModel.items},u}(o)})),define("dashboard-core/js/canvas/DashboardContent",["./Content"],(function(e){return function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,e.apply(this,arguments))}return _inherits(t,e),t.prototype.initialize=function(){return Promise.resolve(this.getAPI())},t.prototype.getType=function(){return"dashboard"},t.prototype.getContentInstance=function(){},t.prototype._getModel=function(){return this.boardModel},t.prototype._getModelItems=function(){return[]},t.prototype.createFeatureLoader=function(){},t.prototype.onAddItem=function(){},t.prototype.onRemoveItem=function(){},t.prototype.onChangeParent=function(){},t.prototype.preRemoveItem=function(){},t.prototype.removeChildContent=function(){throw new Error("Not supported.")},t.prototype.removeContentReference=function(){throw new Error("Not supported.")},t.prototype.addContentReference=function(){throw new Error("Not supported.")},t.prototype.moveToContainer=function(){throw new Error("Not supported.")},t.prototype.moveContent=function(){throw new Error("Not supported.")},t.prototype.removeContent=function(){throw new Error("Not supported.")},t}(e)})),define("dashboard-core/js/features/dashboard/contentProvider/api/impl/DashboardContentProvider",["../../../../../canvas/DashboardContent","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../../lib/@waca/dashboard-common/dist/api/ContentProviderAPI"],(function(e,t,o){return function(){function i(e){var n=e.features;_classCallCheck(this,i),this._api=t.createAPI(this,[o]),n.ContentFactory.registerProvider(this._api)}return i.prototype.getAPI=function(){return this._api},i.prototype.getTypeList=function(){return["dashboard"]},i.prototype.addModel=function(){throw new Error("Not supported.")},i.prototype.createContent=function(t){return new e(t)},i}()})),define("dashboard-core/js/features/dashboard/userProfile/UserProfileAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.hasCapability=function(){},e.prototype.getContentLocale=function(){},e.prototype.getAvailableContentLocales=function(){},e.prototype.getUserAccount=function(){},e.prototype.getValidDomainList=function(){},e}()})),define("dashboard-core/js/features/dashboard/userProfile/UserProfileImpl",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./UserProfileAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._api=e.createAPI(this,[t]),this._capabilities={canAuthorDashboard:!0,canUseInteractiveDashboard:!0}}return o.prototype.getAPI=function(){return this._api},o.prototype.getAvailableContentLocales=function(){return Promise.resolve(null)},o.prototype.getValidDomainList=function(){return null},o.prototype.hasCapability=function(e){return!!e&&!!this._capabilities[e]},o.prototype.getContentLocale=function(){return"en"},o.prototype.getUserAccount=function(){return{defaultName:void 0,userName:void 0,id:void 0}},o}()})),define("dashboard-core/js/ca/features/contentStore/api/ContentStoreAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.get=function(){},e.prototype.post=function(){},e.prototype.put=function(){},e.prototype.delete=function(){},e}()})),define("dashboard-core/js/ca/features/contentStore/ContentStore",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","./api/ContentStoreAPI","underscore"],(function(e,t,o){return function(){function i(e){_classCallCheck(this,i),this.ajaxService=e,this.baseObjectUrl="v1/objects"}return i.prototype.getAPI=function(){return this._api||(this._api=e.createAPI(this,[t])),this._api},i.prototype.get=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".my_folders",t=this._preparePath(e)+"/items?fields=id,type,defaultName,modificationTime,owner{defaultName,userName,email},version";return this.ajaxService.get(t).then((function(e){return e&&e.data.map((function(e){return{id:e.id,type:e.type,defaultName:e.defaultName,modificationTime:e.modificationTime,owner:{defaultName:o.isEmpty(e.owner)?void 0:e.owner[0].defaultName,userName:o.isEmpty(e.owner)?void 0:e.owner[0].userName,email:o.isEmpty(e.owner)?void 0:e.owner[0].email},version:e.version}}))||[]})).catch((function(e,t){return Promise.reject({status:t.status})}))},i.prototype.delete=function(e){var t=this._preparePath(e)+"?force=true&recursive=true";return this.ajaxService.delete(t).then().catch((function(e,t){return Promise.reject({status:t.status})}))},i.prototype.post=function(e,t){var o=this._preparePath(e)+"/items";return this.ajaxService.post(o,{contentType:"application/json",processData:!1,dataType:"text",data:JSON.stringify(t)}).then().catch((function(e,t){return Promise.reject({status:t.status})}))},i.prototype.put=function(e,t){var o=this._preparePath(e);return this.ajaxService.put(o,{contentType:"application/json",processData:!1,dataType:"text",data:JSON.stringify(t)}).then().catch((function(e,t){return Promise.reject({status:t.status})}))},i.prototype._preparePath=function(e){return this.baseObjectUrl+"/"+e},i}()})),define("dashboard-core/js/ca/features/userProfile/CAUserProfile",["../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../features/dashboard/userProfile/UserProfileAPI"],(function(e,t){return function(){function o(){_classCallCheck(this,o),this._api=e.createAPI(this,[t])}return o.prototype.getAPI=function(){return this._api},o.prototype.initialize=function(e){var t=this;return this._userProfile=e.getCoreSvc(".UserProfile"),this._config=e.getCoreSvc(".Config"),this._config.getConfigValue("ClientValidDomainList").then((function(e){t._validDomainList=e}))},o.prototype.hasCapability=function(e){return-1!=this._userProfile.capabilities.indexOf(e)},o.prototype.getValidDomainList=function(){return this._validDomainList},o.prototype.getContentLocale=function(){var e=this._userProfile&&this._userProfile.preferences;return e&&e.contentLocale||"en"},o.prototype.getAvailableContentLocales=function(){return this._config.getContentLocales()},o.prototype.getUserAccount=function(){var e=this._userProfile.userAccount;return{defaultName:e&&e.defaultName,userName:e&&e.userName,id:e&&e.id,email:e&&e.email}},o}()})),define("dashboard-core/js/features/dashboard/onLoadFilterModifier/api/OnLoadFilterModifier",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getMetadataSubsetIds=function(){},e}()})),define("dashboard-core/js/features/dashboard/onLoadFilterModifier/OnLoadFilterModifier",["jquery","underscore","../../../app/nls/StringResources","../../../lib/@waca/dashboard-common/dist/core/APIFactory","./api/OnLoadFilterModifier"],(function(e,t,o,i,n){return function(){function e(t){_classCallCheck(this,e),this.dashboard=t.features.API,this.datasources=t.features.DataSources,this.moserDatasources=t.features["DataSources.moser"],this.globalFilters=t.features.GlobalFilters,this._api=i.createAPI(this,[n]),this._itemIds=[],this.moserDatasources.registerMetadataSubsetIdsProvider(this._api)}return e.prototype.initialize=function(){var e=this,i=this.dashboard.getCurrentContentView().getContent().filters;if(!i)return Promise.resolve();var n=JSON.parse(i),a=this.datasources.getDataSourceList().filter((function(e){return e.getAssetId()===n.assetID}));if(1!==a.length)return this.dashboard.showToast(o.get("OnLoadFilterModifierDatasourceMismatch"),{type:"info"}),Promise.resolve();var r=a[0].getId();return this._itemIds=t.flatten(n.filters.map((function(e){return Object.keys(e)})).filter(Boolean)),a[0].loadMetadata().then((function(){var t=void 0,o=void 0;n.filters.forEach((function(i){Object.keys(i).forEach((function(n){a[0].getMetadataColumn(n)?(e.globalFilters.removeFilters({itemId:n}),e.globalFilters.getFilters(r,"global").addFilter({itemId:n},i[n]),o=!0):t||(e._displayColumnNotFound(),t=!0)}))})),o&&e.dashboard.setDirty(!0)}))},e.prototype.getMetadataSubsetIds=function(){return this._itemIds},e.prototype._displayColumnNotFound=function(){this.dashboard.showToast(o.get("OnLoadFilterModifierColumnMismatch"),{type:"info"})},e.prototype.getAPI=function(){return this._api},e}()})),define("dashboard-core/js/features/dashboard/actions/editNotebookAction/EditNotebookAction",["../../../../lib/@waca/dashboard-common/dist/ui/interaction/Utils","../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../lib/@waca/dashboard-common/dist/api/ContentActionsProviderAPI","../../../../app/util/ErrorUtils","../../../../app/nls/StringResources"],(function(e,t,o,i,n){return function(){function e(t){var o=t.features;_classCallCheck(this,e),this._dashboard=o.API,o.ContentActions.registerProvider("editNotebook",this.getAPI()),this._dashboardState=o.DashboardState,this._icons=o.Icons}return e.prototype.getAPI=function(){return this._api||(this._api=t.createAPI(this,[o])),this._api},e.prototype.destroy=function(){this._dashboard=null,this._dashboardState=null,this._api=null},e.prototype._isAvailable=function(e){return!(1!==e.length||!0!==this._dashboardState.getUiState().authoring||!i.hasCapability(this._dashboard,"canAuthorDashboard"))&&(this._selectedWidget=this._dashboard.getCanvas().getWidget(e[0]),this._selectedWidget&&"function"==typeof this._selectedWidget.allowReconfigure&&this._selectedWidget.allowReconfigure())},e.prototype.getContentActionList=function(e){return this._isAvailable(e)?[{name:"editNotebook",label:n.get("editNotebook"),icon:this._icons.getIcon("edit").id,type:"Button",actions:{apply:this.triggerEdit.bind(this)}}]:[]},e.prototype.triggerEdit=function(){this._selectedWidget.editConfig()},e}()})),define("dashboard-core/js/features/common/properties/api/PropertiesAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getPropertyLayoutList=function(){},e.prototype.getPropertyList=function(){},e.prototype.registerProvider=function(){},e.prototype.deregisterProvider=function(){},e.prototype.getProviderPropertyNameList=function(){},e}()})),define("dashboard-core/js/features/common/properties/api/impl/Properties",["jquery","underscore","../../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../PropertiesAPI"],(function(e,t,o,i){return function(){function n(e){_classCallCheck(this,n),this._api=o.createAPI(this,[i]),this.dashboard=e.features["Dashboard.API"],this.content=e.content,this._providers=[]}return n.prototype.getAPI=function(){return this._api},n.prototype.registerProvider=function(e){this._providers.push(e)},n.prototype.deregisterProvider=function(e){var t=this._providers.findIndex((function(t){return t===e}));-1!==t&&this._providers.splice(t,1)},n.prototype.getProviderPropertyNameList=function(){var e={},o=1;return t.each(this._providers,(function(t){var i,n=void 0;(t.getImplType?n=t.getImplType():(n="someViewClass_"+o,o+=1),e[n]||(e[n]=[]),t.getPropertyList)&&(i=e[n]).push.apply(i,t.getPropertyList().map((function(e){return e.id})))})),e},n.prototype.getPropertyList=function(){var e={};try{for(var o=0;o<this._providers.length;o++){var i=this._providers[o];if(!i.isEnabled||i.isEnabled()){var n=i.getPropertyList?i.getPropertyList():[];if(n)for(var a=0;a<n.length;a++){var r=n[a];this.modifyPropertyWithCallback(r),e[r.id]?this._mergeProperty(e,r.id,r):e[r.id]=r}}}}catch(e){}return this._filterUnsupportedProperties(e),t.values(e)},n.prototype._filterUnsupportedProperties=function(e){if(this.dashboard){var t=this.dashboard.getGlassCoreSvc&&this.dashboard.getGlassCoreSvc(".FeatureChecker");if(t)!(t.checkValue&&t.checkValue("dashboard","SmartTitle","disabled"))?delete e.showTitle:delete e.titleMode}return e},n.prototype.getPropertyLayoutList=function(){var e=this,o={};return t.each(this._providers,(function(i){if(!i.isEnabled||i.isEnabled()){var n=i.getPropertyLayoutList&&i.getPropertyLayoutList()||[];t.each(n,(function(t){o[t.id]?e._mergeProperty(o,t.id,t):o[t.id]=t}))}})),t.values(o)},n.prototype._mergeProperty=function(o,i,n){var a=o[i];if(!1!==n.override){var r,s=a.profile&&[].concat(a.profile);if(o[i]=e.extend(!0,{},a,n),s&&n.profile)(r=o[i].profile).push.apply(r,s),o[i].profile=t.uniq(o[i].profile)}},n.prototype.modifyPropertyWithCallback=function(e){for(var t in e)if(-1!==t.indexOf("Callback")||"onChange"===t){var o=e[t];if("function"==typeof o)return;if("string"==typeof o)return void console.error("callback in definition should use new property callback method.");try{var i,n=o.feature,a=null;if(0===n.indexOf("Dashboard.")){var r=n.split(".")[1];a=this.dashboard.getFeature(r)}a||(a=this.content.getFeature(n));var s=[this.content];s.push.apply(s,o.callbackParams),e[t]=(i=a[o.callbackFunction]).bind.apply(i,[a].concat(s))}catch(e){console.error(e)}}else"object"==_typeof(e[t])&&null!==e[t]&&this.modifyPropertyWithCallback(e[t])},n}()})),define("dashboard-core/js/features/content/alignProperties/AlignPropertiesProvider",["underscore","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../app/nls/StringResources"],(function(e,t,o,i){return function(){function n(e){_classCallCheck(this,n),this.content=e.content,this.dashboardApi=e.dashboardAPI,this._api=o.createAPI(this,[t]),this.content.getFeature("Properties").registerProvider(this.getAPI()),this._icons=e.features["Dashboard.Icons"]}return n.prototype.getAPI=function(){return this._api},n.prototype.destroy=function(){this.dashboardApi=null},n.prototype.getPropertyLayoutList=function(){return[{id:"general",type:"Group",label:i.get("tabName_general")},{id:"layout",type:"Section",label:i.get("sectionName_layout"),position:2}].concat(this.getPropertyLayoutControlList())},n.prototype.getPropertyList=function(){return[]},n.prototype.getPropertyLayoutControlList=function(){var t=this.dashboardApi.getCanvas().getSelectedContentList(),o=t.length<=1,n=this.dashboardApi.getFeature("alignAction");return[{id:"alignWidget",editor:{sectionId:"general.layout",readOnly:o,position:1,uiControl:{type:"IconPicker",label:i.get("toolbarActionAlign"),items:[{name:"left",label:i.get("alignWidgetLeft"),value:this._icons.getIcon("align-left").id},{name:"center",label:i.get("alignWidgetCenter"),value:this._icons.getIcon("align-horizontally").id},{name:"right",label:i.get("alignWidgetRight"),value:this._icons.getIcon("align-right").id},{name:"top",label:i.get("alignWidgetTop"),value:this._icons.getIcon("align-top").id},{name:"middle",label:i.get("alignWidgetMiddle"),value:this._icons.getIcon("align-vertically").id},{name:"bottom",label:i.get("alignWidgetBottom"),value:this._icons.getIcon("align-bottom").id}],onChange:function(o,i){n.applyAction(e.map(i,(function(o){return e.extend(o,{layoutIds:e.map(t,(function(e){return e.getId()}))})})))}}}}]},n}()})),define("dashboard-core/js/dashboard/widgets/PropertyListUtil",["jquery","underscore","../../lib/@waca/core-client/js/core-client/utils/UniqueId","../../app/nls/StringResources"],(function(e,t,o,i){return new(function(){function n(){_classCallCheck(this,n)}return n.prototype.processProperties=function(t,i,n){var a=this;if(!t)return!1;var r=n.getDashboardCoreSvc("TranslationService"),s=function(e){r&&e.translationIconNode&&(r.removeTranslationIcon(e.translationIconNode),e.translationIconNode=null)},d=function(e,t,o){e.displayMultiplier&&(o=Math.round(o/e.displayMultiplier)),this._callPropertyOnChangeCallback(e,t,o),i.setPropertyValue(t,o),s(e)},c=[],l=0;return t.slice().forEach((function(r,u){var p="function"==typeof r.onChange?r.onChange.bind(r):null;if(!1!==r.public&&"Banner"!==r.type){var h=a._getPropertiesOverride(r,i);if(!0===h.removeProperty)return t.splice(u-l,1),void l++;e.extend(r,h),r.id&&!r.name&&(r.name=r.id);var f=["Group","CollapsibleSection","SingleLineLinks","Split",void 0];if(!a._isValidPropertyId(r.id)&&f.indexOf(r.type)>-1){var g=r.id.replace(/[^a-zA-Z]/g,"");r.id=o.get(g),r.name=r.id}if("ColorPicker"===r.type&&r.paletteType)c.push(a.handleColorPickerProperty(r,i,n));else if("NewPalette"===r.type||"Palette"===r.type)r.type="NewPalette",c.push(a.handleNewPaletteProperty(r,i,n));else if("ToggledCombo"===r.type)a._handleToggledComboProperty(r,i);else if("IconPicker"===r.type)a._handleIconPickerProperty(r,i);else if(r.module&&r.module.indexOf("UiSlider")>=0)a._handleUISlider(r,i);else if("pageSizeWidth"===r.name||"pageSizeHeight"===r.name)a._getPropertyDisplayValueWithUnits(i,r);else if(f.indexOf(r.type)>-1)c.push(a.processProperties(r.items,i,n));else if(a._isALayoutPositionProperty(r.name))a._handleLayoutPositionalProperty(i,r);else if("rotateAngle"===r.id){var b=i.getPropertyValue(r.id);r.value=a.getRotateDisplayString(b)}else if(["text","icon","Separator","SectionLabel"].indexOf(r.type)<0){var m=i.getPropertyValue(r.id);if(null==m&&(m=r.value),"CheckBox"===r.type||"ToggleButton"===r.type)r.checked=!1!==m&&(!0===m||!0===r.defaultValue||m&&m===r.defaultValue);else if("DropDown"===r.type){var v=void 0;v=null!=m?m.hasOwnProperty("name")?m.name:m:r.defaultValue,r.defaultValue=v}else r.value=m||0===m?m:"";if(r.displayMultiplier&&r.value){var y=r.value*r.displayMultiplier;r.value=r.decimalPlaces?y.toFixed(r.decimalPlaces):Math.round(y)}r.onChange=r.onChange||d.bind(a,r)}p&&(r.onChange=function(e,t,o,i){p(t,o,i),s(e)}.bind(a,r)),e.extend(r,h)}})),Promise.all(c)},n.prototype._isALayoutPositionProperty=function(e){return-1!==["left","top","width","height"].indexOf(e)},n.prototype._getPropertiesOverride=function(e,t){var o={};return"function"==typeof e.preRenderCallback&&(o=e.preRenderCallback(e,t)),o},n.prototype._callPropertyOnChangeCallback=function(e,t,o){e.onChangeCallback&&e.onChangeCallback(t,o)},n.prototype._handleUISlider=function(e,t){var o=t.getPropertyValue(e.name);(o||0===o&&"percentage"===e.sliderType)&&(o=parseInt(100*o,10)),e.start=o||0===o?[o]:[e.defaultValue],e.startLabels=[e.description||e.label],e.onChange=function(o){var i=o[0];e.format&&e.format.postfix&&(i=i.substring(0,i.indexOf(e.format.postfix))),"percentage"===e.sliderType&&(i*=.01),this._callPropertyOnChangeCallback(e,e.name,i),t.setPropertyValue(e.name,i)}.bind(this)},n.prototype._handleToggledComboProperty=function(e,t){var o=t.getPropertyValue(e.name);e.inputOptions||(e.inputOptions={}),e.checkBoxOptions||(e.checkBoxOptions={}),e.dropDownOptions||(e.dropDownOptions={}),e.useToggleButton=!0,o?(e.dropDownOptions.defaultValue=o.unit,e.inputOptions.value=o.value,e.checkBoxOptions.checked=o.autoRefresh):(e.inputOptions.value=e.inputOptions.defaultValue||"",e.checkBoxOptions.checked=!1),e.validateInput=this._validateToggleComboProperty.bind(this),e.onChange=function(o,i){this._callPropertyOnChangeCallback(e,o,i),t.setPropertyValue(o,i)}.bind(this)},n.prototype._handleIconPickerProperty=function(e,t){if(!e.values){var o=t.getPropertyValue(e.name);null!=o?e.values=o:void 0!==e.defaultValue&&(e.values=e.defaultValue)}e.onChange||(e.onChange=function(o,i){var n=i;i.length&&1===i.length?n=i[0].name:i.length&&(n=[],i.forEach((function(e){n.push(e.name)}))),this._callPropertyOnChangeCallback(e,o,n),t.setPropertyValue(o,n)}.bind(this))},n.prototype._getMaxMinRefreshValuesForUnits=function(e){var t=(Math.pow(2,31)-1)/1e3,o=void 0,i={};switch(e){case"minutes":i.min=1,o=t/60,i.max=Math.ceil(o-1);break;case"hours":i.min=1,o=t/3600,i.max=Math.ceil(o-1);break;default:i.min=5,i.max=Math.ceil(t-1)}return i},n.prototype._validateToggleComboProperty=function(t,o){if(!t||!o)return!1;var i=e.isNumeric(t);if(i){var n=this._getMaxMinRefreshValuesForUnits(o);i=t>=n.min&&t<=n.max}return i},n.prototype.handleNewPaletteProperty=function(e,t,o,i){var n=this;if(!e.paletteType)throw new Error('Palette property needs a "paletteType"',e);var a=o.getFeature("Colors"),r=(e.getPaletteId?e.getPaletteId:function(){var o=t.getPropertyValue(e.name);return o=o||e.defaultValue||a.getDefaultPaletteName(e.paletteType)})(),s=!1!==e.allowPaletteReverse&&("HeatPalette"===e.paletteType||"ConditionalPalette"===e.paletteType),d="HeatPalette"===e.paletteType?"continuous":"standard",c=e.isReversed?e.isReversed:function(){return"DarkerForLowerValue"===(e.reversePalettePropName&&t.getPropertyValue(e.reversePalettePropName))&&s};return e.menuItems=[],s&&e.menuItems.push("reverse"),e.reverse=c(),e.createPaletteType=d,a.getPalette({paletteId:r,type:e.paletteType,defaultPaletteId:e.defaultValue,addMissingBaseColors:e.addMissingBaseColors,defaultIfNotFound:!0,forProperties:!0}).then((function(s){e.palette=s,e.hasSection=!0,e.readOnly=!0,s.my&&!s.public&&e.menuItems.push("edit"),e.onChangePalette||(e.onChangePalette=i||function(o,i){n._callPropertyOnChangeCallback(e,o,i.id),t.setPropertyValue(o,i.id)});var l=function(t){var o="__CM__"+t;return e.onChangePalette(e.name,{id:o}),o};return e.onCreatePalette=l,e.onReversePalette?e.onChange=e.onReversePalette:e.onChange=function(o,i){var a=!0===i.reverse?"DarkerForLowerValue":"DarkerForHigherValue";n._callPropertyOnChangeCallback(e,e.reversePalettePropName,a),t.setPropertyValue(e.reversePalettePropName,a)},e.changePaletteCb=function(){o.getDashboardSvc("propertiesManager").then((function(i){var n={label:e.linkLabel,overlay:!0,width:"320px",content:{module:"authoring-common/changePaletteView",selectedId:r,onCreatePalette:l,createPaletteType:d,name:e.name,getPalettes:function(){return a.getPalettes({type:e.paletteType,includeUserColorPalette:e.includeUserColorPalette,forProperties:!0,includePatternPalettes:e.includePatternPalettes})},getPaletteId:e.getPaletteId?e.getPaletteId:t.getPropertyValue.bind(t,e.id),reverse:c(),onChange:e.onChangePalette,component:"dashboard"}};o.prepareGlassOptions(n),i.addChild(n)}))},e}))},n.prototype.buildPropChangePayload=function(e,o){return{category:e,item:o,transactionId:t.uniqueId("prop_change")}},n.prototype.addCustomColorCapability=function(e,t){if(e.createCustomColor=function(e){var o=t.addCustomColor(e),i=t.createColorDefinition(o,e,e);return i.type="ColorCode",i.hidden=!0,i},t.isCustomColor(e.selectedName)&&e.items){var o=t.getHexColorFromClassName(e.selectedName),i=t.createColorDefinition(e.selectedName,o,o);i.hidden=!0,e.items.push(i)}return e},n.prototype._getColorPalettePropertyValue=function(e,t,o,i){return e.getPropertyValue(o)||t.getDefaultPaletteName(i)},n.prototype.handleColorPickerProperty=function(e,t,o){var i=this;if(!e.paletteType)throw new Error('Color picker property needs a "paletteType"',e);var n=o.getFeature("Colors");e.onChange=function(o,i){this._callPropertyOnChangeCallback(e,e.propertyName,i.name),t.setPropertyValue(o,i.name)}.bind(this);var a=t.getPropertyValue(e.name);return e.selectedName||(e.selectedName=!a&&0!==a&&e.defaultValue?e.defaultValue:a),this._getColorPickerColors(e,t,o).then((function(t){return e.palettePropertyName?(e.items=[],t.forEach((function(t,o){e.items.push({id:o,name:o,value:t.hexValue,type:"ColorCode",label:t.label})}))):e.items||(e.items=t),e.addButton&&(e=i.addCustomColorCapability(e,n)),e.selectedName>t.length?e.selectedName=0:e.selectedName||0===e.selectedName||void 0===e.defaultColorIndex||(e.selectedName=e.defaultColorIndex),e}))},n.prototype._getColorPickerColors=function(e,t,o){var i=o.getFeature("Colors");if("DashboardColorSet"===e.paletteType)return Promise.resolve(i.getDashboardColorSet().slice(0));var n=e.palettePropertyName?this._getColorPalettePropertyValue(t,i,e.palettePropertyName,e.paletteType):i.getColorSetId();return i.getPaletteColors({paletteId:n,type:e.paletteType,addMissingBaseColors:e.addMissingBaseColors}).then((function(e){return e.slice(0)}))},n.prototype.getGeneralProperties=function(e,t){var o=[{id:"fillColor",type:"ColorPicker",label:i.get("propFillColor"),showHexValue:!0,addButton:!0,open:!1,ariaLabel:i.get("propFillColor"),paletteType:"ColorPalette",defaultValue:"color1",tabName:i.get("tabName_general"),sectionName:i.get("sectionName_appearance")},{id:"borderColor",type:"ColorPicker",label:i.get("propBorderColor"),open:!1,showHexValue:!0,addButton:!0,ariaLabel:i.get("propBorderColor"),paletteType:"ColorPalette",defaultValue:"transparent",tabName:i.get("tabName_general"),sectionName:i.get("sectionName_appearance")}];return e?this.processProperties(o,e,t).then((function(){return o})):Promise.resolve(o)},n.prototype.propertyUIControlToPublicAPI=function(e,t,o){var i=this,n=[],a=function(e,t){if("authoring"!==o.getMode())return o.getGlassCoreSvc(".Logger").error("Trying to set a property without being in authoring mode."),!1;if(e.customValidatorCallback){var i=e.customValidatorCallback(t);if(i&&!1===i.isValid)return o.getGlassCoreSvc(".Logger").error(i.message),!1}if(e.onChange){if(e.module&&e.module.indexOf("UiSlider")>=0)e.onChange([t]);else if("ColorPicker"===e.type){var n=t&&t.startsWith("#")?o.getFeature("Colors").addCustomColor(t):t;e.onChange(e.name,{name:n})}else"NewPalette"===e.type?e.onChangePalette(e.name,{id:t}):e.onChange(e.name,t);return!0}},r=function(e,t){var o=t.getPropertyValue(e.name);return o||(void 0!==e.defaultValue?e.defaultValue:null)};return e.forEach((function(e){if("Banner"===e.type||!1===e.public||!e.onChange)return null;var o={name:e.name,getValue:r.bind(i,e,t),setValue:a.bind(i,e)};n.push(o)})),n},n.prototype.getPropertyDisplayString=function(e,t,o){return null!=e?(t&&(t=t.trim(),o&&(t=" "+t)),String(Number(e.toFixed(t===i.get("pixelUnit")?0:2)))+t):""},n.prototype._getPropertyDisplayValueWithUnits=function(e,t){var o=e.getPropertyValue(t.id);t.value=this.getPropertyDisplayString(o,i.get("pixelUnit"),!0)},n.prototype._handleLayoutPositionalProperty=function(e,t){var o=e.getPropertyValue(t.id),i=parseFloat(o);t.value=this.getPropertyDisplayString(i,o.replace(/[\d.-]/g,""),!0)},n.prototype.getRotateDisplayString=function(e){var t=String.fromCharCode(176);return null!=e?e+" "+t:""},n.prototype._isValidPropertyId=function(e){return/^[a-zA-Z0-9]*$/.test(e)},n}())})),define("dashboard-core/js/dashboard/util/ContentRegistryUtil",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.getCapabilities=function(e){var t=void 0;return e&&e.getType()&&(t=e.getFeature("ContentRegistry.internal."+e.getType()+"Capabilities")),t},e}()})),define("dashboard-core/js/features/content/layoutProperties/LayoutPropertiesProvider",["../../../app/nls/StringResources","../../../dashboard/layout/LayoutHelper","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/ui/interaction/Utils","../../../lib/@waca/baglass/js/baglass/utils/Utils","../../../lib/@waca/core-client/js/core-client/ui/dialogs/ConfirmationDialog","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","underscore","../../../dashboard/widgets/PropertyListUtil","../../../dashboard/util/ContentRegistryUtil"],(function(e,t,o,i,n,a,r,s,d,c){var l={"widget.text":{min:{width:100,height:40}},default:{min:{width:25,height:25}}};return function(){function t(e){_classCallCheck(this,t),this.dashboard=e.dashboardApi||e.dashboardAPI,this._canvas=e.features.Canvas,this.content=e.content,this.content.getFeature("Properties").registerProvider(this.getAPI())}return t.prototype.getLayoutModel=function(){return this.dashboard.getFeature("internal").getBoardModel().layout.findModel(this.content.getId())},t.prototype.getAPI=function(){return o.createAPI(this,[r])},t.prototype._getCommonType=function(e){return e&&e.split(".")[0]},t.prototype._getSubType=function(e){return e&&-1!==e.indexOf(".")?e.split(".")[1]:null},t.prototype.getPropertyList=function(){var e=this,t=[],o=this.content.getType(),i=this._getCommonType(o),n=this._getSubType(o);if(("widget"===i||"group"===i||this._isTypeRegistered(i))&&t.push.apply(t,this._getWidgetPropertyList(n)),t)for(var a=function(o){var i=t[o];i.setPropertyValue||(i.setPropertyValue=function(t){return e._setPropertyValueInModel(i.id,t)}),i.getPropertyValue||(i.getPropertyValue=function(){return e._getPropertyValueFromModel(i.id)})},r=0;r<t.length;r++)a(r);return t},t.prototype._isTypeRegistered=function(e){return this.dashboard.getFeature("ContentTypeRegistry").isTypeRegistered(e)},t.prototype.getPropertyLayoutList=function(){var t=[];this._isTopLevelPage()||t.push({value:e.get("settings"),id:"banner",type:"Banner",editable:!1,override:!1});var o=this._getCommonType(this.content.getType());return(this._isTypeRegistered(o)||"widget"===o||"group"===o)&&t.push({id:"general",type:"Group",label:e.get("tabName_general")},{id:"appearance",type:"Section",open:!1,label:e.get("sectionName_appearance"),position:1},{id:"layout",type:"Section",open:!0,label:e.get("sectionName_layout"),position:2},{id:"widgetPosition",type:"Section",collapsible:!1,label:e.get("propPositionLabel"),position:2},{id:"moveWidgetSplit",type:"Split",items:[{id:"left",align:"left",items:[]},{id:"right",align:"right",items:[]}]},{id:"resizeWidget",type:"Section",collapsible:!1,label:e.get("propResizeLabel"),position:3},{id:"rotate",type:"Section",collapsible:!1,label:e.get("propRotateLabel"),position:4},{id:"resizeWidgetSplit",type:"Split",items:[{id:"left",align:"left",items:[]},{id:"right",align:"right",items:[]}]}),t},t.prototype.getUnit=function(){return"absolute"===this._canvas.getPropertyValue("layoutPositioning")?"px":"%"},t.prototype._getMaxValueForConstraint=function(e){return"relative"===this._canvas.getPropertyValue("layoutPositioning")?100:"width"===e||"left"===e?parseFloat(this._canvas.getPropertyValue("pageSizeWidth")):parseFloat(this._canvas.getPropertyValue("pageSizeHeight"))},t.prototype._getNumericValueWithConstraint=function(e,t,o){var i=parseFloat(t);isNaN(i)&&(i=0);var n=this.content.getPropertyValue(e)||0,a=this._getMaxValueForConstraint(e);return i=Math.max(Math.min(a,i),o||0),(n=parseFloat(n))+i>a&&(i=a-n),i},t.prototype._onChangePercentOrPixelProperty=function(e,t,o,i){var n=this.getUnit(),a=l[this.content.getType()]?l[this.content.getType()].min[t]:l.default.min[t];if(a&&"%"===n){var r=this.content.getContainer().getFeature("ContentViewDOM");if(r){var s=r.getNode();a=100*a/("height"===t?s.clientHeight:s.clientWidth)}else a=0}var c=this._getNumericValueWithConstraint(e,o,a),u=d.getPropertyDisplayString(c,n);this.content.setPropertyValue(t,u,i)},t.prototype._onChangeAngle=function(e,t){this.content.setPropertyValue(e,t)},t.prototype._getWidgetPropertyList=function(){var t=this,o=this.getLayoutModel(),n=!1,a=this._canvas.getSelectedContentList();if(a&&a.length){var r=a[0].getContainer();r&&(n="group"===r.getType())}var s=[{getPropertyValue:function(){return o.style&&(o.style.opacity||0===o.style.opacity)?o.style.opacity:1},setPropertyValue:function(e,o){t._updateStyleValueInModel("opacity",e,o)},id:"opacity",editor:{sectionId:"general.appearance",position:4,uiControl:{label:e.get("propOpacity"),description:e.get("propOpacityDescription"),module:"../ui/UiSlider",sliderType:"percentage",connect:[!0,!1],noInputView:!0,step:1,start:[100],startLabels:[e.get("propOpacityDescription")],range:{min:0,max:100},format:{decimals:0,postfix:"%"}}}}],d={id:"left",getPropertyValue:function(){if(o.style)return o.style.left},setPropertyValue:function(e,o){t._updateStyleValueInModel("left",e,o)},editor:{sectionId:"general.layout.widgetPosition.moveWidgetSplit.left",uiControl:{type:"InputLabel",label:e.get("propPositionXAxis"),multiline:!0,handleReturnKey:!0,decimalPlaces:2,onChange:this._onChangePercentOrPixelProperty.bind(this,"width")}},onPropertyChange:{refresh:{propertiesPane:!0}}};n&&delete d.editor,s.push(d);var c={id:"top",getPropertyValue:function(){if(o.style)return o.style.top},setPropertyValue:function(e,o){t._updateStyleValueInModel("top",e,o)},editor:{sectionId:"general.layout.widgetPosition.moveWidgetSplit.right",uiControl:{type:"InputLabel",label:e.get("propPositionYAxis"),multiline:!0,handleReturnKey:!0,decimalPlaces:2,onChange:this._onChangePercentOrPixelProperty.bind(this,"height")}},onPropertyChange:{refresh:{propertiesPane:!0}}};n&&delete c.editor,s.push(c);var l={id:"width",getPropertyValue:function(){if(o.style)return o.style.width},setPropertyValue:function(e,o){t._updateStyleValueInModel("width",e,o)},editor:{sectionId:"general.layout.resizeWidget.resizeWidgetSplit.left",uiControl:{type:"InputLabel",label:e.get("propResizeWidth"),multiline:!0,handleReturnKey:!0,decimalPlaces:2,onChange:this._onChangePercentOrPixelProperty.bind(this,"left")}},onPropertyChange:{refresh:{propertiesPane:!0}}};n&&delete l.editor,s.push(l);var u={id:"height",getPropertyValue:function(){if(o.style)return o.style.height},setPropertyValue:function(e,o){t._updateStyleValueInModel("height",e,o)},editor:{sectionId:"general.layout.resizeWidget.resizeWidgetSplit.right",uiControl:{type:"InputLabel",label:e.get("propResizeHeight"),multiline:!0,handleReturnKey:!0,decimalPlaces:2,onChange:this._onChangePercentOrPixelProperty.bind(this,"top")}},onPropertyChange:{refresh:{propertiesPane:!0}}};n&&delete u.editor,s.push(u);var p=this._isCapabilityEnabled("rotation");if(s.push({id:"canRotate",getPropertyValue:function(){return p},setPropertyValue:function(){throw new Error("not supported")}}),p){var h={id:"rotateAngle",getPropertyValue:function(){var e=o.style&&o.style.transform;if(e){var t=/-?\d*\.?\d*deg/.exec(e);if(t){var n=t[0],a=n.substr(0,n.length-3);return parseFloat(a)||0}return i.getAngleFromMatrix(e)}return 0},setPropertyValue:function(e,o){var i=((e=parseFloat(e))%360+360)%360;isNaN(i)||(t._updateStyleValueInModel("-webkit-transform","rotate( "+i+"deg )",o),t._updateStyleValueInModel("transform","rotate( "+i+"deg )",o))},editor:{sectionId:"general.layout.rotate",uiControl:{type:"InputLabel",label:e.get("propRotateAngle"),handleReturnKey:!0,onChange:this._onChangeAngle.bind(this)}}};n&&delete h.editor,s.push(h)}return s},t.prototype._isCapabilityEnabled=function(e){var t=c.getCapabilities(this.content);return"widget.live"!==this.content.getType()&&(!t||t.getCapabilities()[e])},t.prototype._getPropertyValueFromModel=function(e){var t=this.getLayoutModel();return t&&t.get(e)},t.prototype._setPropertyValueInModel=function(e,t,o){var i={},n=this.getLayoutModel();i[e]=t,n.set(i,o)},t.prototype._updateStyleValueInModel=function(e,t){var o=t,i=this.getLayoutModel(),n=s.extend({},i.style);return n[e]=o,i.getTopLayoutModel().updateModel({updateArray:[{id:i.id,style:n}]},this,{skipUndoRedo:!0}),o},t.prototype._isTopLevelPage=function(){return!this.content.getContainer()},t}()})),define("dashboard-core/js/features/content/util/IconList",["../../../app/nls/StringResources"],(function(e){return{getTabIcons:function(t){return[{name:"transparent",label:e.get("no_icon"),type:"ColorCode",value:"transparent"},{name:"bullhorn",label:e.get("announcement"),type:"svg",value:t.getIcon("bullhorn").id},{name:"api",label:e.get("api"),type:"svg",value:t.getIcon("api").id},{name:"archive",label:e.get("archive"),type:"svg",value:t.getIcon("archive").id},{name:"microphone",label:e.get("asset"),type:"svg",value:t.getIcon("microphone").id},{name:"attachment",label:e.get("attachment"),type:"svg",value:t.getIcon("attachment").id},{name:"audio",label:e.get("audio"),type:"svg",value:t.getIcon("audio").id},{name:"bee",label:e.get("bee"),type:"svg",value:t.getIcon("bee").id},{name:"blog",label:e.get("blog"),type:"svg",value:t.getIcon("blog").id},{name:"bookmark",label:e.get("bookmark"),type:"svg",value:t.getIcon("bookmark").id},{name:"calendar",label:e.get("calendar"),type:"svg",value:t.getIcon("calendar").id},{name:"camera",label:e.get("camera"),type:"svg",value:t.getIcon("camera").id},{name:"capability",label:e.get("capability"),type:"svg",value:t.getIcon("capability").id},{name:"catalog",label:e.get("catalog"),type:"svg",value:t.getIcon("catalog").id},{name:"message",label:e.get("chat_message"),type:"svg",value:t.getIcon("message").id},{name:"checkout",label:e.get("checkout_cart"),type:"svg",value:t.getIcon("checkout").id},{name:"client",label:e.get("client"),type:"svg",value:t.getIcon("client").id},{name:"clock",label:e.get("clock"),type:"svg",value:t.getIcon("clock").id},{name:"cloud",label:e.get("cloud"),type:"svg",value:t.getIcon("cloud").id},{name:"code",label:e.get("code"),type:"svg",value:t.getIcon("code").id},{name:"data-quality",label:e.get("data_quality"),type:"svg",value:t.getIcon("data-quality").id},{name:"folder",label:e.get("folder"),type:"svg",value:t.getIcon("folder").id},{name:"forum",label:e.get("forum"),type:"svg",value:t.getIcon("forum").id},{name:"glasses",label:e.get("glasses"),type:"svg",value:t.getIcon("glasses").id},{name:"group",label:e.get("group"),type:"svg",value:t.getIcon("group").id},{name:"hat",label:e.get("hat"),type:"svg",value:t.getIcon("hat").id},{name:"headphones",label:e.get("headphone"),type:"svg",value:t.getIcon("headphones").id},{name:"hills",label:e.get("hills"),type:"svg",value:t.getIcon("hills").id},{name:"home",label:e.get("home"),type:"svg",value:t.getIcon("home").id},{name:"idea",label:e.get("idea"),type:"svg",value:t.getIcon("idea").id},{name:"image",label:e.get("image"),type:"svg",value:t.getIcon("image").id},{name:"inventory",label:e.get("inventory"),type:"svg",value:t.getIcon("inventory").id},{name:"like",label:e.get("like"),type:"svg",value:t.getIcon("like").id},{name:"link",label:e.get("link"),type:"svg",value:t.getIcon("link").id},{name:"location",label:e.get("location"),type:"svg",value:t.getIcon("location").id},{name:"pen",label:e.get("pen"),type:"svg",value:t.getIcon("pen").id},{name:"mobile",label:e.get("mobile_phone"),type:"svg",value:t.getIcon("mobile").id},{name:"music",label:e.get("music"),type:"svg",value:t.getIcon("music").id},{name:"notifications",label:e.get("notifications"),type:"svg",value:t.getIcon("notifications").id},{name:"paint",label:e.get("paint"),type:"svg",value:t.getIcon("paint").id},{name:"payment",label:e.get("payment"),type:"svg",value:t.getIcon("payment").id},{name:"password-key",label:e.get("password_key"),type:"svg",value:t.getIcon("password-key").id},{name:"people",label:e.get("people"),type:"svg",value:t.getIcon("people").id},{name:"person",label:e.get("person"),type:"svg",value:t.getIcon("person").id},{name:"phone",label:e.get("phone"),type:"svg",value:t.getIcon("phone").id},{name:"pin",label:e.get("pin"),type:"svg",value:t.getIcon("pin").id},{name:"print",label:e.get("print"),type:"svg",value:t.getIcon("print").id},{name:"recording",label:e.get("recording"),type:"svg",value:t.getIcon("recording").id},{name:"repository",label:e.get("repository"),type:"svg",value:t.getIcon("repository").id},{name:"role",label:e.get("role"),type:"svg",value:t.getIcon("role").id},{name:"search",label:e.get("search"),type:"svg",value:t.getIcon("search").id},{name:"settings",label:e.get("settings"),type:"svg",value:t.getIcon("settings").id},{name:"speaker",label:e.get("speaker"),type:"svg",value:t.getIcon("speaker").id},{name:"star",label:e.get("star"),type:"svg",value:t.getIcon("star").id},{name:"tag",label:e.get("tag"),type:"svg",value:t.getIcon("tag").id},{name:"thumbs-up",label:e.get("thumbs_up"),type:"svg",value:t.getIcon("thumbs-up").id},{name:"thumbs-down",label:e.get("thumbs_down"),type:"svg",value:t.getIcon("thumbs-down").id},{name:"tools",label:e.get("tools"),type:"svg",value:t.getIcon("tools").id},{name:"traffic",label:e.get("traffic"),type:"svg",value:t.getIcon("traffic").id},{name:"trash",label:e.get("trash"),type:"svg",value:t.getIcon("trash").id},{name:"twitter",label:e.get("twitter"),type:"svg",value:t.getIcon("twitter").id},{name:"unknown",label:e.get("unknown"),type:"svg",value:t.getIcon("unknown").id},{name:"user",label:e.get("user"),type:"svg",value:t.getIcon("user").id},{name:"venn-diagram",label:e.get("venn_diagram"),type:"svg",value:t.getIcon("venn-diagram").id},{name:"video",label:e.get("video"),type:"svg",value:t.getIcon("video").id},{name:"view",label:e.get("view"),type:"svg",value:t.getIcon("view").id},{name:"warning",label:e.get("warning"),type:"svg",value:t.getIcon("warning").id},{name:"watch",label:e.get("watch"),type:"svg",value:t.getIcon("watch").id},{name:"watson",label:e.get("watson"),type:"svg",value:t.getIcon("watson").id},{name:"wikis",label:e.get("wikis"),type:"svg",value:t.getIcon("wikis").id},{name:"workspace",label:e.get("workspace"),type:"svg",value:t.getIcon("workspace").id},{name:"world",label:e.get("world"),type:"svg",value:t.getIcon("world").id}]}}})),define("dashboard-core/js/features/content/pageProperties/PagePropertiesProvider",["../../../app/nls/StringResources","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","../util/IconList","underscore"],(function(e,t,o,i,n){return function(){function a(e){_classCallCheck(this,a),this.dashboard=e.dashboardAPI,this.content=e.content,this.content.getFeature("Properties").registerProvider(this.getAPI()),this._icons=e.features["Dashboard.Icons"]}return a.prototype.getAPI=function(){return t.createAPI(this,[o])},a.prototype._isTopLevelPage=function(){return!this.content.getContainer()},a.prototype.getPropertyList=function(){var t=this;if(this._isTopLevelPage())return[];var o=function(){var e=t.dashboard.getFeature("Transaction"),o=e.startTransaction();t.content.setPropertyValue("tabTextColor","transparent",o),t.content.setPropertyValue("tabSelectedLineColor","transparent",o),t.content.setPropertyValue("tabBackgroundColor","transparent",o),t.content.setPropertyValue("tabIconColor","transparent",o),e.endTransaction(o),t.dashboard.triggerDashboardEvent("properties:refreshChild",{content:t.content,focusSelector:".clickCallback_left_0_tabRestoreDefaults"})},a=this.dashboard.getFeature("TranslationService");return[{id:"title",getPropertyValue:function(){return t.getLayoutModel().get("title")},setPropertyValue:function(e){var o=t.getLayoutModel();o&&o.set({title:e},{payloadData:{skipUndoRedo:!0}})},editor:{sectionId:"page.titleSection",uiControl:{type:"InputLabel",label:e.get("propTabTitle"),ariaLabel:e.get("propTabTitle"),handleReturnKey:!0,appendTranslationIcon:a.appendTranslationIcon.bind(a)}}},{id:"tabTextColor",getPropertyValue:function(){return t.getLayoutModel().get("tabTextColor")},setPropertyValue:function(e,o){t._changeTabColor("tabTextColor",e,o)},editor:{sectionId:"page.titleSection",uiControl:{type:"ColorPicker",label:e.get("propTabTextColor"),ariaLabel:e.get("propTabTextColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.content.setPropertyValue(e,o.name)}}}},{id:"tabIcon",getPropertyValue:function(){var e=t.getLayoutModel().get("tabIcon");return e&&"transparent"!==e?t._icons.getIcon(e).id:"transparent"},setPropertyValue:function(e){var o=t.getLayoutModel();if(o){var a=i.getTabIcons(t._icons);"string"==typeof e&&(e=(e=n.find(a,(function(t){return t.value===e})))||a[0]),o.set({tabIcon:e.name},{payloadData:{skipUndoRedo:!0}})}},editor:{sectionId:"page.tabIconArea",uiControl:{type:"CollapsiblePicker",label:e.get("propTabIcon"),ariaLabel:e.get("propTabIcon"),selectedName:this.getLayoutModel().get("tabIcon"),placeholder:{name:"transparent",label:e.get("no_icon"),type:"string",value:"transparent"},contentSize:"small",items:i.getTabIcons(this._icons)}}},{id:"tabIconColor",getPropertyValue:function(){return t.getLayoutModel().get("tabIconColor")},setPropertyValue:function(e,o){t._changeTabColor("tabIconColor",e,o)},editor:{sectionId:"page.tabIconArea",uiControl:{type:"ColorPicker",label:e.get("propTabIconColor"),ariaLabel:e.get("propTabIconColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.content.setPropertyValue(e,o.name)}}}},{id:"tabSelectedLineColor",getPropertyValue:function(){return t.getLayoutModel().get("tabSelectedLineColor")},setPropertyValue:function(e,o){t._changeTabColor("tabSelectedLineColor",e,o)},editor:{sectionId:"page.titleBackground",uiControl:{type:"ColorPicker",label:e.get("propTabSelectedBarColor"),ariaLabel:e.get("propTabSelectedBarColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.content.setPropertyValue(e,o.name)}}}},{id:"tabBackgroundColor",getPropertyValue:function(){return t.getLayoutModel().get("tabBackgroundColor")},setPropertyValue:function(e,o){t._changeTabColor("tabBackgroundColor",e,o)},editor:{sectionId:"page.titleBackground",uiControl:{type:"ColorPicker",label:e.get("propTabBackgroundColor"),ariaLabel:e.get("propTabBackgroundColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.content.setPropertyValue(e,o.name)}}}},{id:"tabRestoreDefaults",editor:{sectionId:"page.titleBackground",uiControl:{type:"SingleLineLinks",items:[{align:"left",items:[{type:"icon",class:"iconTextLink",svgIcon:this._icons.getIcon("restore").id,iconTooltip:e.get("propTabRestoreDefaults"),clickCallback:o}]},{align:"right",items:[{type:"text",class:"iconTextLink",value:e.get("propTabRestoreDefaults"),ariaLabel:e.get("propTabRestoreDefaults"),clickCallback:o}]}]}}}]},a.prototype.getPropertyLayoutList=function(){return this._isTopLevelPage()?[]:[{value:e.get("individualTabProperties"),centerLabel:!0,id:"banner",type:"Banner",backButton:!0,ariaLabel:e.get("individualTabProperties")},{id:"page",type:"Group"},{id:"titleSection",type:"Section",collapsible:!1,label:e.get("sectionName_tabTitle")},{id:"titleBackground",type:"Section",collapsible:!1,label:e.get("sectionName_tabBackground")},{id:"tabIconArea",type:"Section",collapsible:!1,label:e.get("propTabIconLabel")}]},a.prototype.getLayoutModel=function(){return this.dashboard.getFeature("internal").getBoardModel().layout.findModel(this.content.getId())},a.prototype._changeTabColor=function(e,t){var o={};o[e]=t?"transparent"==t?null:this.dashboard.getFeature("Colors").getColorClassName(t):null,this.dashboard.getFeature("Colors").prepareForColorModelChange(o,e),this.getLayoutModel().set(o,{sender:this.senderId,payloadData:{skipUndoRedo:!0}})},a}()})),define("dashboard-core/js/features/content/serviceability/ContentServiceabilityAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getContentInfo=function(){},e.prototype.showInfo=function(){},e.prototype.hideInfo=function(){},e.prototype.isInfoVisible=function(){},e}()})),define("dashboard-core/js/features/content/serviceability/ContentInfoAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getId=function(){},e.prototype.getType=function(){},e.prototype.getVisTypeLabel=function(){},e.prototype.setData=function(){},e.prototype.getData=function(){},e.prototype.getSpec=function(){},e.prototype.toUIJSON=function(){},e}()})),define("dashboard-core/js/features/dashboard/dashboardServiceability/nls/ServiceabilityResources",{root:!0}),define("dashboard-core/js/features/dashboard/dashboardServiceability/nls/root/ServiceabilityResources",{generalInfo:"General",widgetId:"Widget ID",widgetType:"Widget type",serviceability:"Serviceability",showInfoForAll:"Show duration for all visualizations",hideInfoForAll:"Hide duration for all visualizations",copyButton:"Copy",closeButton:"Close",specification:"Specification",showDetails:"Show specification"}),define("dashboard-core/js/features/dashboard/dashboardServiceability/nls/StringResources",["i18n!./ServiceabilityResources","polyglot"],(function(e,t){var o=new t({phrases:e,allowMissing:!0});return new(function(){function e(){_classCallCheck(this,e)}return e.prototype.get=function(e,t){return o.t(e,t)},e}())})),define("dashboard-core/js/features/content/serviceability/impl/ContentInfoImpl",["../../../dashboard/dashboardServiceability/nls/StringResources"],(function(e){return function(){function t(e,o){_classCallCheck(this,t),this._logger=o,this._contentAPI=e,this._data=new Map,this._isDisplayInfoOnDOM=!1}return t.prototype.getId=function(){return this._contentAPI.getId()},t.prototype.getType=function(){return this._contentAPI.getType()},t.prototype.getVisTypeLabel=function(){var e=this.getData("generalInfo"),t="";return t=void 0!==e.getLabel?e.getLabel():(t=(t=this._contentAPI.getType()).slice(7,t.length))[0].toUpperCase()+t.slice(1)},t.prototype._getState=function(){return this._contentAPI.getFeature("state")},t.prototype.setData=function(e,t){"string"!=typeof e?this._logger.error("invalid or undefined key",e):this._data.set(e,t)},t.prototype.getData=function(e){return this._data.get(e)},t.prototype.getSpec=function(){var e=this,t=this._getState().getError(),o={id:this.getId(),type:this.getType(),visType:this.getVisTypeLabel(),state:{error:t?t.toJson():void 0}};return this._data.forEach((function(t,i){if("function"==typeof t.toJSON)try{o[i]=t.toJSON()}catch(t){e._logger.error("error when adding custom data in spec",i,t)}else"generalInfo"!==i&&(o[i]=t)})),o},t.prototype.toUIJSON=function(){var t=this,o=[{sectionName:e.get("generalInfo"),sectionValues:[{fieldName:e.get("widgetId"),fieldValue:this.getId()},{fieldName:e.get("widgetType"),fieldValue:this.getVisTypeLabel()}],properties:{open:!0}}];this._data.forEach((function(e,i){if("function"==typeof e.toUIJSON)try{o=o.concat(e.toUIJSON())}catch(e){t._logger.error("error when adding custom UI spec",i,e)}}));try{o=this._sanitizeUIJSON(o)}catch(e){this._logger.error("error when adding custom UI spec",e)}return o},t.prototype._sanitizeUIJSON=function(e){return e.forEach((function(e){if(void 0===e.sectionName)throw new Error("Error: no section name");void 0===e.sectionValues&&(e.sectionValues=[]),void 0===e.properties?e.properties={open:!0}:void 0!==e.properties&&void 0===e.properties.open&&(e.properties.open=!0),e.sectionValues.forEach((function(e){if(void 0===e.type&&(e.type="Default"),"SimpleTable"===e.type){if(!e.fieldValue.columnLength)throw new Error("Error: no columnLength. Need to specify the column length");if(!e.fieldValue.rowLength)throw new Error("Error: no rowLength. Need to specify the row length");if(!e.fieldValue.cellValue||"function"!=typeof e.fieldValue.cellValue)throw new Error("Error: no cellValue or headerValue is not a function")}}))})),e},t.prototype.isDisplayInfoOnDOM=function(){return this._isDisplayInfoOnDOM},t}()})),define("dashboard-core/js/features/dashboard/dashboardServiceability/view/ServiceabilityContent",["react","ca-ui-toolkit","prop-types","../../../../app/ui/dialogs/EditableDialog","../nls/StringResources"],(function(e,t,o,i,n){var a=t.Label,r=t.Container,s=t.Button,d=t.ToggleSwitchSection,c=t.CollapsibleSection,l=t.Paragraph,u=t.Separator,p=t.SimpleTable,h=n.get("showInfoForAll"),f=n.get("hideInfoForAll"),g=function(t){function o(e){_classCallCheck(this,o);var i=_possibleConstructorReturn(this,t.call(this,e));return i._dashboardS12yFeature=i.props.dashboardApi.getFeature("Serviceability"),i.state={infoIsVisible:i._dashboardS12yFeature.isInfoVisible()},i._onClickSpec=i._onClickSpec.bind(i),i._onClickShowInfo=i._onClickShowInfo.bind(i),i._fieldContentGenerators={SimpleTable:i._createSimpleTable.bind(i),Default:i._createParagraph.bind(i),ReactNode:function(e){return e.node}},i}return _inherits(o,t),o.prototype._onClickSpec=function(){var e={"widget spec":this.props.widgetInfo.getSpec(),"dashboard spec":this.props.dashboardApi.getSpec()},t=[{type:"s12yDialogCopyButton",text:n.get("copyButton"),handler:function(){document.execCommand("copy")},defaultId:"s12yDialogCopyButton"},{text:n.get("closeButton"),type:"secondary s12yDialogCloseButton",defaultId:"close"}],o={sType:"editableInfo",sTitle:n.get("specification"),sValue:JSON.stringify(e,null,4),updateable:!1,showCloseX:!0,buttons:t};new i(o).open()},o.prototype._onClickShowInfo=function(e){!0===e?this._dashboardS12yFeature.showInfo():this._dashboardS12yFeature.hideInfo(),this.setState({infoIsVisible:e})},o.prototype.render=function(){var t=this,o=this.props.UISpec.map((function(e){return t._createSection(e)})),i=this.props.showButtons?e.createElement(d,{label:this.state.infoIsVisible?f:h,rtl:!1,className:"showInfoToggle",checked:this.state.infoIsVisible,onChange:this._onClickShowInfo}):null,a=this.props.showButtons?e.createElement(s,{label:n.get("showDetails"),className:"specDialogButton",onClick:this._onClickSpec,intent:"primary"}):null;return this.container=e.createElement(r,{width:"auto",className:"s12yContent"},o,i,a),this.container},o.prototype._createSection=function(t){var o=this,i=t.sectionValues.map((function(e,i){var n=i+1===t.sectionValues.length;return o._createField(e,n)})),n=void 0;if(""===t.sectionName)n=e.createElement(e.Fragment,null,i);else{var a="serviceability_section_"+t.sectionName.toLowerCase().replace(/\s/g,"");n=e.createElement(c,{id:a,"aria-controls":a,label:t.sectionName,defaultOpen:t.properties.open,labelStyle:{"font-size":"16px","font-weight":"bold","padding-left":"8px"},className:"s12ySection"},i,e.createElement(u,{className:"sectionSeparator"}))}return n},o.prototype._createField=function(t,o){var i,n=this._fieldContentGenerators[t.type];n||(n=this._fieldContentGenerators.Default),i=n(t);var a="serviceability_field_"+t.fieldName.toLowerCase().replace(/\s/g,"");return e.createElement(r,{id:a,"aria-controls":a,className:"s12yField"},i,o?null:e.createElement(u,{className:"fieldSeparator"}))},o.prototype._createParagraph=function(t){return e.createElement(r,{className:"Default"},e.createElement(a,{className:"s12yFieldTitle",label:t.fieldName,type:"caption"}),e.createElement(l,{className:"s12yFieldValue"}," ",t.fieldValue," "))},o.prototype._createSimpleTable=function(t){return e.createElement(r,{className:"SimpleTable"},""===t.fieldName?null:e.createElement(a,{className:"s12yFieldTitle",label:t.fieldName,type:"caption"}),e.createElement(p,{className:"s12ySimpleTable",colLength:t.fieldValue.columnLength,rowLength:t.fieldValue.rowLength,headerRenderer:function(o){return"function"==typeof t.fieldValue.headerValue?e.createElement(l,{className:"s12yFieldValue s12ySimpleTableHeader s12ySimpleTableHeader_"+o},t.fieldValue.headerValue(o)):null},cellRenderer:function(o,i){return e.createElement(l,{className:"s12yFieldValue s12ySimpleTableCell s12ySimpleTableCell_"+o+"_"+i},t.fieldValue.cellValue(o,i))}}))},o}(e.Component);return g.propTypes={widgetInfo:o.shape({getSpec:o.func}),dashboardApi:o.any,UISpec:o.array,showButtons:o.bool},g})),define("dashboard-core/js/features/content/serviceability/impl/ContentServiceabilityImpl",["../../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../../api/DashboardAPI","../ContentInfoAPI","./ContentInfoImpl","../../../../features/dashboard/dashboardServiceability/view/ServiceabilityContent","react","react-dom"],(function(e,t,o,i,n,a,r){return function(){function s(n){_classCallCheck(this,s),this.getDashboardAPI=function(){return n.dashboardAPI},this.getContentAPI=function(){return n.content};var a=n.dashboardAPI.getService(t.GLOBAL_SERVICES.LOGGER);this.getLogger=function(){return a},this._contentInfo=e.createAPI(new i(this.getContentAPI(),this.getLogger()),[o]),this._contentInfo.setData("generalInfo",{}),this._isInfoVisible=!1}return s.prototype.getContentInfo=function(){return this._contentInfo},s.prototype.isInfoVisible=function(){return this._isInfoVisible},s.prototype._fetchUIJSON=function(){var e=this._contentInfo.toUIJSON().filter((function(e){return"Performance"===e.sectionName}));return e.forEach((function(e){e.sectionName="",e.sectionValues.forEach((function(e){e.fieldName=""}))})),e},s.prototype.showInfo=function(){this._isInfoVisible=!0;var e=this.getContentAPI().getFeature("ContentViewDOM");if(e){var t="s12yOverlay_"+this.getContentAPI().getId(),o=e.getNode(),i=o.querySelector("#"+t);if(!i){(i=document.createElement("div")).id=t,i.className="s12yOverlay",o.appendChild(i);var s=this._fetchUIJSON(),d=a.createElement(a.Fragment,null,a.createElement("div",{className:"s12yOverlayBackground"}),a.createElement(n,{widgetInfo:this._contentInfo,dashboardApi:this.getDashboardAPI(),UISpec:s,showButtons:!1}));r.render(d,i)}}else this.getLogger().warn("cannot find ContentViewDOM feature")},s.prototype.hideInfo=function(){this._isInfoVisible=!1;var e=this.getContentAPI().getFeature("ContentViewDOM");if(e){var t="s12yOverlay_"+this.getContentAPI().getId(),o=e.getNode(),i=o.querySelector("#"+t);i&&(r.unmountComponentAtNode(i),o.removeChild(i))}else this.getLogger().warn("cannot find ContentViewDOM feature")},s}()})),define("dashboard-core/js/features/content/serviceability/ContentServiceability",["underscore","../../../lib/@waca/dashboard-common/dist/core/APIFactory","./ContentServiceabilityAPI","./impl/ContentServiceabilityImpl"],(function(e,t,o,i){return function(){function e(n){_classCallCheck(this,e),this._api=t.createAPI(new i(n),[o])}return e.prototype.getAPI=function(){return this._api},e.prototype.destroy=function(){this._api=null},e}()})),define("dashboard-core/js/features/content/tabProperties/TabPropertiesProvider",["../../../app/nls/StringResources","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI"],(function(e,t,o){var i=[{value:"top",label:e.get("propTop")},{value:"left",label:e.get("propLeft")},{value:"bottom",label:e.get("propBottom")},{value:"right",label:e.get("propRight")}],n=[{value:"right",label:e.get("propRightTitle")},{value:"left",label:e.get("propLeftTitle")},{value:"top",label:e.get("propTopTitle")},{value:"bottom",label:e.get("propBottomTitle")}];return function(){function a(e){var t=e.dashboardApi,o=e.dashboardAPI,i=e.features,n=e.content,r=e.options;_classCallCheck(this,a),this._dashboard=t||o,this._content=n,this._icons=i["Dashboard.Icons"],this._allowHidingMultipleTabs=!r||!1!==r.allowHidingMultipleTabs}return a.prototype.initialize=function(){this._content.getFeature("Properties").registerProvider(this.getAPI())},a.prototype._getCanvas=function(){return this._canvas||(this._canvas=this._dashboard.getCanvas()),this._canvas},a.prototype.getLayoutModel=function(){return this._dashboard.getFeature("internal").getBoardModel().layout.findModel(this._content.getId())},a.prototype.getAPI=function(){return t.createAPI(this,[o])},a.prototype.getPropertyList=function(){var e=this,t=this._getTabPropertiesList();return t.forEach((function(t){t.setPropertyValue||(t.setPropertyValue=function(o){return e._setPropertyValueInModel(t.id,o)}),t.getPropertyValue||(t.getPropertyValue=function(){return e._getPropertyValueFromModel(t.id)})})),t},a.prototype.getPropertyLayoutList=function(){return[{id:"general",type:"Group",label:e.get("tabName_general")},{id:"tabs",type:"Section",label:e.get("sectionName_tabs"),position:3},{id:"masterTabStyles",type:"Section",collapsible:!1,label:e.get("propMasterTabStylesLabel")},{id:"individualTabStyles",type:"Section",collapsible:!1,label:e.get("propIndividualTabStylesLabel")}]},a.prototype._individualTabSlideOut=function(t){var o=this._dashboard.getFeature("propertiesManager");return o.getPropertyLayoutList([t]).then((function(i){return o.addChild({overlay:!0,label:e.get("individualTabProperties"),content:{module:"dashboard/contentpane/PropertyUIControlView",items:i,content:t,refreshChild:!0},pageChildId:t.getId()})}))},a.prototype._getIndividualTabStylesLinks=function(){var t=this;return this._getCanvas().findContent({type:"page"}).map((function(o,i){var n=o.getPropertyValue("tabIcon");return{id:"tabIndividualStylingLink"+i,editor:{sectionId:"general.tabs.individualTabStyles",uiControl:{type:"SingleLineLinks",clickCallback:function(){t._individualTabSlideOut(o)},items:[{align:"left",items:[{type:"icon",svgIcon:"transparent"!==n?n:null,iconTooltip:e.get("propIndividualTabStylesAriaLabel")}]},{align:"right",items:[{type:"text",value:o.getPropertyValue("title"),showRightArrow:!0}]}]}}}}))},a.prototype._getTabPropertiesList=function(){var t=this,o=function(){var e=t._dashboard.getFeature("Transaction"),o=e.startTransaction();t._getCanvas().setPropertyValue("tabTextColor","transparent",o),t._getCanvas().setPropertyValue("tabSelectedLineColor","transparent",o),t._getCanvas().setPropertyValue("tabBackgroundColor","transparent",o),e.endTransaction(o),t._dashboard.triggerDashboardEvent("properties:refreshPane",{focusSelector:".clickCallback_left_0_tabRestoreDefaults"})},a=this.getLayoutModel(),r=!this._allowHidingMultipleTabs&&a.items.length>1;return[{id:"showTabsInPreview",supportsUndoRedo:!0,getPropertyValue:function(){return!a.get("hideTab")},setPropertyValue:function(e){var t=!a.get("hideTab");t&&t===e||a.set({hideTab:!e},{payloadData:{skipUndoRedo:!0}})},editor:{sectionId:"general.tabs",uiControl:{type:"ToggleButton",label:e.get("propShowTabsInPreview"),readOnly:r,disabled:r}}},{id:"tabPosition",supportsUndoRedo:!0,getPropertyValue:function(){return a.get("tabPosition")},setPropertyValue:function(e){var t=a.get("tabPosition");t&&t===e||a.set({tabPosition:e},{payloadData:{skipUndoRedo:!0}})},editor:{sectionId:"general.tabs",uiControl:{type:"DropDown",label:e.get("propTabPosition"),options:i}}},{id:"tabIconPosition",supportsUndoRedo:!0,getPropertyValue:function(){return a.get("tabIconPosition")},setPropertyValue:function(e){var t=a.get("tabIconPosition");t&&t===e||a.set({tabIconPosition:e},{payloadData:{skipUndoRedo:!0}})},editor:{sectionId:"general.tabs",uiControl:{type:"DropDown",label:e.get("propTabIconPosition"),options:n}}},{id:"tabTextColor",supportsUndoRedo:!0,setPropertyValue:function(e,o){t._changeTabColor("tabTextColor",e,o)},editor:{sectionId:"general.tabs.masterTabStyles",uiControl:{type:"ColorPicker",label:e.get("propTabTextColor"),ariaLabel:e.get("propTabTextColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._getCanvas().setPropertyValue(e,o.name)}}}},{id:"tabSelectedLineColor",supportsUndoRedo:!0,setPropertyValue:function(e,o){t._changeTabColor("tabSelectedLineColor",e,o)},editor:{sectionId:"general.tabs.masterTabStyles",uiControl:{type:"ColorPicker",label:e.get("propTabSelectedBarColor"),ariaLabel:e.get("propTabSelectedBarColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._getCanvas().setPropertyValue(e,o.name)}}}},{id:"tabBackgroundColor",supportsUndoRedo:!0,setPropertyValue:function(e,o){t._changeTabColor("tabBackgroundColor",e,o)},editor:{sectionId:"general.tabs.masterTabStyles",uiControl:{type:"ColorPicker",label:e.get("propTabBackgroundColor"),ariaLabel:e.get("propTabBackgroundColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0,onChange:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._getCanvas().setPropertyValue(e,o.name)}}}},{id:"tabRestoreDefaults",editor:{sectionId:"general.tabs.masterTabStyles",uiControl:{type:"SingleLineLinks",items:[{align:"left",items:[{type:"icon",class:"iconTextLink",svgIcon:this._icons.getIcon("restore").id,iconTooltip:e.get("propTabRestoreDefaults"),clickCallback:o}]},{align:"right",items:[{type:"text",class:"iconTextLink",value:e.get("propTabRestoreDefaults"),ariaLabel:e.get("propTabRestoreDefaults"),clickCallback:o}]}]}}},{id:"allowHidingMultipleTabs",getPropertyValue:function(){return t._allowHidingMultipleTabs},setPropertyValue:function(){throw new Error("not supported")}}].concat(this._getIndividualTabStylesLinks())},a.prototype._changeTabColor=function(e,t){var o={};o[e]=t?"transparent"==t?null:this._dashboard.getFeature("Colors").getColorClassName(t):null,this._dashboard.getFeature("Colors").prepareForColorModelChange(o,e),this.getLayoutModel().set(o,{sender:this.senderId,payloadData:{skipUndoRedo:!0}})},a.prototype._getPropertyValueFromModel=function(e){var t=this.getLayoutModel();return t&&t.get(e)},a.prototype._setPropertyValueInModel=function(e,t){var o={},i=this.getLayoutModel();o[e]=t,i.set(o,{payloadData:{skipUndoRedo:!0}})},a}()})),define("dashboard-core/js/features/content/topLevelProperties/TopLevelPropertiesProvider",["../../../app/nls/StringResources","../../../dashboard/layout/LayoutHelper","../../../lib/@waca/dashboard-common/dist/core/APIFactory","../../../lib/@waca/baglass/js/baglass/utils/Utils","../../../lib/@waca/core-client/js/core-client/ui/dialogs/ConfirmationDialog","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","underscore","../../../dashboard/widgets/PropertyListUtil"],(function(e,t,o,i,n,a,r,s){var d={width:320,height:200},c={"16:9":{width:1280,height:720},"4:3":{width:1280,height:960},letter:{width:612,height:792},legal:{width:612,height:1008},a4:{width:595,height:842},tabloid:{width:792,height:1224},infographic:{width:512,height:1024}},l=[{label:e.get("propPageSizePresetCustom"),value:"custom"},{label:e.get("propPageSizePreset16x9"),value:"16:9"},{label:e.get("propPageSizePreset4x3"),value:"4:3"},{label:e.get("letter"),value:"letter"},{label:e.get("legal"),value:"legal"},{label:e.get("a4"),value:"a4"},{label:e.get("tabloid"),value:"tabloid"},{label:e.get("propPageSizePresetInfographic"),value:"infographic"}];return function(){function u(e){_classCallCheck(this,u),this.dashboard=e.dashboardApi||e.dashboardAPI,this.content=e.content,this.content.getFeature("Properties").registerProvider(this.getAPI())}return u.prototype.getCanvas=function(){return this.canvas||(this.canvas=this.dashboard.getCanvas()),this.canvas},u.prototype.getLayoutModel=function(){return this.dashboard.getFeature("internal").getBoardModel().layout.findModel(this.content.getId())},u.prototype.getAPI=function(){return o.createAPI(this,[a])},u.prototype._getCommonType=function(e){return e&&e.split(".")[0]},u.prototype._getSubType=function(e){return e&&-1!==e.indexOf(".")?e.split(".")[1]:null},u.prototype.getPropertyList=function(){var e=this,t=[];return this._isTopLevelPage()&&(t.push.apply(t,this._getTopLevelLayoutPropertiesList()),t.push(this._getBackgroundColorProperty())),t.forEach((function(t){t.setPropertyValue||(t.setPropertyValue=function(o){return e._setPropertyValueInModel(t.id,o)}),t.getPropertyValue||(t.getPropertyValue=function(){return e._getPropertyValueFromModel(t.id)})})),t},u.prototype.getPropertyLayoutList=function(){var e=[];return this._isTopLevelPage()&&(e=this._getTopLevelPropertiesLayoutSpec()),e},u.prototype._getTopLevelPropertiesLayoutSpec=function(){return[{id:"general",type:"Group",label:e.get("tabName_general")},{id:"canvas",type:"Section",label:e.get("sectionName_canvas"),position:1},{id:"pageSize",type:"Section",collapsible:!1,label:e.get("propPageSizeLabel"),position:2},{id:"colorsAndTheme",type:"Section",label:e.get("sectionName_colorsAndThemes"),position:3},{id:"grid",type:"Section",collapsible:!1,label:e.get("gridLabel"),position:2},{id:"pageSizeSplit",type:"Split",items:[{id:"left",align:"left",items:[]},{id:"right",align:"right",items:[]}]}]},u.prototype._getTopLevelLayoutPropertiesList=function(){var t=this,o=this,n=this.getLayoutModel();return[{id:"layoutPositioning",getPropertyValue:function(){return n.getValueFromSelfOrParent("layoutPositioning")},setPropertyValue:this._setLayoutPositioning.bind(this),validatePropertyValue:function(e){return{isValid:-1!==["relative","absolute"].indexOf(e),message:"layoutPositioning must be either relative or absolute."}},editor:{sectionId:"general.canvas",position:1,uiControl:{type:"DropDown",label:e.get("propLayoutPositioning"),getOptions:this._getLayoutPositioningSpecOptions.bind(this),coachMark:{render:function(t){i.addCoachmark({id:"com.ibm.bi.dashboard.dashboardCoreProperties.layoutPositioning",title:e.get("propLayoutPositioningCoachmarkTitle"),contents:e.get("propLayoutPositioningCoachmarkContent"),placement:"bottom",glassContext:t.glassContext,$el:t.$el})}},onChange:function(e,t){o._onChangeLayoutPosition(this,t)}}}},{id:"pageSizePreset",getPropertyValue:this._getPageSizePreset.bind(this),setPropertyValue:this._setPageSizePreset.bind(this),editor:{sectionId:"general.canvas.pageSize",position:1,uiControl:{type:"DropDown",label:e.get("propPageSizePreset"),ariaLabel:e.get("propPageSizePresetAriaLabel"),options:l,onChange:this._onChangePresetPageSize.bind(this)}}},{id:"fitPage",getPropertyValue:function(){var e=!1;return"absolute"!==n.getValueFromSelfOrParent("layoutPositioning")&&(e=n.getValueFromSelfOrParent("fitPage")||!1),e},setPropertyValue:function(e){n.set({fitPage:e})},editor:{sectionId:"general.canvas.pageSize",position:2,uiControl:{type:"ToggleButton",label:e.get("fitPageText")}}},{id:"pageSizeWidth",getPropertyValue:function(){var e=t._getPropertyValueFromModel("pageSize");return e&&e.width},setPropertyValue:function(e){t._setPageSizeDirection(e,"pageSizeWidth",!0)},editor:{sectionId:"general.canvas.pageSize.pageSizeSplit.left",uiControl:{type:"InputLabel",label:e.get("propPageSizeWidth"),ariaLabel:e.get("propPageSizeWidthAriaLabel"),multiline:!0,handleReturnKey:!0,onChange:function(e,t){o._onChangePageSize(e,t,this)}}}},{id:"pageSizeHeight",getPropertyValue:function(){var e=t._getPropertyValueFromModel("pageSize");return e&&e.height},setPropertyValue:function(e){t._setPageSizeDirection(e,"pageSizeHeight",!0)},editor:{sectionId:"general.canvas.pageSize.pageSizeSplit.right",uiControl:{type:"InputLabel",label:e.get("propPageSizeHeight"),ariaLabel:e.get("propPageSizeHeightAriaLabel"),multiline:!0,handleReturnKey:!0,onChange:function(e,t){o._onChangePageSize(e,t,this)}}}},{id:"showGrid",editor:{sectionId:"general.canvas.grid",position:1,uiControl:{type:"ToggleButton",label:e.get("gridText")}}},{id:"snapGrid",editor:{sectionId:"general.canvas.grid",position:2,uiControl:{type:"ToggleButton",label:e.get("snapText")}}},{id:"snapObjects",editor:{sectionId:"general.canvas.grid",position:3,uiControl:{type:"ToggleButton",label:e.get("snapObjectsText")}}}]},u.prototype._getBackgroundColorProperty=function(){var t=this;return{id:"fillColor",getPropertyValue:function(){return t._getPropertyValueFromModel("fillColor")||"transparent"},setPropertyValue:this._setFillColor.bind(this),editor:{sectionId:"general.colorsAndTheme",position:2,uiControl:{type:"ColorPicker",label:e.get("propDashboardBackgroundColor"),ariaLabel:e.get("propDashboardBackgroundColor"),paletteType:"DashboardColorSet",open:!1,showHexValue:!0,addButton:!0}}}},u.prototype._setFillColor=function(e){var t=this.dashboard.getFeature("Colors"),o={undoRedoTransactionId:r.uniqueId("layout_fillColorChange_")},i={fillColor:this.dashboard.getFeature("Colors").getColorClassName(e)},n=this.getLayoutModel();t.prepareForColorModelChange(i,"fillColor"),n.set(i,{sender:n.id,payloadData:o})},u.prototype._getPageSizePreset=function(){var e=this.getLayoutModel().get("pageSize"),t=e.width,o=e.height,i="custom",n=parseInt(t,10),a=parseInt(o,10);for(var r in c)if(c.hasOwnProperty(r)){var s=c[r];if(s.width===n&&s.height===a){i=r;break}}return i},u.prototype._setPageSizePreset=function(e){var t=c[e];if(t){"absolute"!==this.getCanvas().getPropertyValue("layoutPositioning")&&this.getCanvas().setPropertyValue("fitPage","16:9"===e||"4:3"===e);var o=this.getCanvas().getPropertyValue("pageSizeWidth"),i=this.getCanvas().getPropertyValue("pageSizeHeight");o&&o===t.width&&i&&i===t.height||this._setPageSize({width:t.width,height:t.height},!0)}},u.prototype._onChangePresetPageSize=function(e,t){c[t]&&("absolute"!==this.getLayoutModel().get("layoutPositioning")&&this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:"fitPage",value:"16:9"===t||"4:3"===t}),this.getCanvas().setPropertyValue(e,t))},u.prototype._getPropertyValueFromModel=function(e){var t=this.getLayoutModel();return t&&t.get(e)},u.prototype._setPropertyValueInModel=function(e,t,o){var i={},n=this.getLayoutModel();i[e]=t,n.set(i,o)},u.prototype._isTopLevelPage=function(){return!this.content.getContainer()},u.prototype._onChangeLayoutPosition=function(t,o){var i=this,a=this.dashboard.getFeature("Transaction"),r=a.startTransaction();if(r.undoRedoTransactionId||(r.undoRedoTransactionId=r.transactionId),this.getCanvas().getPropertyValue("layoutPositioning")){if("absolute"===o)this.dashboard.triggerDashboardEvent("properties:updateEnabled",{propertyName:"fitPage",enabled:!1}),this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:"fitPage",value:!1});else{this.dashboard.triggerDashboardEvent("properties:updateEnabled",{propertyName:"fitPage",enabled:!0});var s=this._getPageSizePreset();"16:9"===s||"4:3"===s?this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:"fitPage",value:!0}):this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:"fitPage",value:!1})}this.getCanvas().setPropertyValue("layoutPositioning",o,r),a.endTransaction(r)}else{new n("warning",e.get("confirmLayoutStyleUpgradeTitle"),e.get("confirmLayoutStyleUpgrade")).confirm((function(){i.getCanvas().setPropertyValue("layoutPositioning",o,r),a.endTransaction(r),i.dashboard.triggerDashboardEvent("properties:refreshPane")}),(function(){t._lastChangedValue="undefined",t.setValue("undefined")}))}},u.prototype._setLayoutPositioning=function(e,t){var o=this.dashboard.getFeature("Transaction"),i=o.startTransaction(t);i.undoRedoTransactionId||(i.undoRedoTransactionId=i.transactionId);var n=this.getLayoutModel();if(n.set({layoutPositioning:e},{payloadData:i,sender:this.senderId}),"absolute"===e)n.set({fitPage:!1},{payloadData:i,sender:this.senderId});else{var a=this._getPageSizePreset();"16:9"===a||"4:3"===a?n.set({fitPage:!0},{payloadData:i,sender:this.senderId}):n.set({fitPage:!1},{payloadData:i,sender:this.senderId})}o.endTransaction(i),this.dashboard.triggerDashboardEvent("layout:resize")},u.prototype._getLayoutPositioningSpecOptions=function(){var t=[];return this.getCanvas().getPropertyValue("layoutPositioning")||t.push({label:"",value:"undefined"}),t.push({label:e.get("propLayoutRelative"),value:"relative"},{label:e.get("propLayoutAbsolute"),value:"absolute"}),t},u.prototype._onChangePageSize=function(t,o,i){if(i.propertiesManagerChange)i.onChangeValueHold=o;else{this.getCanvas().setPropertyValue(t,o);var n=parseInt(this.getCanvas().getPropertyValue(t),10),a=["pageSizeSplit",t];isNaN(n)?this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:a,value:i.onChangeValueHold}):o!==i.onChangeValueHold&&(i.onChangeValueHold=s.getPropertyDisplayString(n,e.get("pixelUnit"),!0),this.dashboard.triggerDashboardEvent("properties:setValue",{propertyName:a,value:i.onChangeValueHold}))}},u.prototype._showPageSizeChangeToast=function(){this.dashboard.showToast(e.get("propPageSizeAdjustedMessage"),{type:"info"})},u.prototype._setPageSizeDirection=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=parseInt(e,10);if(!isNaN(i)){var n=this.getLayoutModel(),a="pageSizeWidth"===t?"width":"height",r="pageSizeWidth"===t?"height":"width",s=n.get("pageSize")||{};if(s[a]===i)return;var d={};d[a]=i,d[r]=s[r],this._setPageSize(d,o);var c="width"===a?"change:pageSizeWidth":"change:pageSizeHeight";n.trigger(c,{value:d[a],model:n,eventName:c})}},u.prototype._setPageSize=function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.getLayoutModel(),n=!1,a=t.getBoundingPageSize(i,d);return a&&((isNaN(e.width)||a.width>e.width)&&(e.width=a.width,n=!0),(isNaN(e.height)||a.height>e.height)&&(e.height=a.height,n=!0),n&&o&&this._showPageSizeChangeToast()),i.set({pageSize:e}),this.dashboard.triggerDashboardEvent("layout:resize"),e},u}()})),define("dashboard-core/js/features/dashboard/dashboardServiceability/view/ServiceabilityView",["../../../../lib/@waca/core-client/js/core-client/ui/core/View","react","react-dom","./ServiceabilityContent","jquery"],(function(e,t,o,i){return function(e){function n(t){_classCallCheck(this,n);var o=_possibleConstructorReturn(this,e.call(this,t));return o._widgetInfo=t.widgetInfo,o._dashboardApi=t.dashboardApi,o}return _inherits(n,e),n.prototype.render=function(){var e=this;return new Promise((function(n){o.render(t.createElement(i,{widgetInfo:e._widgetInfo,dashboardApi:e._dashboardApi,UISpec:e._widgetInfo.toUIJSON(),showButtons:!0}),e.el,(function(){n()}))}))},n.prototype.remove=function(){o.unmountComponentAtNode(this.el)},n.prototype.getDOMInfo=function(){var e={},t=this.$el.find(".widgetID_valueArea");return t.length>=1&&(e.id=t[0].innerText),e},n}(e)})),define("dashboard-core/js/view/features/content/contentView/api/RendererAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.render=function(){},e.prototype.destroy=function(){},e}()})),define("dashboard-core/js/view/features/content/contentView/api/impl/ContentView",["jquery","../RendererAPI","../../../../../../lib/@waca/dashboard-common/dist/core/APIFactory"],(function(e,t,o){return function(){function i(e){_classCallCheck(this,i),this.content=e.content,this.dashboardApi=e.features["Dashboard.API"]}return i.prototype.getAPI=function(){return this._api||(this._api=o.createAPI(this,[t])),this._api},i.prototype._getLegacyViewControllers=function(){return this.dashboardApi.getFeature("LegacyViewControllers")},i.prototype._getLayoutController=function(){return this._getLegacyViewControllers().getLayoutController()},i.prototype._getWidgetLoader=function(){return this._getLegacyViewControllers().getWidgetLoader()},i.prototype._loadCss=function(t){if(!e("head").find("[href*='"+t+"']").length){var o=document.getElementsByTagName("head")[0],i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.href=t,i.media="all",o.appendChild(i)}},i.prototype.render=function(t){var o=this;this._loadCss("dashboard-core/css/main.css"),this._loadCss("dashboard-analytics/css/main.css");var i=this._getLayoutController(),n=this.content.getFeature("Models.internal").getLayoutModel();return n&&(n.style={height:"100%",width:"100%",left:"0px",top:"0px"}),i.createLayoutModule(n.id,void 0,{}).then((function(i){if(i)return e(t).append(i.domNode),o.layout=i,e(window).on("resize.contentView"+o.content.getId(),o.onResize.bind(o)),i.renderContent()}))},i.prototype.onResize=function(){this.layout&&this.layout.onResize()},i.prototype.destroy=function(){e(window).off("resize.contentView"+this.content.getId()),this.layout&&this.layout.destroy()},i}()})),define("dashboard-core/js/features/content/contentFilter/api/ContentFilterProviderAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.match=function(){},e}()})),define("dashboard-core/js/features/content/contentFilter/ContentFilterPropertiesProvider",["underscore","./api/ContentFilterProviderAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory"],(function(e,t,o){return function(){function e(i){_classCallCheck(this,e),this.content=i.content,this._api=o.createAPI(this,[t]),this._key="properties",this.content.getFeature("ContentFilter").registerProvider(this._key,this.getAPI())}return e.prototype.getAPI=function(){return this._api},e.prototype.match=function(e){var t=e.selector,o=!1;for(var i in t[this._key]){if(this.content.getPropertyValue(i)!==t[this._key][i]){o=!1;break}o=!0}return o},e}()})),define("dashboard-core/js/features/content/widgetProperties/WidgetPropertiesProvider",["underscore","../../../lib/@waca/dashboard-common/dist/api/PropertiesProviderAPI","../../../lib/@waca/dashboard-common/dist/core/APIFactory"],(function(e,t,o){return function(){function i(e){var n=e.dashboardAPI,a=e.content,r=e.features;_classCallCheck(this,i),this.content=a,this.dashboard=n,this._api=o.createAPI(this,[t]),r.Properties.registerProvider(this.getAPI()),this.type=this.content.getType().split(".").splice(1).join(".")}return i.prototype._isHandledByTheContentProps=function(e){return"datagrid.viewOption"===e},i.prototype.getAPI=function(){return this._api},i.prototype.getContributionSpec=function(){var e=this.dashboard.getFeature("internal.deprecated").getWidgetRegistry()[this.type];return this._spec=JSON.parse(JSON.stringify(e)),this._spec},i.prototype.getWidgetModel=function(){return this.content.getFeature("Models.internal").getWidgetModel()},i.prototype.getPropertyLayoutList=function(){var e,t=this.getContributionSpec();this._propertyLayoutList||(this._propertyLayoutList=[],t&&t.propertyLayoutList&&(e=this._propertyLayoutList).push.apply(e,t.propertyLayoutList.slice()));return this._propertyLayoutList.slice()},i.prototype.getPropertyList=function(e){var t=this,o=this.getContributionSpec();this._propertyList||(o&&o.propertyList?this._propertyList=JSON.parse(JSON.stringify(o.propertyList)):this._propertyList=[],this._propertyList.forEach((function(e){if(e.editor&&e.editor.uiControl&&e.editor.uiControl.multilingual){var o=t.dashboard.getFeature("TranslationService");if(o){var i=(t.getWidgetModel().getMultilingualAttribute(e.id)||{}).multilingualProperty;o.processMultilingualProperty(e,i)}}var n=e.editor&&e.editor.uiControl&&e.editor.uiControl.customValidatorCallback;n&&"function"==typeof t[n]&&(e.editor.uiControl.customValidatorCallback=t[n].bind(t)),t._isHandledByTheContentProps(e.id)||(e.getPropertyValue||(e.getPropertyValue=function(){return t._getPropertyValue(e.id)}),e.setPropertyValue||(e.setPropertyValue=function(o){t.setPropertyValue(e.id,o)}))})));var i=this._propertyList.slice();return e||(this._setDefaultSpecPropertyColorForCurrentTheme("border","borderColor",i),this._setDefaultSpecPropertyColorForCurrentTheme("backgroundColor","fillColor",i)),i},i.prototype._getDefaultThemeColorForCurrentTheme=function(t){var o=this.dashboard.getFeature("Colors"),i=o.getPropertyForUIElement("widget",t).value;return e.isObject(i)&&(i=i.color),"$"===i.substring(0,1)&&(i=o.getValueForVariable("Color",i.substr(1))),"#"===i.substring(0,1)&&!isNaN(parseInt(i.substr(1),16))||"transparent"===i?i:null},i.prototype._setDefaultSpecPropertyColorForCurrentTheme=function(t,o,i){var n=e.find(i,(function(e){return e.id===o})),a=this._getDefaultThemeColorForCurrentTheme(t);if(!n||null===a)return Promise.resolve();var r=this.dashboard.getFeature("Colors").getDashboardColorSet(),s=e.find(r,(function(e){return e.hexValue===a}));s||(s=r[r.length-1]),n.editor.uiControl.defaultValue=s.id},i.prototype._getPropertyValue=function(e){return this.getWidgetModel().get(e)},i.prototype.setPropertyValue=function(e,t){var o=this.dashboard.getFeature("Colors"),i={};i[e]=t,"fillColor"!==e&&"borderColor"!==e||(i[e]=t?o.getColorClassName(t):null,o.prepareForColorModelChange(i,e)),this.set(i,{payloadData:{skipUndoRedo:!0}})},i.prototype.set=function(t,o){t&&(o=o||{},o=e.defaults(o,{sender:this.id}),this.getWidgetModel().set(t,o))},i}()})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/delete_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1359],{"3865314c5959606874d4":function(t,o){t.exports=e},"6200a98b23e7835f35ec":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"delete_16_v7",use:"delete_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="delete_16_v7"><path d="M6 6h1v6H6zm3 0h1v6H9z" /><path d="M2 3v1h1v10c0 .6.4 1 1 1h8c.6 0 1-.4 1-1V4h1V3H2zm2 11V4h8v10H4zM6 1h4v1H6z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"96d9f963cd5bcbe25bc9":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("6200a98b23e7835f35ec"));t.default=n.a}},["96d9f963cd5bcbe25bc9"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/object-group_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([804],{"02454226ab25e6fc7fef":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("371dc6c6ab8373ad02aa"));t.default=n.a},"371dc6c6ab8373ad02aa":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"object-group_16_v7",use:"object-group_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="object-group_16_v7"><path d="M15 3V1h-2v.5H3V1H1v2h.5v10H1v2h2v-.5h10v.5h2v-2h-.5V3h.5zm-1.5 10H13v.5H3V13h-.5V3H3v-.5h10V3h.5v10zM9 4H4v5h3v3h5V7H9V4zM5 8V5h3v2H7v1H5zm6 0v3H8V9h1V8h2z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e}},["02454226ab25e6fc7fef"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/object-ungroup_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([801],{"3865314c5959606874d4":function(t,o){t.exports=e},"40ac387c87499f35c018":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b0ed87883857f73c50d3"));t.default=n.a},b0ed87883857f73c50d3:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"object-ungroup_16_v7",use:"object-ungroup_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="object-ungroup_16_v7"><path d="M15 9V7h-2v.5H9V7h-.5V3H9V1H7v.5H3V1H1v2h.5v4H1v2h2v-.5h4V9h.5v4H7v2h2v-.5h4v.5h2v-2h-.5V9h.5zM3 7.5V7h-.5V3H3v-.5h4V3h.5v4H7v.5H3zM13.5 13H13v.5H9V13h-.5V9H9v-.5h4V9h.5v4z" /></symbol>'});r.a.add(s),t.a=s}},["40ac387c87499f35c018"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/copy_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1493],{"2049c404e736e9058448":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2d8bc68595cbd198de81"));t.default=n.a},"2d8bc68595cbd198de81":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"copy_16_v7",use:"copy_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="copy_16_v7"><path d="M14 5v9H5V5h9m0-1H5a1 1 0 00-1 1v9a1 1 0 001 1h9a1 1 0 001-1V5a1 1 0 00-1-1z" /><path d="M2 9H1V2a1 1 0 011-1h7v1H2z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e}},["2049c404e736e9058448"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bring-to-front_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1867],{"3865314c5959606874d4":function(t,o){t.exports=e},"9a97b4b0e60b112f6f6c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b92508e4aa8998052677"));t.default=n.a},b92508e4aa8998052677:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"bring-to-front_16_v7",use:"bring-to-front_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="bring-to-front_16_v7"><path d="M14 5h-3V2c0-.5-.4-1-.9-1H2c-.5 0-1 .4-1 .9V10c0 .5.4 1 .9 1H5v3c0 .5.4 1 .9 1H14c.5 0 1-.4 1-.9V6c0-.5-.4-1-.9-1H14zm-4 0H6c-.5 0-1 .4-1 .9V10H2V2h8v3z" /></symbol>'});r.a.add(s),t.a=s}},["9a97b4b0e60b112f6f6c"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/send-to-back_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([437],{"3865314c5959606874d4":function(t,o){t.exports=e},"635d0cec9427308ec5eb":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("a8eae785af10a07eb6f2"));t.default=n.a},a8eae785af10a07eb6f2:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"send-to-back_16_v7",use:"send-to-back_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="send-to-back_16_v7"><path d="M14 4h-2V2c0-.6-.4-1-1-1H2c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1h2v2c0 .6.4 1 1 1h9c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1zM2 2h9v9H2V2z" /></symbol>'});r.a.add(s),t.a=s}},["635d0cec9427308ec5eb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-center_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2053],{"3865314c5959606874d4":function(t,o){t.exports=e},"506bc587879f75bc5dec":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("7999b886c077f4cd7e79"));t.default=n.a},"7999b886c077f4cd7e79":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--horizontal-center_32_v7",use:"align--horizontal-center_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--horizontal-center_32_v7"><path d="M24 18h-7v-4h3a2.002 2.002 0 002-2V8a2.002 2.002 0 00-2-2h-3V2h-2v4h-3a2.002 2.002 0 00-2 2v4a2.002 2.002 0 002 2h3v4H8a2.002 2.002 0 00-2 2v4a2.002 2.002 0 002 2h7v4h2v-4h7a2.002 2.002 0 002-2v-4a2.002 2.002 0 00-2-2zM12 8h8v4h-8zm12 16H8v-4h16z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["506bc587879f75bc5dec"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-left_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2052],{"0664fef626e8ade26988":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("cf62bb6c68cb238826d3"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},cf62bb6c68cb238826d3:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--horizontal-left_32_v7",use:"align--horizontal-left_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--horizontal-left_32_v7"><path d="M26 26H11a2.002 2.002 0 01-2-2v-4a2.002 2.002 0 012-2h15a2.002 2.002 0 012 2v4a2.002 2.002 0 01-2 2zm0-6.001L11 20v4h15zM18 14h-7a2.002 2.002 0 01-2-2V8a2.002 2.002 0 012-2h7a2.002 2.002 0 012 2v4a2.002 2.002 0 01-2 2zm0-6.001L11 8v4h7zM4 2h2v28H4z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["0664fef626e8ade26988"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-right_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2051],{"3865314c5959606874d4":function(t,o){t.exports=e},"95119b8b76f979e1cf36":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f8c19ddb9066d9a49469"));t.default=n.a},f8c19ddb9066d9a49469:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--horizontal-right_32_v7",use:"align--horizontal-right_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--horizontal-right_32_v7"><path d="M4 24v-4a2.002 2.002 0 012-2h15a2.002 2.002 0 012 2v4a2.002 2.002 0 01-2 2H6a2.002 2.002 0 01-2-2zm2 0h15v-4l-15-.001zm6-12V8a2.002 2.002 0 012-2h7a2.002 2.002 0 012 2v4a2.002 2.002 0 01-2 2h-7a2.002 2.002 0 01-2-2zm2 0h7V8l-7-.001zm14 18h-2V2h2z" /><path style="fill:none" d="M32 32H0V0h32z" /></symbol>'});r.a.add(s),t.a=s}},["95119b8b76f979e1cf36"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-top_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2048],{"3271e7fe027fb51b7008":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--vertical-top_32_v7",use:"align--vertical-top_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--vertical-top_32_v7"><path d="M24 20h-4a2.002 2.002 0 01-2-2v-7a2.002 2.002 0 012-2h4a2.002 2.002 0 012 2v7a2.002 2.002 0 01-2 2zm-4-9v7h4.001L24 11zm-8 17H8a2.002 2.002 0 01-2-2V11a2.002 2.002 0 012-2h4a2.002 2.002 0 012 2v15a2.002 2.002 0 01-2 2zM8 11v15h4.001L12 11zM2 4h28v2H2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"76e5c4808c4084c94a60":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("3271e7fe027fb51b7008"));t.default=n.a}},["76e5c4808c4084c94a60"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-center_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2049],{"3865314c5959606874d4":function(t,o){t.exports=e},c1e14e225f68667de97c:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f2e70997e82ed8a1492f"));t.default=n.a},f2e70997e82ed8a1492f:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--vertical-center_32_v7",use:"align--vertical-center_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--vertical-center_32_v7"><path d="M30 15h-4v-3a2.002 2.002 0 00-2-2h-4a2.002 2.002 0 00-2 2v3h-4V8a2.002 2.002 0 00-2-2H8a2.002 2.002 0 00-2 2v7H2v2h4v7a2.002 2.002 0 002 2h4a2.002 2.002 0 002-2v-7h4v3a2.002 2.002 0 002 2h4a2.002 2.002 0 002-2v-3h4zM8 24V8h4l.001 16zm12-4v-8h4l.001 8z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["c1e14e225f68667de97c"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-bottom_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([2050],{"0545acbbaa0eb0f8496f":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"align--vertical-bottom_32_v7",use:"align--vertical-bottom_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="align--vertical-bottom_32_v7"><path d="M2 26h28v2H2zm22-3h-4a2.002 2.002 0 01-2-2v-7a2.002 2.002 0 012-2h4a2.002 2.002 0 012 2v7a2.002 2.002 0 01-2 2zm-4-9v7h4.001L24 14zm-8 9H8a2.002 2.002 0 01-2-2V6a2.002 2.002 0 012-2h4a2.002 2.002 0 012 2v15a2.002 2.002 0 01-2 2zM8 6v15h4.001L12 6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"48339c3852b77f63ac26":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("0545acbbaa0eb0f8496f"));t.default=n.a}},["48339c3852b77f63ac26"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/pin_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([694],{"3865314c5959606874d4":function(t,o){t.exports=e},"6aba9997f4c55e7b7630":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"pin_32_v7",use:"pin_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="pin_32_v7"><path d="M28.59 13.31L30 11.9 20 2l-1.31 1.42 1.18 1.18-11.49 9.72-1.72-1.71L5.25 14l5.66 5.68L2 28.58 3.41 30l8.91-8.91L18 26.75l1.39-1.42-1.71-1.71 9.72-11.49zM16.26 22.2L9.8 15.74 21.29 6 26 10.71z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},cb8957f2098dafbc9caa:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("6aba9997f4c55e7b7630"));t.default=n.a}},["cb8957f2098dafbc9caa"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/text--creation_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([236],{"3865314c5959606874d4":function(t,o){t.exports=e},"5876f3e23010801ff42e":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"text--creation_32_v7",use:"text--creation_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="text--creation_32_v7"><path d="M27 22.14V9.86A4 4 0 1022.14 5H9.86A4 4 0 105 9.86v12.28A4 4 0 109.86 27h12.28A4 4 0 1027 22.14zM26 4a2 2 0 11-2 2 2 2 0 012-2zM4 6a2 2 0 112 2 2 2 0 01-2-2zm2 22a2 2 0 112-2 2 2 0 01-2 2zm16.14-3H9.86A4 4 0 007 22.14V9.86A4 4 0 009.86 7h12.28A4 4 0 0025 9.86v12.28A4 4 0 0022.14 25zM26 28a2 2 0 112-2 2 2 0 01-2 2z" /><path d="M21 11H11v2h4v9h2v-9h4v-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"9235fec1cc1049358a3c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("5876f3e23010801ff42e"));t.default=n.a}},["9235fec1cc1049358a3c"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/explore_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1270],{"263d20e149c445d888cb":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"explore_16_v7",use:"explore_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="explore_16_v7"><circle cx="8" cy="8" r=".75" /><path d="M8 4.3l1.25 2.22.15.25.25.14 2 1.09-2 1.1-.24.13-.15.25L8 11.7 6.74 9.48l-.14-.25-.25-.13L4.33 8l2-1.09.25-.14.14-.24L8 4.3m0-2L5.85 6 2.24 8l3.63 2L8 13.72 10.14 10l3.62-2-3.64-2z" /><path d="M8 2a6 6 0 11-6 6 6 6 0 016-6m0-1a7 7 0 107 7 7 7 0 00-7-7z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"72eabe30eb362f906962":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("263d20e149c445d888cb"));t.default=n.a}},["72eabe30eb362f906962"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/unlink_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([127],{"02d413f1b0766876e588":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("93a40a5ac40dedcce4e9"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"93a40a5ac40dedcce4e9":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"unlink_32_v7",use:"unlink_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="unlink_32_v7"><path d="M3.584 5.002l1.414-1.415 3.416 3.415L7 8.417zm19.997 19.99l1.415-1.414 3.415 3.416-1.415 1.414zM11 2h2v4h-2zm-9 9h4v2H2zm24 8h4v2h-4zm-7 7h2v4h-2zm-2.42-4.93l-3.71 3.72a4 4 0 11-5.66-5.66l3.72-3.72L9.51 14 5.8 17.72a6 6 0 00-.06 8.54A6 6 0 0010 28a6.07 6.07 0 004.32-1.8L18 22.49zm-1.17-10.14l3.72-3.72a4 4 0 115.66 5.66l-3.72 3.72L22.49 18l3.71-3.72a6 6 0 00.06-8.54A6 6 0 0022 4a6.07 6.07 0 00-4.32 1.8L14 9.51z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["02d413f1b0766876e588"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/link_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([974],{"3865314c5959606874d4":function(t,o){t.exports=e},"8b6342da0085c5621a94":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("9d5a3b358058a40a755c"));t.default=n.a},"9d5a3b358058a40a755c":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"link_32_v7",use:"link_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="link_32_v7"><path d="M29.25 6.76a6 6 0 00-8.5 0l1.42 1.42a4 4 0 115.67 5.67l-8 8a4 4 0 11-5.67-5.66l1.41-1.42-1.41-1.42-1.42 1.42a6 6 0 000 8.5A6 6 0 0017 25a6 6 0 004.27-1.76l8-8a6 6 0 00-.02-8.48z" /><path d="M4.19 24.82a4 4 0 010-5.67l8-8a4 4 0 015.67 0A3.94 3.94 0 0119 14a4 4 0 01-1.17 2.85L15.71 19l1.42 1.42 2.12-2.12a6 6 0 00-8.51-8.51l-8 8a6 6 0 000 8.51A6 6 0 007 28a6.07 6.07 0 004.28-1.76l-1.42-1.42a4 4 0 01-5.67 0z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["8b6342da0085c5621a94"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/draw-link_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1312],{"2c8bc9513a97ee8a75e6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("46a57988a708188a72b2"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"46a57988a708188a72b2":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"draw-link_16_v7",use:"draw-link_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="draw-link_16_v7"><path d="M5 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zM3 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm10 7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 3c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zM8.4 9.1l.7-.7.7.7-.7.7-.7-.7zM7 6.3l-.7.7-.7-.7.7-.7.7.7zM5.6 4.9l-.7.7-.7-.7.7-.7.7.7zm2.8 2.8l-.7.7-.7-.7.7-.7.7.7zM11 11H8v-1h2V8h1v3z" /></symbol>'});r.a.add(s),t.a=s}},["2c8bc9513a97ee8a75e6"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/toolbar-attach_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([176],{"3865314c5959606874d4":function(t,o){t.exports=e},"4885f69e724d1d398c4d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("c6a03d36a6da261fe45b"));t.default=n.a},c6a03d36a6da261fe45b:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"toolbar-attach_32_v7",use:"toolbar-attach_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="toolbar-attach_32_v7"><path d="M28 18H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h24c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zM4 28v-8h4.5v8H4zm6.5 0v-8H15v8h-4.5zm6.5 0v-8h4.5v8H17zm11 0h-4.5v-8H28v8zM11.8 9.1l-1.4-1.4L16 2l5.7 5.6L20.3 9 17 5.8V16h-2V5.8l-3.2 3.3z" /></symbol>'});r.a.add(s),t.a=s}},["4885f69e724d1d398c4d"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/toolbar-detatch_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([175],{"3865314c5959606874d4":function(t,o){t.exports=e},e2514d41e4bcee145257:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("ebcfd647b283a047c241"));t.default=n.a},ebcfd647b283a047c241:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"toolbar-detatch_16_v7",use:"toolbar-detatch_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="toolbar-detatch_16_v7"><path d="M14 1H2c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zM2 6V2h2.2v4H2zm3.2 0V2h2.2v4H5.2zm3.3 0V2h2.2v4H8.5zM14 6h-2.2V2H14v4zm-3.9 5.5l.7.7L8 15l-2.8-2.8.7-.7 1.6 1.6V8h1v5.1l1.6-1.6z" /></symbol>'});r.a.add(s),t.a=s}},["e2514d41e4bcee145257"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/edit_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1296],{"3865314c5959606874d4":function(t,o){t.exports=e},"63938b4a5c277b24d295":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"edit_16_v7",use:"edit_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="edit_16_v7"><path d="M1 13h14v1H1zm11.7-8.5c.4-.4.4-1 0-1.4l-1.8-1.8c-.4-.4-1-.4-1.4 0L2 8.8V12h3.2l7.5-7.5zM10.2 2L12 3.8l-1.5 1.5-1.8-1.8L10.2 2zM3 11V9.2l5-5L9.8 6l-5 5H3z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"8372fbffb0fc7e905ffa":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("63938b4a5c277b24d295"));t.default=n.a}},["8372fbffb0fc7e905ffa"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/minimize_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([858],{"05df3a0ffe6b5ab3d46e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("63e0d437f6933316649b"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"63e0d437f6933316649b":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"minimize_32_v7",use:"minimize_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="minimize_32_v7"><path d="M6 17v2h5.59L2 28.58 3.41 30 13 20.41V26h2v-9H6zM30 3.42L28.59 2 19 11.59V6h-2v9h9v-2h-5.59L30 3.42z" /><path style="fill:none" d="M32 32H0V0h32z" /></symbol>'});r.a.add(s),t.a=s}},["05df3a0ffe6b5ab3d46e"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/maximize_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([907],{"3865314c5959606874d4":function(t,o){t.exports=e},"46d9ec9b56769d9d9ae0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("65930e39dfba5ee9803f"));t.default=n.a},"65930e39dfba5ee9803f":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"maximize_32_v7",use:"maximize_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="maximize_32_v7"><path d="M21 2v2h5.59L17 13.58 18.41 15 28 5.41V11h2V2h-9zm-6 16.42L13.59 17 4 26.59V21H2v9h9v-2H5.41L15 18.42z" /><path style="fill:none" d="M32 32H0V0h32z" /></symbol>'});r.a.add(s),t.a=s}},["46d9ec9b56769d9d9ae0"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/image_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1071],{"3865314c5959606874d4":function(t,o){t.exports=e},b2257acb04615a323d8c:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"image_32_v7",use:"image_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="image_32_v7"><path d="M19 14a3 3 0 10-3-3 3 3 0 003 3zm0-4a1 1 0 11-1 1 1 1 0 011-1z" /><path d="M26 4H6a2 2 0 00-2 2v20a2 2 0 002 2h20a2 2 0 002-2V6a2 2 0 00-2-2zm0 22H6v-6l5-5 5.59 5.59a2 2 0 002.82 0L21 19l5 5zm0-4.83l-3.59-3.59a2 2 0 00-2.82 0L18 19.17l-5.59-5.59a2 2 0 00-2.82 0L6 17.17V6h20z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},e4506a418fe45a6b7b92:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b2257acb04615a323d8c"));t.default=n.a}},["e4506a418fe45a6b7b92"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/video-file_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([87],{"1cece6f6f1d860679fee":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("90352a23fdd58f212184"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"90352a23fdd58f212184":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"video-file_32_v7",use:"video-file_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="video-file_32_v7"><path d="M11 24c-.2 0-.4 0-.5-.1-.3-.2-.5-.5-.5-.9V11c0-.4.2-.7.5-.9.3-.2.7-.2 1 0l11 6c.5.3.7.9.4 1.4-.1.2-.2.3-.4.4l-11 6c-.2.1-.3.1-.5.1zm1-11.3v8.6l7.9-4.3-7.9-4.3zM28 4v24H4V4h24m0-2H4c-1.1 0-2 .9-2 2v24c0 1.1.9 2 2 2h24c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z" /></symbol>'});r.a.add(s),t.a=s}},["1cece6f6f1d860679fee"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/webpage_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([42],{"3865314c5959606874d4":function(t,o){t.exports=e},"5c35ca51d7c6ff878f16":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("889dca557b8e97aaef36"));t.default=n.a},"889dca557b8e97aaef36":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"webpage_32_v7",use:"webpage_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="webpage_32_v7"><path d="M28 2H4c-1.1 0-2 .9-2 2v24c0 1.1.9 2 2 2h24c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM4 4h24v2H4V4zm24 24H4V8h24v20zM7.4 18.5l4.8-4.9c1.6-1.6 4.2-1.6 5.8 0s1.6 4.2 0 5.8l-.6.6-1.4-1.3.6-.6c.8-.8.8-2.1 0-2.9-.4-.4-.9-.6-1.5-.6s-1.1.2-1.5.6L8.9 20c-.4.4-.6.9-.6 1.5s.2 1.1.6 1.5c.8.8 2.1.8 2.9 0l1.4 1.4c-.8.8-1.8 1.2-2.9 1.2-2.3 0-4.1-1.8-4.1-4 0-1.2.4-2.3 1.2-3.1zm12.8-5.4l-1.4-1.4c.8-.8 1.8-1.2 2.9-1.2 2.3 0 4.1 1.8 4.1 4 0 1.1-.4 2.2-1.2 3l-4.9 4.9c-1.6 1.6-4.2 1.6-5.8 0-1.6-1.6-1.6-4.2 0-5.8l.6-.6 1.4 1.4-.5.6c-.4.4-.6.9-.6 1.5 0 1.1.9 2.1 2.1 2.1.6 0 1.1-.2 1.5-.6l4.9-4.9c.8-.8.8-2.1 0-2.9-.9-.9-2.2-.9-3.1-.1z" /></symbol>'});r.a.add(s),t.a=s}},["5c35ca51d7c6ff878f16"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/data-notebook_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1394],{"2b30952cf198e67aca06":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"data-notebook_32_v7",use:"data-notebook_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="data-notebook_32_v7"><path d="M2.6 23.3L9 29.4c.4.4 1 .6 1.5.6h17.3c1.1 0 2.1-.9 2.1-2V4c0-1.1-1-2-2.1-2H4.1C3 2 2 2.9 2 4v18c0 .5.2 1 .6 1.3zm8 4.7l-6.5-6h6.4l.1 6zM28 4v24H12.7v-6c0-1.1-1-2-2.1-2H4V4h24zM10.7 16.7l-1.4-1.4 3.3-3.3-3.3-3.3 1.4-1.4 4.7 4.7-4.7 4.7zM24 16h-6v-2h6v2z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},bb23203d97b4f31120fa:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2b30952cf198e67aca06"));t.default=n.a}},["bb23203d97b4f31120fa"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/filter_24",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1240],{"01581141de67d789d6a6":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"filter_24_v7",use:"filter_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="filter_24_v7"><path d="M13.5 21h-3c-.8 0-1.5-.7-1.5-1.5v-5.7L3.4 8.2c-.2-.2-.4-.6-.4-1V4.5C3 3.7 3.7 3 4.5 3h15c.8 0 1.5.7 1.5 1.5v2.7c0 .4-.2.8-.4 1.1L15 13.8v5.7c0 .8-.7 1.5-1.5 1.5zm-9-16.5v2.7l6 6v6.3h3v-6.3l6-6V4.5h-15z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},c2f3d334d82fce6a97e2:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("01581141de67d789d6a6"));t.default=n.a}},["c2f3d334d82fce6a97e2"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/template_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([247],{"2c5640a6faaa953f458d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("733bb0e8b7f96c011f95"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"733bb0e8b7f96c011f95":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"template_32_v7",use:"template_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="template_32_v7"><path d="M26 6v4H6V6h20m0-2H6a2 2 0 00-2 2v4a2 2 0 002 2h20a2 2 0 002-2V6a2 2 0 00-2-2zM10 16v10H6V16h4m0-2H6a2 2 0 00-2 2v10a2 2 0 002 2h4a2 2 0 002-2V16a2 2 0 00-2-2zm16 2v10H16V16h10m0-2H16a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V16a2 2 0 00-2-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["2c5640a6faaa953f458d"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/warning_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([54],{"3865314c5959606874d4":function(t,o){t.exports=e},"39fe63119a6bc6daa1bd":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("93741c11cf0a259d519b"));t.default=n.a},"93741c11cf0a259d519b":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"warning_32_v7",use:"warning_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="warning_32_v7"><path d="M16 2a14 14 0 1014 14A14 14 0 0016 2zm0 26a12 12 0 1112-12 12 12 0 01-12 12z" /><path d="M15 8h2v11h-2zm1 14a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["39fe63119a6bc6daa1bd"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/table_24",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([263],{"3865314c5959606874d4":function(t,o){t.exports=e},"5b75b93c963739da97cf":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"table_24_v7",use:"table_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="table_24_v7"><path d="M20.2 2.2H3.8c-.8 0-1.5.7-1.5 1.5v16.5c0 .8.7 1.5 1.5 1.5h16.5c.8 0 1.5-.7 1.5-1.5V3.8c0-.9-.7-1.6-1.6-1.6zm-16.4 6h4.5v5.2H3.8V8.2zm6 5.3V8.2h4.5v5.2H9.8zm4.4 1.5v5.2H9.8V15h4.4zM3.8 15h4.5v5.2H3.8V15zm16.4 5.2h-4.5V15h4.5v5.2zm0-6.7h-4.5V8.2h4.5v5.3zm0-6.7H3.8v-3h16.5v3z" /></symbol>'});r.a.add(s),t.a=s},"95cea179f52da30705dc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("5b75b93c963739da97cf"));t.default=n.a}},["95cea179f52da30705dc"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/configure_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1517],{"3135f8309aad6ef12895":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"configure_16_v7",use:"configure_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="configure_16_v7"><path d="M15 4h-2.1c-.2-1.1-1.2-2-2.4-2s-2.2.9-2.4 2H1v1h7.1c.2 1.1 1.2 2 2.4 2s2.2-.9 2.4-2H15V4zm-4.5 2C9.7 6 9 5.3 9 4.5S9.7 3 10.5 3s1.5.7 1.5 1.5S11.3 6 10.5 6zM1 12h2.1c.2 1.1 1.2 2 2.4 2s2.2-.9 2.4-2H15v-1H7.9c-.2-1.1-1.2-2-2.4-2s-2.2.9-2.4 2H1v1zm4.5-2c.8 0 1.5.7 1.5 1.5S6.3 13 5.5 13 4 12.3 4 11.5 4.7 10 5.5 10z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},df639dbb9d3ca55e64a4:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("3135f8309aad6ef12895"));t.default=n.a}},["df639dbb9d3ca55e64a4"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/connect_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1508],{"13656a5413c92fc87a88":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"connect_32_v7",use:"connect_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="connect_32_v7"><path d="M23 16.01a7 7 0 00-4.18 1.39l-4.22-4.22A6.86 6.86 0 0016 9.01a7 7 0 10-2.81 5.59l4.21 4.22a7 7 0 105.6-2.81zm-19-7a5 5 0 115 5 5 5 0 01-5-5z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"2c7f77874cec2b1bba81":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("13656a5413c92fc87a88"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e}},["2c7f77874cec2b1bba81"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bullhorn_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1828],{"2b49bc426825d0f85628":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"bullhorn_32_v7",use:"bullhorn_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="bullhorn_32_v7"><path d="M26 6v2.2L5.6 11.9c-1 .2-1.7 1-1.6 2v4.3c0 1 .7 1.8 1.6 2l2.4.4V24c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2v-1.3l6 1.1V26h2V6h-2zm-8 18h-8v-3.1l8 1.5V24zM6 18.2v-4.3l20-3.6v11.6L6 18.2z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"7c21276fe1bfb8991c20":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2b49bc426825d0f85628"));t.default=n.a}},["7c21276fe1bfb8991c20"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/api_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1991],{"3865314c5959606874d4":function(t,o){t.exports=e},"6d77beb145174460ec1a":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"api_32_v7",use:"api_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="api_32_v7"><path d="M8 9H4a2 2 0 00-2 2v12h2v-5h4v5h2V11a2 2 0 00-2-2zm-4 7v-5h4v5zm18-5h3v10h-3v2h8v-2h-3V11h3V9h-8v2zm-8 12h-2V9h6a2 2 0 012 2v5a2 2 0 01-2 2h-4zm0-7h4v-5h-4z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},b78b900634f8b51b0249:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("6d77beb145174460ec1a"));t.default=n.a}},["b78b900634f8b51b0249"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/archive_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1967],{"3865314c5959606874d4":function(t,o){t.exports=e},"6c8c3d6ca432338a4042":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f2d0949d63755a2e4883"));t.default=n.a},f2d0949d63755a2e4883:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"archive_32_v7",use:"archive_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="archive_32_v7"><path d="M14 19h4v2h-4z" /><path d="M6 2v26a2 2 0 002 2h16a2 2 0 002-2V2zm18 26H8V16h16zm0-14H8v-4h16zM8 8V4h16v4z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["6c8c3d6ca432338a4042"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/microphone_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([869],{"3865314c5959606874d4":function(t,o){t.exports=e},"61f53392e005d4095b30":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"microphone_32_v7",use:"microphone_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="microphone_32_v7"><path d="M23 14v3a7 7 0 01-14 0v-3H7v3a9 9 0 008 8.94V28h-4v2h10v-2h-4v-2.06A9 9 0 0025 17v-3z" /><path d="M16 22a5 5 0 005-5V7a5 5 0 00-10 0v10a5 5 0 005 5zM13 7a3 3 0 016 0v10a3 3 0 01-6 0z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},d5f7482a745223a8586a:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("61f53392e005d4095b30"));t.default=n.a}},["d5f7482a745223a8586a"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/attachment_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1945],{"3865314c5959606874d4":function(t,o){t.exports=e},b480d75a9065f58347a3:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"attachment_16_v7",use:"attachment_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="attachment_16_v7"><path d="M14.1 9L7 1.9C5.6.6 3.3.7 2 2.1S.7 5.6 1.9 7l1.6 1.6.8-.8-1.6-1.6c-1-.9-1-2.5-.1-3.5s2.5-1 3.5-.1l.1.1 7.1 7.1c1 .9 1 2.5.1 3.5s-2.5 1-3.5.1l-.1-.1-3.3-3.4c-.6-.5-.6-1.4 0-1.9s1.4-.5 1.9 0l1.7 1.7.8-.7-1.8-1.8c-1-.9-2.5-.9-3.5.1-.9.9-.9 2.4 0 3.3L9 14.1c1.4 1.3 3.7 1.2 5-.2s1.3-3.5.1-4.9z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},bfe71a25578fe48af8dc:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b480d75a9065f58347a3"));t.default=n.a}},["bfe71a25578fe48af8dc"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/volume--down--filled_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([70],{"0764b934998b1566890f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("8817780cb4ec88fced35"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"8817780cb4ec88fced35":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"volume--down--filled_32_v7",use:"volume--down--filled_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="volume--down--filled_32_v7"><path d="M25.1 10.66L23.58 12a6 6 0 01-.18 7.94l1.47 1.36a8 8 0 00.23-10.59zM20 30a1 1 0 01-.71-.3L11.67 22H5a1 1 0 01-1-1V11a1 1 0 011-1h6.67l7.62-7.7a1 1 0 011.41 0 1 1 0 01.3.7v26a1 1 0 01-1 1z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["0764b934998b1566890f"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bee_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1916],{"3865314c5959606874d4":function(t,o){t.exports=e},"62b4988dbcd82191615a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("7187b83898ee53303611"));t.default=n.a},"7187b83898ee53303611":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"bee_32_v7",use:"bee_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="bee_32_v7"><path d="M16 10a6 6 0 00-6 6v8a6 6 0 0012 0v-8a6 6 0 00-6-6zm-4.25 7.87h8.5v4.25h-8.5zM16 28.25A4.27 4.27 0 0111.75 24v-.13h8.5V24A4.27 4.27 0 0116 28.25zm4.25-12.13h-8.5V16a4.25 4.25 0 018.5 0zm10.41 3.09L24 13v9.1a4 4 0 008 0 3.83 3.83 0 00-1.34-2.89zM28 24.35a2.25 2.25 0 01-2.25-2.25V17l3.72 3.47A2.05 2.05 0 0130.2 22a2.25 2.25 0 01-2.2 2.35zM0 22.1a4 4 0 008 0V13l-6.66 6.21A3.88 3.88 0 000 22.1zm2.48-1.56L6.25 17v5.1a2.25 2.25 0 01-4.5 0 2.05 2.05 0 01.73-1.56zM15 5.5A3.5 3.5 0 1011.5 9 3.5 3.5 0 0015 5.5zm-5.25 0a1.75 1.75 0 111.75 1.75A1.77 1.77 0 019.75 5.5zM20.5 2A3.5 3.5 0 1024 5.5 3.5 3.5 0 0020.5 2zm0 5.25a1.75 1.75 0 111.75-1.75 1.77 1.77 0 01-1.75 1.75z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["62b4988dbcd82191615a"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/blog_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1909],{"3865314c5959606874d4":function(t,o){t.exports=e},"4d61ad23a081ea0481b9":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"blog_32_v7",use:"blog_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="blog_32_v7"><path d="M4 24h10v2H4zm0-6h10v2H4zm22-4H6a2 2 0 01-2-2V6a2 2 0 012-2h20a2 2 0 012 2v6a2 2 0 01-2 2zM6 6v6h20V6zm20 22h-6a2 2 0 01-2-2v-6a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2zm-6-8v6h6v-6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},f516bfc810ce807a9418:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("4d61ad23a081ea0481b9"));t.default=n.a}},["f516bfc810ce807a9418"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bookmark_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1896],{"3865314c5959606874d4":function(t,o){t.exports=e},"5357f359018a9a2894fb":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"bookmark_32_v7",use:"bookmark_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="bookmark_32_v7"><path d="M24 4v22.75l-7.1-3.59-.9-.45-.9.45L8 26.75V4h16m0-2H8a2 2 0 00-2 2v26l10-5 10 5V4a2 2 0 00-2-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},e5cbf4aa0353ec85ee7e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("5357f359018a9a2894fb"));t.default=n.a}},["e5cbf4aa0353ec85ee7e"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/calendar_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1818],{"2d4657dc0e9f7fa8c934":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2e35d41cf281500b8ee7"));t.default=n.a},"2e35d41cf281500b8ee7":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"calendar_16_v7",use:"calendar_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="calendar_16_v7"><path d="M13 2h-2V1h-1v1H6V1H5v1H3c-.6 0-1 .4-1 1v10c0 .6.4 1 1 1h10c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1zm0 11H3V6h10v7zm0-8H3V3h2v1h1V3h4v1h1V3h2v2z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e}},["2d4657dc0e9f7fa8c934"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/camera_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1811],{"213035d6cdb02875a6ce":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"camera_32_v7",use:"camera_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="camera_32_v7"><path d="M29 26H3a1 1 0 01-1-1V8a1 1 0 011-1h6.46l1.71-2.55A1 1 0 0112 4h8a1 1 0 01.83.45L22.54 7H29a1 1 0 011 1v17a1 1 0 01-1 1zM4 24h24V9h-6a1 1 0 01-.83-.45L19.46 6h-6.92l-1.71 2.55A1 1 0 0110 9H4z" /><path d="M16 22a6 6 0 116-6 6 6 0 01-6 6zm0-10a4 4 0 104 4 4 4 0 00-4-4z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"37cfcf2590d4333d57b3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("213035d6cdb02875a6ce"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e}},["37cfcf2590d4333d57b3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/capability_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1809],{"3865314c5959606874d4":function(t,o){t.exports=e},d7b074e856928eeebcf3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("e0b97633257ac6dc02d9"));t.default=n.a},e0b97633257ac6dc02d9:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"capability_16_v7",use:"capability_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="capability_16_v7"><path d="M12 7h-1V4c0-1.7-1.3-3-3-3S5 2.3 5 4v3H4c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h8c.6 0 1-.4 1-1V8c0-.6-.4-1-1-1zM6 4c0-1.1.9-2 2-2s2 .9 2 2v3H6V4zm6 10H4V8h8v6zm-5-4c0-.6.4-1 1-1s1 .4 1 1c0 .4-.2.7-.5.9V13h-1v-2.1c-.3-.2-.5-.5-.5-.9z" /></symbol>'});r.a.add(s),t.a=s}},["d7b074e856928eeebcf3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/catalog_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1795],{"08a643d7fc7720e9457a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("e9e00e251cd62b5bba01"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},e9e00e251cd62b5bba01:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"catalog_32_v7",use:"catalog_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="catalog_32_v7"><path d="M26 2H8a2 2 0 00-2 2v4H4v2h2v5H4v2h2v5H4v2h2v4a2 2 0 002 2h18a2 2 0 002-2V4a2 2 0 00-2-2zm0 26H8v-4h2v-2H8v-5h2v-2H8v-5h2V8H8V4h18z" /><path d="M14 8h8v2h-8zm0 7h8v2h-8zm0 7h8v2h-8z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["08a643d7fc7720e9457a"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/chat-message_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1695],{"3865314c5959606874d4":function(t,o){t.exports=e},"4dcf979051a398e64f9b":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"chat-message_16_v7",use:"chat-message_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="chat-message_16_v7"><path d="M8.9 14.5L8 14l2-3.5h3c.5 0 1-.4 1-.9V3.5c0-.5-.4-1-.9-1H3c-.5 0-1 .4-1 .9v6.1c0 .5.4 1 .9 1h4.6v1H3c-1.1 0-2-.9-2-2v-6c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2h-2.4l-1.7 3zM5 5.5c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1zm3 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1zm3 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z" /></symbol>'});r.a.add(s),t.a=s},"7128e4a7f0000edc41cc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("4dcf979051a398e64f9b"));t.default=n.a}},["7128e4a7f0000edc41cc"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/checkout_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1663],{"2701d9aa04008c07fcb3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b4d8ef234defdd4b8565"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},b4d8ef234defdd4b8565:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"checkout_16_v7",use:"checkout_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="checkout_16_v7"><path d="M14.5 5.5H11v-2c0-.8-.7-1.5-1.5-1.5h-3C5.7 2 5 2.7 5 3.5v2H1.5c-.3 0-.5.2-.5.5v.1l.9 7.1c.1.5.5.8 1 .8H13c.5 0 .9-.4 1-.9l1-7V6c0-.3-.2-.5-.5-.5zM6 3.5c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v2H6v-2zm7.1 9.5H2.9l-.8-6.5h11.8l-.8 6.5z" /></symbol>'});r.a.add(s),t.a=s}},["2701d9aa04008c07fcb3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/client_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1636],{"01597749808292f4aa66":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"client_16_v7",use:"client_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="client_16_v7"><path d="M12 3.3L8.9 2.1c-.8-.3-1.7.1-2 .9-.1.4-.1.8.1 1.1.2.4.5.6.8.8L8 5H3.5C2.7 5 2 5.7 2 6.5c0 .2 0 .4.1.5C1.3 7.2.8 8 1 8.8c.1.5.5.9 1.1 1.1-.1.2-.1.4-.1.6 0 .8.7 1.5 1.5 1.5h.6c-.1.2-.1.3-.1.5 0 .8.7 1.5 1.5 1.5h5.9c2 0 3.6-1.6 3.6-3.7V7.2c0-1.9-.9-3-3-3.9zm2 7c0 1.5-1.1 2.7-2.6 2.7H5.5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2.3c.3 0 .5-.2.5-.5s-.2-.5-.5-.5H3.5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h4c.3 0 .5-.2.5-.5S7.8 9 7.5 9h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h5c.3 0 .5-.2.5-.5S7.8 7 7.5 7h-4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h7.2c.2 0 .4-.1.5-.3.1-.3 0-.5-.2-.7L8.2 4c-.2 0-.3-.1-.3-.3-.1-.1-.1-.3 0-.4.1-.2.3-.3.6-.2l3 1.2c1.8.7 2.4 1.5 2.4 3l.1 3z" /></symbol>'});r.a.add(s),t.a=s},"29f467a8e3c675ac953f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("01597749808292f4aa66"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e}},["29f467a8e3c675ac953f"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/time_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([185],{"3865314c5959606874d4":function(t,o){t.exports=e},"883090b198a51f7a0c4f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("d524ef7672ef809465bd"));t.default=n.a},d524ef7672ef809465bd:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"time_32_v7",use:"time_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="time_32_v7"><path d="M16 30a14 14 0 1114-14 14 14 0 01-14 14zm0-26a12 12 0 1012 12A12 12 0 0016 4z" /><path d="M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["883090b198a51f7a0c4f"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/cloud_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1622],{"1137264f698ff7038759":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"cloud_32_v7",use:"cloud_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="cloud_32_v7"><path d="M16 7a7.66 7.66 0 011.51.15 8 8 0 016.35 6.34l.26 1.35 1.35.24a5.5 5.5 0 01-1 10.92H7.5a5.5 5.5 0 01-1-10.92l1.34-.24.26-1.35A8 8 0 0116 7m0-2a10 10 0 00-9.83 8.12A7.5 7.5 0 007.49 28h17a7.5 7.5 0 001.32-14.88 10 10 0 00-7.94-7.94A10.27 10.27 0 0016 5z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},bc288d9d257595d4c393:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("1137264f698ff7038759"));t.default=n.a}},["bc288d9d257595d4c393"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/code_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1615],{"3865314c5959606874d4":function(t,o){t.exports=e},"507284162bf765f74db2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("7e9869ddcf3c8d782488"));t.default=n.a},"7e9869ddcf3c8d782488":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"code_16_v7",use:"code_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="code_16_v7"><path d="M15.5 8L12 11.5l-.7-.7L14.1 8l-2.8-2.8.7-.7zM.5 8L4 4.5l.7.7L1.9 8l2.8 2.8-.7.7zm5.72 4.698l2.614-9.756.966.26-2.614 9.755z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s}},["507284162bf765f74db2"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/data--check_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1430],{"3865314c5959606874d4":function(t,o){t.exports=e},"4bf9a5fa9737ce0008cb":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("d1b1a2e3be1d3cb04afa"));t.default=n.a},d1b1a2e3be1d3cb04afa:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"data--check_32_v7",use:"data--check_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="data--check_32_v7"><path d="M23 27.18l-2.59-2.59L19 26l4 4 7-7-1.41-1.41L23 27.18z" /><circle cx="11" cy="8" r="1" /><circle cx="11" cy="16" r="1" /><circle cx="11" cy="24" r="1" /><path d="M24 3H8a2 2 0 00-2 2v22a2 2 0 002 2h8v-2H8v-6h18V5a2 2 0 00-2-2zm0 16H8v-6h16zm0-8H8V5h16z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["4bf9a5fa9737ce0008cb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/folder_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1197],{"3865314c5959606874d4":function(t,o){t.exports=e},aa897e070cc3c46e1ee0:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"folder_16_v7",use:"folder_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="folder_16_v7"><path d="M5.6 3l1.7 1.7.3.3H14v8H2V3h3.6m0-1H2c-.6 0-1 .4-1 1v10c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H8L6.3 2.3c-.2-.2-.4-.3-.7-.3z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},b8f6872d6019a9fb1a93:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("aa897e070cc3c46e1ee0"));t.default=n.a}},["b8f6872d6019a9fb1a93"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/forum_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1181],{"3865314c5959606874d4":function(t,o){t.exports=e},"959b055c682f4ace111c":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"forum_16_v7",use:"forum_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="forum_16_v7"><path d="M2 9H1V2.5C1 1.7 1.7 1 2.5 1H9v1H2v7z" /><path d="M14 3H4c-.6 0-1 .4-1 1v7c0 .6.4 1 1 1h4v-1H4V4h10v7h-3.6L8 14.4l.8.6 2.1-3H14c.6 0 1-.4 1-1V4c0-.6-.4-1-1-1z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},c57eb48712a9722ed290:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("959b055c682f4ace111c"));t.default=n.a}},["c57eb48712a9722ed290"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/glasses_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1138],{"3865314c5959606874d4":function(t,o){t.exports=e},"66c90ce6fb52e3f20347":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"glasses_16_v7",use:"glasses_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="glasses_16_v7"><path d="M14.83 9.62c-.22-1.49-.84-5.2-.84-5.2C13.86 3.58 12.95 2 10.5 2c-.28 0-.5.22-.5.5s.22.5.5.5c2.16 0 2.48 1.42 2.51 1.58l.62 3.9C13.15 8.18 12.6 8 12 8a2.99 2.99 0 00-2.95 2.5h-2.1A2.99 2.99 0 004 8c-.6 0-1.15.18-1.62.48L3 4.58C3.02 4.42 3.34 3 5.5 3c.28 0 .5-.22.5-.5S5.78 2 5.5 2C3.05 2 2.14 3.58 2.01 4.42c0 0-.62 3.71-.84 5.2-.03.16-.17.83-.17 1.38 0 1.66 1.34 3 3 3a2.99 2.99 0 002.95-2.5h2.1A2.99 2.99 0 0012 14c1.66 0 3-1.34 3-3 0-.55-.14-1.22-.17-1.38zM4 13c-1.1 0-2-.9-2-2 0-.13.01-.25.04-.37l.01-.04C2.24 9.68 3.04 9 4 9c1.1 0 2 .9 2 2s-.9 2-2 2zm8 0c-1.1 0-2-.9-2-2s.9-2 2-2c.96 0 1.76.68 1.96 1.59l.01.04c.02.12.03.24.03.37 0 1.1-.9 2-2 2z" /></symbol>'});r.a.add(s),t.a=s},d76f3e62f083724db254:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("66c90ce6fb52e3f20347"));t.default=n.a}},["d76f3e62f083724db254"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/events_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1272],{"3865314c5959606874d4":function(t,o){t.exports=e},d04cd06d75ca471b2de6:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"events_32_v7",use:"events_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="events_32_v7"><path d="M26 14h-2v2h2a3.003 3.003 0 013 3v4h2v-4a5.006 5.006 0 00-5-5zM24 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5 5 5 0 00-5-5zm-1 28h-2v-2a3.003 3.003 0 00-3-3h-4a3.003 3.003 0 00-3 3v2H9v-2a5.006 5.006 0 015-5h4a5.006 5.006 0 015 5zm-7-17a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5 5 5 0 00-5-5zm-8 3H6a5.006 5.006 0 00-5 5v4h2v-4a3.003 3.003 0 013-3h2zM8 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5 5 5 0 00-5-5z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},ff7527a27f7f83870427:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("d04cd06d75ca471b2de6"));t.default=n.a}},["ff7527a27f7f83870427"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/hat_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1116],{"3865314c5959606874d4":function(t,o){t.exports=e},"3aa0c6be0ec4a07f48b9":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("84111451a5fa20cc406a"));t.default=n.a},"84111451a5fa20cc406a":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"hat_16_v7",use:"hat_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="hat_16_v7"><path d="M14.5 11H13V8c0-2.8-2.2-5-5-5S3 5.2 3 8v3H1.5c-.3 0-.5.2-.5.5s.2.5.5.5h13c.3 0 .5-.2.5-.5s-.2-.5-.5-.5zM8 4c2.2 0 4 1.8 4 4v1H4V8c0-2.2 1.8-4 4-4zm-4 7v-1h8v1H4z" /></symbol>'});r.a.add(s),t.a=s}},["3aa0c6be0ec4a07f48b9"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/headphones_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1109],{"3865314c5959606874d4":function(t,o){t.exports=e},"7e57a516cfbc4515da08":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("b90e9712c6b92b00f4e5"));t.default=n.a},b90e9712c6b92b00f4e5:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"headphones_32_v7",use:"headphones_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="headphones_32_v7"><path d="M25 16v-1a9 9 0 00-18 0v1a5 5 0 000 10h2V15a7 7 0 0114 0v11h2a5 5 0 000-10zM4 21a3 3 0 013-3v6a3 3 0 01-3-3zm21 3v-6a3 3 0 010 6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["7e57a516cfbc4515da08"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/hills_24",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1093],{"12c28bce7bb4bac1908b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("ae04182e82876e1e03d1"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},ae04182e82876e1e03d1:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"hills_24_v7",use:"hills_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="hills_24_v7"><path d="M16.9 7.5l-3 7.2L9 3 1.5 21h21L16.9 7.5zm1.5 7.5h-3l1.5-3.6 1.5 3.6zM9 6.9l1.8 4.3H7.2L9 6.9zm2.9 12.6H3.8l2.8-6.8h4.9l1.6 3.9-1.2 2.9zm1.6 0l1.3-3H19l1.2 3h-6.7z" /></symbol>'});r.a.add(s),t.a=s}},["12c28bce7bb4bac1908b"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/home_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1086],{"3865314c5959606874d4":function(t,o){t.exports=e},"884b7a9cb03b3eb8a685":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"home_32_v7",use:"home_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="home_32_v7"><path d="M16.61 2.21a1 1 0 00-1.24 0L1 13.42 2.24 15 4 13.62V26a2 2 0 002 2h20a2 2 0 002-2V13.63L29.76 15 31 13.43zM18 26h-4v-8h4zm2 0v-8a2 2 0 00-2-2h-4a2 2 0 00-2 2v8H6V12.06l10-7.79 10 7.8V26z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},f4beac8d2a2b92b71803:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("884b7a9cb03b3eb8a685"));t.default=n.a}},["f4beac8d2a2b92b71803"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/idea_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1077],{"3865314c5959606874d4":function(t,o){t.exports=e},"55694f16f2c039b5f94d":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"idea_32_v7",use:"idea_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="idea_32_v7"><path d="M11 24h10v2H11zm2 4h6v2h-6zm3-26A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"8e19883c004305331ed2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("55694f16f2c039b5f94d"));t.default=n.a}},["8e19883c004305331ed2"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/inventory_24",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1042],{"3865314c5959606874d4":function(t,o){t.exports=e},d71d399f504def154da9:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f8034b176191a20d535f"));t.default=n.a},f8034b176191a20d535f:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"inventory_24_v7",use:"inventory_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="inventory_24_v7"><path d="M13.5 17.2h-3v-1.5h3v1.5zm9-5.2v9c0 .8-.7 1.5-1.5 1.5H3c-.8 0-1.5-.7-1.5-1.5v-9h3V3c0-.8.7-1.5 1.5-1.5h7.5c.2 0 .4.1.5.2L19.3 7c.2.1.2.3.2.5V12h3zm-9-4.5h4.2l-4.2-4.2v4.2zM6 12h12V9h-4.5c-.8 0-1.5-.7-1.5-1.5V3H6v9zm15 1.5H3V21h18v-7.5z" /></symbol>'});r.a.add(s),t.a=s}},["d71d399f504def154da9"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/favorite_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1254],{"3865314c5959606874d4":function(t,o){t.exports=e},"5d5d19aa9d5a90f09229":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"favorite_32_v7",use:"favorite_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="favorite_32_v7"><path d="M22.45 6a5.47 5.47 0 013.91 1.64 5.7 5.7 0 010 8L16 26.13 5.64 15.64a5.7 5.7 0 010-8 5.48 5.48 0 017.82 0l2.54 2.6 2.53-2.58A5.44 5.44 0 0122.45 6m0-2a7.47 7.47 0 00-5.34 2.24L16 7.36l-1.11-1.12a7.49 7.49 0 00-10.68 0 7.72 7.72 0 000 10.82L16 29l11.79-11.94a7.72 7.72 0 000-10.82A7.49 7.49 0 0022.45 4z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},da22df7e52e69d3d4c45:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("5d5d19aa9d5a90f09229"));t.default=n.a}},["da22df7e52e69d3d4c45"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/location_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([956],{"377c173c81672c91307f":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"location_32_v7",use:"location_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="location_32_v7"><path d="M16 10c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3m0-2c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0-4c4.9-.1 8.9 3.8 9 8.7 0 1.9-.6 3.7-1.8 5.2L16 28.5 8.9 18C7.7 16.5 7 14.6 7 12.7c.1-4.9 4.1-8.8 9-8.7m0-2C10 1.9 5.1 6.7 5 12.7c0 2.3.8 4.6 2.2 6.4L16 32l8.8-12.9c1.4-1.8 2.2-4.1 2.2-6.4-.1-6-5-10.8-11-10.7z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},b8e0f40cef649de4a32b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("377c173c81672c91307f"));t.default=n.a}},["b8e0f40cef649de4a32b"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/settings_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([429],{"3865314c5959606874d4":function(t,o){t.exports=e},bc4eed15100e359217ef:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"settings_16_v7",use:"settings_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="settings_16_v7"><path d="M13.5 8.4v-.8l1-.8c.4-.3.4-.9.2-1.3l-1.2-2c-.2-.3-.5-.5-.9-.5-.1 0-.2 0-.3.1l-1.2.4c-.2-.1-.4-.3-.7-.4l-.3-1.3c0-.5-.4-.8-.9-.8H6.8c-.5 0-.9.3-1 .8l-.2 1.3c-.3.1-.5.2-.7.3L3.7 3h-.3c-.4 0-.7.2-.9.5l-1.2 2c-.2.4-.1.9.3 1.3l.9.9v.8l-.9.7c-.4.3-.5.9-.2 1.3l1.2 2c.1.3.4.5.8.5.1 0 .2 0 .3-.1l1.2-.4c.2.1.4.3.7.4l.3 1.3c.1.5.5.8 1 .8h2.4c.5 0 .9-.3 1-.8l.3-1.3c.2-.1.4-.2.7-.4l1.2.4c.1 0 .2.1.3.1.4 0 .7-.2.9-.5l1.1-2c.2-.4.2-.9-.2-1.3l-1.1-.8zm-.9 3.6l-1.7-.6c-.4.3-.9.6-1.4.8L9.2 14H6.8l-.4-1.8c-.5-.2-.9-.5-1.4-.8l-1.6.6-1.2-2 1.4-1.2c-.1-.5-.1-1.1 0-1.6L2.2 6l1.2-2 1.7.6c.4-.4.9-.6 1.4-.8L6.8 2h2.4l.4 1.8c.5.2.9.5 1.4.8l1.6-.6 1.2 2-1.4 1.2c.1.5.1 1.1 0 1.6l1.4 1.2-1.2 2z" /><path d="M8 11c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3c0 1.6-1.3 3-3 3zm0-5c-1.1 0-2 .8-2 1.9V8c0 1.1.8 2 1.9 2H8c1.1 0 2-.8 2-1.9V8c0-1.1-.8-2-2-2 .1 0 0 0 0 0z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},c01b61d22501dafa933d:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("bc4eed15100e359217ef"));t.default=n.a}},["c01b61d22501dafa933d"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/markup-pen_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([924],{"2df5cfe748952ef5f6fc":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"markup-pen_16_v7",use:"markup-pen_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="markup-pen_16_v7"><path d="M15.2 5.8l-5-5L8 3l.4.5L3 6l-2 9 9-2 2.6-5.4.4.4 2.2-2.2zm-5.9 6.3l-6.1 1.3L6 10.7c.3.2.6.3 1 .3 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .4.1.7.3 1l-2.8 2.8 1.3-6.1 5.3-2.5 2.6 2.6-2.4 5.3zM6 9c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1-1-.4-1-1zm3.4-6l.8-.8 3.6 3.6-.8.8L9.4 3z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},c29779925645c3b22469:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2df5cfe748952ef5f6fc"));t.default=n.a}},["c29779925645c3b22469"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/mobile_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([851],{"32fa76bdd61370476c64":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("773e7e75e147504bcf52"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"773e7e75e147504bcf52":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"mobile_32_v7",use:"mobile_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="mobile_32_v7"><path d="M22 4H10a2.002 2.002 0 00-2 2v22a2.002 2.002 0 002 2h12a2.003 2.003 0 002-2V6a2.002 2.002 0 00-2-2zm0 2v2H10V6zM10 28V10h12v18z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["32fa76bdd61370476c64"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/music_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([833],{"0255eedd4fc78db3d5f3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("bc9162cabd71a96362cc"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},bc9162cabd71a96362cc:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"music_32_v7",use:"music_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="music_32_v7"><path d="M25 4H10a2.002 2.002 0 00-2 2v14.556A3.955 3.955 0 006 20a4 4 0 104 4V12h15v8.556A3.954 3.954 0 0023 20a4 4 0 104 4V6a2.002 2.002 0 00-2-2zM6 26a2 2 0 112-2 2.002 2.002 0 01-2 2zm17 0a2 2 0 112-2 2.003 2.003 0 01-2 2zM10 6h15v4H10z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["0255eedd4fc78db3d5f3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/notifications_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([815],{"326ecf60969b58eeeb42":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"notifications_16_v7",use:"notifications_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="notifications_16_v7"><path d="M14.4 10.1L13 8.8V6.5c0-2.6-1.9-4.7-4.5-5v-1h-1v1C5 1.8 3 3.9 3 6.5v2.3l-1.4 1.3c-.1.1-.2.2-.1.4V12c0 .3.2.5.4.5h3.6C5.5 13.9 6.6 15 8 15s2.5-1.1 2.5-2.5H14c.3 0 .5-.2.5-.4v-1.6c0-.1-.1-.3-.1-.4zM8 14c-.8 0-1.5-.7-1.5-1.5h3c0 .8-.7 1.5-1.5 1.5zm5.5-2.5h-11v-.8l1.3-1.4c.1 0 .2-.2.2-.3V6.5c0-2.2 1.8-4 4-4s4 1.8 4 4V9c0 .1.1.3.1.4l1.4 1.3v.8z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"3682da016363790eac13":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("326ecf60969b58eeeb42"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e}},["3682da016363790eac13"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/paint_24",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([757],{"0e8fef897d7c5ce7c98d":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"paint_24_v7",use:"paint_24_v7-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="paint_24_v7"><path d="M20.8 11.9l-8.1-8.7V1.5h-1.5v2.2l-9.5 8.8c-.3.3-.3.8 0 1.1l7.9 8.6c.1.1.3.2.5.2s.4-.1.5-.2l8.8-8.2v3.2c0 .4.3.8.8.8s.8-.3.8-.8v-4.9c0-.1-.1-.3-.2-.4zm-10.6 8.7l-6.9-7.5 7.9-7.4V9h1.5V5.3l6.4 7-8.9 8.3z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"4c48282b98abb92d288f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("0e8fef897d7c5ce7c98d"));t.default=n.a}},["4c48282b98abb92d288f"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/purchase_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([628],{"2b5cd21cdd7d12e8d1b6":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"purchase_32_v7",use:"purchase_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="purchase_32_v7"><path d="M28 6H4a2 2 0 00-2 2v16a2 2 0 002 2h24a2 2 0 002-2V8a2 2 0 00-2-2zm0 2v3H4V8zM4 24V13h24v11z" /><path d="M6 20h10v2H6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"41926ecbb375b5171eb0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2b5cd21cdd7d12e8d1b6"));t.default=n.a}},["41926ecbb375b5171eb0"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/password_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([741],{"3865314c5959606874d4":function(t,o){t.exports=e},a0379e1b116d9b0966a3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("c47b8e3b1c99e0a19dfa"));t.default=n.a},c47b8e3b1c99e0a19dfa:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"password_32_v7",use:"password_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="password_32_v7"><path d="M21 2a9 9 0 00-9 9 8.87 8.87 0 00.39 2.61L2 24v6h6l10.39-10.39A9 9 0 0030 11.74a8.77 8.77 0 00-1.65-6A9 9 0 0021 2zm0 16a7 7 0 01-2-.3l-1.15-.35-.85.85-3.18 3.18L12.41 20 11 21.41l1.38 1.38-1.59 1.59L9.41 23 8 24.41l1.38 1.38L7.17 28H4v-3.17L13.8 15l.85-.85-.29-.95a7.14 7.14 0 013.4-8.44 7 7 0 0110.24 6 6.69 6.69 0 01-1.09 4A7 7 0 0121 18z" /><circle cx="22" cy="10" r="2" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["a0379e1b116d9b0966a3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/people_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([720],{"3865314c5959606874d4":function(t,o){t.exports=e},"44d5e0bb3535711398a8":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"people_16_v7",use:"people_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="people_16_v7"><path d="M4.9 15h-2c-.6 0-1-.4-1-1v-3.3c-.6 0-1-.4-1-1V6.8c0-.8.6-1.5 1.4-1.5h3c.8 0 1.4.6 1.4 1.4v2.9c0 .6-.4 1-1 1V14c.1.5-.3 1-.8 1zM2.5 6.3c-.3 0-.5.2-.5.4v3h1V14h1.9V9.7h1V6.8c0-.3-.2-.5-.4-.5h-3zm1.4-1.4C2.8 4.9 2 4 2 2.9S2.8 1 3.9 1s1.9.9 1.9 1.9c0 1.1-.8 2-1.9 2zm0-2.9c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1zm9.2 13h-1.9c-.6 0-1-.4-1-1v-3.3c-.6 0-1-.4-1-1V6.8c0-.8.6-1.4 1.4-1.4h2.9c.8 0 1.5.6 1.5 1.4v3c0 .6-.4 1-1 1V14c0 .5-.4 1-.9 1zm-2.4-8.7c-.3 0-.5.2-.5.4v3h1V14h1.9V9.7h1V6.8c0-.2-.2-.5-.4-.5h-3zm1.4-1.4c-1.1 0-1.9-.8-2-1.9 0-1.1.9-2 1.9-2 1.1 0 1.9.8 2 1.9 0 1.1-.8 1.9-1.9 2zm0-2.9c-.5.1-.8.7-.7 1.2.1.3.4.6.7.7.6 0 1-.4 1-1 0-.5-.5-.9-1-.9z" /></symbol>'});r.a.add(s),t.a=s},"4636f6a8e8e5020fbda4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("44d5e0bb3535711398a8"));t.default=n.a}},["4636f6a8e8e5020fbda4"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/person_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([714],{"3865314c5959606874d4":function(t,o){t.exports=e},"635d511a60f3850d579b":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"person_32_v7",use:"person_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="person_32_v7"><path d="M18 30h-4a2 2 0 01-2-2v-7a2 2 0 01-2-2v-6a3 3 0 013-3h6a3 3 0 013 3v6a2 2 0 01-2 2v7a2 2 0 01-2 2zm-5-18a.94.94 0 00-1 1v6h2v9h4v-9h2v-6a.94.94 0 00-1-1zm3-3a4 4 0 114-4 4 4 0 01-4 4zm0-6a2 2 0 102 2 2 2 0 00-2-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"972a5feca930faf597d5":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("635d511a60f3850d579b"));t.default=n.a}},["972a5feca930faf597d5"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/phone_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([703],{"3865314c5959606874d4":function(t,o){t.exports=e},"9f5845a74ecb36153e50":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"phone_32_v7",use:"phone_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="phone_32_v7"><path d="M26 29h-.17C6.18 27.87 3.39 11.29 3 6.23A3 3 0 015.76 3h5.51a2 2 0 011.86 1.26L14.65 8a2 2 0 01-.44 2.16l-2.13 2.15a9.37 9.37 0 007.58 7.6l2.17-2.15a2 2 0 012.17-.41l3.77 1.51A2 2 0 0129 20.72V26a3 3 0 01-3 3zM6 5a1 1 0 00-1 1v.08C5.46 12 8.41 26 25.94 27a1 1 0 001.06-.94v-5.34l-3.77-1.51-2.87 2.85-.48-.06c-8.7-1.09-9.88-9.79-9.88-9.88l-.06-.48 2.84-2.87L11.28 5z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},ee9aa3bf04f1e7476f50:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("9f5845a74ecb36153e50"));t.default=n.a}},["ee9aa3bf04f1e7476f50"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/printer_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([641],{"3865314c5959606874d4":function(t,o){t.exports=e},a602fa328bdabbfa1b2f:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"printer_32_v7",use:"printer_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="printer_32_v7"><path d="M28 9h-3V3H7v6H4a2 2 0 00-2 2v10a2 2 0 002 2h3v6h18v-6h3a2 2 0 002-2V11a2 2 0 00-2-2zM9 5h14v4H9zm14 22H9V17h14zm5-6h-3v-6H7v6H4V11h24z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},ed0daf911c7d490f1c32:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("a602fa328bdabbfa1b2f"));t.default=n.a}},["ed0daf911c7d490f1c32"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/recording_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([595],{"153becc6be80e02bd25f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("44523cbc41f83df88bfb"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"44523cbc41f83df88bfb":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"recording_32_v7",use:"recording_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="recording_32_v7"><path d="M16 4c6.6 0 12 5.4 12 12s-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4m0-2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm0 10c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4m0-2c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6z" /></symbol>'});r.a.add(s),t.a=s}},["153becc6be80e02bd25f"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/repository_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([532],{"12b51605821e38d39dd4":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"repository_16_v7",use:"repository_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="repository_16_v7"><path d="M9 10.5H7v-1h2v1zM15 7v6c0 .6-.4 1-1 1H2c-.6 0-1-.4-1-1V7h1V5h1V3h10v2h1v2h1zM4 5h8V4H4v1zm10 3H2v5h12V8z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},b7b1492b57c84b4c5dfb:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("12b51605821e38d39dd4"));t.default=n.a}},["b7b1492b57c84b4c5dfb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/identification_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1075],{"3865314c5959606874d4":function(t,o){t.exports=e},"5805f1e7cb4cd0b9cd11":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("c3bf8e82671c0752a501"));t.default=n.a},c3bf8e82671c0752a501:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"identification_32_v7",use:"identification_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="identification_32_v7"><path d="M28 6v20H4V6h24m0-2H4a2 2 0 00-2 2v20a2 2 0 002 2h24a2 2 0 002-2V6a2 2 0 00-2-2z" /><path d="M6 10h7v2H6zm0 4h4v2H6zm17 4h-6a3 3 0 00-3 3v2h2v-2a1 1 0 011-1h6a1 1 0 011 1v2h2v-2a3 3 0 00-3-3zm-3-1a4 4 0 10-4-4 4 4 0 004 4zm0-6a2 2 0 11-2 2 2 2 0 012-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["5805f1e7cb4cd0b9cd11"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/search_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([452],{"2faa256623dda8fa3df1":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"search_16_v7",use:"search_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="search_16_v7"><path d="M15 14.3L10.7 10c1.9-2.3 1.6-5.8-.7-7.7S4.2.7 2.3 3 .7 8.8 3 10.7c2 1.7 5 1.7 7 0l4.3 4.3.7-.7zM2 6.5C2 4 4 2 6.5 2S11 4 11 6.5 9 11 6.5 11 2 9 2 6.5z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"7417e443bcec9c766abb":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("2faa256623dda8fa3df1"));t.default=n.a}},["7417e443bcec9c766abb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/speaker_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([348],{"3865314c5959606874d4":function(t,o){t.exports=e},"3c91af11abfcf0577df5":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f2a73804fb937e57b006"));t.default=n.a},f2a73804fb937e57b006:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"speaker_16_v7",use:"speaker_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="speaker_16_v7"><path d="M12 1H4c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h8c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zm0 13H4V2h8v12zM7 4.5c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1-1-.4-1-1zm1 8c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-4c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1z" /></symbol>'});r.a.add(s),t.a=s}},["3c91af11abfcf0577df5"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/star--filled_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([328],{"272b5d93e3c084247229":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"star--filled_16_v7",use:"star--filled_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="star--filled_16_v7"><path d="M8 1L5.7 5.6l-5.1.7 3.7 3.6-.8 5.1L8 12.6l4.6 2.4-.9-5.1 3.7-3.6-5.1-.7L8 1z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},d40644f88a3e57805ee5:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("272b5d93e3c084247229"));t.default=n.a}},["d40644f88a3e57805ee5"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/tag_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([252],{"129a4a8b8b568e3d2fe2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("5920d98000855623e1cb"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"5920d98000855623e1cb":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"tag_32_v7",use:"tag_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="tag_32_v7"><path d="M18.52 30a3 3 0 01-2.12-.88L2.88 15.61A3 3 0 012 13.49V5a3 3 0 013-3h8.49a3 3 0 012.12.88l13.51 13.51a3 3 0 010 4.25l-8.48 8.48a3 3 0 01-2.12.88zM5 4a1 1 0 00-1 1v8.49a1 1 0 00.3.71l13.51 13.51a1 1 0 001.41 0l8.49-8.49a1 1 0 000-1.41L14.2 4.3a1 1 0 00-.71-.3H5z" /><path d="M10 14a4 4 0 114-4 4 4 0 01-4 4zm0-6a2 2 0 102 2 2 2 0 00-2-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["129a4a8b8b568e3d2fe2"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/thumbs-up_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([196],{"3865314c5959606874d4":function(t,o){t.exports=e},e9223842c1db12064afb:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f65ce3044b787b50fcbf"));t.default=n.a},f65ce3044b787b50fcbf:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"thumbs-up_32_v7",use:"thumbs-up_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="thumbs-up_32_v7"><path d="M26 11h-6V6a3.64 3.64 0 00-3.24-4A3.22 3.22 0 0016 2h-1.57A1.51 1.51 0 0013 3.17v.12l-1 6.34L8.46 15H2v14h19c7.44 0 9-4.35 9-8v-6a3.64 3.64 0 00-3.24-4 3.22 3.22 0 00-.76 0zM8 27H4V17h4zm20-6c0 4.09-2.22 6-7 6H10V16.3l4-5.93.73-5.37.14-1H16c1.44 0 2 .56 2 2v7h8c1.44 0 2 .56 2 2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["e9223842c1db12064afb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/thumbs-down_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([201],{"081172fdd161059c89a4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("acdb4a47e778887c507a"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},acdb4a47e778887c507a:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"thumbs-down_32_v7",use:"thumbs-down_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="thumbs-down_32_v7"><path d="M26.76 21A3.64 3.64 0 0030 17v-6c0-3.65-1.56-8-9-8H2v14h6.46L12 22.37l1 6.34v.12A1.51 1.51 0 0014.43 30H16a3.22 3.22 0 00.76 0A3.64 3.64 0 0020 26v-5h6a3.22 3.22 0 00.76 0zM8 15H4V5h4zm20 2c0 1.44-.56 2-2 2h-8v7c0 1.44-.56 2-2 2h-1.13l-.14-1-.73-5.37-4-5.93V5h11c4.78 0 7 1.91 7 6z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["081172fdd161059c89a4"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/tools_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([169],{"0012267c671e6a145d54":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("59ba2a678adbfa4e92db"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"59ba2a678adbfa4e92db":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"tools_32_v7",use:"tools_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="tools_32_v7"><path d="M12.1 2a9.8 9.8 0 00-5.4 1.6l6.4 6.4a2.1 2.1 0 01.2 3 2.1 2.1 0 01-3-.2L3.7 6.4A9.84 9.84 0 002 12.1a10.14 10.14 0 0010.1 10.1 10.9 10.9 0 002.6-.3l6.7 6.7a5 5 0 007.1-7.1l-6.7-6.7a10.9 10.9 0 00.3-2.6A10 10 0 0012.1 2zm8 10.1a7.61 7.61 0 01-.3 2.1l-.3 1.1.8.8 6.7 6.7a2.88 2.88 0 01.9 2.1A2.72 2.72 0 0127 27a2.9 2.9 0 01-4.2 0l-6.7-6.7-.8-.8-1.1.3a7.61 7.61 0 01-2.1.3 8.27 8.27 0 01-5.7-2.3A7.63 7.63 0 014 12.1a8.33 8.33 0 01.3-2.2l4.4 4.4a4.14 4.14 0 005.9.2 4.14 4.14 0 00-.2-5.9L10 4.2a6.45 6.45 0 012-.3 8.27 8.27 0 015.7 2.3 8.49 8.49 0 012.4 5.9z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["0012267c671e6a145d54"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/traffic_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([160],{"287e107170ba9b07259d":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"traffic_16_v7",use:"traffic_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="traffic_16_v7"><path d="M6.5 4c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S8.8 5.5 8 5.5 6.5 4.8 6.5 4zm0 4c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S8.8 9.5 8 9.5 6.5 8.8 6.5 8zm1 0c0 .3.2.5.5.5s.5-.2.5-.5-.2-.5-.5-.5-.5.2-.5.5zm-1 4c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5zm1 0c0 .3.2.5.5.5s.5-.2.5-.5-.2-.5-.5-.5-.5.2-.5.5zM12 9.5v1h.6c.6 0 1 .5 1 1 0 .3-.1.5-.3.7L12 13.5v.5c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-.5l-1.3-1.3c-.4-.4-.4-1 0-1.4.2-.2.4-.3.7-.3H4v-1L2.7 8.2c-.4-.4-.4-1 0-1.4.2-.2.4-.3.7-.3H4v-1L2.7 4.2c-.4-.4-.4-1 0-1.4.2-.2.4-.3.7-.3H4V2c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v.5h.6c.6 0 1 .5 1 1 0 .3-.1.5-.3.7L12 5.5v1h.6c.6 0 1 .5 1 1 0 .3-.1.5-.3.7L12 9.5zM11 2H5v12h6V2z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"8c94a6d8d205fb9235ab":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("287e107170ba9b07259d"));t.default=n.a}},["8c94a6d8d205fb9235ab"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/logo--twitter_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([945],{"3865314c5959606874d4":function(t,o){t.exports=e},"563f398e4718e3349aed":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"logo--twitter_32_v7",use:"logo--twitter_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="logo--twitter_32_v7"><path d="M11.92 24.94A12.76 12.76 0 0024.76 12.1v-.59A9.4 9.4 0 0027 9.18a9.31 9.31 0 01-2.59.71 4.56 4.56 0 002-2.5 8.89 8.89 0 01-2.86 1.1 4.52 4.52 0 00-7.7 4.11 12.79 12.79 0 01-9.3-4.71 4.51 4.51 0 001.4 6 4.47 4.47 0 01-2-.56v.05a4.53 4.53 0 003.55 4.45 4.53 4.53 0 01-2 .08A4.51 4.51 0 0011.68 21a9.05 9.05 0 01-5.61 2A9.77 9.77 0 015 22.91a12.77 12.77 0 006.92 2" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"75ba09f230c7d896060d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("563f398e4718e3349aed"));t.default=n.a}},["75ba09f230c7d896060d"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/help_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1106],{"3865314c5959606874d4":function(t,o){t.exports=e},"700fba089a73987b7d0d":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"help_16_v7",use:"help_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="help_16_v7"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 13c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6z" /><circle cx="8" cy="11.8" r=".8" /><path d="M8.5 4h-.7C6.5 4 5.5 5 5.5 6.2v.2h1v-.2c0-.6.6-1.2 1.3-1.2h.8c.7 0 1.2.6 1.2 1.2s-.6 1.3-1.3 1.3h-1v2.2h1V8.5c1.2 0 2.2-1 2.2-2.2S9.7 4 8.5 4z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},c517d0197f58051e0778:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("700fba089a73987b7d0d"));t.default=n.a}},["c517d0197f58051e0778"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/user_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([105],{"30409a2572f8578a933a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("d18bd6e7038ef7c98457"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},d18bd6e7038ef7c98457:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"user_16_v7",use:"user_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="user_16_v7"><path d="M8 2c1.4 0 2.5 1.1 2.5 2.5S9.4 7 8 7 5.5 5.9 5.5 4.5 6.6 2 8 2m0-1C6.1 1 4.5 2.6 4.5 4.5S6.1 8 8 8s3.5-1.6 3.5-3.5S9.9 1 8 1zm5 14h-1v-2.5c0-1.4-1.1-2.5-2.5-2.5h-3C5.1 10 4 11.1 4 12.5V15H3v-2.5C3 10.6 4.6 9 6.5 9h3c1.9 0 3.5 1.6 3.5 3.5V15z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s}},["30409a2572f8578a933a"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/chart--venn-diagram_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1771],{"3865314c5959606874d4":function(t,o){t.exports=e},cb8c9cf15cb703df7f4f:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"chart--venn-diagram_32_v7",use:"chart--venn-diagram_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="chart--venn-diagram_32_v7"><path d="M20 6a9.92 9.92 0 00-4 .84A9.92 9.92 0 0012 6a10 10 0 000 20 9.92 9.92 0 004-.84 9.92 9.92 0 004 .84 10 10 0 000-20zm-8 18a8 8 0 010-16 7.91 7.91 0 011.76.2 10 10 0 000 15.6A7.91 7.91 0 0112 24zm8-8a8 8 0 01-4 6.92 8 8 0 010-13.84A8 8 0 0120 16zm0 8a7.91 7.91 0 01-1.76-.2 10 10 0 000-15.6A7.91 7.91 0 0120 8a8 8 0 010 16z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},df6523cbea6b265a8dc3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("cb8c9cf15cb703df7f4f"));t.default=n.a}},["df6523cbea6b265a8dc3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/video_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([82],{"3865314c5959606874d4":function(t,o){t.exports=e},"42d227b6a5ff0a71e5c9":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("ebcc9a715d8b0d716ffe"));t.default=n.a},ebcc9a715d8b0d716ffe:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"video_32_v7",use:"video_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="video_32_v7"><path d="M21 26H4a2 2 0 01-2-2V8a2 2 0 012-2h17a2 2 0 012 2v4.06l5.42-3.87A1 1 0 0130 9v14a1 1 0 01-1.58.81L23 19.94V24a2 2 0 01-2 2zM4 8v16h17v-6a1 1 0 011.58-.81L28 21.06V10.94l-5.42 3.87A1 1 0 0121 14V8z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["42d227b6a5ff0a71e5c9"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/view_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([76],{"3865314c5959606874d4":function(t,o){t.exports=e},"44129e04573095d1fff3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("efb4712e5125ad9a8a89"));t.default=n.a},efb4712e5125ad9a8a89:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"view_16_v7",use:"view_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="view_16_v7"><path d="M15.5 7.8C14.3 4.7 11.3 2.6 8 2.5 4.7 2.6 1.7 4.7.5 7.8v.3c1.2 3.1 4.1 5.2 7.5 5.3 3.3-.1 6.3-2.2 7.5-5.3v-.3zM8 12.5c-2.7 0-5.4-2-6.5-4.5 1-2.5 3.8-4.5 6.5-4.5s5.4 2 6.5 4.5c-1.1 2.5-3.9 4.5-6.5 4.5z" /><path d="M8 5C6.3 5 5 6.3 5 8s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s}},["44129e04573095d1fff3"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/warning--alt_16",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([61],{"3865314c5959606874d4":function(t,o){t.exports=e},c02e4b7e7a77e8db255e:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"warning--alt_16_v7",use:"warning--alt_16_v7-usage",viewBox:"0 0 16 16",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="warning--alt_16_v7"><path d="M14.5 14h-13c-.2 0-.3-.1-.4-.2-.1-.2-.1-.3 0-.5l6.5-12c.1-.3.4-.4.6-.2.1 0 .2.1.2.2l6.5 12c.1.2.1.3 0 .5 0 .1-.2.2-.4.2zM2.3 13h11.3L8 2.5 2.3 13z" /><path d="M7.5 6h1v3.5h-1zm.5 4.8c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8s-.4-.8-.8-.8z" /><path style="fill:none" d="M0 0h16v16H0z" /></symbol>'});r.a.add(s),t.a=s},cb3c3ce88d37644b7f7e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("c02e4b7e7a77e8db255e"));t.default=n.a}},["cb3c3ce88d37644b7f7e"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/watch_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([48],{"3865314c5959606874d4":function(t,o){t.exports=e},cae96cfae74e333cf4f8:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("e9bd8d84a6c0d59849b8"));t.default=n.a},e9bd8d84a6c0d59849b8:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"watch_32_v7",use:"watch_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="watch_32_v7"><path d="M22 8h-1V2h-2v6h-6V2h-2v6h-1c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h1v6h2v-6h6v6h2v-6h1c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM10 22V10h12v12H10zm15-8h2v4h-2v-4z" /></symbol>'});r.a.add(s),t.a=s}},["cae96cfae74e333cf4f8"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/watson_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([45],{"3865314c5959606874d4":function(t,o){t.exports=e},"624f1e1b992ddbfc5b38":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("f19127c50db0b30d6b8e"));t.default=n.a},f19127c50db0b30d6b8e:function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"watson_32_v7",use:"watson_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="watson_32_v7"><path d="M21.74 9.49A11.41 11.41 0 0016 8a.76.76 0 100 1.51 10.15 10.15 0 011.91.21c-2.26 1.08-4.76 3.58-6.73 7a22.48 22.48 0 00-2 4.44A9.58 9.58 0 017 17.22a3.43 3.43 0 01.28-2.66c.79-1.37 2.44-2.15 4.63-2.2a.76.76 0 00.74-.78.75.75 0 00-.78-.74c-2.68.04-4.77 1.08-5.87 2.9a4.84 4.84 0 00-.44 3.79 12 12 0 003.2 5.22A11.36 11.36 0 008.52 26a10 10 0 01-2-3.48.75.75 0 00-.95-.52.76.76 0 00-.49 1 11.45 11.45 0 005.18 6.38A11.42 11.42 0 0016 30.92a11.74 11.74 0 003-.39 11.48 11.48 0 002.77-21zm-3.16 19.57a9.9 9.9 0 01-7.56-1c-.86-.49-1.21-2-.94-4a18.85 18.85 0 002.48 1.72 13.92 13.92 0 006.93 2 11 11 0 002.42-.28 9.78 9.78 0 01-3.33 1.56zm6.06-4.66c-2 2-6.66 2.74-11.32.05a17.36 17.36 0 01-2.89-2.12 21.08 21.08 0 012.08-4.91c2.94-5.08 6.83-7.57 8.47-6.62a10 10 0 013.66 13.6zM4.16 11.72L1.14 10a.76.76 0 10-.76 1.31L3.4 13a.86.86 0 00.38.1.77.77 0 00.66-.38.76.76 0 00-.28-1zm4.13-4.13a.74.74 0 00.65.41.75.75 0 00.38-.1.76.76 0 00.28-1l-1.74-3a.76.76 0 00-1-.27.75.75 0 00-.28 1zM16 6.08a.76.76 0 00.76-.76V1.83a.76.76 0 00-1.52 0v3.49a.76.76 0 00.76.76zm6.68 1.79a.75.75 0 001-.28l1.75-3a.75.75 0 00-.28-1 .76.76 0 00-1 .27l-1.74 3a.76.76 0 00.27 1.01zm9.22 2.38a.76.76 0 00-1-.27l-3 1.74a.76.76 0 00-.28 1 .77.77 0 00.66.38.86.86 0 00.38-.1l3-1.75a.76.76 0 00.24-1z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s}},["624f1e1b992ddbfc5b38"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/wikis_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([32],{"24c4be780d086ada0bb8":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"wikis_32_v7",use:"wikis_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="wikis_32_v7"><path d="M16 2a14 14 0 1014 14A14 14 0 0016 2zm12 13h-6a24.26 24.26 0 00-2.79-10.55A12 12 0 0128 15zM16 28a5 5 0 01-.67 0A21.85 21.85 0 0112 17h8a21.85 21.85 0 01-3.3 11 5 5 0 01-.7 0zm-4-13a21.85 21.85 0 013.3-11 6 6 0 011.34 0A21.85 21.85 0 0120 15zm.76-10.55A24.26 24.26 0 0010 15H4a12 12 0 018.79-10.55zM4.05 17h6a24.26 24.26 0 002.75 10.55A12 12 0 014.05 17zm15.16 10.55A24.26 24.26 0 0022 17h6a12 12 0 01-8.79 10.55z" /><path style="fill:none" d="M32 0v32H0V0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},"6bede50381b201b0f8f7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("24c4be780d086ada0bb8"));t.default=n.a}},["6bede50381b201b0f8f7"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/workspace_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([25],{"316f1f04ff7453d41c60":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"workspace_32_v7",use:"workspace_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="workspace_32_v7"><path d="M16 17v8H6v-8h10m0-2H6a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm11-9v5H17V6h10m0-2H17a2 2 0 00-2 2v5a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm0 13v5h-5v-5h5m0-2h-5a2 2 0 00-2 2v5a2 2 0 002 2h5a2 2 0 002-2v-5a2 2 0 00-2-2zM11 6v5H6V6h5m0-2H6a2 2 0 00-2 2v5a2 2 0 002 2h5a2 2 0 002-2V6a2 2 0 00-2-2z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},d425f699265ef0d869fb:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("316f1f04ff7453d41c60"));t.default=n.a}},["d425f699265ef0d869fb"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/globe_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([1134],{"349b38925a267516db38":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("4a17ecb0080e0cceaf01"));t.default=n.a},"3865314c5959606874d4":function(t,o){t.exports=e},"4a17ecb0080e0cceaf01":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"globe_32_v7",use:"globe_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="globe_32_v7"><path d="M14 4c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7m0-2c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm14 9c0-3.7-1.5-7.3-4.1-9.9l-1.4 1.4c4.5 4.8 4.3 12.4-.6 17-4.6 4.3-11.7 4.3-16.4 0l-1.4 1.4C6.7 23.5 10.3 25 14 25v3h-4v2h10v-2h-4v-3.2c6.9-1 12-6.8 12-13.8z" /></symbol>'});r.a.add(s),t.a=s}},["349b38925a267516db38"])})),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"));else if("function"==typeof define&&define.amd)define("dashboard-core/js/lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/move_32",["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"],t);else{var o=t("object"==typeof exports?require("@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"):e["@ba-ui-toolkit/ba-graphics/dist/icons-js/ba-graphics-icons-commons.js"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}("undefined"!=typeof self?self:this,(function(e){return webpackJsonPBaGraphics([839],{"0fd51c5eb1bfd95602ad":function(e,t,o){"use strict";var i=o("9689a9c94ae38b47fa2c"),n=o.n(i),a=o("9ce58a7deea14f49ef01"),r=o.n(a),s=new n.a({id:"move_32_v7",use:"move_32_v7-usage",viewBox:"0 0 32 32",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="move_32_v7"><path d="M25 11l-1.41 1.41L26.17 15H17V5.83l2.59 2.58L21 7l-5-5-5 5 1.41 1.41L15 5.83V15H5.83l2.58-2.59L7 11l-5 5 5 5 1.41-1.41L5.83 17H15v9.17l-2.59-2.58L11 25l5 5 5-5-1.41-1.41L17 26.17V17h9.17l-2.58 2.59L25 21l5-5-5-5z" /><path style="fill:none" d="M0 0h32v32H0z" /></symbol>'});r.a.add(s),t.a=s},"3865314c5959606874d4":function(t,o){t.exports=e},a6df553eaab44b7249e3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("3865314c5959606874d4"),n=(o.n(i),o("0fd51c5eb1bfd95602ad"));t.default=n.a}},["a6df553eaab44b7249e3"])})),define("dashboard-core/js/features/dashboard/icons/CoreIconsProvider",["../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/delete_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/object-group_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/object-ungroup_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/copy_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bring-to-front_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/send-to-back_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-center_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-left_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--horizontal-right_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-top_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-center_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/align--vertical-bottom_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/pin_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/text--creation_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/explore_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/unlink_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/link_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/draw-link_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/toolbar-attach_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/toolbar-detatch_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/reset_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/edit_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/minimize_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/maximize_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/image_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/video-file_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/webpage_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/data-notebook_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/filter_24","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/template_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/list--bulleted_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/list--numbered_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/warning_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/table_24","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/configure_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/connect_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bullhorn_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/api_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/archive_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/microphone_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/attachment_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/volume--down--filled_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bee_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/blog_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/bookmark_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/calendar_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/camera_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/capability_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/catalog_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/chat-message_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/checkout_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/client_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/time_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/cloud_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/code_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/data--check_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/folder_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/forum_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/glasses_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/events_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/hat_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/headphones_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/hills_24","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/home_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/idea_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/inventory_24","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/favorite_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/location_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/settings_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/markup-pen_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/mobile_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/music_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/notifications_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/paint_24","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/purchase_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/password_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/people_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/person_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/phone_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/printer_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/recording_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/repository_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/identification_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/search_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/speaker_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/star--filled_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/tag_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/thumbs-up_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/thumbs-down_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/tools_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/traffic_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/logo--twitter_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/help_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/user_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/chart--venn-diagram_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/video_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/view_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/warning--alt_16","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/watch_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/watson_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/wikis_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/workspace_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/globe_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/move_32","../../../lib/@waca/dashboard-common/dist/lib/@ba-ui-toolkit/ba-graphics/dist/icons-js/template_32"],(function(e,t,o,i,n,a,r,s,d,c,l,u,p,h,f,g,b,m,v,y,_,C,w,P,j,I,x,S,M,k,A,L,T,D,E,V,F,R,O,z,B,N,H,W,U,G,q,$,J,K,X,Y,Z,Q,ee,te,oe,ie,ne,ae,re,se,de,ce,le,ue,pe,he,fe,ge,be,me,ve,ye,_e,Ce,we,Pe,je,Ie,xe,Se,Me,ke,Ae,Le,Te,De,Ee,Ve,Fe,Re,Oe,ze,Be,Ne,He,We,Ue,Ge,qe,$e,Je,Ke,Xe){return function(){function Ye(e){var t=e.features;_classCallCheck(this,Ye),this._icons=t.Icons}return Ye.prototype.initialize=function(){var e=Ye.getIconsList();this._icons.registerIcons(e)},Ye.getIconsList=function(){return[{id:"dashboard-delete",icon:e},{id:"dashboard-group",icon:t},{id:"dashboard-ungroup",icon:o},{id:"dashboard-duplicate",icon:i},{id:"bring-to-front",icon:n},{id:"send-to-back",icon:a},{id:"align-horizontally",icon:r},{id:"align-left",icon:s},{id:"align-right",icon:d},{id:"align-top",icon:c},{id:"align-vertically",icon:l},{id:"align-bottom",icon:u},{id:"pin",icon:p},{id:"text-creation",icon:h},{id:"explore",icon:f},{id:"unlink",icon:g},{id:"link",icon:b},{id:"new-link",icon:m},{id:"dock-icon",icon:v},{id:"undock-icon",icon:y},{id:"restore",icon:_},{id:"edit",icon:C},{id:"minimize",icon:w},{id:"maximize",icon:P},{id:"image",icon:j},{id:"video-file",icon:I},{id:"webpage",icon:x},{id:"data-notebook",icon:S},{id:"filter",icon:M},{id:"template",icon:k},{id:"bullet-list",icon:A},{id:"number-list",icon:L},{id:"warning",icon:T},{id:"table",icon:D},{id:"configure",icon:E},{id:"connect",icon:V},{id:"bullhorn",icon:F},{id:"api",icon:R},{id:"archive",icon:O},{id:"microphone",icon:z},{id:"attachment",icon:B},{id:"audio",icon:N},{id:"bee",icon:H},{id:"blog",icon:W},{id:"bookmark",icon:U},{id:"calendar",icon:G},{id:"camera",icon:q},{id:"capability",icon:$},{id:"catalog",icon:J},{id:"message",icon:K},{id:"checkout",icon:X},{id:"client",icon:Y},{id:"clock",icon:Z},{id:"cloud",icon:Q},{id:"code",icon:ee},{id:"data-quality",icon:te},{id:"folder",icon:oe},{id:"forum",icon:ie},{id:"glasses",icon:ne},{id:"group",icon:ae},{id:"hat",icon:re},{id:"headphones",icon:se},{id:"hills",icon:de},{id:"home",icon:ce},{id:"idea",icon:le},{id:"inventory",icon:ue},{id:"like",icon:pe},{id:"location",icon:he},{id:"pen",icon:ge},{id:"mobile",icon:be},{id:"music",icon:me},{id:"notifications",icon:ve},{id:"paint",icon:ye},{id:"payment",icon:_e},{id:"password-key",icon:Ce},{id:"people",icon:we},{id:"person",icon:Pe},{id:"phone",icon:je},{id:"print",icon:Ie},{id:"recording",icon:xe},{id:"repository",icon:Se},{id:"role",icon:Me},{id:"search",icon:ke},{id:"settings",icon:fe},{id:"speaker",icon:Ae},{id:"star",icon:Le},{id:"tag",icon:Te},{id:"thumbs-up",icon:De},{id:"thumbs-down",icon:Ee},{id:"tools",icons:Ve},{id:"traffic",icon:Fe},{id:"trash",icon:e},{id:"twitter",icon:Re},{id:"unknown",icon:Oe},{id:"user",icon:ze},{id:"venn-diagram",icon:Be},{id:"video",icon:Ne},{id:"view",icon:He},{id:"warning",icon:We},{id:"watch",icon:Ue},{id:"watson",icon:Ge},{id:"wikis",icon:qe},{id:"workspace",icon:$e},{id:"world",icon:Je},{id:"move",icon:Ke},{id:"dashboard-templates",icon:Xe}]},Ye}()})),define("dashboard-core/js/api/deprecated/LegacyViewControllersAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.getLayoutController=function(){},e.prototype.getWidgetLoader=function(){},e.prototype.destroy=function(){},e}()})),define("dashboard-core/js/view/features/content/contentViewDom/api/ContentViewDomAPI",[],(function(){return function(){function e(){_classCallCheck(this,e)}return e.prototype.cloneNode=function(){},e.prototype.getNode=function(){},e.prototype.getBoundingClientRect=function(){},e}()})),define("dashboard-core/js/view/features/content/contentViewDom/api/impl/ContentViewDomImpl",["../ContentViewDomAPI","../../../../../../lib/@waca/dashboard-common/dist/core/APIFactory"],(function(e,t){return function(){function o(e){_classCallCheck(this,o),this.domNode=e}return o.prototype.getAPI=function(){return this._api||(this._api=t.createAPI(this,[e])),this._api},o.prototype.cloneNode=function(){return this.domNode.cloneNode()},o.prototype.getNode=function(){return this.domNode},o.prototype.getBoundingClientRect=function(){var e=this.domNode.getBoundingClientRect();return{top:e.top,left:e.left,bottom:e.bottom,right:e.right,height:e.height,width:e.width}},o}()})),define("dashboard-core/js/dashboard/api/FilterAPI",["../../lib/@waca/core-client/js/core-client/ui/core/Class","underscore"],(function(e,t){var o=["id","sourceId","dataType","usage","origin","scope","hierarchyUniqueNames","tupleSet","exclude"];return function(){function e(t,o){_classCallCheck(this,e),this.controller=t,this.dashboardAPI=o}return _createClass(e,null,[{key:"API_METHODS",get:function(){return["addFilter","editFilter","removeFilter","removeFilters","clearFilters"]}}]),e.prototype.addFilter=function(e,t){return this._updateFilter("update",e,t)},e.prototype.editFilter=function(e,t){return this._updateFilter("replace",e,t)},e.prototype.removeFilter=function(e,t){var o=this._getPageContextApi(),i=this._getPageContextSelector(e,t),n=o.getPageContextItem(i);if(n){var a=this._getDeleteItemSpec(n,t),r=this._getFilterSpec("delete",t);return o.updateFilterContext(a,r,t)}return!1},e.prototype.removeFilters=function(e,t){return this._getPageContextApi().deletePageContextItems(e,t)},e.prototype.clearFilters=function(e,t){return this._getPageContextApi().clearPageContextItemValues(e,t)},e.prototype._updateFilter=function(e,i,n){var a=this;return this._getFilterMetadataColumn(i.sourceId,i.itemId).then((function(i){var r=a._getFilterItemSpec(i,n),s=a._getFilterSpec(e,n),d=a._getPageContextApi().updateFilterContext(r,s,n);return t.pick(d,o)}))},e.prototype._getPageContextApi=function(){return this.dashboardAPI.getFeature("PageContextService").getPageContext()},e.prototype._getSources=function(){var e=this.dashboardAPI.getFeature("dataSources.deprecated").getSourcesCollection();return Promise.resolve(e?e.getSources():[])},e.prototype._getSourceById=function(e){return this._getSources().then((function(o){return t.find(o,(function(t){return t.getId()===e}))}))},e.prototype._getFilterMetadataColumn=function(e,t){return this._getSourceById(e).then((function(e){return e.getModule().then((function(e){return e.getMetadataColumn(t)}))}))},e.prototype._getPageContextSelector=function(e,t){return{itemId:e.itemId,scope:t&&t.scope||"global"}},e.prototype._getFilterItemSpec=function(e,t){return{sourceId:e.getSourceId(),itemId:e.getId(),itemName:e.getLabel(),dataType:e.getDataType(),usage:e.getType(),isHierarchy:e.isHierarchy(),isNamedSet:e.isNamedSet(),scope:t&&t.scope||"global",openViewOnLoad:t&&t.openViewOnLoad||!1}},e.prototype._getDeleteItemSpec=function(e,t){return{item:e,scope:t&&t.scope||"global",origin:"filter"}},e.prototype._getFilterSpec=function(e,o){var i={command:e||"update",exclude:!(!o||!o.exclude)};return o&&o.values?i=t.extend(i,{values:o.values}):o&&o.condition&&(i=t.extend(i,{condition:o.condition})),i},e}()})),define("dashboard-core/js/canvas/DeprecatedCanvas",["../lib/@waca/dashboard-common/dist/core/APIFactory","../api/deprecated/CanvasAPI","../lib/@waca/core-client/js/core-client/utils/Deferred","../dashboard/api/FilterAPI","underscore"],(function(e,t,o,i,n){return function(){function a(e,t,o,n,r){_classCallCheck(this,a),this.widgetLoader=r,this.boardModel=t,this.canvasController=o,this.layoutController=n,this.dashboardAPI=e,this.controller=this.canvasController,this.filterApi=new i(this.canvasController,this.dashboardAPI)}return a.prototype.getAPI=function(){return this.api||(this.api=e.createAPI(this,[t],{deprecatedPropList:["controller"]})),this.api},a.prototype.getWidgetsWhenRendered=function(){return this.dashboardAPI.waitTillWidgetsRendered.apply(this.dashboardAPI,arguments)},a.prototype.deselectAllWidgets=function(){return this.dashboardAPI.deselectAllWidgets.apply(this.dashboardAPI,arguments)},a.prototype.destroy=function(){this.widgetLoader=null,this.boardModel=null,this.canvasController=null,this.layoutController=null,this.dashboardAPI=null,this.controller=null,this.filterApi=null},a.prototype.getFilters=function(){return this.filterApi},a.prototype.getSelectedWidgets=function(){var e=this,t=this.layoutController.getSelectedWidgets(),o=[];return t.forEach((function(t){var i=e.getWidget(t.id);i&&o.push(i)})),o},a.prototype.getWidgetWhenReady=function(e){return this.widgetLoader?this.widgetLoader.getWidgetAsync(e).then((function(e){if(e)return e.getAPI()})):Promise.reject(new Error("No longer alive!"))},a.prototype.getWidget=function(e){if(this.widgetLoader){var t=this.widgetLoader.getWidget(e);if(t)return t.getAPI()}},a.prototype.getWidgets=function(){var e=void 0,t=[],o=void 0;for(e in this.boardModel.widgetInstances)(o=this.getWidget(e))&&t.push(o);return t},a.prototype.addFragment=function(e,t,o){void 0===o&&(o=null),this.layoutController.setPreferredAddOptions(e);var i=this.boardModel.addFragment(e,t||"api",o),n=i&&i.value&&i.value.parameter;return n&&n.model&&n.model.layout&&n.model.layout.id},a.prototype.addWidget=function(e,t,o){this.layoutController.setPreferredAddOptions(e);var i=this.boardModel.addWidget(e,t||"api",o),n=i&&i.value&&i.value.parameter;return n&&n.model&&n.model.id},a.prototype.replaceWidget=function(e,t,o){var i=this.boardModel.layout.findModel(e);if(i){t.layoutProperties=i.toJSON();var a=t.layoutProperties.id;t.layoutProperties.id=void 0;var r=this.boardModel.layout.findParentModel(e);r&&(t.parentId=r.id,t.insertBefore=a)}else this.layoutController.setPreferredAddOptions(t);var s={undoRedoTransactionId:n.uniqueId("undoRedoReplace"),transactionToken:t&&t.transactionToken,replace:!0},d=this.boardModel.addWidget(t,o||"api",s);if(this.boardModel.removeWidget(e,o||"api",s),d&&d.value&&d.value.parameter&&d.value.parameter.model)return d.value.parameter.model.id},a.prototype.hasMaximizedWidget=function(){return this.canvasController.layoutController.hasMaximizedWidget()},a.prototype.removeWidget=function(e,t){this.boardModel.removeWidget(e,t||"api")},a.prototype.selectWidget=function(e,t){var i=new o;return this.layoutController.whenWidgetRenderComplete(e).done(function(e){var o=this.layoutController.interactionController.selectionHandler;t&&!t.multiSelect&&o.deselectAll(),o.selectNode(e.domNode,t),i.resolve()}.bind(this)),i.promise},a.prototype.selectWidgets=function(e,t){t=t||{},t=n.extend(t,{multiSelect:!0});var o=[];for(var i in e)o.push(this.selectWidget(e[i],t));return Promise.all(o)},a.prototype.getLayout=function(e){var t=this.canvasController.layoutController.getView(e);if(t&&t.view)return t.view.getAPI()},a.prototype.getFeature=function(e){return this.canvasController.getFeature(e)},a.prototype.registerFeature=function(e,t){return this.canvasController.registerFeature(e,t)},a}()})),define("dashboard-core/js/dashboard/layout/authoring/interaction/InteractionFactory",["../../../../lib/@waca/core-client/js/core-client/ui/core/Class"],(function(e){var t=e.extend({init:function(e,o){t.inherited("init",this,arguments),this.controller=e,this.logger=o},getInteraction:function(e){var t=this._getContext();return this._getDelegate(e,t)},getInteractions:function(e){return this._buildInteractions(e)},_getContext:function(){return this.controller.layoutController},_getConfigValue:function(e){var t=this.controller.config.interactions;if(t)return t[e]},_buildInteractions:function(e){var t=this,o=this._getContext(),i={},n=Promise.resolve(),a=function(a){e.hasOwnProperty(a)&&(n=n.then((function(){return t._getDelegate(a,o)})).then((function(o){if(o){var n=new(0,e[a])(t.controller);i[a]=new WrappedInteraction(n,o)}return o})))};for(var r in e)a(r);return n.then((function(){return i}))},_getDelegate:function(e,t){var o=this,i=this._getConfigValue(e);return void 0===i||"true"===i||!0===i?Promise.resolve(new DefaultDelegate):"false"===i||!1===i?Promise.resolve():new Promise((function(e,o){require([i],(function(o){e(new o(t))}),(function(e){o(e)}))})).catch((function(e){return o.logger.warn(e),new DefaultDelegate}))}});return t}));var WrappedInteraction=function(){function e(t,o){_classCallCheck(this,e),this.wrapped=t,this.delegate=o}return e.prototype.newSelection=function(){this.delegate.isEnabled()&&this.wrapped&&this.wrapped.newSelection.apply(this.wrapped,arguments)},e.prototype.getProperties=function(){return this.delegate.isEnabled()&&this.wrapped&&this.wrapped.getProperties?this.wrapped.getProperties.apply(this.wrapped,arguments):[]},e}(),DefaultDelegate=function(){function e(){_classCallCheck(this,e)}return e.prototype.isEnabled=function(){return!0},e}();define("text!dashboard-core/js/dashboard/layout/authoring/interaction/SelectionEdges.html",[],(function(){return'<div class="resizeEdge border borderTop"></div>\n<div class="resizeEdge border borderRight"></div>\n<div class="resizeEdge border borderBottom"></div>\n<div class="resizeEdge border borderLeft"></div>\n'})),define("dashboard-core/js/dashboard/layout/authoring/interaction/SelectionAction",["../../../../lib/@waca/core-client/js/core-client/ui/core/Class","jquery","text!./SelectionEdges.html"],(function(e,t,o){return e.extend({newSelection:function(e){this.selectedNodes&&this._removeBorders(this.selectedNodes),this.selectedNodes=e,this._addBorders(e)},_removeBorders:function(e){t(e).removeClass("resize").children(".resizeEdge").remove()},_addBorders:function(e){t(e).append(o)}})})),define("text!dashboard-core/js/dashboard/layout/authoring/interaction/ExpandEdges.html",[],(function(){return'<div edge="tr" class="resizeEdge topRight">\n\t<div class="resizePoint expandHandle">\n\t\t<div class="svgContainer">\n\t\t\t<div class="expand">\n\t\t\t\t<svg class="svgIcon" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false">\n\t\t\t\t\t<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#{{!it.expandIcon}}"></use>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'})),define("dashboard-core/js/dashboard/layout/authoring/interaction/ExpandAction",["../../../../lib/@waca/core-client/js/core-client/ui/core/Class","jquery","doT","text!./ExpandEdges.html","../../../../app/nls/StringResources"],(function(e,t,o,i,n){return e.extend({init:function(e){this.controller=e},newSelection:function(e){var a=this.controller.dashboardApi.getFeature("Icons").getIcon("maximize"),r=o.template(i)({expandIcon:a.id});t(e).filter(".maximizable").append(r).find(".expandHandle").attr("title",n.get("expandHandle")).on("primaryaction",this.onExpand.bind(this))},onExpand:function(e){var o=t(e.target).closest(".maximizable");if(o.length){var i=o[0];i._layout&&i._layout.onMaximize()}}})})),define("dashboard-core/js/dashboard/layout/authoring/interaction/strategy/Common",["../../../../../lib/@waca/core-client/js/core-client/ui/core/Class","./../InteractionFactory","./../SelectionAction","./../ExpandAction"],(function(e,t,o,i){var n=e.extend({init:function(e,t){n.inherited("init",this,arguments),this.logger=e,this._dashboardApi=t},destroy:function(){if(this._interactions){for(var e in this._interactions)if(this._interactions.hasOwnProperty(e)){var t=this._interactions[e].wrapped;t&&t.destroy&&t.destroy()}this._interactions=null}},getInteraction:function(e){var t=this._interactions[e];return t&&t.wrapped},attachInteractions:function(e){var t=this;return this._getInteractions(e).then((function(o){t._interactions=o,t._attachInteractions(e,o)}))},_attachInteractions:function(e,t){var o=t.selection,i=t.expand;(o&&(e.addActionForSelector(o,".page .widget"),e.addActionForSelector(o,".page .pagegroup")),i)&&(!(e.config&&!0===e.config.focusModeDisabled)&&e.addActionForSelector(i,".page .widget.liveWidget:not(.eventGroupMode *)"))},_getInteractions:function(e){var n={selection:o,expand:i};return new t(e).getInteractions(n)}});return n})),define("dashboard-core/js/dashboard/layout/LayoutController",["../../lib/@waca/core-client/js/core-client/ui/core/Class","../../view/features/content/contentViewDom/api/impl/ContentViewDomImpl","underscore","jquery","../../app/util/EventChainLocal","./LayoutHelper","../../lib/@waca/dashboard-common/dist/core/APIFactory","../../api/deprecated/CanvasAPI","../../canvas/DeprecatedCanvas","./authoring/interaction/Controller","./authoring/interaction/strategy/Common","../../lib/@waca/core-client/js/core-client/utils/Deferred","../../lib/@waca/core-client/js/core-client/utils/ClassFactory"],(function(e,t,o,i,n,a,r,s,d,c,l,u,p){var h=null;return h=e.extend([],{init:function(e){h.inherited("init",this,arguments),this.contentFeatureLoader=e.contentFeatureLoader,this.services=e.services,this.appSettings=e.appSettings||{},this.appSettings.options&&this.appSettings.options.config?this.config=this.appSettings.options.config:this.config={},this.dashboardApi=e.dashboardApi,this.canvas=e.canvas,this.glassContext=e.glassContext,this.transaction=this.dashboardApi.getFeature("Transaction"),this.contentTypeRegistry=this.dashboardApi.getFeature("ContentTypeRegistry"),this.isAuthoring="authoring"===this.dashboardApi.getMode(),this.id=o.uniqueId("layoutController"),this.$el=e.$el,this.viewsMap={},this.boardModel=e.boardModel,this.boardModuleFactory=e.boardModuleFactory,this.interactionControllerDfd=new u,this.widgetLoader=e.widgetLoader,this.canvasController=e.canvasController,this.logger=this.dashboardApi.getGlassCoreSvc(".Logger"),this.colorsService=this.dashboardApi.getFeature("Colors"),this.colorsService&&(this.colorsService.on("theme:changed",this.onThemeChange,this),this.colorsService.on("colorSet:changed",this.onColorSetChanged,this)),this.topLayoutModel=this.boardModel.layout,this.topLayoutModel.on("change:layoutPositioning",this._onLayoutPositioning,this),this._setupViewModules(e.layoutExtensions||{}),this.canvasNotifier=e.canvasNotifier,this.interactionController=null,this.eventRouter=e.eventRouter,this.eventRouter&&(this.eventRouter.on("canvas:selectWidget",this.selectWidget,this),this.eventRouter.on("canvas:deselectWidget",this.deselectWidget,this),this.eventRouter.on("scene:select",this.deselectAllWidgets,this),this.eventRouter.on("scene:next",this.deselectAllWidgets,this),this.eventRouter.on("scene:previous",this.deselectAllWidgets,this)),this.gatewayUrl=e.gatewayUrl,this.cdnUrl=e.cdnUrl,this._init(),this.deprecatedCanvas=new d(this.dashboardApi,this.boardModel,this.canvasController,this,this.widgetLoader)},initialize:function(){return this.pageReady},getDeprecatedCanvas:function(){return this.mergedCanvasAPI||(this.mergedCanvasAPI=o.extend(this.deprecatedCanvas.getAPI(),this.canvas)),this.mergedCanvasAPI},_setupViewModules:function(e){this.consumeViews=e.consumeViews||{},this.authoringViews=e.authoringViews||{}},getCurrentSubViewId:function(){return this.getView(this.topLayoutModel.id).view.getSelectedSubViewId()},getCurrentSubViewTitle:function(){return this.getView(this.topLayoutModel.id).view.getSelectedSubViewTitle()},_animationHelper:function(e,t,o,i){return new Promise((function(n){var a=function t(){e.style.transition="none",e.removeEventListener("transitionend",t),n()};e.addEventListener("transitionend",a),e.style.transition=t+" "+i+"ms",e.style[t]=o,Promise.delay(i+100).then(a)}))},_init:function(){this._interactionControllerCreationPromise=this._createInteractionController().then(function(){var e=this._getTopViewElement()[0];e&&i(e).toggleClass("authoringMode",this.isAuthoring)}.bind(this)),i(window).on("resize.layoutController"+this.id,this.onResize.bind(this)),this.fnOnContextMenu=this.onContextMenu.bind(this),window.oncontextmenu=this.fnOnContextMenu},createLayoutModules:function(){var e=this;this.pageReady=Promise.all([this._interactionControllerCreationPromise,this.createLayoutModule(this.topLayoutModel.id).then((function(e){if(e)return e.renderContent()}))]),this.onPageRenderComplete=this.whenPageRenderComplete(),this.onPageRenderComplete.then((function(){var t=e.getTopLayoutView();t&&t.$el.attr("data-render","renderComplete")}))},_getInteractionControllerInteractionModules:function(){var e=void 0;return e=this.isAuthoring&&!this.isEventGroupMode?["dashboard-core/js/dashboard/layout/authoring/interaction/strategy/Authoring"]:[],Promise.all(e.map((function(e){return p.loadModule(e)})))},_shouldEnableInteractions:function(){return!(!1===this.dashboardApi.getAppConfig("enableInteractions"))},_createInteractionController:function(){var e=this;return!this._shouldEnableInteractions()||this.interactionController?Promise.resolve():this._loadInteractionControllerConfig().then((function(t){var o=new c({services:e.services,glassContext:e.glassContext,appSettings:e.appSettings,dashboardAPI:e.dashboardApi,toolbarConfig:e.dashboardApi.getAppConfig("toolbar"),transaction:e.transaction,canvas:e.canvas,boardModel:e.boardModel,layoutController:e,eventRouter:e.eventRouter,$el:e.$el,gatewayUrl:e.gatewayUrl,cdnUrl:e.cdnUrl,selectionOptions:t});return e.dashboardApi.getFeature("internal").registerDashboardSvc("InteractionController.internal",o),e.defaultInteractions=[new l(e.logger,e.dashboardApi)],e._setInteractionController(o),e._updateInteractionControllerInteractions()}))},_setInteractionController:function(e){this.interactionController=e,this.interactionControllerDfd.resolve(e)},getInteractionController:function(){return this.interactionControllerDfd.promise},_loadInteractionControllerConfig:function(){var e=(this.dashboardApi.getAppConfig("selection")||{}).deselectionSelector;return e?new Promise((function(t,o){require([e],t,o)})).then((function(e){return{deselectionSelector:e}})):Promise.resolve()},_updateInteractionControllerInteractions:function(){var e=this;return this.interactionController?this._getInteractionControllerInteractionModules().then((function(t){var o=t.map((function(t){return new t(e.logger)})),i=e.defaultInteractions.concat(o);return e.interactionController.applyInteractions(i).then((function(){e.dashboardApi.getFeature(".LifeCycleManager").invokeLifeCycleHandlers("dashboard.layout.interactions.ready")}))})):Promise.resolve()},changeToConsumeMode:function(){var e=this;return this.isAuthoring=!1,this.isEventGroupMode=!1,this._updateInteractionControllerInteractions().then((function(){e.removeAuthorModeFromLayout(e.topLayoutModel.id),e._getTopViewElement().removeClass("authoringMode").removeClass("eventGroupMode")}))},removeAuthorModeFromLayout:function(e){var t=this.topLayoutModel.findModel(e),o=i("#"+t.id,this.$el)[0];if(o&&o._layout&&o._layout.authorHelper&&(o._layout.authorHelper.destroy(),o._layout.authorHelper=void 0,o._layout.authorViewManager&&(o._layout.authorViewManager.destroy(),o._layout.authorViewManager=void 0)),t.items)for(var n=0,a=t.items.length;n<a;n++)this.removeAuthorModeFromLayout(t.items[n].id)},changeToAuthorMode:function(e){var t=this;return this.isAuthoring=!0,this.isEventGroupMode=!1,this.canvasNotifier=e.canvasNotifier,this.addAuthorModetoLayout(this.topLayoutModel.id,null).then((function(){return t._getTopViewElement().addClass("authoringMode").removeClass("eventGroupMode"),t._updateInteractionControllerInteractions()}))},changeToEventGroupMode:function(){var e=this;return this.isAuthoring=!0,this.isEventGroupMode=!0,this._updateInteractionControllerInteractions().then((function(){e.removeAuthorModeFromLayout(e.topLayoutModel.id),e._getTopViewElement().removeClass("authoringMode").addClass("eventGroupMode")}))},_getTopViewElement:function(){return this.$el.find("#"+this.topLayoutModel.id)},addAuthorModetoLayout:function(e,t){var o=this,n=this.topLayoutModel.findModel(e),a=i("#"+this.modelIdToNodeId(e),this.$el)[0],r=a&&a._layout;if(!r)return this.createLayoutModule(e,t).then((function(e){return e.renderContent()}));if(r.authorHelper)return Promise.resolve();var s={services:this.services,config:this.config,appSettings:this.appSettings,canvas:this.canvas,dashboardApi:this.dashboardApi,model:n,parentLayout:t,layoutController:this,canvasNotifier:this.canvasNotifier,consumeView:r,widgetChromeEventRouter:r.widgetChromeEventRouter,eventRouter:this.eventRouter},d=this._getLayoutModule(n,s);return p.loadModule(d.sAuthorHelper).then((function(e){new e(s),r.renderContent();var t=n.items;if(t&&!r.preventAuthoringForChildren){for(var i=[],a=0,d=t.length;a<d;a++)i.push(o.addAuthorModetoLayout(t[a].id,r));return Promise.all(i)}}))},getView:function(e){return this.viewsMap[e]},markViewAsReady:function(e){this.viewsMap[e.id]&&this.viewsMap[e.id].viewReadyDeferred.resolve(e)},createLayoutModule:function(e,t,o){if(this.viewsMap[e]&&this.viewsMap[e].view){var n=this.viewsMap[e].viewReady;return n.then(function(){var o=this.modelIdToNodeId(e);this.viewsMap[e].view.parentLayout=t,i(t.domNode).find("#"+o).replaceWith(this.viewsMap[e].view.domNode)}.bind(this)),n}var a=new u,r=this.topLayoutModel.findModel(e),s={services:this.services,config:this.config,appSettings:this.appSettings,canvas:this.canvas,content:this.canvas.getContent(e),dashboardApi:this.dashboardApi,eventRouter:this.eventRouter,model:r,layoutController:this,canvasNotifier:this.canvasNotifier,parentLayout:t,additionalWidgetData:o,contentFeatureLoader:this.contentFeatureLoader},d=this._getLayoutModule(r,s),c=d.sPageLayout,l=d.sAuthorHelper;this.viewsMap[e]={viewReadyDeferred:a,viewReady:a.promise};var h=void 0;if(c){var f=["dashboard-core/js/app/EventRouter"];l&&f.push(l);var g=void 0;g="object"===(void 0===c?"undefined":_typeof(c))?c:{path:c,type:this.boardModuleFactory.getDefaultModuleType()},h=Promise.all([this.loadLayout(g),Promise.all(f.map((function(e){return p.loadModule(e)})))]).then(function(t){var o=s.model.getParent();o&&(s.parentLayout=this.getLayoutView(o.id));var i=t[0],n=t[1][0],a=t[1][1];("widget"===r.type||this.contentTypeRegistry.isTypeRegistered(r.type))&&(s.widgetChromeEventRouter=new n);var d=new i(s);return a&&(s.consumeView=d,new a(s)),this.viewsMap[e].view=d,d}.bind(this))}else h=Promise.resolve();return h},loadLayout:function(e){return this.boardModuleFactory.make(e.type||this.boardModuleFactory.getDefaultModuleType()).then((function(t){return t.load(e).then((function(e){return e.module}))}))},removeView:function(e){this.viewsMap&&delete this.viewsMap[e.model.id]},_getLayoutModule:function(e,t){var o=void 0,i=null;return"widget"===e.type||"appwidget"===e.type?i=this._getWidgetLayoutModule(e,t):((o=this.consumeViews[e.type])||(o="dashboard-core/js/dashboard/layout/views/LayoutBaseView"),i={sPageLayout:o,sAuthorHelper:this.isAuthoring?this.authoringViews[e.type]||"dashboard-core/js/dashboard/layout/authoring/views/LayoutBaseView":void 0}),i},_getWidgetLayoutModule:function(e,t){var o=this.boardModel.getWidgetModel(e.id);t.widgetModel=o;var i=o&&o.type;t.widgetRegistry=this.widgetLoader.widgetRegistry[i];var n=t.widgetRegistry&&t.widgetRegistry.layoutConsumeView,a=null;return this.isAuthoring&&(n||(n="dashboard-core/js/dashboard/layout/views/Widget"),t.widgetRegistry&&(a=t.widgetRegistry.layoutAuthoringView)),{sPageLayout:n,sAuthorHelper:a}},onThemeChange:function(e){e.value!==e.prevValue&&this.onResize({reRender:!0}),this.eventRouter.trigger("properties:refreshPane",{focusSelector:".dropDowntheme"})},_onLayoutPositioning:function(e){if("UndoRedoController"===e.sender)this.eventRouter.trigger("properties:refreshPane");else{var t=this.topLayoutModel.findDescendantsWithType("genericPage"),o=Array.isArray(t),i=0;for(t=o?t:t[Symbol.iterator]();;){var n;if(o){if(i>=t.length)break;n=t[i++]}else{if((i=t.next()).done)break;n=i.value}n.set({layoutPositioning:e.value},{payloadData:e.data,sender:this.id})}}},onColorSetChanged:function(){this.colorsService.makeSureColorIsValidInModel({model:this.topLayoutModel,propertyName:"css",offset:2,valuePrefix:"fill-"}),this.colorsService.makeSureColorIsValidInModel({model:this.topLayoutModel,propertyName:"fillColor",offset:2}),this.colorsService.makeSureColorIsValidInModel({model:this.topLayoutModel,propertyName:"tabTextColor",offset:1}),this.colorsService.makeSureColorIsValidInModel({model:this.topLayoutModel,propertyName:"tabSelectedLineColor",offset:1}),this.colorsService.makeSureColorIsValidInModel({model:this.topLayoutModel,propertyName:"tabBackgroundColor",offset:1})},onResize:function(e){if(this.$el.is(":visible")){var t=this.getTopLayoutView();t&&t.onResize&&t.onResize(e)}},getTopLayoutView:function(){return this.getLayoutView(this.topLayoutModel.id)},getTopLayoutViewWhenReady:function(){return this.getLayoutViewWhenReady(this.topLayoutModel.id)},getSelectedNodes:function(){return this.interactionController.getSelectedNodes()},getSelectedWidgets:function(){var e=this.boardModel.getSelectedLayout(),t=this.topLayoutModel.findModel(e);return t?t.getSelectedWidgets():[]},getLayoutContentContainer:function(){return a.getLayoutContentContainer(this.topLayoutModel.id,null,this.dashboardApi)},getLayoutContentContainerForDropTarget:function(e){return a.getLayoutContentContainerForDropTarget(e,this.topLayoutModel,this.dashboardApi)},getLastVisiblePage:function(){return a.getLastVisiblePage(this.topLayoutModel.id,null,this.dashboardApi)},setPreferredAddOptions:function(e){return a.setPreferredAddOptions(e,this.topLayoutModel,this.dashboardApi)},setPreferredLocation:function(e){return a.setPreferredLocation(e)},destroy:function(e){for(var t in this.fnOnContextMenu&&window.oncontextmenu===this.fnOnContextMenu&&(this.fnOnContextMenu=null,window.oncontextmenu=null),i(window).off("resize.layoutController"+this.id),this.colorsService&&this.colorsService.off("theme:changed",this.onThemeChange,this),this.topLayoutModel&&(this.topLayoutModel.off("change:layoutPositioning",this._onLayoutPositioning,this),this.destroyLayoutView(this.topLayoutModel.id,e)),this.interactionController&&this.interactionController.destroy(),this.deprecatedCanvas&&this.deprecatedCanvas.destroy(),this)Object.prototype.hasOwnProperty.call(this,t)&&delete this[t];this._isDestroyed=!0},destroyLayoutView:function(e,t){var o=this.viewsMap[e];o&&o.view&&o.view.destroy(t)},modelIdToNodeId:function(e){return a.modelIdToNodeId(e)},nodeIdToModelId:function(e){return a.nodeIdToModelId(e)},layoutReady:function(e){if(this._isDestroyed)return Promise.reject("Layout Controller destroyed");var t=e;o.isArray(t)||(t=[e]);var i=o.pick.apply(o,[this.viewsMap].concat(t));return Promise.all(o.pluck(i,"viewReady")).then((function(){return o.isArray(e)?o.pluck(i,"view"):i[e]&&i[e].view}))},selectLayouts:function(e,t){var i=[],n=this.interactionController.selectionHandler;return o.each(e,function(e){var o=this.whenWidgetRenderComplete(e).then((function(e){n.selectNode(e.domNode,t)}));i.push(o)}.bind(this)),Promise.all(i)},widgetReady:function(e){return this.layoutReady(e).then(function(t){return this.viewsMap[e]&&this.viewsMap[e].view&&this.viewsMap[e].view.widgetReady?this.viewsMap[e].view.widgetReady().then((function(){return t})):t}.bind(this))},whenWidgetRenderComplete:function(e){return this.layoutReady(e).then(function(t){return this.viewsMap[e]&&this.viewsMap[e].view&&this.viewsMap[e].view.whenRenderComplete?this.viewsMap[e].view.whenRenderComplete().then((function(){return t})):t}.bind(this))},whenPageRenderComplete:function(e){return this.layoutReady(this.topLayoutModel.id).then(function(){var t=(e||this.topLayoutModel).findDescendantsWithType("widget"),i=[];return o.each(t,(function(e){i.push(this.whenWidgetRenderComplete(e.id))}),this),Promise.all(i)}.bind(this))},selectWidget:function(e){var t=e.modelId,o=e.multiselect,i=e.showContextBar;return this.widgetReady(t).then(function(t){o||this.deselectAllWidgets();var a=this.interactionController.selectionHandler,r=new n(e);i||r.setProperty("preventDefaultContextBar",!0),a&&a.selectNode(t.domNode,e)}.bind(this))},deselectAllWidgets:function(){this.interactionController&&this.interactionController.selectionHandler.deselectAll()},deselectWidget:function(e){var t=e.modelId,o=this.viewsMap[t]&&this.viewsMap[t].view,i=this.interactionController.selectionHandler;return i?o&&o.domNode?Promise.resolve(i.deselectNode(o.domNode)):this.widgetReady(t).then(function(e){i.deselectNode(e.domNode)}.bind(this)):Promise.resolve()},moveLayout:function(e){var t=this,o=this.transaction.startTransaction();e.forEach((function(e){t.canvas.moveContent(e.parentId,[e.id],o)})),this.transaction.endTransaction(o)},getLayoutViewWhenReady:function(e){var t=this.viewsMap[e];return t?t.viewReady:Promise.resolve(null)},getLayoutView:function(e){var t=this.viewsMap[e];return t&&t.view},onContextMenu:function(e){var t=e.target.nodeName,o=i(e.target);return!("INPUT"!==t&&"TEXTAREA"!==t&&"true"!==o.attr("contenteditable")&&!o.closest('[contenteditable="true"]').length)},getInteractionProperties:function(){return this.interactionController.getInteractionProperties()},hasMaximizedWidget:function(){for(var e=Object.keys(this.viewsMap),t=0;t<e.length;t++){var o=this.getLayoutView(e[t]);if(o&&o.widgetAPI&&o.widgetAPI.isWidgetMaximized&&o.widgetAPI.isWidgetMaximized())return!0}return!1},getLayoutWidgetModel:function(e,t){var o=this.widgetLoader.getWidget(e);return o&&o.getWidgetModelForPinning&&!t?o.getWidgetModelForPinning():this.boardModel.getWidgetModel(e)}})})),define("dashboard-core/js/api/impl/LegacyViewControllers",["jquery","../../lib/@waca/dashboard-common/dist/core/APIFactory","../deprecated/LegacyViewControllersAPI","../../dashboard/layout/LayoutController","../../dashboard/loader/WidgetLoader"],(function(e,t,o,i,n){return function(){function a(e){var t=e.environment,o=e.layoutController;_classCallCheck(this,a),this._widgetLoader=o&&o.widgetLoader||this._createWidgetLoader(t),this._layoutController=o||this._createLayoutController(t)}return a.prototype.getAPI=function(){return this._api||(this._api=t.createAPI(this,[o])),this._api},a.prototype.getLayoutController=function(){return this._layoutController},a.prototype.getWidgetLoader=function(){return this._widgetLoader},a.prototype._createWidgetLoader=function(e){return new n({glassContext:e.glassContext,services:e.serviceRegistry,appSettings:{},dashboardApi:e.dashboardApi,eventRouter:e.eventRouter,widgetRegistry:e.widgetRegistry,loadedWidgets:{},boardModel:e.boardModel,contentFeatureLoader:e.internalCanvas,canvas:e.canvas})},a.prototype._createLayoutController=function(t){return new i({glassContext:t.glassContext,services:t.serviceRegistry,appSettings:{},contentFeatureLoader:t.internalCanvas,dashboardApi:t.dashboardApi,eventRouter:t.eventRouter,$el:e("body"),boardModel:t.boardModel,boardModuleFactory:t.boardModuleFactory,widgetLoader:this._widgetLoader,layoutExtensions:t.layoutExtensions,gatewayUrl:"v1",cdnUrl:"",canvas:t.canvas})},a.prototype.destroy=function(){this.getWidgetLoader().cleanup(),this.getLayoutController().destroy()},a}()})),define("dashboard-core/js/ca/AppFactory",["../lib/@waca/dashboard-common/dist/core/APIFactory","../dashboard/loader/BoardLoaderHelper","../api/impl/LegacyViewControllers","../api/impl/DashboardCore","../app/util/GlassUtil","./features/contentStore/ContentStore","./features/userProfile/CAUserProfile"],(function(e,t,o,i,n,a,r){var s={"com.ibm.bi.dashboard.features":["DashboardLearning","deleteAction","groupAction","duplicateAction","orderAction","alignAction","pinAction","editTitleAction","launchIntoExplore","disconnectEventGroupAction","linkEventGroupAction","createEventGroupAction","DockAction","ResetDashboard","editNotebookAction","ConvertToTemplate","CanvasDnD","InAppSlideoutState","InAppSlideoutDOM","PropertiesPane","PropertiesPaneDOM","PropertiesAction","lassoSelectAction","contextualGridAction","jumpToAction","changeVisTypeAction","suppressionAction","HideRowColumnAction","SearchAction","AggregationTypeAction","FormatAction","CrosstabActions","FilterDockAction","MetadataDnDProvider","SlotEditorState","SlotEditorDOM","OnLoadFilterModifier","ToolbarDock","ToolbarDockDOM","OnDemandToolbarSectionDOM","CanvasToolbarSectionDOM","SmartsService","Print","DashboardPrint","developerWidgetRefreshAction","LocalFilterExtension","SampleFeature","CsvExport"],"com.ibm.bi.dashboard.content-features":["VisDnD","VisDnD.utils","contextualGridAction","Visualization.SmartsRecommender","Toolbar","HideRowColumnAction","VisExpandMode","DataBehindTheVis","ViprUITest","LocalFilterDialog","ContentMenu","DropZonesOverlayState","DropZonesOverlayDOM"]};return function(){function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,d),this._glassContext=t.glassContext||window.__glassAppController.glassContext;var o=t.features&&t.features["com.ibm.bi.dashboard.features"]||{},i=t.features&&t.features["com.ibm.bi.dashboard.content-features"]||{};this._featuresOverride={"com.ibm.bi.dashboard.features":{excludes:s["com.ibm.bi.dashboard.features"].concat(o.excludes||[])},"com.ibm.bi.dashboard.content-features":{excludes:s["com.ibm.bi.dashboard.content-features"].concat(i.excludes||[])}};var c=n.getAjaxService(this._glassContext),l=new a(c),u=new r;return u.initialize(this._glassContext),this._featureMap=new Map,this._featureMap.set("ContentStore",l.getAPI()),this._featureMap.set("UserProfile",u.getAPI()),e.createAPI(this,[function(){function e(){_classCallCheck(this,e)}return e.prototype.create=function(){},e.prototype.getFeature=function(){},e}()])}return d.prototype.create=function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=void 0,r=void 0;return this._glassContext.getSvc(".DashboardRuntime").then((function(t){var o={featuresOverride:e._featuresOverride,assetId:n.assetId,spec:n.spec};return o.assetId||o.spec||(o.spec=t.getDefaultSpec()),t.getRuntimeEnvironment(o)})).then((function(e){return r=new t((a=e).dashboardApi),a.boardModuleFactory=r.createBoardModuleFactory(),r.loadLayoutExtensions(a.layoutExtensions,a.boardModuleFactory)})).then((function(e){r.registerLayoutExtensions(e);var t=new o({environment:a});return a.dashboardApi.getFeature("FeatureRegistry.internal").registerFeature("LegacyViewControllers",t),new i({dashboardAPI:a.dashboardApi,internalDashboardAPI:a.internalDashboardAPI}).getAPI()}))},d.prototype.getFeature=function(e){return this._featureMap.get(e)},d}()})),define("dashboard-core/js/baseBundle",(function(){}));
|